diff options
author | Ingmar Vanhassel <ingmar@gentoo.org> | 2008-03-11 01:25:00 +0000 |
---|---|---|
committer | Ingmar Vanhassel <ingmar@gentoo.org> | 2008-03-11 01:25:00 +0000 |
commit | 73565d8a6dabdc38fbf51b842d5fc7499cb7b4f9 (patch) | |
tree | ec758306dcae3154cdf2deb8d0b5b4bb89c9c71c /kde-base | |
parent | .properties files were missing from installed jars (diff) | |
download | gentoo-2-73565d8a6dabdc38fbf51b842d5fc7499cb7b4f9.tar.gz gentoo-2-73565d8a6dabdc38fbf51b842d5fc7499cb7b4f9.tar.bz2 gentoo-2-73565d8a6dabdc38fbf51b842d5fc7499cb7b4f9.zip |
Version bump.
(Portage version: 2.1.4.4)
Diffstat (limited to 'kde-base')
-rw-r--r-- | kde-base/dragonplayer/dragonplayer-2.0.1.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/kde-base/dragonplayer/dragonplayer-2.0.1.ebuild b/kde-base/dragonplayer/dragonplayer-2.0.1.ebuild new file mode 100644 index 000000000000..c8ba08d0ed2b --- /dev/null +++ b/kde-base/dragonplayer/dragonplayer-2.0.1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-base/dragonplayer/dragonplayer-2.0.1.ebuild,v 1.1 2008/03/11 01:25:00 ingmar Exp $ + +EAPI="1" + +SLOT="kde-4" +NEED_KDE=":${SLOT}" + +inherit kde4-base + +DESCRIPTION="Dragon Player is a simple video player for KDE 4" +HOMEPAGE="http://dragonplayer.org/" +SRC_URI="http://dragonplayer.org/${P}.tar.bz2" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="" + +LANGS="ar be cs da el es fr ga gl it ja km ko lv nb nds nn oc pl pt pt_BR sv tr +zh_CN zh_TW" + +for _X in ${LANGS}; do + IUSE="${IUSE} linguas_${_X}" +done + +PREFIX="${KDEDIR}" + +RDEPEND=">=kde-base/kdelibs-4.0.1-r1:${SLOT} + >=media-libs/xine-lib-1.1.9 + kde-base/phonon:${SLOT}" +DEPEND="${RDEPEND} + sys-devel/gettext" + +KDE4_BUILT_WITH_USE_CHECK="kde-base/phonon:${SLOT} xcb" + +src_compile() { + comment_all_add_subdirectory po/ || die "sed to remove all linguas failed." + + local _X + for _X in ${LANGS}; do + if use linguas_${X}; then + sed -i -e "/add_subdirectory(\s*${X}\s*)\s*$/ s/^#DONOTCOMPILE //" \ + po/CMakeLists.txt || die "sed to uncomment ${lang} failed." + fi + done + + kde4-base_src_compile +} |