summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Alexander <wired@gentoo.org>2009-09-12 10:07:24 +0000
committerAlex Alexander <wired@gentoo.org>2009-09-12 10:07:24 +0000
commit266a896c3f03bfe3fd7f3335a60bd03f4105826e (patch)
treee85f3b96762c311d8118a92f7f0f259f41718041 /net-im/qtwitter
parentAdd ~alpha/~ia64 wrt #280312 (diff)
downloadhistorical-266a896c3f03bfe3fd7f3335a60bd03f4105826e.tar.gz
historical-266a896c3f03bfe3fd7f3335a60bd03f4105826e.tar.bz2
historical-266a896c3f03bfe3fd7f3335a60bd03f4105826e.zip
version bump
Package-Manager: portage-2.2_rc40/cvs/Linux x86_64
Diffstat (limited to 'net-im/qtwitter')
-rw-r--r--net-im/qtwitter/ChangeLog7
-rw-r--r--net-im/qtwitter/Manifest4
-rw-r--r--net-im/qtwitter/qtwitter-0.9.0.ebuild72
3 files changed, 81 insertions, 2 deletions
diff --git a/net-im/qtwitter/ChangeLog b/net-im/qtwitter/ChangeLog
index 4d145ef81a5c..d1ae1fdb2677 100644
--- a/net-im/qtwitter/ChangeLog
+++ b/net-im/qtwitter/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-im/qtwitter
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/qtwitter/ChangeLog,v 1.13 2009/08/08 17:42:03 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/qtwitter/ChangeLog,v 1.14 2009/09/12 10:07:24 wired Exp $
+
+*qtwitter-0.9.0 (12 Sep 2009)
+
+ 12 Sep 2009; Alex Alexander <wired@gentoo.org> +qtwitter-0.9.0.ebuild:
+ version bump
*qtwitter-0.8.3 (08 Aug 2009)
diff --git a/net-im/qtwitter/Manifest b/net-im/qtwitter/Manifest
index f523e8fcc7e9..a7aa12686147 100644
--- a/net-im/qtwitter/Manifest
+++ b/net-im/qtwitter/Manifest
@@ -1,6 +1,8 @@
DIST qtwitter-0.7.1-src.tar.gz 652298 RMD160 fefa04aa21ef752203fe88e942ee37c887da86a8 SHA1 57f4c59a9dcf06d14f3c3df4a5f73e1b35151b36 SHA256 b91eecd0b42611a83255df79400409a56011f3dbb56f38e2f3db6549fb25dbee
DIST qtwitter-0.8.3-src.tar.gz 717214 RMD160 8344196f3962ca300b209fe3df4cc23d7f9deaa5 SHA1 7ec6023791de8b06527b5a729c43483b12775a21 SHA256 82d8ae0a1bc2ce8093c42087ac13c3e1b51e1aefccc49a631b1b9e4f373e71ed
+DIST qtwitter-0.9.0-src.tar.gz 730360 RMD160 ee2997f9570e489cc91668a6a3a0a320011d46f5 SHA1 9150815ecbb0c3bcb92e88e7a97a4fbbbcfa6991 SHA256 e7b3136405aba36344509973a87df905ad0f4f4f806a362e9423d85d6d46a78f
EBUILD qtwitter-0.7.1.ebuild 1884 RMD160 6d8711fbf90a01cb8b3ae480e5a257bba3634de1 SHA1 482b861c91a3083732c9fc1447958074442c927d SHA256 ce07ef54ef748e2e1c9998c4dffa8123107b79b6eca15ee93592d921e8e582d5
EBUILD qtwitter-0.8.3.ebuild 1980 RMD160 4ce6e4c0b8b334921baab0379174fd40570f2929 SHA1 7881d280b9c4a6869d3002e15833d3d8e9ab7479 SHA256 cebc81a5b03ea55306bb6a5fa8f3bd5e21e44ff9da5a11292c0725e0cb30b1d6
-MISC ChangeLog 2140 RMD160 28866db6ada2223e06238ad8ceb45a2ec2b05001 SHA1 c7c0b96471c902036cf1ca4218f5ec7756f3888f SHA256 15bfa6faaf57aa5b5cf020da40f7c847358779ad7575d1fcaa394caf178d2fcf
+EBUILD qtwitter-0.9.0.ebuild 1877 RMD160 74270208ce4e38bb904994c167ec9fe334d3ed73 SHA1 92d45f282636ce42fb4b504a1ef17bcbb21c083c SHA256 9e1a4f78039fccd904c24228dc7e86774bf8c31c9ae20cfec60d3b39a55eb606
+MISC ChangeLog 2257 RMD160 ad961a7ca2298d05d3a0713624d0abef58336603 SHA1 52363cdb4c82466cda3ec0f173384cdfb005164b SHA256 b037816593a7349e6ae99b3f806d2ac85157f7f0440d52ddaf760587b2f964fe
MISC metadata.xml 535 RMD160 09417bed7dc7653afa28f6a333ba3e3add25cc68 SHA1 95d385827928c8e47bb42cfc1fe8df5d2656fa40 SHA256 1a0460eeacef5d3c7c7d150aac7f28850be27a004f8ca19074107e595ab133cf
diff --git a/net-im/qtwitter/qtwitter-0.9.0.ebuild b/net-im/qtwitter/qtwitter-0.9.0.ebuild
new file mode 100644
index 000000000000..a0cb0f51f49f
--- /dev/null
+++ b/net-im/qtwitter/qtwitter-0.9.0.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/qtwitter/qtwitter-0.9.0.ebuild,v 1.1 2009/09/12 10:07:24 wired Exp $
+
+EAPI="2"
+
+inherit qt4
+
+DESCRIPTION="A Qt-based client for Twitter and Identi.ca"
+HOMEPAGE="http://www.qt-apps.org/content/show.php/qTwitter?content=99087"
+SRC_URI="http://files.ayoy.net/qtwitter/release/${PV}/src/${P}-src.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug +oauth"
+
+DEPEND="x11-libs/qt-gui:4
+ oauth? ( >=dev-libs/qoauth-1.0 )"
+RDEPEND="${DEPEND}"
+
+QTWITTER_LANGS="pt_BR"
+QTWITTER_NOLONGLANGS="ca_ES cs_CZ de_DE es_ES fr_FR it_IT ja_JP pl_PL"
+
+for L in $QTWITTER_LANGS; do
+ IUSE="$IUSE linguas_$L"
+done
+for L in $QTWITTER_NOLONGLANGS; do
+ IUSE="$IUSE linguas_${L%_*}"
+done
+
+src_prepare() {
+ qt4_src_prepare
+ echo "CONFIG += nostrip" >> "${S}"/${PN}.pro
+
+ local langs=
+ for lingua in $LINGUAS; do
+ if has $lingua $QTWITTER_LANGS; then
+ langs="$langs loc/${PN}_${lingua}.ts"
+ else
+ for a in $QTWITTER_NOLONGLANGS; do
+ if [[ $lingua == ${a%_*} ]]; then
+ langs="$langs loc/${PN}_${a}.ts"
+ fi
+ done
+ fi
+ done
+
+ # remove translations and add only the selected ones
+ sed -i -e '/^ *loc.*\.ts/d' \
+ -e "/^TRANSLATIONS/s:loc.*:${langs}:" \
+ qtwitter-app/qtwitter-app.pro || die "sed failed"
+ # fix unsecure runpaths
+ sed -i -e '/-Wl,-rpath,\$\${TOP}/d' \
+ qtwitter-app/qtwitter-app.pro || die "sed failed"
+
+ sed -i "s!\(\$\${INSTALL_PREFIX}\)/lib!\1/$(get_libdir)!" \
+ twitterapi/twitterapi.pro urlshortener/urlshortener.pro || die "sed failed"
+
+ if ! use oauth; then
+ sed -i '/DEFINES += OAUTH/d' ${PN}.pri || die "sed failed"
+ fi
+}
+
+src_configure() {
+ eqmake4
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install || die "emake install failed"
+ dodoc README CHANGELOG || die "dodoc failed"
+}