summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kde-base/dragonplayer/ChangeLog11
-rw-r--r--kde-base/dragonplayer/Manifest14
-rw-r--r--kde-base/dragonplayer/dragonplayer-2.0.ebuild59
-rw-r--r--kde-base/dragonplayer/metadata.xml5
4 files changed, 89 insertions, 0 deletions
diff --git a/kde-base/dragonplayer/ChangeLog b/kde-base/dragonplayer/ChangeLog
new file mode 100644
index 000000000000..d5619a8eef54
--- /dev/null
+++ b/kde-base/dragonplayer/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for kde-base/dragonplayer
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/kde-base/dragonplayer/ChangeLog,v 1.1 2008/02/18 22:07:30 zlin Exp $
+
+*dragonplayer-2.0 (18 Feb 2008)
+
+ 18 Feb 2008; Bo Ørsted Andresen <zlin@gentoo.org> +metadata.xml,
+ +dragonplayer-2.0.ebuild:
+ Initial import of dragonplayer. It will be part of kdemultimedia-4.1 but a
+ 2.0 version has been released for 4.0.x. Bug #209678.
+
diff --git a/kde-base/dragonplayer/Manifest b/kde-base/dragonplayer/Manifest
new file mode 100644
index 000000000000..d6ad231ec0da
--- /dev/null
+++ b/kde-base/dragonplayer/Manifest
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST dragonplayer-2.0.tar.bz2 453086 RMD160 db386cdcbf25b44c2365d8098f735ffe90c8a91b SHA1 48b40f22522e047d2a2c37910c509ff7b439521c SHA256 081d908255b0e5e847d496bcbba5637b900ac0129a7c76bfa5cea5509328b558
+EBUILD dragonplayer-2.0.ebuild 1524 RMD160 e8c586042d5ced7a44463deea8aa5be345c6e0d4 SHA1 b13a4f0b1f5ce69e85175feae5b72a81ca357cdd SHA256 0eed6656d8d2534f5df8921186f82c013415fa6b336d64bf1c2f642bf4bd4300
+MISC ChangeLog 476 RMD160 8f38b61584a2c5806611fa8c435ba6fe5b0c710c SHA1 b54de8cd8467dd9648dd5177f29b3eaab2870471 SHA256 ff6ef44a4f689932e8a1f0a7b75a77ee0b23fe2e0579dd132804ebcd33a96153
+MISC metadata.xml 156 RMD160 ecce3b981f150c45ae1e84e2d208e678d6124259 SHA1 b64f7c0b4e5db816d82ad19848f72118af129d35 SHA256 2f4da28506b9d4185f320f67a6191d30c7a921217ed4447ed46ea0bc4aefc79a
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.7 (GNU/Linux)
+
+iD8DBQFHugFxfxJ68Jl1NeERAhtRAKCfWnP2hv+8nLNI2/oSWwtRV1++cgCfVxwn
+BqgiICtKKjvhnCTsPNGgM+E=
+=XwKG
+-----END PGP SIGNATURE-----
diff --git a/kde-base/dragonplayer/dragonplayer-2.0.ebuild b/kde-base/dragonplayer/dragonplayer-2.0.ebuild
new file mode 100644
index 000000000000..03f684fb3c5e
--- /dev/null
+++ b/kde-base/dragonplayer/dragonplayer-2.0.ebuild
@@ -0,0 +1,59 @@
+# 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.ebuild,v 1.1 2008/02/18 22:07:30 zlin 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} kde-base/kdebase:${SLOT} )"
+DEPEND="${RDEPEND}
+ sys-devel/gettext"
+
+pkg_setup() {
+ if has_version kde-base/phonon:${SLOT}; then
+ KDE4_BUILT_WITH_USE_CHECK="kde-base/phonon:${SLOT} xcb"
+ elif has_version kde-base/kdebase:${SLOT}; then
+ KDE4_BUILT_WITH_USE_CHECK="kde-base/kdebase:${SLOT} xcb xine"
+ else
+ die "You don't seem to have either kde-base/phonon:${SLOT} or kde-base/kdebase:${SLOT} installed"
+ fi
+
+ kde4-base_pkg_setup
+}
+
+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
+}
diff --git a/kde-base/dragonplayer/metadata.xml b/kde-base/dragonplayer/metadata.xml
new file mode 100644
index 000000000000..8d1e86a9cefb
--- /dev/null
+++ b/kde-base/dragonplayer/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>kde</herd>
+</pkgmetadata>