-MD5 95f544e7ebb427da766df834e5dac436 ChangeLog 15618
+MD5 2f041910dbe646752631160e687a3c29 arts-1.3.0.ebuild 2977
MD5 7d6ae50bdf1adcd0bb79daccefa6ce94 arts-1.1.5.ebuild 2756
-MD5 9c1e707e6fe4ef2698b71e3ca63b7fdc arts-1.2.0.ebuild 2577
-MD5 6d8f52083c2f7e211ceff377e2d60432 arts-1.2.2.ebuild 2822
MD5 c6809c77c1b1fbae91165c5072f72d7a arts-1.2.3.ebuild 2828
-MD5 2f041910dbe646752631160e687a3c29 arts-1.3.0.ebuild 2977
+MD5 42466d974ab3810cd2a6975fda6ef591 arts-1.3.1.ebuild 2978
+MD5 9c1e707e6fe4ef2698b71e3ca63b7fdc arts-1.2.0.ebuild 2577
+MD5 25d309302e5a34558768627a9c305e77 ChangeLog 15727
MD5 14889ab75f97d76e58b0c1154e7683a9 metadata.xml 161
-MD5 68ec6c8e74dfea13c3bb54575b1c51d4 files/1.3.0-jack-configure.in.in.patch 694
+MD5 6d8f52083c2f7e211ceff377e2d60432 arts-1.2.2.ebuild 2822
+MD5 9ffc978b18c6e1ad49a0c7eec49074f6 files/optional-deps.diff 3154
MD5 e78db892e7b447f86fab2ea9503a3a3d files/arts-1.2.2-buffer.patch 745
-MD5 e78db892e7b447f86fab2ea9503a3a3d files/arts-1.2.3-buffer.patch 745
MD5 185a4720c0e94a1546ee383016fc3e3c files/arts-vorbis-fix.dif 1136
MD5 2d584d662a2b0b0e7a278bde6cd42e8f files/digest-arts-1.1.5 63
MD5 31e77598f97a91673f69ed4c44bd1f57 files/digest-arts-1.2.0 63
MD5 1fc0f59ed1b61c1221f4156dac3569b7 files/digest-arts-1.2.2 63
MD5 ac0526184e3193af65a2a8aa7fd5feab files/digest-arts-1.2.3 63
MD5 afbe195b431271c6ccfe51cc58aced5c files/digest-arts-1.3.0 63
-MD5 9ffc978b18c6e1ad49a0c7eec49074f6 files/optional-deps.diff 3154
+MD5 258879d2a4fd175a96b7c80bb99a82cf files/digest-arts-1.3.1 63
+MD5 e78db892e7b447f86fab2ea9503a3a3d files/arts-1.2.3-buffer.patch 745
+MD5 68ec6c8e74dfea13c3bb54575b1c51d4 files/1.3.0-jack-configure.in.in.patch 694
--- /dev/null
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-base/arts/arts-1.3.1.ebuild,v 1.1 2004/10/12 23:11:52 caleb Exp $
+
+inherit kde flag-o-matic eutils
+set-kdedir 3.3
+
+DESCRIPTION="aRts, the KDE sound (and all-around multimedia) server/output manager"
+HOMEPAGE="http://multimedia.kde.org/"
+SRC_URI="mirror://kde/stable/${PV/1.3.1/3.3.1}/src/${PN}-${PV}.tar.bz2"
+
+LICENSE="GPL-2 LGPL-2"
+SLOT="3.3"
+KEYWORDS="~x86 ~amd64 ~ppc64 ~sparc ~ppc"
+IUSE="alsa oggvorbis esd artswrappersuid jack mad"
+
+DEPEND="alsa? ( media-libs/alsa-lib virtual/alsa )
+ oggvorbis? ( media-libs/libvorbis media-libs/libogg )
+ esd? ( media-sound/esound )
+ jack? ( media-sound/jack-audio-connection-kit )
+ mad? ( media-libs/libmad media-libs/libid3tag )
+ media-libs/audiofile
+ >=dev-libs/glib-2
+ >=x11-libs/qt-3.3
+ >=sys-apps/portage-2.0.49-r8"
+
+# patch to configure.in.in that makes the vorbis, libmad deps optional
+# has no version number in its filename because it's the same for all
+# arts versions - the patched file hasn't changed in a year's time
+# PATCHES="$FILESDIR/optional-deps.diff"
+
+src_unpack() {
+ kde_src_unpack
+ epatch ${FILESDIR}/1.3.0-jack-configure.in.in.patch
+
+ kde_sandbox_patch ${S}/soundserver
+ # for the configure.in.in patch, for some reason it's not automatically picked up
+ # rm -f $S/configure
+
+ cd ${S} && make -f admin/Makefile.common
+ # use amd64 && epatch ${FILESDIR}/arts-${PV}-buffer.patch
+ # this patch fixes the high cpu usage of mp3 and vorbis
+ # epatch ${FILESDIR}/arts-vorbis-fix.dif
+}
+
+src_compile() {
+
+ #fix bug 13453
+ filter-flags -foptimize-sibling-calls
+
+ #fix bug 41980
+ use sparc && filter-flags -fomit-frame-pointer
+
+ myconf="$myconf $(use_enable alsa) $(use_enable oggvorbis vorbis) $(use_enable mad libmad) $(use_enable jack)"
+
+ kde_src_compile
+}
+
+src_install() {
+ kde_src_install
+ dodoc ${S}/doc/{NEWS,README,TODO}
+
+ # moved here from kdelibs so that when arts is installed
+ # without kdelibs it's still in the path.
+ dodir /etc/env.d
+echo "PATH=${PREFIX}/bin
+ROOTPATH=${PREFIX}/sbin:${PREFIX}/bin
+LDPATH=${PREFIX}/lib
+CONFIG_PROTECT=\"${PREFIX}/share/config ${PREFIX}/env ${PREFIX}/shutdown\"" > ${D}/etc/env.d/47kdepaths-3.3.0 # number goes down with version upgrade
+
+ echo "KDEDIR=$PREFIX" > ${D}/etc/env.d/58kdedir-3.3.0 # number goes up with version upgrade
+
+ # used for realtime priority, but off by default as it is a security hazard
+ use artswrappersuid && chmod +us ${D}/${PREFIX}/bin/artswrapper
+}
+
+pkg_postinst() {
+ if ! use artswrappersuid ; then
+ einfo "Run chmod +s ${PREFIX}/bin/artswrapper to let artsd use realtime priority"
+ einfo "and so avoid possible skips in sound. However, on untrusted systems this"
+ einfo "creates the possibility of a DoS attack that'll use 100% cpu at realtime"
+ einfo "priority, and so is off by default. See bug #7883."
+ einfo "Or, you can set the local artswrappersuid USE flag to make the ebuild do this."
+ fi
+}