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

Collapse All | Expand All

(-)a/media-video/smplayer/smplayer-0.6.0_rc2.ebuild (-3 / +16 lines)
Lines 2-7 Link Here
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/media-video/smplayer/smplayer-0.6.0_rc2.ebuild,v 1.2 2008/02/19 00:23:43 yngwin Exp $
3
# $Header: /var/cvsroot/gentoo-x86/media-video/smplayer/smplayer-0.6.0_rc2.ebuild,v 1.2 2008/02/19 00:23:43 yngwin Exp $
4
4
5
EAPI="1"
6
5
inherit eutils qt4
7
inherit eutils qt4
6
8
7
MY_P=${P/_rc/rc}
9
MY_P=${P/_rc/rc}
Lines 15-21 SLOT="0" Link Here
15
KEYWORDS="~amd64 ~x86"
17
KEYWORDS="~amd64 ~x86"
16
IUSE=""
18
IUSE=""
17
19
18
DEPEND="$(qt4_min_version 4.2)"
20
DEPEND="|| ( <x11-libs/qt-4.4_alpha:4
21
	( x11-libs/qt-gui
22
		x11-libs/qt-qt3support ) )"
19
RDEPEND="${DEPEND}
23
RDEPEND="${DEPEND}
20
	>media-video/mplayer-1.0_rc1"
24
	>media-video/mplayer-1.0_rc1"
21
25
Lines 28-37 for X in ${NOLONGLANGS}; do Link Here
28
	IUSE="${IUSE} linguas_${X%_*}"
32
	IUSE="${IUSE} linguas_${X%_*}"
29
done
33
done
30
34
31
QT4_BUILT_WITH_USE_CHECK="qt3support"
32
33
S=${WORKDIR}/${MY_P}
35
S=${WORKDIR}/${MY_P}
34
36
37
pkt_setup() {
38
	if has_version <x11-libs/qt-4.4_alpha:4; then
39
		QT4_BUILT_WITH_USE_CHECK="qt3support"
40
	else
41
		if ! built_with_use x11-libs/qt-gui qt3support; then
42
			eerror "You have to built x11-libs/qt-gui with qt3support."
43
			die "qt3support in qt-gui disabled."
44
		fi
45
	fi
46
}
47
35
src_compile() {
48
src_compile() {
36
	local MY_SVNREV="UNKNOWN"
49
	local MY_SVNREV="UNKNOWN"
37
	echo "SVN-r${MY_SVNREV}" > svn_revision.txt
50
	echo "SVN-r${MY_SVNREV}" > svn_revision.txt

Return to bug 212737