summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2014-03-21 20:07:10 +0000
committerJohannes Huber <johu@gentoo.org>2014-03-21 20:07:10 +0000
commit638aff6354cb95141a33e21be8b25aa2c9d3b763 (patch)
treea980419ef6f4644608e05fa56e5bc031b0b5282a /media-video/kmplayer
parentRevision bump to EAPI 5. (diff)
downloadgentoo-2-638aff6354cb95141a33e21be8b25aa2c9d3b763.tar.gz
gentoo-2-638aff6354cb95141a33e21be8b25aa2c9d3b763.tar.bz2
gentoo-2-638aff6354cb95141a33e21be8b25aa2c9d3b763.zip
Revision bump to EAPI 5.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key F3CFD2BD)
Diffstat (limited to 'media-video/kmplayer')
-rw-r--r--media-video/kmplayer/ChangeLog9
-rw-r--r--media-video/kmplayer/kmplayer-0.11.3d-r2.ebuild67
2 files changed, 74 insertions, 2 deletions
diff --git a/media-video/kmplayer/ChangeLog b/media-video/kmplayer/ChangeLog
index e8448ce80f99..acc56f112272 100644
--- a/media-video/kmplayer/ChangeLog
+++ b/media-video/kmplayer/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-video/kmplayer
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/kmplayer/ChangeLog,v 1.160 2013/03/26 13:09:27 kensington Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/kmplayer/ChangeLog,v 1.161 2014/03/21 20:07:10 johu Exp $
+
+*kmplayer-0.11.3d-r2 (21 Mar 2014)
+
+ 21 Mar 2014; Johannes Huber <johu@gentoo.org> +kmplayer-0.11.3d-r2.ebuild:
+ Revision bump to EAPI 5.
26 Mar 2013; Michael Palimaka <kensington@gentoo.org>
-kmplayer-0.11.3d.ebuild:
diff --git a/media-video/kmplayer/kmplayer-0.11.3d-r2.ebuild b/media-video/kmplayer/kmplayer-0.11.3d-r2.ebuild
new file mode 100644
index 000000000000..32be094b17a0
--- /dev/null
+++ b/media-video/kmplayer/kmplayer-0.11.3d-r2.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/kmplayer/kmplayer-0.11.3d-r2.ebuild,v 1.1 2014/03/21 20:07:10 johu Exp $
+
+EAPI=5
+
+KDE_LINGUAS="bg bs ca ca@valencia cs da de el en_GB eo es et fr ga gl hr hu it
+ja km ku lt lv mai nb nds nl nn pl pt pt_BR ro ru sk sr sr@latin sv th tr ug uk
+zh_CN zh_TW"
+KDE_HANDBOOK="optional"
+inherit kde4-base
+
+DESCRIPTION="KMPlayer is a Video player plugin for Konqueror and basic MPlayer/Xine/ffmpeg/ffserver/VDR frontend."
+HOMEPAGE="http://kmplayer.kde.org/"
+SRC_URI="http://kmplayer.kde.org/pkgs/${P}.tar.bz2"
+
+LICENSE="GPL-2 FDL-1.2 LGPL-2.1"
+SLOT="4"
+KEYWORDS="~amd64 ~x86"
+IUSE="cairo debug expat handbook npp"
+
+DEPEND="media-libs/phonon
+ x11-libs/libX11
+ expat? ( >=dev-libs/expat-2.0.1 )
+ cairo? (
+ x11-libs/cairo
+ x11-libs/pango
+ )
+ npp? (
+ dev-libs/dbus-glib
+ >=x11-libs/gtk+-2.10.14:2
+ www-plugins/adobe-flash
+ )
+"
+RDEPEND="${DEPEND}
+ media-video/mplayer
+"
+
+DOCS=( AUTHORS ChangeLog README TODO )
+
+src_prepare() {
+ use npp && epatch "${FILESDIR}/${PN}-flash.patch"
+ sed -e '/add_subdirectory(icons)/d' \
+ -i CMakeLists.txt || die
+
+ kde4-base_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use cairo KMPLAYER_BUILT_WITH_CAIRO)
+ $(cmake-utils_use expat KMPLAYER_BUILT_WITH_EXPAT)
+ $(cmake-utils_use npp KMPLAYER_BUILT_WITH_NPP)
+ )
+
+ kde4-base_src_configure
+}
+
+pkg_postinst() {
+ if use npp; then
+ kwriteconfig --file "${PORTAGE_BUILDDIR}/usr/share/config/kmplayerrc" --group "application/x-shockwave-flash" --key player npp
+ kwriteconfig --file "${PORTAGE_BUILDDIR}/usr/share/config/kmplayerrc" --group "application/x-shockwave-flash" --key plugin /usr/lib/nsbrowser/plugins/libflashplayer.so
+ update-desktop-database
+ ewarn "If users have problems using flash in Konqueror, follow the steps"
+ ewarn "at http://dev.gentoo.org/~lack/konqueror-flash.xml to solve them"
+ fi
+}