summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--trinity-apps/kaffeine/kaffeine-9999.ebuild26
-rw-r--r--trinity-apps/kaffeine/metadata.xml11
2 files changed, 25 insertions, 12 deletions
diff --git a/trinity-apps/kaffeine/kaffeine-9999.ebuild b/trinity-apps/kaffeine/kaffeine-9999.ebuild
index d6ec943a..83067446 100644
--- a/trinity-apps/kaffeine/kaffeine-9999.ebuild
+++ b/trinity-apps/kaffeine/kaffeine-9999.ebuild
@@ -1,7 +1,9 @@
+# Copyright 1999-2020 Gentoo Authors
# Copyright 2020 The Trinity Desktop Project
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
+
TRINITY_MODULE_TYPE="applications"
TRINITY_EXTRAGEAR_PACKAGING="yes"
@@ -10,40 +12,40 @@ TRINITY_HANDBOOK="optional"
TRINITY_LANGS="ar bg bn br ca cs da de el es et fi fr ga gl he
hu it ja ka km lt mk nb nl nn pa pl pt pt_BR ru se sk sr
sr@Latn sv tg tr uk uz zh_CN zh_TW"
-
inherit trinity-base-2
DESCRIPTION="Media player for TDE using Xine and GStreamer backends."
HOMEPAGE="https://trinitydesktop.org/"
-LICENSE="|| ( GPL-2 GPL-3 )"
need-trinity
+LICENSE="|| ( GPL-2 GPL-3 )"
SLOT="${TRINITY_VER}"
-
-IUSE+=" dvb dpms gstreamer vorbis encode xcb xinerama"
+IUSE+=" dpms dvb encode gstreamer vorbis xcb xinerama"
# As of April 2020 Kaffeine can be only build with xinerama support.
-# If that is fixed, the build option will be optional again.
+# Once that is fixed, the build option will be optional again.
-DEPEND+="
- x11-base/xorg-proto
- media-libs/xine-lib
+RDEPEND+="
dev-libs/libcdio
+ media-libs/xine-lib
+ x11-base/xorg-proto
x11-libs/libXtst
+ encode? ( media-sound/lame )
gstreamer? (
media-libs/gstreamer
media-libs/gst-plugins-base[X]
)
- encode? ( media-sound/lame )
vorbis? ( media-libs/libvorbis )
xcb? ( x11-libs/libxcb )
xinerama? ( x11-libs/libXinerama )
- dvb? ( virtual/linuxtv-dvb-headers )"
-RDEPEND+=" ${DEPEND}"
+"
+DEPEND+=" ${RDEPEND}
+ dvb? ( virtual/linuxtv-dvb-headers )
+"
src_configure() {
- mycmakeargs=(
+ local mycmakeargs=(
-DBUILD_TRANSLATIONS=ON
-DWITH_XTEST=ON
-DWITH_DPMS="$(usex dpms)"
diff --git a/trinity-apps/kaffeine/metadata.xml b/trinity-apps/kaffeine/metadata.xml
new file mode 100644
index 00000000..427bd0e5
--- /dev/null
+++ b/trinity-apps/kaffeine/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+ <use>
+ <flag name="dpms">Enable support for DPMS (no extra dependencies)</flag>
+ </use>
+</pkgmetadata>