Ebuilds for media-libs/akode, krec, kscd, libkcddb, tdemultimedia-doc, with corresponding updates to tdemultimedia-meta. Warning: krec and kscd needed some hacky workarounds to build and install.

Signed-off-by: E. Liddell <ejlddll@warpmail.net>
pull/179/head
E. Liddell 4 years ago committed by Slávek Banko
parent 58de8263fc
commit 8aced284ba
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -0,0 +1,2 @@
DIST akode-trinity-14.0.7.tar.xz 96108 BLAKE2B 3a03141dfe89b16353c2985e530cd799523d6992d7d906db38bb3a2e67fc69572ca00eb2bcbe9a949a336cdba68805589d71a5f498ddd5e8a8d43703e5cde9cc SHA512 c88b8ecd96b62a452a2415080851c1bfdbf8a765e394820347e490f27e4e1e79e771fb590d2705cc56dfb192cd1e1ffda3b20589f73f387340191cb65bfd3825
DIST akode-trinity-14.0.8.tar.xz 95744 BLAKE2B 88be98fab0e89a5edde5b6400b2f2b08e6ce7c1afb88e81f4913da11fd8690ddb6de68f3094b5b66ee6e9ca12b53271a78be7b48a1ec7a7901ab167d9954ecaa SHA512 f7c5aecc72b9d478cb3a8f1944f85cd725d683641f5eb56ed696758903431cc50aa842efbf6b2919ed080d57fd6c17ced28896259d7f983e752450223feb249d

@ -0,0 +1,56 @@
# Copyright 2020 The Trinity Desktop Project
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
TRINITY_MODULE_TYPE="dependencies"
TRINITY_MODULE_NAME="akode"
inherit trinity-base-2
DESCRIPTION="A simple framework to decode the most common audio formats."
KEYWORDS="~amd64 ~x86"
HOMEPAGE="http://www.trinitydesktop.org/"
LICENSE="|| ( GPL-2 GPL-3 )"
SLOT="0"
IUSE="alsa pulseaudio oss jack +libsamplerate mpc mp3 sndfile vorbis flac speex"
#flac, vorbis, and speex support are all ganged together under
#WITH_XIPH_DECODER, which will only build if ALL deps are there.
REQUIRED_USE="flac? ( vorbis speex )
vorbis? ( flac speex )
speex? ( vorbis flac )"
DEPEND="media-libs/speex
alsa? ( media-libs/alsa-lib )
jack? ( virtual/jack )
pulseaudio? ( media-sound/pulseaudio )
libsamplerate? ( media-libs/libsamplerate )
mp3? ( media-libs/libmad )
flac? ( media-libs/flac )
mpc? ( dev-libs/mpc )
vorbis? ( media-libs/libvorbis )
sndfile? ( media-libs/libsndfile )
speex? ( media-libs/speex )"
RDEPEND="${DEPEND}"
# The FFMPEG plugin needs some porting,
# to work with recent FFMPEG. So it is disabled for now.
src_configure() {
mycmakeargs=(
-DWITH_FFMPEG_DECODER=OFF
-DWITH_SUN_SINK=OFF
-DWITH_LIBLTDL=OFF
-DWITH_ALSA_SINK=$(usex alsa)
-DWITH_OSS_SINK=$(usex oss)
-DWITH_PULSE_SINK=$(usex pulseaudio)
-DWITH_JACK_SINK=$(usex jack)
-DWITH_MPEG_DECODER=$(usex mp3)
-DWITH_XIPH_DECODER=$(usex vorbis)
-DWITH_MPC_DECODER=$(usex mpc)
-DWITH_SRC_RESAMPLER=$(usex libsamplerate)
)
cmake-utils_src_configure
}

