summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2012-03-25 22:46:51 +0000
committerMichael Weber <xmw@gentoo.org>2012-03-25 22:46:51 +0000
commitda7f15923a8358c3032801e3202998ce305d6d73 (patch)
treeac5db02748df1c83b69b397ffb1eece1e86cc416 /net-misc/hotot
parentAdd ~x86-fbsd (diff)
downloadgentoo-2-da7f15923a8358c3032801e3202998ce305d6d73.tar.gz
gentoo-2-da7f15923a8358c3032801e3202998ce305d6d73.tar.bz2
gentoo-2-da7f15923a8358c3032801e3202998ce305d6d73.zip
Update live build, new VCS repo, cmake-utils, use flags (bug 407933)
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/hotot')
-rw-r--r--net-misc/hotot/ChangeLog7
-rw-r--r--net-misc/hotot/hotot-9999.ebuild46
-rw-r--r--net-misc/hotot/metadata.xml1
3 files changed, 37 insertions, 17 deletions
diff --git a/net-misc/hotot/ChangeLog b/net-misc/hotot/ChangeLog
index 22f6a74fc884..20cc2f33e854 100644
--- a/net-misc/hotot/ChangeLog
+++ b/net-misc/hotot/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-misc/hotot
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/hotot/ChangeLog,v 1.6 2011/10/15 09:23:18 xmw Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/hotot/ChangeLog,v 1.7 2012/03/25 22:46:51 xmw Exp $
+
+ 25 Mar 2012; Michael Weber <xmw@gentoo.org> hotot-9999.ebuild, metadata.xml:
+ Update live build, new VCS repo, cmake-utils, use flags (bug 407933)
*hotot-0.9.6_p20111015 (15 Oct 2011)
diff --git a/net-misc/hotot/hotot-9999.ebuild b/net-misc/hotot/hotot-9999.ebuild
index 11fb06506430..989378dadd30 100644
--- a/net-misc/hotot/hotot-9999.ebuild
+++ b/net-misc/hotot/hotot-9999.ebuild
@@ -1,27 +1,43 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/hotot/hotot-9999.ebuild,v 1.1 2011/01/05 15:30:22 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/hotot/hotot-9999.ebuild,v 1.2 2012/03/25 22:46:51 xmw Exp $
-EAPI=2
+EAPI=4
-PYTHON_DEPEND="2"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="2.4 3.*"
+PYTHON_DEPEND="gtk? 2"
+RESTRICT_PYTHON_ABIS="3.*"
-inherit distutils mercurial python
+EGIT_REPO_URI="https://github.com/shellex/Hotot.git"
+
+inherit cmake-utils git-2 python
DESCRIPTION="lightweight & open source microblogging client"
HOMEPAGE="http://hotot.org"
-SRC_URI=""
-EHG_REPO_URI="https://${PN}.googlecode.com/hg/${PN}"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS=""
-IUSE=""
+IUSE="chrome gtk kde qt4"
+
+RDEPEND="
+ gtk? ( dev-python/pywebkitgtk )
+ qt4? ( x11-libs/qt-webkit:4 )"
+DEPEND="${RDEPEND}
+ sys-devel/gettext"
+
+src_configure() {
+ mycmakeargs="${mycmakeargs} \
+ $(cmake-utils_use_with chrome CHROME) \
+ $(cmake-utils_use_with gtk GTK) \
+ $(cmake-utils_use_with kde KDE) \
+ $(cmake-utils_use_with qt4 QT) \
+ -DPYTHON_EXECUTABLE=$(PYTHON -2 -a)"
+
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
-RDEPEND="dev-libs/keybinder[python]
- dev-python/notify-python
- dev-python/python-distutils-extra
- >=dev-python/pywebkitgtk-1.1.8"
-DEPEND="${RDEPEND}"
+ find "${D}" -name "*.pyc" -delete
+}
diff --git a/net-misc/hotot/metadata.xml b/net-misc/hotot/metadata.xml
index 5b80fb94c393..a518f0d15322 100644
--- a/net-misc/hotot/metadata.xml
+++ b/net-misc/hotot/metadata.xml
@@ -5,4 +5,5 @@
<email>xmw@gentoo.org</email>
<name>Michael Weber</name>
</maintainer>
+<use><flag name="chrome">Build chrome browser extension</flag></use>
</pkgmetadata>