diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-video/kmplayer |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-video/kmplayer')
-rw-r--r-- | media-video/kmplayer/Manifest | 5 | ||||
-rw-r--r-- | media-video/kmplayer/kmplayer-0.12.0b.ebuild | 85 | ||||
-rw-r--r-- | media-video/kmplayer/metadata.xml | 15 |
3 files changed, 105 insertions, 0 deletions
diff --git a/media-video/kmplayer/Manifest b/media-video/kmplayer/Manifest new file mode 100644 index 000000000000..717a2a548fb4 --- /dev/null +++ b/media-video/kmplayer/Manifest @@ -0,0 +1,5 @@ +DIST kmplayer-0.12.0b.tar.bz2 599496 SHA256 5e98cea9bd958860d90003d37037172a95ed8b699133e8f1e6033147aaefed73 SHA512 d34c496d0c24c6d5c1bb675b83fac60da5c9672e4076aed72bac2e9b333e88d031076e7e386ec7b61ae8ece88870f6187c61f483f425aa78edd1e443c7f2e882 WHIRLPOOL 4ce75858bd6f385572f1c39e1aef47ad9526986b8c99de228d9e77168e804b2aeeca2933bb95c8be0f3a2200154473fd99a02af2d449a3861c845715f772570c +EBUILD kmplayer-0.12.0b.ebuild 2077 SHA256 c49eb87724e6a7d7e0cf4d5fe5da59622f53de75d6bad172da15647d63b55658 SHA512 15992dd9b6485df8ded3c2832d7171bb44ae8253ab2fc7b5bd499768c3c4194a74b9aab47fe6927e2d0b66a0ccf7db32f8a2e64cb05f575c070a92fdd0c41902 WHIRLPOOL c98aef27fefe1d14d569b07c2b7e775268ba3feed7bce39480c15a05231a156665b81b79227ec5ad2ad1798693e76d0beff38f810c709d12d0a2d04b1aa898e8 +MISC ChangeLog 5633 SHA256 15d410bd74fe1ef05557d48faac64ed49d381783bc53db4ff9c858616ea7a89e SHA512 5bd62143bfd2f04eb3db8125502ff2d0137a50d1d5e3e5a5fdc28556af894ee738f19209c6d4e7636b2f71a4d8e6812a65587ba448991cde0069af5b63c9cc54 WHIRLPOOL 039f38d9d89bbf83818bebb4e46b71d4c4566e7d017b6d5adeea57e1c3e1e7ac59f21b14340464d66e99ed173c8059d8456725b2714ce1c0debd8234bcb570cb +MISC ChangeLog-2015 23920 SHA256 d16882d10c22fb9696c68b8e162fac2642aa7665f76373c11e4b2c4d6115c1d1 SHA512 09e481388be5ec4714798a16c905569cf1e5fcd14b7d27f9aef625dcc3ec10fe90eb49e04cb3d7d48ed4a2dc116325505b46e312efb444ea16c64cd326f910b0 WHIRLPOOL 652eeac8fe785f54c5fed1ea67afa684cde658c25e48eb49431cf90f023a4299b4d7395ecf0249016b4554fc3c95e42fcdb6f32f9b062cb9a169173b0db819cf +MISC metadata.xml 475 SHA256 a1f733d5e733b1a3ffd4bc93667e65116737ce3efe1cd982b084d2897092aeac SHA512 0f45fbd4596c4e885093addcf323d7c53a5d550f91bd9bf0bcf5bc18cd9a808caac52dee949ad5437a1e6827b1b6bbd42a81a563eb648ebad64a6a7a6c34e37f WHIRLPOOL f1d2a0f4cfeb819bb0843fa1f3139402d8e6307b9897bb4765756864ca77c70b208e4ac3c2699066428f06ef8dcd669e9af697d6beb5ebf2551b70a7e0ac8c61 diff --git a/media-video/kmplayer/kmplayer-0.12.0b.ebuild b/media-video/kmplayer/kmplayer-0.12.0b.ebuild new file mode 100644 index 000000000000..dff58d1dbfff --- /dev/null +++ b/media-video/kmplayer/kmplayer-0.12.0b.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +EGIT_BRANCH="0.12" +KDE_HANDBOOK="true" +inherit kde5 + +DESCRIPTION="Video player plugin for Konqueror and basic MPlayer frontend" +HOMEPAGE="https://kmplayer.kde.org" +SRC_URI="mirror://kde/stable/${PN}/${EGIT_BRANCH}/${P}.tar.bz2" + +LICENSE="GPL-2 FDL-1.2 LGPL-2.1" +KEYWORDS="amd64 x86" +IUSE="cairo npp" + +CDEPEND=" + $(add_frameworks_dep kbookmarks) + $(add_frameworks_dep kcompletion) + $(add_frameworks_dep kconfig) + $(add_frameworks_dep kconfigwidgets) + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep kdelibs4support) + $(add_frameworks_dep ki18n) + $(add_frameworks_dep kiconthemes) + $(add_frameworks_dep kio) + $(add_frameworks_dep kmediaplayer) + $(add_frameworks_dep kparts) + $(add_frameworks_dep ktextwidgets) + $(add_frameworks_dep kwidgetsaddons) + $(add_frameworks_dep kxmlgui) + $(add_qt_dep qtdbus) + $(add_qt_dep qtgui) + $(add_qt_dep qtsvg) + $(add_qt_dep qtwidgets) + $(add_qt_dep qtx11extras) + $(add_qt_dep qtxml) + media-libs/phonon[qt5(+)] + x11-libs/libX11 + x11-libs/libxcb + cairo? ( x11-libs/cairo[xcb] ) + npp? ( + dev-libs/dbus-glib + dev-libs/glib:2 + www-plugins/adobe-flash:* + >=x11-libs/gtk+-2.10.14:2 + ) +" +DEPEND="${CDEPEND} + sys-devel/gettext +" +RDEPEND="${CDEPEND} + media-video/mplayer + !media-video/kmplayer:4 +" + +src_prepare() { + if use npp; then + sed -i src/kmplayer_part.desktop \ + -e ":^MimeType: s:=:=application/x-shockwave-flash;:" || die + fi + + kde5_src_prepare +} + +src_configure() { + # 0.12: expat build broken, check in later releases + local mycmakeargs=( + -DKMPLAYER_BUILT_WITH_EXPAT=OFF + -DKMPLAYER_BUILT_WITH_CAIRO=$(usex cairo) + -DKMPLAYER_BUILT_WITH_NPP=$(usex npp) + ) + + kde5_src_configure +} + +src_install() { + kde5_src_install + + if use npp; then + kwriteconfig5 --file "${ED}/usr/share/config/kmplayerrc" --group "application/x-shockwave-flash" --key player npp + kwriteconfig5 --file "${ED}/usr/share/config/kmplayerrc" --group "application/x-shockwave-flash" --key plugin /usr/lib/nsbrowser/plugins/libflashplayer.so + fi +} diff --git a/media-video/kmplayer/metadata.xml b/media-video/kmplayer/metadata.xml new file mode 100644 index 000000000000..d4fe1b93f0d5 --- /dev/null +++ b/media-video/kmplayer/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>kde@gentoo.org</email> + <name>Gentoo KDE Project</name> + </maintainer> + <maintainer type="project"> + <email>media-video@gentoo.org</email> + <name>Gentoo Video project</name> + </maintainer> + <use> + <flag name="npp">Compile the npp backend that plays xembed style browser plugins.</flag> + </use> +</pkgmetadata> |