summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2010-04-21 07:22:55 +0000
committerTiziano Müller <dev-zero@gentoo.org>2010-04-21 07:22:55 +0000
commitff8aa623a51c8bf2a5bc19696b573a2865d32541 (patch)
tree06424ddc0bb5250ef3a48949a22b9b7736cd193a /net-misc/pino
parentBump -5.9 development version (diff)
downloadhistorical-ff8aa623a51c8bf2a5bc19696b573a2865d32541.tar.gz
historical-ff8aa623a51c8bf2a5bc19696b573a2865d32541.tar.bz2
historical-ff8aa623a51c8bf2a5bc19696b573a2865d32541.zip
Use slot deps. Fix webkit-gtk dep. Added python and intlool to DEPEND. Added debug and indicate use flag. Added code to disable automagic dep on libindicate. Added code to handle language file installation. Don't install docs to /usr/share/doc. Added alternative HOMEPAGE.
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'net-misc/pino')
-rw-r--r--net-misc/pino/ChangeLog9
-rw-r--r--net-misc/pino/Manifest6
-rw-r--r--net-misc/pino/metadata.xml3
-rw-r--r--net-misc/pino/pino-0.2.6.ebuild47
4 files changed, 48 insertions, 17 deletions
diff --git a/net-misc/pino/ChangeLog b/net-misc/pino/ChangeLog
index d84293247430..5471c5a6e7d2 100644
--- a/net-misc/pino/ChangeLog
+++ b/net-misc/pino/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-misc/pino
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/pino/ChangeLog,v 1.1 2010/04/16 08:53:15 nirbheek Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/pino/ChangeLog,v 1.2 2010/04/21 07:22:55 dev-zero Exp $
+
+ 21 Apr 2010; Tiziano Müller <dev-zero@gentoo.org> pino-0.2.6.ebuild,
+ metadata.xml:
+ Use slot deps. Fix webkit-gtk dep. Added python and intlool to DEPEND.
+ Added debug and indicate use flag. Added code to disable automagic dep on
+ libindicate. Added code to handle language file installation. Don't
+ install docs to /usr/share/doc. Added alternative HOMEPAGE.
*pino-0.2.6 (16 Apr 2010)
diff --git a/net-misc/pino/Manifest b/net-misc/pino/Manifest
index f9de939ec75d..64e990017d97 100644
--- a/net-misc/pino/Manifest
+++ b/net-misc/pino/Manifest
@@ -1,4 +1,4 @@
DIST pino-0.2.6.tar.bz2 192696 RMD160 0334201a1d00b371be3825ca37a6c9b432b2730e SHA1 ca029cbb3070d1a688a7a68ed9bda4cfb8726473 SHA256 7b160e86e70a82c6447678d57005e9202db119a253acf0c2b32d7b71a868b1de
-EBUILD pino-0.2.6.ebuild 1171 RMD160 7b3e355b4adf38e79e9ab92d1edd5dbd7c48d477 SHA1 160c3fc9786e38fdacb73b0a181de1058dfd216c SHA256 2ada7e1350cbd21c4b7a09efe799962ff67602954bbcf0279772f822852296f8
-MISC ChangeLog 363 RMD160 79bea6c693af0206ae11f880bcaac767dadd3862 SHA1 634a374b493ff72196595c6bb0cc7914141fe992 SHA256 34f5762a1917b0f9cc655e49056dd22c805456e6ac72d8b6848965b43a909824
-MISC metadata.xml 260 RMD160 ae6c45743997a551ff89758caf316b14ff965d2d SHA1 2471fbfe9a6e8a31d0aea4012144f0862a1f4d55 SHA256 a4f05c77aef4165bc3c7b460feeda36249b142df0d7125af93baf20786c050b5
+EBUILD pino-0.2.6.ebuild 1666 RMD160 91d4662d117e9fc495df658e0239245c607d00a8 SHA1 5bfd9bcb11f43cc9ebf03f8f1d70fd687551e25d SHA256 a8c8ea354e45dd4e7e163d79268f8e2a4034827bc1ff3f788d46df6352d1a7cb
+MISC ChangeLog 733 RMD160 abdb3db497f2ee803fb2d479f216acbeef2ede3b SHA1 fe7866f6eff5477dae7504cdf39497685ba41ae8 SHA256 3d8d0c20f68d001b3482826e8c55c449014d9ecebd34dca8145d9caa99bc65ff
+MISC metadata.xml 363 RMD160 98d5ca6d61b85358d3f46239f751636d682cd28a SHA1 dc8cfd8c41e9848c709ddc88daf21a6c8807e3a3 SHA256 72ae8925a51348091d08385a9c1d239ae9800934588e2906bec791847b1019b7
diff --git a/net-misc/pino/metadata.xml b/net-misc/pino/metadata.xml
index d242ea2b7d0a..3b4f4ba5b753 100644
--- a/net-misc/pino/metadata.xml
+++ b/net-misc/pino/metadata.xml
@@ -7,4 +7,7 @@
<email>nirbheek@gentoo.org</email>
<name>Nirbheek Chauhan</name>
</maintainer>
+ <use>
+ <flag name='indicate'>Use <pkg>dev-libs/libindicate</pkg> to notify other apps</flag>
+ </use>
</pkgmetadata>
diff --git a/net-misc/pino/pino-0.2.6.ebuild b/net-misc/pino/pino-0.2.6.ebuild
index 46863872b7a7..33e986febdcc 100644
--- a/net-misc/pino/pino-0.2.6.ebuild
+++ b/net-misc/pino/pino-0.2.6.ebuild
@@ -1,43 +1,62 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/pino/pino-0.2.6.ebuild,v 1.1 2010/04/16 08:53:15 nirbheek Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/pino/pino-0.2.6.ebuild,v 1.2 2010/04/21 07:22:55 dev-zero Exp $
-EAPI="2"
+EAPI="3"
DESCRIPTION="Twitter and Identi.ca desktop client written in Vala"
-HOMEPAGE="http://code.google.com/p/pino-twitter/"
+HOMEPAGE="http://pino-app.appspot.com/ http://code.google.com/p/pino-twitter/"
SRC_URI="http://pino-twitter.googlecode.com/files/${P}.tar.bz2"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="debug indicate"
-RDEPEND=">=dev-libs/glib-2.14
- >=x11-libs/gtk+-2.10
+RDEPEND=">=dev-libs/glib-2.14:2
+ >=x11-libs/gtk+-2.10:2
>=dev-libs/libgee-0.5.0
- >=net-libs/libsoup-2.4
-
+ net-libs/libsoup:2.4
app-text/gtkspell
x11-libs/libnotify
dev-libs/libxml2:2
dev-libs/libunique
- net-libs/webkit-gtk"
+ >=net-libs/webkit-gtk-1.1"
DEPEND="${RDEPEND}
>=dev-lang/vala-0.7
dev-util/pkgconfig
- sys-devel/gettext"
+ sys-devel/gettext
+ dev-util/intltool
+ dev-lang/python"
-DOCS="AUTHORS INSTALL README"
+DOCS="AUTHORS README"
src_configure() {
+ local myconf=""
+ use debug && myconf="--debug"
+
+ if ! use indicate ; then
+ # sabotage the detection since no configure option
+ sed -i \
+ -e 's|indicate|indicate-false|' \
+ wscript || die "sed failed"
+ fi
+
+ local supported_linguas=$(<po/LINGUAS)
+ rm po/LINGUAS
+ for l in ${LINGUAS} ; do
+ if [[ "$supported_linguas" =~ "$l" ]] ; then
+ echo "$l" >> po/LINGUAS
+ fi
+ done
+
CCFLAGS="${CFLAGS}" LINKFLAGS="${LDFLAGS}" \
./waf --prefix=/usr \
- configure || die "./waf configure failed"
+ configure ${myconf} || die "./waf configure failed"
}
src_compile() {
- local myjobs=$(echo "$MAKEOPTS" | sed -n -e 's,.*\(-j[[:digit:]]\+\).*,\1,p')
+ local myjobs=$(sed -n -e 's,.*\(-j[[:digit:]]\+\).*,\1,p' <<< ${MAKEOPTS})
./waf ${myjobs} build || die "./waf configure failed"
}
@@ -45,5 +64,7 @@ src_install() {
./waf \
--destdir="${D}" \
install || die "./waf install failed"
+
+ rm -rf "${D}/usr/share/doc"
dodoc ${DOCS}
}