summaryrefslogtreecommitdiffstats
path: root/trinity-base/krec/krec-14.0.12.ebuild
diff options
context:
space:
mode:
authorormorph <roma251078@mail.ru>2022-04-30 20:47:27 +0300
committerSlávek Banko <slavek.banko@axis.cz>2022-05-01 16:23:29 +0200
commit336d8ce82c00a00153a823a187dbc8e0bcf2c7a1 (patch)
tree920bb9b62e96c92b2a5a7e99352e68afb2783ce8 /trinity-base/krec/krec-14.0.12.ebuild
parent1c8d53512742aab368c0f7e9973604eaa54b43ba (diff)
downloadtde-packaging-gentoo-336d8ce82c00a00153a823a187dbc8e0bcf2c7a1.tar.gz
tde-packaging-gentoo-336d8ce82c00a00153a823a187dbc8e0bcf2c7a1.zip
Added version 14.0.12
Signed-off-by: ormorph <roma251078@mail.ru>
Diffstat (limited to 'trinity-base/krec/krec-14.0.12.ebuild')
-rw-r--r--trinity-base/krec/krec-14.0.12.ebuild55
1 files changed, 55 insertions, 0 deletions
diff --git a/trinity-base/krec/krec-14.0.12.ebuild b/trinity-base/krec/krec-14.0.12.ebuild
new file mode 100644
index 00000000..8a02e9e1
--- /dev/null
+++ b/trinity-base/krec/krec-14.0.12.ebuild
@@ -0,0 +1,55 @@
+# 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"
+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_configure() {
+ mycmakeargs=(
+ -DWITH_LAME="$(usex mp3)"
+ -DWITH_VORBIS="$(usex vorbis)"
+ -DBUILD_ARTS=yes
+ )
+
+ trinity-meta-2_src_configure
+}
+
+src_install() {
+ trinity-meta-2_src_install
+
+ #Junk all the files that overlap with tdemultimedia-arts.
+ #It would be cleaner not to let them install at all, but I wasn't
+ #able to pull that off.
+ rm -r ${D}/usr/trinity/14/share/apps/artscontrol/
+ rm -r ${D}/usr/trinity/14/share/apps/artsbuilder/
+ rm -r ${D}/usr/trinity/14/include/
+ rm -r ${D}/usr/trinity/14/lib64/libarts*
+ rm -r ${D}/usr/trinity/14/lib64/mcop/arts*
+ rm -r ${D}/usr/trinity/14/lib64/mcop/Arts/
+ rm -r ${D}/usr/trinity/14/share/icons/*/*/apps/artscontrol.png
+ rm -r ${D}/usr/trinity/14/share/icons/*/*/apps/artsbuilder.png
+ rm -r ${D}/usr/trinity/14/share/icons/hicolor/scalable/
+ rm -r ${D}/usr/trinity/14/share/icons/crystalsvg/
+ rm -r ${D}/usr/trinity/14/share/applications/tde/artscontrol.desktop
+ rm -r ${D}/usr/trinity/14/share/applications/tde/artsbuilder.desktop
+ rm -r ${D}/usr/trinity/14/bin/artscontrol
+ rm -r ${D}/usr/trinity/14/bin/artsbuilder
+ rm -r ${D}/usr/trinity/14/bin/midisend
+ rm -r ${D}/usr/trinity/14/share/mimelnk/
+ rm -r ${D}/usr/trinity/14/share/apps/kicker/
+}