@ -0,0 +1,56 @@
# Copyright 2020 The Trinity Desktop Project
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
TRINITY_MODULE_TYPE="dependencies"
TRINITY_MODULE_NAME="akode"
inherit trinity-base-2
DESCRIPTION="A simple framework to decode the most common audio formats."
KEYWORDS="~amd64 ~x86"
HOMEPAGE="http://www.trinitydesktop.org/"
LICENSE="|| ( GPL-2 GPL-3 )"
SLOT="0"
IUSE="alsa pulseaudio oss jack +libsamplerate mpc mp3 sndfile vorbis flac speex"
#flac, vorbis, and speex support are all ganged together under
#WITH_XIPH_DECODER, which will only build if ALL deps are there.
REQUIRED_USE="flac? ( vorbis speex )
vorbis? ( flac speex )
speex? ( vorbis flac )"
DEPEND="media-libs/speex
alsa? ( media-libs/alsa-lib )
jack? ( virtual/jack )
pulseaudio? ( media-sound/pulseaudio )
libsamplerate? ( media-libs/libsamplerate )
mp3? ( media-libs/libmad )
flac? ( media-libs/flac )
mpc? ( dev-libs/mpc )
vorbis? ( media-libs/libvorbis )
sndfile? ( media-libs/libsndfile )
speex? ( media-libs/speex )"
RDEPEND="${DEPEND}"
# The FFMPEG plugin needs some porting,
# to work with recent FFMPEG. So it is disabled for now.
src_configure() {
mycmakeargs=(
-DWITH_FFMPEG_DECODER=OFF
-DWITH_SUN_SINK=OFF
-DWITH_LIBLTDL=OFF
-DWITH_ALSA_SINK=$(usex alsa)
-DWITH_OSS_SINK=$(usex oss)
-DWITH_PULSE_SINK=$(usex pulseaudio)
-DWITH_JACK_SINK=$(usex jack)
-DWITH_MPEG_DECODER=$(usex mp3)
-DWITH_XIPH_DECODER=$(usex vorbis)
-DWITH_MPC_DECODER=$(usex mpc)
-DWITH_SRC_RESAMPLER=$(usex libsamplerate)
)
cmake-utils_src_configure
}

@ -0,0 +1 @@
DIST tdemultimedia-trinity-14.0.8.tar.xz 4825772 BLAKE2B a7d993fdc3e257fffe353225afcb5fee9fb573c7cb8692117a071df58684f3b24e4d53a3801429b6e201bdd592a1069b4389260eff0b86078b8077af769393e9 SHA512 59e4a0bc1ce2babecb370cdd97c0e4b7eaa1e7bdabdf7b6d0b6cbc71d9f1e2d4c4d9707f8ba01b5274004b76cf8eb2e4655c6dbc7e94561c0fa5045e85de06cf

@ -0,0 +1,55 @@
# Copyright 2020 The Trinity Desktop Project
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
TRINITY_MODULE_NAME="tdemultimedia"
inherit trinity-meta-2
DESCRIPTION="KDE sound recorder"
KEYWORDS="~amd64 ~x86"
IUSE="encode mp3 vorbis"
DEPEND="~trinity-base/tdemultimedia-arts-${PV}
encode? ( mp3? ( media-sound/lame )
vorbis? ( media-libs/libvorbis ) )"
RDEPEND="${DEPEND}"
#KMCOMPILEONLY="arts"
TSM_EXTRACT_ALSO="arts oggvorbis_artsplugin"
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/arts/
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/apps/artsbuilder.svgz
rm -r ${D}/usr/trinity/14/share/icons/hicolor/scalable/apps/artscontrol.svgz
rm -r ${D}/usr/trinity/14/share/icons/crystalsvg/*/actions/arts*
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/application/x-artsbuilder.desktop
rm -r ${D}/usr/trinity/14/share/apps/kicker/applets/artscontrolapplet.desktop
}

@ -0,0 +1,55 @@
# Copyright 2020 The Trinity Desktop Project
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
TRINITY_MODULE_NAME="tdemultimedia"
inherit trinity-meta-2
DESCRIPTION="KDE sound recorder"
KEYWORDS="~amd64 ~x86"
IUSE="encode mp3 vorbis"
DEPEND="~trinity-base/tdemultimedia-arts-${PV}
encode? ( mp3? ( media-sound/lame )
vorbis? ( media-libs/libvorbis ) )"
RDEPEND="${DEPEND}"
#KMCOMPILEONLY="arts"
TSM_EXTRACT_ALSO="arts oggvorbis_artsplugin"
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/arts/
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/apps/artsbuilder.svgz
rm -r ${D}/usr/trinity/14/share/icons/hicolor/scalable/apps/artscontrol.svgz
rm -r ${D}/usr/trinity/14/share/icons/crystalsvg/*/actions/arts*
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/application/x-artsbuilder.desktop
rm -r ${D}/usr/trinity/14/share/apps/kicker/applets/artscontrolapplet.desktop
}

