summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-02-09 04:36:21 +0000
committerMike Frysinger <vapier@gentoo.org>2004-02-09 04:36:21 +0000
commit14f2fed2604e4af02b9493a7281e7fdd1e5575e8 (patch)
treeae08030dc9fc4e97bb840a7fb951a8f1f6339cd0 /kde-base
parentadding ~amd64 (Manifest recommit) (diff)
downloadgentoo-2-14f2fed2604e4af02b9493a7281e7fdd1e5575e8.tar.gz
gentoo-2-14f2fed2604e4af02b9493a7281e7fdd1e5575e8.tar.bz2
gentoo-2-14f2fed2604e4af02b9493a7281e7fdd1e5575e8.zip
hppa stable
Diffstat (limited to 'kde-base')
-rw-r--r--kde-base/arts/arts-1.2.0.ebuild37
1 files changed, 16 insertions, 21 deletions
diff --git a/kde-base/arts/arts-1.2.0.ebuild b/kde-base/arts/arts-1.2.0.ebuild
index fbfce1c7e371..afebd7398f3d 100644
--- a/kde-base/arts/arts-1.2.0.ebuild
+++ b/kde-base/arts/arts-1.2.0.ebuild
@@ -1,17 +1,18 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/arts/arts-1.2.0.ebuild,v 1.4 2004/02/05 16:32:14 lu_zero Exp $
-inherit kde flag-o-matic
-
-IUSE="alsa oggvorbis esd artswrappersuid mad"
+# $Header: /var/cvsroot/gentoo-x86/kde-base/arts/arts-1.2.0.ebuild,v 1.5 2004/02/09 04:36:21 vapier Exp $
+inherit kde flag-o-matic
set-kdedir 3.2
-SRC_URI="mirror://kde/stable/${PV/1.2.0/3.2}/src/${PN}-${PV}.tar.bz2"
-HOMEPAGE="http://multimedia.kde.org"
DESCRIPTION="aRts, the KDE sound (and all-around multimedia) server/output manager"
+HOMEPAGE="http://multimedia.kde.org/"
+SRC_URI="mirror://kde/stable/${PV/1.2.0/3.2}/src/${PN}-${PV}.tar.bz2"
-KEYWORDS="~x86 ~sparc ~amd64 ~ppc"
+LICENSE="GPL-2 LGPL-2"
+SLOT="3.2"
+KEYWORDS="~x86 ~ppc ~sparc hppa ~amd64"
+IUSE="alsa oggvorbis esd artswrappersuid mad"
DEPEND="alsa? ( media-libs/alsa-lib virtual/alsa )
oggvorbis? ( media-libs/libvorbis media-libs/libogg )
@@ -25,15 +26,12 @@ DEPEND="alsa? ( media-libs/alsa-lib virtual/alsa )
if [ "${COMPILER}" == "gcc3" ]; then
# GCC 3.1 kinda makes arts buggy and prone to crashes when compiled with
# these.. Even starting a compile shuts down the arts server
- filter-flags "-fomit-frame-pointer -fstrength-reduce"
+ filter-flags -fomit-frame-pointer -fstrength-reduce
fi
#fix bug 13453
filter-flags "-foptimize-sibling-calls"
-SLOT="3.2"
-LICENSE="GPL-2 LGPL-2"
-
myconf="$myconf `use_enable alsa`"
myconf="$myconf `use_enable oggvorbis vorbis`"
myconf="$myconf `use_enable mad libmad`"
@@ -66,17 +64,14 @@ CONFIG_PROTECT=${PREFIX}/share/config" > ${D}/etc/env.d/48kdepaths-3.2.0 # numbe
# used for realtime priority, but off by default as it is a security hazard
use artswrappersuid && chmod +s ${D}/${PREFIX}/bin/artswrapper
-
}
pkg_postinst() {
-
-if [ -z "`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
-
+ 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
}