Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 369449 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-5 / +15 lines)
Line  Link Here
0
-- qtwitter-0.10.0.ebuild
0
++ qtwitter-0.10.0-r1.ebuild
Lines 1-8 Link Here
1
# Copyright 1999-2010 Gentoo Foundation
1
# Copyright 1999-2012 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
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.4 2010/01/02 14:05:29 fauli Exp $
3
# $Header: /var/cvsroot/gentoo-x86/net-im/qtwitter/qtwitter-0.10.0.ebuild,v 1.4 2010/01/02 14:05:29 fauli Exp $
4
4
5
EAPI="2"
5
EAPI=4
6
6
7
LANGS="nb_NO pt_BR"
7
LANGS="nb_NO pt_BR"
8
LANGSLONG="ca_ES cs_CZ de_DE es_ES fr_FR it_IT ja_JP pl_PL"
8
LANGSLONG="ca_ES cs_CZ de_DE es_ES fr_FR it_IT ja_JP pl_PL"
Lines 15-31 Link Here
15
15
16
LICENSE="LGPL-2.1"
16
LICENSE="LGPL-2.1"
17
SLOT="0"
17
SLOT="0"
18
KEYWORDS="amd64 x86"
18
KEYWORDS="~amd64 ~x86"
19
IUSE="debug"
19
IUSE="debug"
20
20
21
DEPEND=">=x11-libs/qt-gui-4.5:4
21
DEPEND="x11-libs/libX11
22
	>=x11-libs/qt-core-4.5:4
23
	>=x11-libs/qt-gui-4.5:4
22
	>=x11-libs/qt-dbus-4.5:4
24
	>=x11-libs/qt-dbus-4.5:4
23
	>=dev-libs/qoauth-1.0"
25
	>=dev-libs/qoauth-1.0"
24
RDEPEND="${DEPEND}"
26
RDEPEND="${DEPEND}"
25
27
26
DOCS="README CHANGELOG"
28
DOCS="README CHANGELOG"
29
PATCHES=( "${FILESDIR}/${P}-gold.patch" )
27
30
28
src_prepare() {
31
src_prepare() {
32
	qt4-r2_src_prepare
33
29
	echo "CONFIG += nostrip" >> "${S}"/${PN}.pro
34
	echo "CONFIG += nostrip" >> "${S}"/${PN}.pro
30
35
31
	local langs=
36
	local langs=
Lines 45-53 Link Here
45
	sed -e '/^ *LANGS/,/^$/s/^/#/' \
50
	sed -e '/^ *LANGS/,/^$/s/^/#/' \
46
		-e "/LANGS =/s/.*/LANGS = ${langs}/" \
51
		-e "/LANGS =/s/.*/LANGS = ${langs}/" \
47
		-i translations/translations.pri || die "sed translations failed"
52
		-i translations/translations.pri || die "sed translations failed"
53
48
	# fix insecure runpaths
54
	# fix insecure runpaths
49
	sed -e '/-Wl,-rpath,\$\${DESTDIR}/d' \
55
	sed -e '/-Wl,-rpath,\$\${DESTDIR}/d' \
50
		-i qtwitter-app/qtwitter-app.pro || die "sed rpath failed"
56
		-i qtwitter-app/qtwitter-app.pro || die "sed rpath failed"
57
58
	# to pass validation
59
	sed -e 's/Instant Messaging/InstantMessaging/' \
60
		-i qtwitter-app/x11/qtwitter.desktop || die "sed .desktop failed"
51
}
61
}
52
62
53
src_configure() {
63
src_configure() {

Return to bug 369449