diff options
author | ormorph <roma251078@mail.ru> | 2023-10-27 13:50:17 +0300 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2023-10-29 10:05:05 +0100 |
commit | 271fc0de62480ffa8a1525e07b833079c96ca6bd (patch) | |
tree | fe24a566266198330ff71db390413fdf7a9d63af /trinity-base/krec/krec-14.1.1.ebuild | |
parent | 8e955e3a507fd32d4b98df0893bb2dfa83b48eb8 (diff) | |
download | tde-packaging-gentoo-271fc0de62480ffa8a1525e07b833079c96ca6bd.tar.gz tde-packaging-gentoo-271fc0de62480ffa8a1525e07b833079c96ca6bd.zip |
Release R14.1.1 added
Signed-off-by: ormorph <roma251078@mail.ru>
(cherry picked from commit 18d39ed9f062321b596258a9137f10b3e93b71e0)
Diffstat (limited to 'trinity-base/krec/krec-14.1.1.ebuild')
-rw-r--r-- | trinity-base/krec/krec-14.1.1.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/trinity-base/krec/krec-14.1.1.ebuild b/trinity-base/krec/krec-14.1.1.ebuild new file mode 100644 index 00000000..cd1988ca --- /dev/null +++ b/trinity-base/krec/krec-14.1.1.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 +} |