summaryrefslogtreecommitdiffstats
path: root/trinity-base/arts
diff options
context:
space:
mode:
authorE. Liddell <ejlddll@warpmail.net>2020-05-02 16:35:47 -0400
committerE. Liddell <ejlddll@warpmail.net>2020-05-02 16:35:47 -0400
commitcb75382958ee83980cc8643be9a8c835b5ce615d (patch)
tree66bd2e70345a89a24cb872ad25c080fd8fd6abc3 /trinity-base/arts
parentffde2042a0595a8bd6e421c94ed74284eba05c82 (diff)
downloadtde-packaging-gentoo-cb75382958ee83980cc8643be9a8c835b5ce615d.tar.gz
tde-packaging-gentoo-cb75382958ee83980cc8643be9a8c835b5ce615d.zip
14.0.7 ebuilds for tdebase, tdeartwork, and dependencies (auto-generated)
Diffstat (limited to 'trinity-base/arts')
-rw-r--r--trinity-base/arts/arts-14.0.7.ebuild60
1 files changed, 60 insertions, 0 deletions
diff --git a/trinity-base/arts/arts-14.0.7.ebuild b/trinity-base/arts/arts-14.0.7.ebuild
new file mode 100644
index 00000000..f97d6765
--- /dev/null
+++ b/trinity-base/arts/arts-14.0.7.ebuild
@@ -0,0 +1,60 @@
+# 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_TYPE="dependencies"
+TRINITY_MODULE_NAME="arts"
+
+inherit trinity-base-2
+
+set-trinityver
+
+DESCRIPTION="aRts, the Trinity sound (and all-around multimedia) server/output manager"
+HOMEPAGE="http://trinitydesktop.org/"
+LICENSE="|| ( GPL-2 GPL-3 )"
+
+KEYWORDS="~amd64 ~x86"
+
+IUSE="alsa -artswrappersuid jack mp3 vorbis"
+SLOT="${TRINITY_VER}"
+
+DEPEND="=dev-tqt/tqtinterface-${PV}
+ dev-libs/glib
+ media-libs/audiofile
+ mp3? ( media-libs/libmad )
+ alsa? ( media-libs/alsa-lib )
+ vorbis? ( media-libs/libogg media-libs/libvorbis )
+ jack? ( media-sound/jack-audio-connection-kit )"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ mycmakeargs=(
+ -DWITH_AUDIOFILE=ON
+ -DWITH_MAD="$(usex mp3)"
+ -DWITH_ALSA="$(usex alsa)"
+ -DWITH_VORBIS="$(usex vorbis)"
+ -DWITH_JACK="$(usex jack)"
+ -DWITH_ESOUND=OFF
+ -DWITH_SNDIO=OFF
+ )
+
+ trinity-base-2_src_configure
+}
+
+src_install() {
+ trinity-base-2_src_install
+
+ # Used for realtime priority, but off by default as it is a security hazard
+ use artswrappersuid && chmod u+s "${D}/${TDEDIR}/bin/artswrapper"
+}
+
+pkg_postinst() {
+ if ! use artswrappersuid ; then
+ elog "Run chmod u+s ${TDEDIR}/bin/artswrapper to let artsd use realtime"
+ elog "priority and so avoid possible skips in sound. However, on untrusted systems"
+ elog "this creates the possibility of a DoS attack that'll use 100% cpu at realtime"
+ elog "priority, and so is off by default. See Gentoo bug #7883."
+ elog "Or, you can set the artswrappersuid USE flag to make the ebuild do this."
+ fi
+}