From: | "Theo Chatzimichos (tampakrap)" <tampakrap@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-im/qtwitter: qtwitter-0.8.2.ebuild ChangeLog |
Date: | Thu, 30 Jul 2009 12:49:03 |
Message-Id: | E1MWV49-0001Uy-9Y@stork.gentoo.org |
1 | tampakrap 09/07/30 12:49:01 |
2 | |
3 | Modified: ChangeLog |
4 | Added: qtwitter-0.8.2.ebuild |
5 | Log: |
6 | Version bump |
7 | (Portage version: 2.2_rc33/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.12 net-im/qtwitter/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/qtwitter/ChangeLog?rev=1.12&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/qtwitter/ChangeLog?rev=1.12&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/qtwitter/ChangeLog?r1=1.11&r2=1.12 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/net-im/qtwitter/ChangeLog,v |
19 | retrieving revision 1.11 |
20 | retrieving revision 1.12 |
21 | diff -u -r1.11 -r1.12 |
22 | --- ChangeLog 20 Jul 2009 04:10:21 -0000 1.11 |
23 | +++ ChangeLog 30 Jul 2009 12:49:01 -0000 1.12 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for net-im/qtwitter |
26 | # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/net-im/qtwitter/ChangeLog,v 1.11 2009/07/20 04:10:21 darkside Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/net-im/qtwitter/ChangeLog,v 1.12 2009/07/30 12:49:01 tampakrap Exp $ |
29 | + |
30 | +*qtwitter-0.8.2 (30 Jul 2009) |
31 | + |
32 | + 30 Jul 2009; Theo Chatzimichos <tampakrap@g.o> |
33 | + +qtwitter-0.8.2.ebuild: |
34 | + Version bump |
35 | |
36 | 20 Jul 2009; Jeremy Olexa <darkside@g.o> qtwitter-0.7.1.ebuild: |
37 | amd64 stable, bug 275552 |
38 | |
39 | |
40 | |
41 | 1.1 net-im/qtwitter/qtwitter-0.8.2.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/qtwitter/qtwitter-0.8.2.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/qtwitter/qtwitter-0.8.2.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: qtwitter-0.8.2.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2009 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/net-im/qtwitter/qtwitter-0.8.2.ebuild,v 1.1 2009/07/30 12:49:01 tampakrap Exp $ |
51 | |
52 | EAPI="2" |
53 | |
54 | inherit qt4 |
55 | |
56 | DESCRIPTION="A Qt-based client for Twitter and Identi.ca" |
57 | HOMEPAGE="http://www.qt-apps.org/content/show.php/qTwitter?content=99087" |
58 | SRC_URI="http://files.ayoy.net/qtwitter/release/${PV}/src/${P}-src.tar.gz" |
59 | |
60 | LICENSE="LGPL-2.1" |
61 | SLOT="0" |
62 | KEYWORDS="~amd64 ~x86" |
63 | IUSE="debug +oauth" |
64 | |
65 | DEPEND="x11-libs/qt-gui:4 |
66 | oauth? ( dev-libs/qoauth )" |
67 | RDEPEND="${DEPEND}" |
68 | |
69 | QTWITTER_LANGS="pt_BR" |
70 | QTWITTER_NOLONGLANGS="ca_ES de_DE es_ES fr_FR ja_JP pl_PL" |
71 | |
72 | for L in $QTWITTER_LANGS; do |
73 | IUSE="$IUSE linguas_$L" |
74 | done |
75 | for L in $QTWITTER_NOLONGLANGS; do |
76 | IUSE="$IUSE linguas_${L%_*}" |
77 | done |
78 | |
79 | src_prepare() { |
80 | qt4_src_prepare |
81 | echo "CONFIG += nostrip" >> "${S}"/${PN}.pro |
82 | |
83 | local langs= |
84 | for lingua in $LINGUAS; do |
85 | if has $lingua $QTWITTER_LANGS; then |
86 | langs="$langs loc/${PN}_${lingua}.ts" |
87 | else |
88 | for a in $QTWITTER_NOLONGLANGS; do |
89 | if [[ $lingua == ${a%_*} ]]; then |
90 | langs="$langs loc/${PN}_${a}.ts" |
91 | fi |
92 | done |
93 | fi |
94 | done |
95 | |
96 | # remove translations and add only the selected ones |
97 | sed -i -e '/^ *loc.*\.ts/d' \ |
98 | -e "/^TRANSLATIONS/s:loc.*:${langs}:" \ |
99 | qtwitter-app/qtwitter-app.pro || die "sed failed" |
100 | # first line fixes bug about unsecure runpaths |
101 | # second disables docs installation by make (done by dodoc in install) |
102 | sed -i -e '/-Wl,-rpath,\$\${TOP}/d' \ |
103 | -e '/doc \\/d' \ |
104 | qtwitter-app/qtwitter-app.pro || die "sed failed" |
105 | |
106 | sed -i "s!\(\$\${INSTALL_PREFIX}\)/lib!\1/$(get_libdir)!" \ |
107 | twitterapi/twitterapi.pro urlshortener/urlshortener.pro || die "sed failed" |
108 | |
109 | use oauth || sed -i '/DEFINES += OAUTH/d' ${PN}.pri |
110 | } |
111 | |
112 | src_configure() { |
113 | eqmake4 |
114 | } |
115 | |
116 | src_install() { |
117 | emake INSTALL_ROOT="${D}" install || die "emake install failed" |
118 | dodoc README CHANGELOG || die "dodoc failed" |
119 | } |