From: Diego Elio Pettenò Date: Sat, 3 Feb 2007 14:54:21 +0000 (+0000) Subject: Add an alsa useflag to enable/disable alsa support (on FreeBSD you want it always... X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=85acb367556fea31b1677893539b4eff85e98498;p=gentoo.git Add an alsa useflag to enable/disable alsa support (on FreeBSD you want it always disabled), and if the use is enable also check if alsa-lib was built with midi support, as this package requires the sequencer API present. Package-Manager: portage-2.1.2-r5 --- diff --git a/kde-base/kdemultimedia-arts/ChangeLog b/kde-base/kdemultimedia-arts/ChangeLog index d9a0feb3c582..dda4e0b731d3 100644 --- a/kde-base/kdemultimedia-arts/ChangeLog +++ b/kde-base/kdemultimedia-arts/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for kde-base/kdemultimedia-arts # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdemultimedia-arts/ChangeLog,v 1.56 2007/01/16 20:12:02 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdemultimedia-arts/ChangeLog,v 1.57 2007/02/03 14:54:21 flameeyes Exp $ + + 03 Feb 2007; Diego Pettenò + kdemultimedia-arts-3.5.6.ebuild: + Add an alsa useflag to enable/disable alsa support (on FreeBSD you want it + always disabled), and if the use is enable also check if alsa-lib was built + with midi support, as this package requires the sequencer API present. *kdemultimedia-arts-3.5.6 (16 Jan 2007) diff --git a/kde-base/kdemultimedia-arts/Manifest b/kde-base/kdemultimedia-arts/Manifest index 0f141ca23f5f..1cbf3cedc912 100644 --- a/kde-base/kdemultimedia-arts/Manifest +++ b/kde-base/kdemultimedia-arts/Manifest @@ -12,14 +12,14 @@ EBUILD kdemultimedia-arts-3.5.5.ebuild 606 RMD160 34b9872e1a06ac61a56d75327b5858 MD5 5b802396738b0dd790ab0318732d7b37 kdemultimedia-arts-3.5.5.ebuild 606 RMD160 34b9872e1a06ac61a56d75327b5858f76eb86f56 kdemultimedia-arts-3.5.5.ebuild 606 SHA256 67e4dc4d4744b8f36cb9a04e5ca6505f19659aa6042cac4849f8211df8087837 kdemultimedia-arts-3.5.5.ebuild 606 -EBUILD kdemultimedia-arts-3.5.6.ebuild 616 RMD160 e64ef94acaea25f2b871c4084a14584fbecf96cf SHA1 a5d610fe402a14486507ae599e83bb8c9223b1c3 SHA256 528a47ce4a692981aef5758678d911083d8d71d1637765cd816a97dd12f8891f -MD5 bb201c7fe7ae0d6c35709369a16d4043 kdemultimedia-arts-3.5.6.ebuild 616 -RMD160 e64ef94acaea25f2b871c4084a14584fbecf96cf kdemultimedia-arts-3.5.6.ebuild 616 -SHA256 528a47ce4a692981aef5758678d911083d8d71d1637765cd816a97dd12f8891f kdemultimedia-arts-3.5.6.ebuild 616 -MISC ChangeLog 7679 RMD160 69e05243a8ddedb8011c7295c96ccfe957a8f24a SHA1 a8fece7345cf847bc2d142b5ea9bb224245f04fe SHA256 c853f440375e7e46a678514f5b64e0ac38b521594200f4940984760b25b8116a -MD5 4361bf4d63cb94dc2d5e16917492064f ChangeLog 7679 -RMD160 69e05243a8ddedb8011c7295c96ccfe957a8f24a ChangeLog 7679 -SHA256 c853f440375e7e46a678514f5b64e0ac38b521594200f4940984760b25b8116a ChangeLog 7679 +EBUILD kdemultimedia-arts-3.5.6.ebuild 1158 RMD160 2faed55fe4e23f3646db1ef31dac645916d76371 SHA1 99913811976924e4ea2392ab88bb4c7c3a9b089f SHA256 46d532abd8fafba475088ee78e78f17a7685df95039178305fa556728384efb6 +MD5 fc35f7891f51ee9673f5150bc83610ef kdemultimedia-arts-3.5.6.ebuild 1158 +RMD160 2faed55fe4e23f3646db1ef31dac645916d76371 kdemultimedia-arts-3.5.6.ebuild 1158 +SHA256 46d532abd8fafba475088ee78e78f17a7685df95039178305fa556728384efb6 kdemultimedia-arts-3.5.6.ebuild 1158 +MISC ChangeLog 7996 RMD160 864a05ec2607a4935d7f32df0426f81f61330c58 SHA1 8b6f11a71e42e58e072f5ec0c8275ca4d124c472 SHA256 cf339df600d4b90cdbe60beac27bbb9b7a4c3f5fc87ba5455049153c1e6286ad +MD5 3d781b10b524e9de4f619da6f50a4fda ChangeLog 7996 +RMD160 864a05ec2607a4935d7f32df0426f81f61330c58 ChangeLog 7996 +SHA256 cf339df600d4b90cdbe60beac27bbb9b7a4c3f5fc87ba5455049153c1e6286ad ChangeLog 7996 MISC metadata.xml 156 RMD160 ecce3b981f150c45ae1e84e2d208e678d6124259 SHA1 b64f7c0b4e5db816d82ad19848f72118af129d35 SHA256 2f4da28506b9d4185f320f67a6191d30c7a921217ed4447ed46ea0bc4aefc79a MD5 acc03a4b12bb0433a57e95bd253b9501 metadata.xml 156 RMD160 ecce3b981f150c45ae1e84e2d208e678d6124259 metadata.xml 156 @@ -34,9 +34,9 @@ MD5 a7633ce4b94337a83bcb97d203366623 files/digest-kdemultimedia-arts-3.5.6 265 RMD160 df099dd3f0f56e5dc2a7dc37a0ff582d10ffb076 files/digest-kdemultimedia-arts-3.5.6 265 SHA256 8c8f0b56dd810d9202f532206814eed4c4ff4e6062a88e0bbee4523b8cf5f4d7 files/digest-kdemultimedia-arts-3.5.6 265 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.1 (GNU/Linux) +Version: GnuPG v2.0.2 (GNU/Linux) -iD8DBQFFrTGZAiZjviIA2XgRArkAAKDzAbNoAdPDpTXfrqzVOqVzIX8DkACg2RhL -oVm94Fry0slyIBPRh2utusI= -=wSM7 +iD8DBQFFxKIyAiZjviIA2XgRAqyuAKDl+5KF/WBhHt0qAjgpS6C6ut16lwCgr1H7 +2GE0NFe+HOgRv1+ppWBoYmY= +=rL2H -----END PGP SIGNATURE----- diff --git a/kde-base/kdemultimedia-arts/kdemultimedia-arts-3.5.6.ebuild b/kde-base/kdemultimedia-arts/kdemultimedia-arts-3.5.6.ebuild index 0a477aa3a088..38d2c7c4821b 100644 --- a/kde-base/kdemultimedia-arts/kdemultimedia-arts-3.5.6.ebuild +++ b/kde-base/kdemultimedia-arts/kdemultimedia-arts-3.5.6.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdemultimedia-arts/kdemultimedia-arts-3.5.6.ebuild,v 1.1 2007/01/16 20:12:02 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdemultimedia-arts/kdemultimedia-arts-3.5.6.ebuild,v 1.2 2007/02/03 14:54:21 flameeyes Exp $ ARTS_REQUIRED="yes" KMNAME=kdemultimedia @@ -11,7 +11,24 @@ inherit kde-meta eutils DESCRIPTION="aRts pipeline builder and other tools" KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" -IUSE="" +IUSE="alsa" KMEXTRACTONLY="mpeglib_artsplug/configure.in.in" # needed because the artsc-config call is here KMEXTRA="doc/artsbuilder" +RDEPEND="alsa? ( media-libs/alsa-lib )" + +pkg_setup() { + if use alsa && ! built_with_use --missing true media-libs/alsa-lib midi; then + eerror "The alsa USE flag in this package enables ALSA support" + eerror "for libkmid, KDE midi library." + eerror "For this reason, you have to merge media-libs/alsa-lib" + eerror "with the midi USE flag enabled, or disable alsa USE flag" + eerror "for this package." + die "Missing midi USE flag on media-libs/alsa-lib" + fi +} + +src_compile() { + local myconf="$(use_with alsa)" + kde-meta_src_compile +}