From c1258a132adad38f336a05e11209212787580137 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Diego=20Elio=20Petten=C3=B2?= Date: Thu, 18 Jan 2007 15:29:40 +0000 Subject: [PATCH] Re-try committing this. Package-Manager: portage-2.1.2 --- kde-base/arts/ChangeLog | 7 ++- kde-base/arts/Manifest | 22 ++++--- kde-base/arts/arts-3.5.6.ebuild | 89 +++++++++++++++++++++++++++ kde-base/arts/files/digest-arts-3.5.6 | 3 + 4 files changed, 113 insertions(+), 8 deletions(-) create mode 100644 kde-base/arts/arts-3.5.6.ebuild create mode 100644 kde-base/arts/files/digest-arts-3.5.6 diff --git a/kde-base/arts/ChangeLog b/kde-base/arts/ChangeLog index b72e351bd989..7db1fa8d2e38 100644 --- a/kde-base/arts/ChangeLog +++ b/kde-base/arts/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for kde-base/arts # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/arts/ChangeLog,v 1.246 2007/01/05 16:54:15 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/arts/ChangeLog,v 1.247 2007/01/18 15:29:40 flameeyes Exp $ + +*arts-3.5.6 (18 Jan 2007) + + 18 Jan 2007; Diego Pettenò +arts-3.5.6.ebuild: + Re-try committing this. 05 Jan 2007; Diego Pettenò arts-3.5.2-r1.ebuild, arts-3.5.5.ebuild: diff --git a/kde-base/arts/Manifest b/kde-base/arts/Manifest index f68dc4ce939c..c1a95ddb0150 100644 --- a/kde-base/arts/Manifest +++ b/kde-base/arts/Manifest @@ -39,6 +39,7 @@ RMD160 3fc2d2bb4412c3ab5a20b058f69844ad88e27c84 files/arts-3.4.1-cpu-overload.pa SHA256 547a41324ed3d047e49da48c6e992abd4dd28704ab51b8e1dd203516a9d3844d files/arts-3.4.1-cpu-overload.patch 1371 DIST arts-1.5.2.tar.bz2 967088 RMD160 cf4fcdffdaada6b79ef1ec7139b1f60ff125ced2 SHA1 2536ee9bcae7bd820d0cfa96b69d7c9fc6b789f5 SHA256 f2b8fe00d5273fe20ced3cc8cae83f28036655f2d8f65f88583c97b3b17938f2 DIST arts-1.5.5.tar.bz2 967552 RMD160 9884d410a7b22a4221b57d9c170b5260739c68a1 SHA1 570fd77fbc47103f7bb9fb22d10cb80b3642ecc9 SHA256 2e5d5f07078ac79911815c25c6768b7fbf3c54989a4fc5b52a07e4a73b50aec1 +DIST arts-1.5.6.tar.bz2 966746 RMD160 42074889e415dca534b1cf2700dd6e983319a28d SHA1 aa0b89ed6cf944b737c362164a820e231b358724 SHA256 66f03a329e45c8a4a96c14c42cf28b9e6803d70740950e238c5ea494b2ab93df EBUILD arts-3.5.2-r1.ebuild 3200 RMD160 f4924bde922173abb7e28651bfc140620088b627 SHA1 4e763ccf8393b5318d9be1463b30b363baf06a87 SHA256 915ccab3e4cf4e4fd6209fc8ad3bdd6312e45b8a3619eb78dceaa783b3f12ba7 MD5 326df1c93bb94efe8b28edffb1a2db2d arts-3.5.2-r1.ebuild 3200 RMD160 f4924bde922173abb7e28651bfc140620088b627 arts-3.5.2-r1.ebuild 3200 @@ -47,10 +48,14 @@ EBUILD arts-3.5.5.ebuild 2732 RMD160 19583c1ba89202b8ee30823980715c2e06d23995 SH MD5 48babef8394f22718e9012aa3040260e arts-3.5.5.ebuild 2732 RMD160 19583c1ba89202b8ee30823980715c2e06d23995 arts-3.5.5.ebuild 2732 SHA256 0890f808efc91921e394440cd1fcc0a5c754b86f088822f704b4bcd52f11a752 arts-3.5.5.ebuild 2732 -MISC ChangeLog 31454 RMD160 c3edf6ae1debf80122c8084a42ffae7ac59ce5d1 SHA1 d0a286aee60de9502ecfb2cdbfddd4497b0f6ec2 SHA256 299f2809c531e23f1d477da2f51d8ff0030ce6a8ec2a7b24832fb7885090a5a0 -MD5 dfc3cf9073d877e29ce5d3980f528a05 ChangeLog 31454 -RMD160 c3edf6ae1debf80122c8084a42ffae7ac59ce5d1 ChangeLog 31454 -SHA256 299f2809c531e23f1d477da2f51d8ff0030ce6a8ec2a7b24832fb7885090a5a0 ChangeLog 31454 +EBUILD arts-3.5.6.ebuild 2739 RMD160 8e2dfe1561bc88747acb5c998cd0aead9c096719 SHA1 c9beb761e7df6f0bcca78e6071be520f8d486af9 SHA256 c496286fe7ceb0189391a976c97337b05cbac1b9e7f882e18d01baf3debf53e1 +MD5 e02c9c711286199188302fda756f3fec arts-3.5.6.ebuild 2739 +RMD160 8e2dfe1561bc88747acb5c998cd0aead9c096719 arts-3.5.6.ebuild 2739 +SHA256 c496286fe7ceb0189391a976c97337b05cbac1b9e7f882e18d01baf3debf53e1 arts-3.5.6.ebuild 2739 +MISC ChangeLog 31581 RMD160 0c6a4d2c3860c42afc8dd3bc9258a387bdfff222 SHA1 9d156ef0f140091952eeb724f139cd1b2f7069ac SHA256 5e0870c0953abd85805b4979890a5dae19e692b0b201c9fc5513735bc23b1d39 +MD5 a327a6e15fcab06a54c9cffda525fed3 ChangeLog 31581 +RMD160 0c6a4d2c3860c42afc8dd3bc9258a387bdfff222 ChangeLog 31581 +SHA256 5e0870c0953abd85805b4979890a5dae19e692b0b201c9fc5513735bc23b1d39 ChangeLog 31581 MISC metadata.xml 156 RMD160 ecce3b981f150c45ae1e84e2d208e678d6124259 SHA1 b64f7c0b4e5db816d82ad19848f72118af129d35 SHA256 2f4da28506b9d4185f320f67a6191d30c7a921217ed4447ed46ea0bc4aefc79a MD5 acc03a4b12bb0433a57e95bd253b9501 metadata.xml 156 RMD160 ecce3b981f150c45ae1e84e2d208e678d6124259 metadata.xml 156 @@ -61,10 +66,13 @@ SHA256 590bf852397f55d011fa344f8e1436487356a16f3d944af9b2e1c142477b5b1b files/di MD5 0bcd4c097838a110cb6d84b292bbd05d files/digest-arts-3.5.5 235 RMD160 599264630165e526bfc89b7f7ae0794ba9ef0190 files/digest-arts-3.5.5 235 SHA256 70de89a39e83b439bad014f832d9782bb3a30d4855512271601ae0f655761a6c files/digest-arts-3.5.5 235 +MD5 2b884aadfe501c1d4d76a89a7aff6639 files/digest-arts-3.5.6 235 +RMD160 0808a7ef8ded37b789fcb84de2e883ae25ac1f19 files/digest-arts-3.5.6 235 +SHA256 5746f90850c4c22f40ba777ad6da07e3390d89f003da18e05b9e050629e74c19 files/digest-arts-3.5.6 235 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.1 (GNU/Linux) -iD8DBQFFnoK+AiZjviIA2XgRAoxdAKDR6XRveUOWZ8/ywXtG609zUdvXTACePIiq -Hd1T8bT4NtgtpkDZiT+5yM0= -=92Ls +iD8DBQFFr5J0AiZjviIA2XgRAmxQAJ9S7CCRSE7BHI3nRe5MsqYcK27hWgCglkDy +iVAhDSp7/+DbShE2s3GztF4= +=4zx+ -----END PGP SIGNATURE----- diff --git a/kde-base/arts/arts-3.5.6.ebuild b/kde-base/arts/arts-3.5.6.ebuild new file mode 100644 index 000000000000..cd2b19e902bf --- /dev/null +++ b/kde-base/arts/arts-3.5.6.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-base/arts/arts-3.5.6.ebuild,v 1.1 2007/01/18 15:29:40 flameeyes Exp $ + +inherit kde flag-o-matic eutils versionator +set-kdedir 3.5 + +MY_PV="1.$(get_version_component_range 2-3)" +S=${WORKDIR}/${PN}-${MY_PV} + +RESTRICT="test" + +DESCRIPTION="aRts, the KDE sound (and all-around multimedia) server/output manager" +HOMEPAGE="http://multimedia.kde.org/" +SRC_URI="mirror://kde/stable/${PV}/src/${PN}-${MY_PV}.tar.bz2" +#SRC_URI="mirror://kde/stable/3.5/src/${PN}-${MY_PV}.tar.bz2" +LICENSE="GPL-2 LGPL-2" + +SLOT="3.5" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="alsa esd artswrappersuid jack mp3 nas vorbis" + +RDEPEND="$(qt_min_version 3.3) + >=dev-libs/glib-2 + alsa? ( media-libs/alsa-lib ) + vorbis? ( media-libs/libogg + media-libs/libvorbis ) + esd? ( media-sound/esound ) + jack? ( >=media-sound/jack-audio-connection-kit-0.90 ) + mp3? ( media-libs/libmad ) + nas? ( media-libs/nas ) + media-libs/audiofile" + +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +PATCHES="${FILESDIR}/arts-1.5.0-bindnow.patch + ${FILESDIR}/arts-1.5.4-multilib.patch" + +src_unpack() { + kde_src_unpack + + # Alternative to arts-1.4-mcopidl.patch, make sure that flags are supported + # before trying to use them, for non-GCC, vanilla GCC or GCC 4.1 compilers + local nosspflags + + nosspflags="$(test-flags -fno-stack-protector -fno-stack-protector-all)" + sed -i -e "s:KDE_CXXFLAGS =\(.*\):KDE_CXXFLAGS = \1 ${nosspflags}:" \ + "${S}/mcopidl/Makefile.am" + + # Fix libao/gaim problems with aRTs. See bug #116290. + epatch "${FILESDIR}/arts-1.5.0-check_tmp_dir.patch" + + rm -f "${S}/configure" +} + +src_compile() { + myconf="$(use_enable alsa) $(use_enable vorbis) + $(use_enable mp3 libmad) $(use_with jack) + $(use_with esd) $(use_with nas) + --with-audiofile --without-mas" + + #fix bug 13453 + filter-flags -foptimize-sibling-calls + + # breaks otherwise + use sparc && export CFLAGS="-O1" && export CXXFLAGS="-O1" + + export BINDNOW_FLAGS="$(bindnow-flags)" + + kde_src_compile +} + +src_install() { + kde_src_install + + # used for realtime priority, but off by default as it is a security hazard + use artswrappersuid && chmod u+s "${D}/${PREFIX}/bin/artswrapper" +} + +pkg_postinst() { + if ! use artswrappersuid ; then + elog "Run chmod u+s ${PREFIX}/bin/artswrapper to let artsd use realtime priority" + elog "and so avoid possible skips in sound. However, on untrusted systems this" + elog "creates the possibility of a DoS attack that'll use 100% cpu at realtime" + elog "priority, and so is off by default. See bug #7883." + elog "Or, you can set the local artswrappersuid USE flag to make the ebuild do this." + fi +} diff --git a/kde-base/arts/files/digest-arts-3.5.6 b/kde-base/arts/files/digest-arts-3.5.6 new file mode 100644 index 000000000000..526530f288fb --- /dev/null +++ b/kde-base/arts/files/digest-arts-3.5.6 @@ -0,0 +1,3 @@ +MD5 e986393a5827499bbad04a00b797add0 arts-1.5.6.tar.bz2 966746 +RMD160 42074889e415dca534b1cf2700dd6e983319a28d arts-1.5.6.tar.bz2 966746 +SHA256 66f03a329e45c8a4a96c14c42cf28b9e6803d70740950e238c5ea494b2ab93df arts-1.5.6.tar.bz2 966746 -- 2.26.2