summaryrefslogtreecommitdiffstats
path: root/trinity-apps/amarok
diff options
context:
space:
mode:
authorormorph <roma251078@mail.ru>2023-04-22 11:30:51 +0300
committerormorph <roma251078@mail.ru>2023-04-22 21:42:10 +0300
commit3e6b95222ab4ee71b69a570f49e1e887b166a83e (patch)
tree30fa95df5cd70e135890939da86d325d10bf0dca /trinity-apps/amarok
parent70fc50722d8c4c3d7c566fb8ab9e7d4376eea1bf (diff)
downloadtde-packaging-gentoo-3e6b95222ab4ee71b69a570f49e1e887b166a83e.tar.gz
tde-packaging-gentoo-3e6b95222ab4ee71b69a570f49e1e887b166a83e.zip
Adding version 14.1.0
Signed-off-by: ormorph <roma251078@mail.ru>
Diffstat (limited to 'trinity-apps/amarok')
-rw-r--r--trinity-apps/amarok/Manifest1
-rw-r--r--trinity-apps/amarok/amarok-14.1.0.ebuild103
2 files changed, 104 insertions, 0 deletions
diff --git a/trinity-apps/amarok/Manifest b/trinity-apps/amarok/Manifest
index abc5f0a9..d312a6ad 100644
--- a/trinity-apps/amarok/Manifest
+++ b/trinity-apps/amarok/Manifest
@@ -1 +1,2 @@
DIST amarok-trinity-14.0.13.tar.xz 10019600 BLAKE2B 72f94d2f683ad7952ff204012fce40a52f6a1c5faec02ad09c8e07369c786bda5f263eaed4635bf6a634ad92d97a21b88096b8d9bb30b3f27ebc5579635f17d9 SHA512 2f93c32638c5f3ae26a9183cf581821b4620c18dc7bf6166bcb0ef5fbf01c22d06ce321eeb0a6333f7a298f91a13d70f020437d4ecca4299a5c2f06efd567eb3
+DIST amarok-trinity-14.1.0.tar.xz 10020036 BLAKE2B 38ee190e3b0c6ced346704820eee16bd79491bd645eee3c9db1a2af57955eadcefc3b9433d3c187e4ce2af088a67380149c01d97eac068945a58fa9b1dc040e4 SHA512 5ba18f7840885ae32d4d06153e08cceeb9387ecfe76b6d3310a11b8785aca0326bfc658b461a5865af412619d67d1095b5969b4d79076f3b2747f2825632ed7d
diff --git a/trinity-apps/amarok/amarok-14.1.0.ebuild b/trinity-apps/amarok/amarok-14.1.0.ebuild
new file mode 100644
index 00000000..0c88fd13
--- /dev/null
+++ b/trinity-apps/amarok/amarok-14.1.0.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2023 Gentoo Authors
+# Copyright 2020-2023 The Trinity Desktop Project
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+
+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"
+TRINITY_MODULE_TYPE="applications/multimedia"
+inherit trinity-base-2
+
+DESCRIPTION="Advanced music player for TDE"
+HOMEPAGE="https://trinitydesktop.org/"
+
+LICENSE="|| ( GPL-2 GPL-3 )"
+SLOT="14"
+if [[ ${PV} != *9999* ]] ; then
+ KEYWORDS="~amd64 ~arm64 ~x86"
+fi
+
+# Notes about the ebuild:
+#
+# - This version supports three engines: Xine, Yauap, and Akode.
+# The only ones supported at the moment are Xine and Akode.
+# Yauap isn't in Portage tree, but could be added later.
+#
+# - Rio Karma support needs nonexistent media-libs/libkarma
+#
+# - No Support for DAAP because it's not tested if that works with Mongrel2.
+#
+# - Otherwise the ebuild should offer all what can be done with CMake at the moment.
+
+IUSE="akode amazon ifp inotify ipod konqsidebar mariadb mp4 mtp mysql njb
+opengl postgres visualization +xine"
+
+REQUIRED_USE="|| ( xine akode ) mysql? ( !mariadb )"
+
+DEPEND="
+ dev-db/sqlite
+ dev-lang/ruby:*
+ media-libs/taglib
+ akode? ( ~media-libs/akode-${PV} )
+ ifp? ( media-libs/libifp )
+ ipod? ( media-libs/libgpod )
+ mp4? ( media-libs/libmp4v2 )
+ mtp? ( media-libs/libmtp )
+ mysql? ( dev-db/mysql-connector-c )
+ mariadb? ( dev-db/mariadb-connector-c )
+ njb? ( media-libs/libnjb )
+ opengl? ( virtual/opengl )
+ postgres? ( dev-db/postgresql:= )
+ visualization? (
+ media-libs/libsdl
+ media-plugins/libvisual-plugins
+ )
+ xine? ( media-libs/xine-lib )
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ if use mysql ; then
+ sed -i 's/mariadb_config mysql_config/mysql_config/' "${S}/ConfigureChecks.cmake"
+ elif use mariadb ; then
+ sed -i 's/mariadb_config mysql_config/mariadb_config/' "${S}/ConfigureChecks.cmake"
+ fi
+ trinity-base-2_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DWITH_SYSTEM_SQLITE=ON
+ -DWITH_DAAP=OFF
+ -DWITH_RIOKARMA=OFF
+ -DWITH_YAUAP=OFF
+ -DWITH_AKODE="$(usex akode)"
+ -DWITH_AMAZON="$(usex amazon)"
+ -DWITH_IFP="$(usex ifp)"
+ -DWITH_INOTIFY="$(usex inotify)"
+ -DWITH_IPOD="$(usex ipod)"
+ -DWITH_KONQSIDEBAR="$(usex konqsidebar)"
+ -DWITH_MP4V2="$(usex mp4)"
+ -DWITH_MTP="$(usex mtp)"
+ -DWITH_NJB="$(usex njb)"
+ -DWITH_OPENGL="$(usex opengl)"
+ -DWITH_POSTGRESQL="$(usex postgres)"
+ -DWITH_LIBVISUAL="$(usex visualization)"
+ -DWITH_XINE="$(usex xine)"
+ )
+ if use mysql ; then
+ mycmakeargs+=( -DWITH_MYSQL=ON )
+ elif use mariadb ; then
+ mycmakeargs+=( -DWITH_MYSQL=ON )
+ fi
+
+ trinity-base-2_src_configure
+}