From 73565d8a6dabdc38fbf51b842d5fc7499cb7b4f9 Mon Sep 17 00:00:00 2001 From: Ingmar Vanhassel Date: Tue, 11 Mar 2008 01:25:00 +0000 Subject: Version bump. (Portage version: 2.1.4.4) --- kde-base/dragonplayer/dragonplayer-2.0.1.ebuild | 49 +++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 kde-base/dragonplayer/dragonplayer-2.0.1.ebuild (limited to 'kde-base') 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 +} -- cgit v1.2.3-65-gdbad