summaryrefslogtreecommitdiffstats
path: root/trinity-apps/kaffeine/kaffeine-9999.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'trinity-apps/kaffeine/kaffeine-9999.ebuild')
-rw-r--r--trinity-apps/kaffeine/kaffeine-9999.ebuild56
1 files changed, 56 insertions, 0 deletions
diff --git a/trinity-apps/kaffeine/kaffeine-9999.ebuild b/trinity-apps/kaffeine/kaffeine-9999.ebuild
new file mode 100644
index 00000000..bf8c1b48
--- /dev/null
+++ b/trinity-apps/kaffeine/kaffeine-9999.ebuild
@@ -0,0 +1,56 @@
+# 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"
+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="http://trinitydesktop.org/"
+LICENSE="|| ( GPL-2 GPL-3 )"
+
+need-trinity
+
+offer-hiddenvisibility yes
+
+SLOT="${TRINITY_VER}"
+
+IUSE+=" dvb dpms gstreamer xinerama vorbis encode xcb"
+
+
+DEPEND+="
+ x11-base/xorg-proto
+ media-libs/xine-lib
+ dev-libs/libcdio
+ x11-libs/libXtst
+ gstreamer? (
+ media-libs/gstreamer
+ media-libs/gst-plugins-base[X]
+ )
+ encode? ( media-sound/lame )
+ vorbis? ( media-libs/libvorbis )
+ xcb? ( x11-libs/libxcb )
+ dvb? ( virtual/linuxtv-dvb-headers )"
+RDEPEND+=" ${DEPEND}"
+
+src_configure() {
+ mycmakeargs=(
+ -DWITH_XTEST=ON
+ -DWITH_DPMS="$(usex dpms)"
+ -DWITH_XINERAMA="$(usex xinerama)"
+ -DWITH_XCB="$(usex xcb)"
+ -DWITH_GSTREAMER="$(usex gstreamer)"
+ -DWITH_OGGVORBIS="$(usex vorbis)"
+ -DWITH_LAME="$(usex encode)"
+ -DWITH_DVB="$(usex dvb)"
+ )
+
+ trinity-base-2_src_configure
+}