summaryrefslogtreecommitdiffstats
path: root/trinity-base/krec
diff options
context:
space:
mode:
authorormorph <roma251078@mail.ru>2024-04-28 17:23:47 +0300
committerSlávek Banko <slavek.banko@axis.cz>2024-04-29 00:52:31 +0200
commit94ec1d06986a97431ffc44951e92b075da19b93b (patch)
treed4601e9c08f8d576a5ce043fba5f73020f0c862d /trinity-base/krec
parent08657933720cc4345cdf62e1d42f199d8225e458 (diff)
downloadtde-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/krec')
-rw-r--r--trinity-base/krec/Manifest1
-rw-r--r--trinity-base/krec/krec-14.1.2.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/trinity-base/krec/Manifest b/trinity-base/krec/Manifest
index 28147a6f..8a658348 100644
--- a/trinity-base/krec/Manifest
+++ b/trinity-base/krec/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/krec/krec-14.1.2.ebuild b/trinity-base/krec/krec-14.1.2.ebuild
new file mode 100644
index 00000000..dd74ec2e
--- /dev/null
+++ b/trinity-base/krec/krec-14.1.2.ebuild
@@ -0,0 +1,44 @@
+# 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="arts oggvorbis_artsplugin"
+
+inherit trinity-meta-2
+
+DESCRIPTION="TDE sound recorder"
+if [[ ${PV} != *9999* ]] ; then
+ KEYWORDS="~amd64 ~arm64 ~x86"
+fi
+IUSE="encode mp3 vorbis"
+
+DEPEND="~trinity-base/tdemultimedia-arts-${PV}
+ encode? ( mp3? ( media-sound/lame )
+ vorbis? ( media-libs/libvorbis ) )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ sed -i 's/NOT BUILD_ARTS/BUILD_ARTS/' "${S}/CMakeLists.txt" || die
+ sed -i -e 's/artsmoduleseffects-shared/artsmoduleseffects/' \
+ -e 's/artscontrolsupport-shared/artscontrolsupport/' \
+ -e 's/artsgui_kde-shared/artsgui_kde/g' \
+ -e 's/artsmoduleseffects-shared/artsmoduleseffects/' \
+ "${S}/${PN}/CMakeLists.txt" || die
+ sed -i 's/artsmoduleseffects-shared/artsmoduleseffects/' \
+ "${S}/${PN}/mp3_export/CMakeLists.txt" || die
+ sed -i 's/artsmoduleseffects-shared/artsmoduleseffects/' "${S}/${PN}/ogg_export/CMakeLists.txt" || die
+ sed -i 's/soundserver_idl/soundserver_idl artsgui_idl/' "${S}/${PN}/CMakeLists.txt" || die
+ trinity-meta-2_src_prepare
+}
+
+src_configure() {
+ mycmakeargs=(
+ -DWITH_LAME="$(usex mp3)"
+ -DWITH_VORBIS="$(usex vorbis)"
+ )
+
+ trinity-meta-2_src_configure
+}