@ -0,0 +1 @@
DIST tdemultimedia-trinity-14.0.8.tar.xz 4825772 BLAKE2B a7d993fdc3e257fffe353225afcb5fee9fb573c7cb8692117a071df58684f3b24e4d53a3801429b6e201bdd592a1069b4389260eff0b86078b8077af769393e9 SHA512 59e4a0bc1ce2babecb370cdd97c0e4b7eaa1e7bdabdf7b6d0b6cbc71d9f1e2d4c4d9707f8ba01b5274004b76cf8eb2e4655c6dbc7e94561c0fa5045e85de06cf

@ -0,0 +1,39 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 2020 The Trinity Desktop Project
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
TRINITY_MODULE_NAME="tdemultimedia"
inherit trinity-meta-2
DESCRIPTION="Trinity mixer GUI"
KEYWORDS="~amd64 ~x86"
DEPEND="x11-libs/libXext
~trinity-base/libkcddb-${PV}"
TSM_EXTRACT_ALSO="libkcddb/"
src_configure() {
mycmakeargs=(
-DBUILD_LIBKCDDB=yes
)
trinity-meta-2_src_configure
}
src_install() {
trinity-meta-2_src_install
#Junk all the files that overlap with libkcddb.
#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/tdeconf_update/kcmcddb-emailsettings.upd
rm -r ${D}/usr/trinity/14/share/config.kcfg/libkcddb.kcfg
rm -r ${D}/usr/trinity/14/share/applications/tde/libkcddb.desktop
rm -r ${D}/usr/trinity/14/include/libkcddb/
rm -r ${D}/usr/trinity/14/lib64/libkcddb*
rm -r ${D}/usr/trinity/14/lib64/trinity/kcm_cddb*
rm -r ${D}/usr/trinity/14/lib64/libkcddb*
}

@ -0,0 +1,39 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 2020 The Trinity Desktop Project
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
TRINITY_MODULE_NAME="tdemultimedia"
inherit trinity-meta-2
DESCRIPTION="Trinity mixer GUI"
KEYWORDS="~amd64 ~x86"
DEPEND="x11-libs/libXext
~trinity-base/libkcddb-${PV}"
TSM_EXTRACT_ALSO="libkcddb/"
src_configure() {
mycmakeargs=(
-DBUILD_LIBKCDDB=yes
)
trinity-meta-2_src_configure
}
src_install() {
trinity-meta-2_src_install
#Junk all the files that overlap with libkcddb.
#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/tdeconf_update/kcmcddb-emailsettings.upd
rm -r ${D}/usr/trinity/14/share/config.kcfg/libkcddb.kcfg
rm -r ${D}/usr/trinity/14/share/applications/tde/libkcddb.desktop
rm -r ${D}/usr/trinity/14/include/libkcddb/
rm -r ${D}/usr/trinity/14/lib64/libkcddb*
rm -r ${D}/usr/trinity/14/lib64/trinity/kcm_cddb*
rm -r ${D}/usr/trinity/14/lib64/libkcddb*
}

@ -0,0 +1 @@
DIST tdemultimedia-trinity-14.0.8.tar.xz 4825772 BLAKE2B a7d993fdc3e257fffe353225afcb5fee9fb573c7cb8692117a071df58684f3b24e4d53a3801429b6e201bdd592a1069b4389260eff0b86078b8077af769393e9 SHA512 59e4a0bc1ce2babecb370cdd97c0e4b7eaa1e7bdabdf7b6d0b6cbc71d9f1e2d4c4d9707f8ba01b5274004b76cf8eb2e4655c6dbc7e94561c0fa5045e85de06cf

