diff options
Diffstat (limited to 'trinity-base/tdemultimedia-tdeioslaves')
-rw-r--r-- | trinity-base/tdemultimedia-tdeioslaves/Manifest | 1 | ||||
-rw-r--r-- | trinity-base/tdemultimedia-tdeioslaves/tdemultimedia-tdeioslaves-14.0.13.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/trinity-base/tdemultimedia-tdeioslaves/Manifest b/trinity-base/tdemultimedia-tdeioslaves/Manifest index 64622896..798c44fe 100644 --- a/trinity-base/tdemultimedia-tdeioslaves/Manifest +++ b/trinity-base/tdemultimedia-tdeioslaves/Manifest @@ -1 +1,2 @@ DIST tdemultimedia-trinity-14.0.12.tar.xz 4833644 BLAKE2B 03c7f2a5940607baa3388f6f56660db1d01ccabe14581d1e6a929e3d6e1ea339533040820c2c53d7c6529823a367431604639d9870439dd96a7a75c68d295b34 SHA512 a78c7b6cbf62a39a012585e6f9e0851a5dbcd26fad2f6c62d1e19b8c08a6e4adacd2633279fa2b141346060d83938623805c3e05711da34e72e02b7e1c27577e +DIST tdemultimedia-trinity-14.0.13.tar.xz 4838200 BLAKE2B 3ff2d8d69ed9f940cab58522ea1b09835f482c3d749c7d7ba745553ec77182b6e1c5b9883f676b7117119c4abbb4d39ef5a9f8201217a340152809f6ee204fda SHA512 68e2b821d5a69889646830218dcccbd9a8606d79343317d8abc15abbf4f13caa352e8c6c667c23d89dcec37fb41dc5c56804ec40c9e8cbecac3cce4a08e7fda9 diff --git a/trinity-base/tdemultimedia-tdeioslaves/tdemultimedia-tdeioslaves-14.0.13.ebuild b/trinity-base/tdemultimedia-tdeioslaves/tdemultimedia-tdeioslaves-14.0.13.ebuild new file mode 100644 index 00000000..3a22a9a9 --- /dev/null +++ b/trinity-base/tdemultimedia-tdeioslaves/tdemultimedia-tdeioslaves-14.0.13.ebuild @@ -0,0 +1,44 @@ +# 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" +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 +} |