summaryrefslogtreecommitdiffstats
path: root/trinity-base/kaudiocreator/kaudiocreator-14.0.11.ebuild
diff options
context:
space:
mode:
authorormorph <roma251078@mail.ru>2021-11-15 22:06:35 +0300
committerormorph <roma251078@mail.ru>2021-11-16 00:22:50 +0300
commit9f59a1d0c834bc706d6e74f0a0dc9f026e935b41 (patch)
treedbe2babfd8aea5f985063e94dcfa22679c93526f /trinity-base/kaudiocreator/kaudiocreator-14.0.11.ebuild
parentffbff856abb47b6fb62cdd430211c67f67478c5b (diff)
downloadtde-packaging-gentoo-9f59a1d0c834bc706d6e74f0a0dc9f026e935b41.tar.gz
tde-packaging-gentoo-9f59a1d0c834bc706d6e74f0a0dc9f026e935b41.zip
Added ebuilds for stable version 14.0.11
Signed-off-by: ormorph <roma251078@mail.ru>
Diffstat (limited to 'trinity-base/kaudiocreator/kaudiocreator-14.0.11.ebuild')
-rw-r--r--trinity-base/kaudiocreator/kaudiocreator-14.0.11.ebuild58
1 files changed, 58 insertions, 0 deletions
diff --git a/trinity-base/kaudiocreator/kaudiocreator-14.0.11.ebuild b/trinity-base/kaudiocreator/kaudiocreator-14.0.11.ebuild
new file mode 100644
index 00000000..23a31581
--- /dev/null
+++ b/trinity-base/kaudiocreator/kaudiocreator-14.0.11.ebuild
@@ -0,0 +1,58 @@
+# Copyright 2021 The Trinity Desktop Project
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+TRINITY_MODULE_NAME="tdemultimedia"
+TRINITY_MODULE_TYPE="core"
+TSM_EXTRACT_ALSO="libkcddb/ kscd/"
+
+inherit trinity-meta-2
+
+DESCRIPTION="TDE CD ripper and audio encoder frontend"
+if [[ ${PV} != *9999* ]] ; then
+ KEYWORDS="~amd64 ~x86"
+fi
+IUSE="encode flac mp3 vorbis"
+DEPEND="~trinity-base/libkcddb-${PV}
+ media-sound/cdparanoia"
+
+# External encoders used - no optional compile-time support
+RDEPEND="${RDEPEND}
+ ~trinity-base/tdemultimedia-tdeioslaves-${PV}
+ encode? ( vorbis? ( media-sound/vorbis-tools )
+ flac? ( media-libs/flac )
+ mp3? ( media-sound/lame ) )"
+
+src_configure() {
+ mycmakeargs=(
+ -DBUILD_LIBKCDDB=yes
+ -DBUILD_KSCD=yes
+ )
+
+ trinity-meta-2_src_configure
+}
+
+src_install() {
+ trinity-meta-2_src_install
+
+ #Junk all the files that overlap with libkcddb and kscd.
+ #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/tdeconf_update/kcmcddb-emailsettings.upd
+ rm -r ${D}/usr/trinity/14/share/config.kcfg/libkcddb.kcfg
+ rm -r ${D}/usr/trinity/14/share/applications/tde/libkcddb.desktop
+ rm -r ${D}/usr/trinity/14/include/
+ rm -r ${D}/usr/trinity/14/lib64/
+ rm -r ${D}/usr/trinity/14/bin/kscd
+ rm -r ${D}/usr/trinity/14/bin/workman2cddb.pl
+ rm -r ${D}/usr/trinity/14/share/applications/tde/kscd.desktop
+ rm -r ${D}/usr/trinity/14/share/icons/hicolor/*/apps/kscd.png
+ rm -r ${D}/usr/trinity/14/share/icons/hicolor/128x128
+ rm -r ${D}/usr/trinity/14/share/icons/hicolor/48x48
+ rm -r ${D}/usr/trinity/14/share/icons/hicolor/64x64
+ rm -r ${D}/usr/trinity/14/share/config.kcfg/kscd.kcfg
+ rm -r ${D}/usr/trinity/14/share/apps/profiles/
+ rm -r ${D}/usr/trinity/14/share/apps/konqueror/servicemenus/audiocd_play.desktop
+ rm -r ${D}/usr/trinity/14/share/apps/kscd/
+ rm -r ${D}/usr/trinity/14/share/mimelnk/
+}