summaryrefslogtreecommitdiffstats
path: root/trinity-apps/amarok
diff options
context:
space:
mode:
authorChris <xchrisx@uber.space>2020-01-25 19:22:09 +0100
committerTDE Gitea <gitea@mirror.git.trinitydesktop.org>2020-01-26 23:41:14 +0000
commit6750f2e403ceb8381920682ad69b0a2d3b36df15 (patch)
tree7e56ef60abdd1a5f128cd507069c5d5f6bfe785b /trinity-apps/amarok
parent5fdae56beb244aa6f01def404ce2ec938126755f (diff)
downloadtde-packaging-gentoo-6750f2e403ceb8381920682ad69b0a2d3b36df15.tar.gz
tde-packaging-gentoo-6750f2e403ceb8381920682ad69b0a2d3b36df15.zip
Live ebuilds: Add preliminary Amarok ebuild.
Signed-off-by: Chris <xchrisx@uber.space>
Diffstat (limited to 'trinity-apps/amarok')
-rw-r--r--trinity-apps/amarok/amarok-9999.ebuild81
-rw-r--r--trinity-apps/amarok/metadata.xml7
2 files changed, 88 insertions, 0 deletions
diff --git a/trinity-apps/amarok/amarok-9999.ebuild b/trinity-apps/amarok/amarok-9999.ebuild
new file mode 100644
index 00000000..11afdb06
--- /dev/null
+++ b/trinity-apps/amarok/amarok-9999.ebuild
@@ -0,0 +1,81 @@
+# 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="af ar az be bg bn br ca cs cy da de el en_GB eo es et eu fa fi
+fr ga gl he hi hu id is it ja ka km ko ku lo lt mk ms nb nds ne nl nn pa
+pl pt pt_BR ro ru rw se sk sl sq sr sr@Latn ss sv ta tg th tr uk uz uz@cyrillic
+zh_CN zh_TW"
+
+TRINITY_DOC_LANGS="da de es et fr it nl pl pt pt_BR ru sv"
+
+inherit trinity-base-2
+
+DESCRIPTION="Advanced music player for TDE."
+HOMEPAGE="http://trinitydesktop.org/"
+LICENSE="|| ( GPL-2 GPL-3 )"
+
+need-trinity 14.1.0
+
+SLOT="${TRINITY_VER}"
+
+# Notes about the ebuild:
+#
+# - This version supports three engines: Xine, Yauap, and Akode. The only one in
+# the portage tree at the moment is Xine. Akode is still maintained by Trinity,
+# so it's a possibility, but Yauap isn't in portage tree, but could be added later.
+#
+# - Rio Karma support needs libkarma which neeeds to be added to our overlay later.
+#
+# - No Support for DAAP because it's not tested if that works with Mongrel2.
+#
+# - Building without MP4 support will fail at the moment.
+#
+# - As of January 2020, building with anything newer than xine-lib-1.2.9 will fail.
+#
+# - Otherwise the ebuild should offer all what can be done with CMake at the moment.
+# As of January 2020, work is in process to get the CMake port done.
+
+IUSE="konqsidebar +xine ipod riokarma ifp njb mtp +mp4 inotify visualization"
+
+
+DEPEND="
+ media-libs/taglib
+ <media-libs/xine-lib-1.2.10
+ dev-db/sqlite
+ mp4? ( media-libs/libmp4v2 )
+ ipod? ( media-libs/libgpod )
+ riokarma? ( media-libs/libkarma )
+ ifp? ( media-libs/libifp )
+ njb? ( media-libs/libnjb )
+ mtp? ( media-libs/libmtp )
+ visualization? (
+ media-libs/libsdl
+ media-plugins/libvisual-plugins
+ )
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ mycmakeargs=(
+ -DWITH_KONQSIDEBAR="$(usex konqsidebar)"
+ -DWITH_XINE="$(usex xine)"
+ -DWITH_IPOD="$(usex ipod)"
+ -DWITH_RIOKARMA="$(usex riokarma)"
+ -DWITH_IFP="$(usex ifp)"
+ -DWITH_NJB="$(usex njb)"
+ -DWITH_MTP="$(usex mtp)"
+ -DWITH_MP4V2="$(usex mp4)"
+ -DWITH_INOTIFY="$(usex inotify)"
+ -DWITH_LIBVISUAL="$(usex visualization)"
+ -DWITH_YAUAP=OFF
+ -DWITH_AKODE=OFF
+ -DWITH_DAAP=OFF
+ )
+
+ trinity-base-2_src_configure
+}
diff --git a/trinity-apps/amarok/metadata.xml b/trinity-apps/amarok/metadata.xml
new file mode 100644
index 00000000..61b4108b
--- /dev/null
+++ b/trinity-apps/amarok/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <name>Chris</name>
+ </maintainer>
+</pkgmetadata>