summaryrefslogtreecommitdiffstats
path: root/trinity-base/noatun/noatun-14.0.12.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'trinity-base/noatun/noatun-14.0.12.ebuild')
-rw-r--r--trinity-base/noatun/noatun-14.0.12.ebuild67
1 files changed, 67 insertions, 0 deletions
diff --git a/trinity-base/noatun/noatun-14.0.12.ebuild b/trinity-base/noatun/noatun-14.0.12.ebuild
new file mode 100644
index 00000000..798fb2db
--- /dev/null
+++ b/trinity-base/noatun/noatun-14.0.12.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2022 Gentoo Authors
+# Copyright 2022 The Trinity Desktop Project
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+
+TRINITY_MODULE_NAME="tdemultimedia"
+TRINITY_MODULE_TYPE="core"
+TSM_EXTRACT_ALSO="arts mpeglib"
+inherit trinity-meta-2
+
+DESCRIPTION="Media player featuring audio effects, graphic equalizer and network transparency"
+HOMEPAGE="https://trinitydesktop.org/"
+if [[ ${PV} != *9999* ]] ; then
+ KEYWORDS="~amd64 ~arm64 ~x86"
+fi
+
+RDEPEND="~trinity-base/tdemultimedia-arts-${PV}"
+DEPEND="${RDEPEND}
+ x11-libs/libXext
+"
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_ARTS=ON
+ -DBUILD_MPEGLIB=ON
+ )
+
+ trinity-meta-2_src_configure
+}
+
+src_install() {
+ trinity-meta-2_src_install
+
+ #Junk all the files that overlap with tdemultimedia-arts.
+ #It would be cleaner not to let them install at all, but I wasn't
+ #able to pull that off.
+ rm -r "${D}"/usr/trinity/14/share/apps/artscontrol/ || die
+ rm -r "${D}"/usr/trinity/14/share/apps/artsbuilder/ || die
+ rm -r "${D}"/usr/trinity/14/include/arts/ || die
+ rm -r "${D}"/usr/trinity/14/include/mpeglib/ || die
+ rm -r "${D}"/usr/trinity/14/lib64/libarts* || die
+ rm -r "${D}"/usr/trinity/14/lib64/mcop/arts* || die
+ rm -r "${D}"/usr/trinity/14/lib64/mcop/Arts/ || die
+ rm -r "${D}"/usr/trinity/14/lib64/libmpeg* || die
+ rm -r "${D}"/usr/trinity/14/lib64/libyaf* || die
+ rm -r "${D}"/usr/trinity/14/share/icons/*/*/apps/artscontrol.png || die
+ rm -r "${D}"/usr/trinity/14/share/icons/*/*/apps/artsbuilder.png || die
+ rm -r "${D}"/usr/trinity/14/share/icons/hicolor/scalable/ || die
+ rm -r "${D}"/usr/trinity/14/share/icons/crystalsvg/*/actions/arts* || die
+ rm -r "${D}"/usr/trinity/14/share/applications/tde/artscontrol.desktop || die
+ rm -r "${D}"/usr/trinity/14/share/applications/tde/artsbuilder.desktop || die
+ rm -r "${D}"/usr/trinity/14/bin/artscontrol || die
+ rm -r "${D}"/usr/trinity/14/bin/artsbuilder || die
+ rm -r "${D}"/usr/trinity/14/bin/yaf* || die
+ rm -r "${D}"/usr/trinity/14/bin/midisend || die
+ rm -r "${D}"/usr/trinity/14/share/mimelnk/application/x-artsbuilder.desktop || die
+ rm -r "${D}"/usr/trinity/14/share/apps/kicker/ || die
+}
+
+#KMCOMPILEONLY="arts"
+
+#src_compile() {
+# # fix bug 128884
+# filter-flags -fomit-frame-pointer
+# kde-meta_src_compile
+#}