summaryrefslogtreecommitdiffstats
path: root/trinity-base/tdemultimedia-tdeioslaves
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-base/tdemultimedia-tdeioslaves
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-base/tdemultimedia-tdeioslaves')
-rw-r--r--trinity-base/tdemultimedia-tdeioslaves/Manifest1
-rw-r--r--trinity-base/tdemultimedia-tdeioslaves/tdemultimedia-tdeioslaves-14.1.0.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/trinity-base/tdemultimedia-tdeioslaves/Manifest b/trinity-base/tdemultimedia-tdeioslaves/Manifest
index 7aec0dbb..f84128ce 100644
--- a/trinity-base/tdemultimedia-tdeioslaves/Manifest
+++ b/trinity-base/tdemultimedia-tdeioslaves/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/tdemultimedia-tdeioslaves/tdemultimedia-tdeioslaves-14.1.0.ebuild b/trinity-base/tdemultimedia-tdeioslaves/tdemultimedia-tdeioslaves-14.1.0.ebuild
new file mode 100644
index 00000000..97cd9290
--- /dev/null
+++ b/trinity-base/tdemultimedia-tdeioslaves/tdemultimedia-tdeioslaves-14.1.0.ebuild
@@ -0,0 +1,44 @@
+# 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_MODULE_NAME="tdemultimedia"
+TRINITY_MODULE_TYPE="core"
+TRINITY_SUBMODULE="tdeioslave"
+TRINITY_HANDBOOK="optional"
+TSM_EXTRACT="kscd libkcddb tdeioslave"
+inherit flag-o-matic trinity-meta-2
+
+DESCRIPTION="Multimedia Trinity TDEIOslaves"
+if [[ ${PV} != *9999* ]] ; then
+ KEYWORDS="~amd64 ~arm64 ~x86"
+fi
+IUSE="flac"
+
+DEPEND="~trinity-base/libkcddb-${PV}
+ ~trinity-base/libkscd-${PV}
+ media-sound/cdparanoia
+ flac? ( media-libs/flac )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ sed -i 's/NOT BUILD_KSCD/BUILD_KSCD/' "${S}/tdeioslave/CMakeLists.txt" || die
+ sed -i 's/kcddb-shared/kcddb/' "${S}/tdeioslave/audiocd/plugins/CMakeLists.txt" || die
+ sed -i 's/kcddb-shared/kcddb/' "${S}/tdeioslave/audiocd/CMakeLists.txt" || die
+ sed -i -e 's/kcompactdisc-static/kcompactdisc/' -e 's/workman-static/workman/' \
+ "${S}/tdeioslave/audiocd/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) -L${TDEDIR}/$(get_libdir)/kscd"
+ local mycmakeargs=(
+ -DWITH_FLAC=$(usex flac)
+ -DWITH_CDPARANOIA=ON
+ )
+
+ trinity-meta-2_src_configure
+}