/[gentoo-x86]/net-im/qtwitter/qtwitter-0.10.0.ebuild
Gentoo

Contents of /net-im/qtwitter/qtwitter-0.10.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Mon Jun 4 11:28:54 2012 UTC (11 months, 2 weeks ago) by johu
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
Remove old.

(Portage version: 2.2.0_alpha109/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-im/qtwitter/qtwitter-0.10.0.ebuild,v 1.5 2012/03/28 13:48:58 johu Exp $
4
5 EAPI="2"
6
7 LANGS="nb_NO pt_BR"
8 LANGSLONG="ca_ES cs_CZ de_DE es_ES fr_FR it_IT ja_JP pl_PL"
9
10 inherit qt4-r2
11
12 DESCRIPTION="A Qt-based microblogging client"
13 HOMEPAGE="http://www.qt-apps.org/content/show.php/qTwitter?content=99087"
14 SRC_URI="http://files.ayoy.net/qtwitter/release/${PV}/src/${P}-src.tar.gz"
15
16 LICENSE="LGPL-2.1"
17 SLOT="0"
18 KEYWORDS="amd64 x86"
19 IUSE="debug"
20
21 DEPEND=">=x11-libs/qt-gui-4.5:4
22 >=x11-libs/qt-dbus-4.5:4
23 >=dev-libs/qoauth-1.0"
24 RDEPEND="${DEPEND}"
25
26 DOCS="README CHANGELOG"
27
28 src_prepare() {
29 echo "CONFIG += nostrip" >> "${S}"/${PN}.pro
30
31 local langs=
32 for lingua in $LINGUAS; do
33 if has $lingua $LANGS; then
34 langs="$langs ${lingua}"
35 else
36 for a in $LANGSLONG; do
37 if [[ $lingua == ${a%_*} ]]; then
38 langs="$langs ${a}"
39 fi
40 done
41 fi
42 done
43
44 # remove translations and add only the selected ones
45 sed -e '/^ *LANGS/,/^$/s/^/#/' \
46 -e "/LANGS =/s/.*/LANGS = ${langs}/" \
47 -i translations/translations.pri || die "sed translations failed"
48 # fix insecure runpaths
49 sed -e '/-Wl,-rpath,\$\${DESTDIR}/d' \
50 -i qtwitter-app/qtwitter-app.pro || die "sed rpath failed"
51 }
52
53 src_configure() {
54 eqmake4 PREFIX="/usr"
55 }

  ViewVC Help
Powered by ViewVC 1.1.13