summaryrefslogtreecommitdiffstats
path: root/trinity-base/krec
diff options
context:
space:
mode:
Diffstat (limited to 'trinity-base/krec')
-rw-r--r--trinity-base/krec/Manifest1
-rw-r--r--trinity-base/krec/krec-14.1.0.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/trinity-base/krec/Manifest b/trinity-base/krec/Manifest
index 7aec0dbb..f84128ce 100644
--- a/trinity-base/krec/Manifest
+++ b/trinity-base/krec/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/krec/krec-14.1.0.ebuild b/trinity-base/krec/krec-14.1.0.ebuild
new file mode 100644
index 00000000..cd1988ca
--- /dev/null
+++ b/trinity-base/krec/krec-14.1.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 2021-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_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
+}