summaryrefslogtreecommitdiffstats
path: root/trinity-base/kaudiocreator
diff options
context:
space:
mode:
authorormorph <roma251078@mail.ru>2024-04-28 17:23:47 +0300
committerormorph <roma251078@mail.ru>2024-04-28 22:35:54 +0300
commit30335515923be5f5ee02981121d2cdb6ad89978d (patch)
treed4601e9c08f8d576a5ce043fba5f73020f0c862d /trinity-base/kaudiocreator
parent929431cac813bc953a1e646fe36d1cfbc4a68f4b (diff)
downloadtde-packaging-gentoo-30335515923be5f5ee02981121d2cdb6ad89978d.tar.gz
tde-packaging-gentoo-30335515923be5f5ee02981121d2cdb6ad89978d.zip
Add new TDE-14.1.2
Signed-off-by: ormorph <roma251078@mail.ru>
Diffstat (limited to 'trinity-base/kaudiocreator')
-rw-r--r--trinity-base/kaudiocreator/Manifest1
-rw-r--r--trinity-base/kaudiocreator/kaudiocreator-14.1.2.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/trinity-base/kaudiocreator/Manifest b/trinity-base/kaudiocreator/Manifest
index 28147a6f..8a658348 100644
--- a/trinity-base/kaudiocreator/Manifest
+++ b/trinity-base/kaudiocreator/Manifest
@@ -1 +1,2 @@
DIST tdemultimedia-trinity-14.1.1.tar.xz 4837604 BLAKE2B 158d765c219d4eadf150e23ac8a0b37af2781f00feb21d1918d477fd30b05ba95147b8d6eba1ce493eb619efcbd0fde2b0b7f8d2fcc9bb9ede34f0d037d7e6e1 SHA512 74a2cf1be6a049cfc06de68b6f6fe006debf516c68c515ded60d55ab190dfe72e0169c796e0b0997579659936a8ffb1807b43e0a8ff61e5c7ee393b6205aa109
+DIST tdemultimedia-trinity-14.1.2.tar.xz 4841208 BLAKE2B fa1033c41159e9d895a235f174b82c7f36ff0abab4ab17af7cf6b2a0ca54d198beb1ed4402735896ceaf48612e208c7cede8b2cec297827ade63652a16c17083 SHA512 e64bb8c4baf84eed5aaa90e6cef5a1a799c7d2a582bd941656a954385278231dc5c2a958d81398d9d26706adff33d7b5c872fe71c05fce4ed2f28bbb2d60142a
diff --git a/trinity-base/kaudiocreator/kaudiocreator-14.1.2.ebuild b/trinity-base/kaudiocreator/kaudiocreator-14.1.2.ebuild
new file mode 100644
index 00000000..511f4cba
--- /dev/null
+++ b/trinity-base/kaudiocreator/kaudiocreator-14.1.2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 2021-2024 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
+}