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 (-2 / +11 lines)
Line  Link Here
0
-- qtwitter-0.10.0.ebuild
0
++ qtwitter-0.10.0.ebuild
Lines 18-24 Link Here
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}"
Lines 28-33 Link Here
28
src_prepare() {
30
src_prepare() {
29
	echo "CONFIG += nostrip" >> "${S}"/${PN}.pro
31
	echo "CONFIG += nostrip" >> "${S}"/${PN}.pro
30
32
33
	epatch "${FILESDIR}"/${P}-gold.patch
34
31
	local langs=
35
	local langs=
32
	for lingua in $LINGUAS; do
36
	for lingua in $LINGUAS; do
33
		if has $lingua $LANGS; then
37
		if has $lingua $LANGS; then
Lines 45-53 Link Here
45
	sed -e '/^ *LANGS/,/^$/s/^/#/' \
49
	sed -e '/^ *LANGS/,/^$/s/^/#/' \
46
		-e "/LANGS =/s/.*/LANGS = ${langs}/" \
50
		-e "/LANGS =/s/.*/LANGS = ${langs}/" \
47
		-i translations/translations.pri || die "sed translations failed"
51
		-i translations/translations.pri || die "sed translations failed"
52
48
	# fix insecure runpaths
53
	# fix insecure runpaths
49
	sed -e '/-Wl,-rpath,\$\${DESTDIR}/d' \
54
	sed -e '/-Wl,-rpath,\$\${DESTDIR}/d' \
50
		-i qtwitter-app/qtwitter-app.pro || die "sed rpath failed"
55
		-i qtwitter-app/qtwitter-app.pro || die "sed rpath failed"
56
57
	# to pass validation
58
	sed -e 's/Instant Messaging/InstantMessaging/' \
59
		-i qtwitter-app/x11/qtwitter.desktop || die "sed .desktop failed"
51
}
60
}
52
61
53
src_configure() {
62
src_configure() {

Return to bug 369449