@ -0,0 +1,11 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 2020 The Trinity Desktop Project
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
TRINITY_MODULE_NAME="tdemultimedia"
inherit trinity-meta-2
DESCRIPTION="KDE library for CDDB"
KEYWORDS="~amd64 ~x86"

@ -0,0 +1,11 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 2020 The Trinity Desktop Project
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
TRINITY_MODULE_NAME="tdemultimedia"
inherit trinity-meta-2
DESCRIPTION="KDE library for CDDB"
KEYWORDS="~amd64 ~x86"

@ -0,0 +1,2 @@
DIST tdemultimedia-trinity-14.0.7.tar.xz 4826012 BLAKE2B e683d7910277c6ae619e4e41fa16dc5f6e5909b391b9570d057c10a20277668e730eed8bec92fd143a66855954c5febcca8e13aa0770d116c995cf412fe2e933 SHA512 2ae0947a097648648e545e0ceab8f7793d7f74177dc7920866f44372a1fd134ea74d36c0df326921795779b6e196d900275af7c90a9ea32889c11f9aac9df1b3
DIST tdemultimedia-trinity-14.0.8.tar.xz 4825772 BLAKE2B a7d993fdc3e257fffe353225afcb5fee9fb573c7cb8692117a071df58684f3b24e4d53a3801429b6e201bdd592a1069b4389260eff0b86078b8077af769393e9 SHA512 59e4a0bc1ce2babecb370cdd97c0e4b7eaa1e7bdabdf7b6d0b6cbc71d9f1e2d4c4d9707f8ba01b5274004b76cf8eb2e4655c6dbc7e94561c0fa5045e85de06cf

@ -0,0 +1,26 @@
# Copyright 2020 The Trinity Desktop Project
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
TRINITY_MODULE_NAME="tdemultimedia"
inherit trinity-meta-2
DESCRIPTION="Documentaion for tdemultimedia-derived packages"
KEYWORDS="~amd64 ~x86"
RDEPEND="
~trinity-base/khelpcenter-${PV}"
pkg_setup() {
# Issue some warning if MAKEOPTS -j parameter is higher than 4
local makeopts_j
makeopts_j="$(echo "$MAKEOPTS" | sed -n 's/\(^\|.*\s\)\(-j\s*[0-9]\+\)\(\s.*\|$\)/\2/p')"
if [ -n "$makeopts_j" -a "$makeopts_j" > 4 ]; then
ewarn "This ebuild needs huge amoumt of memmory to compile in highly parallel"
ewarn "mode so it can chew it all. Please change your MAKEOPTS if building fails."
fi
trinity-meta-2_pkg_setup
}

@ -0,0 +1,26 @@
# Copyright 2020 The Trinity Desktop Project
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
TRINITY_MODULE_NAME="tdemultimedia"
inherit trinity-meta-2
DESCRIPTION="Documentaion for tdemultimedia-derived packages"
KEYWORDS="~amd64 ~x86"
RDEPEND="
~trinity-base/khelpcenter-${PV}"
pkg_setup() {
# Issue some warning if MAKEOPTS -j parameter is higher than 4
local makeopts_j
makeopts_j="$(echo "$MAKEOPTS" | sed -n 's/\(^\|.*\s\)\(-j\s*[0-9]\+\)\(\s.*\|$\)/\2/p')"
if [ -n "$makeopts_j" -a "$makeopts_j" > 4 ]; then
ewarn "This ebuild needs huge amoumt of memmory to compile in highly parallel"
ewarn "mode so it can chew it all. Please change your MAKEOPTS if building fails."
fi
trinity-meta-2_pkg_setup
}

