summaryrefslogtreecommitdiffstats
path: root/trinity-base/kaudiocreator
diff options
context:
space:
mode:
Diffstat (limited to 'trinity-base/kaudiocreator')
-rw-r--r--trinity-base/kaudiocreator/Manifest1
-rw-r--r--trinity-base/kaudiocreator/kaudiocreator-14.1.0.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/trinity-base/kaudiocreator/Manifest b/trinity-base/kaudiocreator/Manifest
index 7aec0dbb..f84128ce 100644
--- a/trinity-base/kaudiocreator/Manifest
+++ b/trinity-base/kaudiocreator/Manifest
@@ -1 +1,2 @@
DIST tdemultimedia-trinity-14.0.13.tar.xz 4838200 BLAKE2B 3ff2d8d69ed9f940cab58522ea1b09835f482c3d749c7d7ba745553ec77182b6e1c5b9883f676b7117119c4abbb4d39ef5a9f8201217a340152809f6ee204fda SHA512 68e2b821d5a69889646830218dcccbd9a8606d79343317d8abc15abbf4f13caa352e8c6c667c23d89dcec37fb41dc5c56804ec40c9e8cbecac3cce4a08e7fda9
+DIST tdemultimedia-trinity-14.1.0.tar.xz 4837496 BLAKE2B d2c2be0b30844a772e413c1a47f409f9c07fdb185cad656d5c12a91612c752c27526ab989f227cfacbb5af83d193ba13ba49c35ec8003ec49bc0cf724623eb0d SHA512 cb39363db717b4a615eead97d9df0f34bb77ea6338f818b83ab70cdd84862229731ee7e0678d3d4f4e011d89bd337e373a2c9c2c51e43fc93c514fe15cc655ad
diff --git a/trinity-base/kaudiocreator/kaudiocreator-14.1.0.ebuild b/trinity-base/kaudiocreator/kaudiocreator-14.1.0.ebuild
new file mode 100644
index 00000000..06eeb2d9
--- /dev/null
+++ b/trinity-base/kaudiocreator/kaudiocreator-14.1.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 2021-2023 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"
+TRINITY_HANDBOOK="optional"
+TSM_EXTRACT_ALSO="libkcddb/ kscd/"
+
+inherit flag-o-matic trinity-meta-2
+
+DESCRIPTION="TDE CD ripper and audio encoder frontend"
+if [[ ${PV} != *9999* ]] ; then
+ KEYWORDS="~amd64 ~arm64 ~x86"
+fi
+IUSE="encode flac mp3 vorbis"
+DEPEND="~trinity-base/libkcddb-${PV}
+ ~trinity-base/libkscd-${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_prepare() {
+ sed -i 's/kcddb-shared/kcddb/' "${S}/${PN}/CMakeLists.txt" || die
+ sed -i 's/if( NOT BUILD_KSCD )/if( BUILD_KSCD )/' "${S}/CMakeLists.txt" || die
+ sed -i -e 's/kcompactdisc-static/kcompactdisc/' -e 's/workman-static/workman/' "${S}/${PN}/CMakeLists.txt" || die
+ trinity-meta-2_src_prepare
+}
+
+src_configure() {
+ append-cxxflags "-I${TDEDIR}/include/libkcddb -I${TDEDIR}/include"
+ append-ldflags "-L${TDEDIR}/$(get_libdir)/kscd"
+ trinity-meta-2_src_configure
+}