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.1.1.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/trinity-base/tdemultimedia-tdeioslaves/Manifest b/trinity-base/tdemultimedia-tdeioslaves/Manifest index be13a0e1..dede27dc 100644 --- a/trinity-base/tdemultimedia-tdeioslaves/Manifest +++ b/trinity-base/tdemultimedia-tdeioslaves/Manifest @@ -1 +1,2 @@ DIST tdemultimedia-trinity-14.1.0.tar.xz 4837496 BLAKE2B d2c2be0b30844a772e413c1a47f409f9c07fdb185cad656d5c12a91612c752c27526ab989f227cfacbb5af83d193ba13ba49c35ec8003ec49bc0cf724623eb0d SHA512 cb39363db717b4a615eead97d9df0f34bb77ea6338f818b83ab70cdd84862229731ee7e0678d3d4f4e011d89bd337e373a2c9c2c51e43fc93c514fe15cc655ad +DIST tdemultimedia-trinity-14.1.1.tar.xz 4837604 BLAKE2B 158d765c219d4eadf150e23ac8a0b37af2781f00feb21d1918d477fd30b05ba95147b8d6eba1ce493eb619efcbd0fde2b0b7f8d2fcc9bb9ede34f0d037d7e6e1 SHA512 74a2cf1be6a049cfc06de68b6f6fe006debf516c68c515ded60d55ab190dfe72e0169c796e0b0997579659936a8ffb1807b43e0a8ff61e5c7ee393b6205aa109 diff --git a/trinity-base/tdemultimedia-tdeioslaves/tdemultimedia-tdeioslaves-14.1.1.ebuild b/trinity-base/tdemultimedia-tdeioslaves/tdemultimedia-tdeioslaves-14.1.1.ebuild new file mode 100644 index 00000000..97cd9290 --- /dev/null +++ b/trinity-base/tdemultimedia-tdeioslaves/tdemultimedia-tdeioslaves-14.1.1.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 +} |