|
|
# Distributed under the terms of the GNU General Public License v2 | # Distributed under the terms of the GNU General Public License v2 |
# $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 $ | # $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 $ |
| |
|
EAPI="1" |
|
|
inherit eutils qt4 | inherit eutils qt4 |
| |
MY_P=${P/_rc/rc} | MY_P=${P/_rc/rc} |
|
|
KEYWORDS="~amd64 ~x86" | KEYWORDS="~amd64 ~x86" |
IUSE="" | IUSE="" |
| |
DEPEND="$(qt4_min_version 4.2)" |
DEPEND="|| ( <x11-libs/qt-4.4_alpha:4 |
|
( x11-libs/qt-gui |
|
x11-libs/qt-qt3support ) )" |
RDEPEND="${DEPEND} | RDEPEND="${DEPEND} |
>media-video/mplayer-1.0_rc1" | >media-video/mplayer-1.0_rc1" |
| |
|
Lines 28-37
for X in ${NOLONGLANGS}; do
|
Link Here
|
|---|
|
IUSE="${IUSE} linguas_${X%_*}" | IUSE="${IUSE} linguas_${X%_*}" |
done | done |
| |
QT4_BUILT_WITH_USE_CHECK="qt3support" |
|
|
|
S=${WORKDIR}/${MY_P} | S=${WORKDIR}/${MY_P} |
| |
|
pkt_setup() { |
|
if has_version <x11-libs/qt-4.4_alpha:4; then |
|
QT4_BUILT_WITH_USE_CHECK="qt3support" |
|
else |
|
if ! built_with_use x11-libs/qt-gui qt3support; then |
|
eerror "You have to built x11-libs/qt-gui with qt3support." |
|
die "qt3support in qt-gui disabled." |
|
fi |
|
fi |
|
} |
|
|
src_compile() { | src_compile() { |
local MY_SVNREV="UNKNOWN" | local MY_SVNREV="UNKNOWN" |
echo "SVN-r${MY_SVNREV}" > svn_revision.txt | echo "SVN-r${MY_SVNREV}" > svn_revision.txt |