diff options
author | ormorph <roma251078@mail.ru> | 2024-04-28 17:23:47 +0300 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2024-04-29 00:52:31 +0200 |
commit | 94ec1d06986a97431ffc44951e92b075da19b93b (patch) | |
tree | d4601e9c08f8d576a5ce043fba5f73020f0c862d /trinity-base/libkscd/libkscd-14.1.2.ebuild | |
parent | 08657933720cc4345cdf62e1d42f199d8225e458 (diff) | |
download | tde-packaging-gentoo-94ec1d06986a97431ffc44951e92b075da19b93b.tar.gz tde-packaging-gentoo-94ec1d06986a97431ffc44951e92b075da19b93b.zip |
Add new TDE-14.1.2
Signed-off-by: ormorph <roma251078@mail.ru>
(cherry picked from commit 30335515923be5f5ee02981121d2cdb6ad89978d)
Diffstat (limited to 'trinity-base/libkscd/libkscd-14.1.2.ebuild')
-rw-r--r-- | trinity-base/libkscd/libkscd-14.1.2.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/trinity-base/libkscd/libkscd-14.1.2.ebuild b/trinity-base/libkscd/libkscd-14.1.2.ebuild new file mode 100644 index 00000000..6a92ac97 --- /dev/null +++ b/trinity-base/libkscd/libkscd-14.1.2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2024 Gentoo Authors +# Copyright 2022-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_SUBMODULE="kscd" +TSM_EXTRACT_ALSO="libkcddb/" + +inherit flag-o-matic trinity-meta-2 + +DESCRIPTION="Static library for audio CD player for Trinity" +if [[ ${PV} != *9999* ]] ; then + KEYWORDS="~amd64 ~arm64 ~x86" +fi + +DEPEND="x11-libs/libXext + ~trinity-base/libkcddb-${PV}" + +src_prepare() { + sed -i 's/kcddb-shared/kcddb/' "${S}/kscd/CMakeLists.txt" || die + trinity-meta-2_src_prepare +} + +src_configure() { + append-cxxflags "-I${TDEDIR}/include/libkcddb -I${TDEDIR}/include" + trinity-meta-2_src_configure +} + +src_install() { + insinto "${TDEDIR}/$(get_libdir)/kscd" + doins "${BUILD_DIR}/kscd/libwm/libworkman.a" + doins "${BUILD_DIR}/kscd/libkcompactdisc.a" + doins "${BUILD_DIR}/kscd/libwm/audio/libworkmanaudio.a" +} |