@ -20,6 +20,7 @@ RDEPEND="arts? ( ~trinity-base/juk-${PV}
~trinity-base/kaboodle-${PV} ~trinity-base/kaboodle-${PV}
~trinity-base/tdemultimedia-arts-${PV} ) ~trinity-base/tdemultimedia-arts-${PV} )
~trinity-base/kmix-${PV} ~trinity-base/kmix-${PV}
~trinity-base/libkcddb-${PV}
~trinity-base/tdemid-${PV} ~trinity-base/tdemid-${PV}
~trinity-base/tdemultimedia-kappfinder-data-${PV} ~trinity-base/tdemultimedia-kappfinder-data-${PV}
~trinity-base/tdemultimedia-tdefile-plugins-${PV}" ~trinity-base/tdemultimedia-tdefile-plugins-${PV}"
@ -27,12 +28,14 @@ RDEPEND="arts? ( ~trinity-base/juk-${PV}
#Needs kscd, which we don't yet have an ebuild for, to do anything useful #Needs kscd, which we don't yet have an ebuild for, to do anything useful
# ~trinity-base/tdemultimedia-tdeioslaves-${PV} # ~trinity-base/tdemultimedia-tdeioslaves-${PV}
#These were in KDE3, but TDE has no ebuilds for them as of Jun 2020 #.kcfgc -> .h problem
#arts? ( ~trinity-base/artsplugin-akode-${PV} # ~trinity-base/kscd-${PV}
# ~trinity-base/artsplugin-audiofile-${PV}
# xine? ( ~trinity-base/artsplugin-xine-${PV} ) #"krec can not be built without building arts"
# ~trinity-base/kaudiocreator-${PV}
# ~trinity-base/krec-${PV} # ~trinity-base/krec-${PV}
#Needs equivalent of KMCOMPILEONLY
# ~trinity-base/kaudiocreator-${PV}
#These were in KDE3, but TDE has no ebuilds for them as of Jun 2020
# ~trinity-base/noatun-${PV} ) # ~trinity-base/noatun-${PV} )
# ~trinity-base/kscd-${PV}
# ~trinity-base/libkcddb-${PV}

@ -16,23 +16,26 @@ SLOT="${TRINITY_VER}"
IUSE="arts" IUSE="arts"
#USE not currently in use: xine #USE not currently in use: xine
#Some packages use hacky workarounds to make up for not being able to
#install only a subset of files.
RDEPEND="arts? ( ~trinity-base/juk-${PV} RDEPEND="arts? ( ~trinity-base/juk-${PV}
~trinity-base/kaboodle-${PV} ~trinity-base/kaboodle-${PV}
~trinity-base/tdemultimedia-arts-${PV} ) ~trinity-base/tdemultimedia-arts-${PV} )
~trinity-base/kmix-${PV} ~trinity-base/kmix-${PV}
~trinity-base/krec-${PV}
~trinity-base/kscd-${PV}
~trinity-base/libkcddb-${PV}
~trinity-base/tdemid-${PV} ~trinity-base/tdemid-${PV}
~trinity-base/tdemultimedia-kappfinder-data-${PV} ~trinity-base/tdemultimedia-kappfinder-data-${PV}
~trinity-base/tdemultimedia-doc-${PV}
~trinity-base/tdemultimedia-tdefile-plugins-${PV}" ~trinity-base/tdemultimedia-tdefile-plugins-${PV}"
#Needs kscd, which we don't yet have an ebuild for, to do anything useful #Needs kscd, which we don't yet have an ebuild for, to do anything useful
# ~trinity-base/tdemultimedia-tdeioslaves-${PV} # ~trinity-base/tdemultimedia-tdeioslaves-${PV}
#These were in KDE3, but TDE has no ebuilds for them as of Jun 2020 #Needs equivalent of KMCOMPILEONLY
#arts? ( ~trinity-base/artsplugin-akode-${PV}
# ~trinity-base/artsplugin-audiofile-${PV}
# xine? ( ~trinity-base/artsplugin-xine-${PV} )
# ~trinity-base/kaudiocreator-${PV} # ~trinity-base/kaudiocreator-${PV}
# ~trinity-base/krec-${PV} #
#Either KMCOMPILEONLY, or looking for a mysterious libmpeg-shared
# ~trinity-base/noatun-${PV} ) # ~trinity-base/noatun-${PV} )
# ~trinity-base/kscd-${PV}
# ~trinity-base/libkcddb-${PV}

Loading…
Cancel
Save