diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2007-07-06 16:26:38 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2007-07-06 16:26:38 +0000 |
commit | 4f758d6fe75d3674972aa9b3427c172abb1c4d31 (patch) | |
tree | b1121366d2d46ee4380083cffac7f27776ea99ff /media-sound/lash | |
parent | Add new version, ghc-6.6.1. So far only binaries for x86 and amd64. More arch... (diff) | |
download | historical-4f758d6fe75d3674972aa9b3427c172abb1c4d31.tar.gz historical-4f758d6fe75d3674972aa9b3427c172abb1c4d31.tar.bz2 historical-4f758d6fe75d3674972aa9b3427c172abb1c4d31.zip |
Add python and gtk USE flags. Run elibtoolize. Check for midi useflag on alsa-lib when alsa USE flag is enabled.
Package-Manager: portage-2.1.3_rc6
Diffstat (limited to 'media-sound/lash')
-rw-r--r-- | media-sound/lash/ChangeLog | 6 | ||||
-rw-r--r-- | media-sound/lash/Manifest | 22 | ||||
-rw-r--r-- | media-sound/lash/lash-0.5.3.ebuild | 38 |
3 files changed, 48 insertions, 18 deletions
diff --git a/media-sound/lash/ChangeLog b/media-sound/lash/ChangeLog index a619439a0a60..cce982f1d505 100644 --- a/media-sound/lash/ChangeLog +++ b/media-sound/lash/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-sound/lash # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/lash/ChangeLog,v 1.10 2007/07/04 08:15:48 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/lash/ChangeLog,v 1.11 2007/07/06 16:26:38 flameeyes Exp $ + + 06 Jul 2007; Diego Pettenò <flameeyes@gentoo.org> lash-0.5.3.ebuild: + Add python and gtk USE flags. Run elibtoolize. Check for midi useflag on + alsa-lib when alsa USE flag is enabled. 04 Jul 2007; Alexis Ballier <aballier@gentoo.org> lash-0.5.3.ebuild: alsa is optional diff --git a/media-sound/lash/Manifest b/media-sound/lash/Manifest index 7bc01efe2f71..87bfc3ea7c56 100644 --- a/media-sound/lash/Manifest +++ b/media-sound/lash/Manifest @@ -12,14 +12,14 @@ EBUILD lash-0.5.2.ebuild 970 RMD160 527a66fdb87c91c84ceb07e31ea3b6d55d3ba771 SHA MD5 d5d7b88349df433a14d9ba445920201a lash-0.5.2.ebuild 970 RMD160 527a66fdb87c91c84ceb07e31ea3b6d55d3ba771 lash-0.5.2.ebuild 970 SHA256 ea45a122b20ee24d0afefe0a7f0a7008c5ba12d11b4075d4e5273710a02c1a08 lash-0.5.2.ebuild 970 -EBUILD lash-0.5.3.ebuild 809 RMD160 7984cc489770598d9859e780a60d2b9b31bfdd0b SHA1 e16c1b626bb4d994389cac73bc5a501ad56b93e9 SHA256 71d53d41f993dfea11eb1126e4bb7dbc258cd002e361214cc09558bde97e1a9d -MD5 32c2baca8ea9946d385fb4ff7dcac4a4 lash-0.5.3.ebuild 809 -RMD160 7984cc489770598d9859e780a60d2b9b31bfdd0b lash-0.5.3.ebuild 809 -SHA256 71d53d41f993dfea11eb1126e4bb7dbc258cd002e361214cc09558bde97e1a9d lash-0.5.3.ebuild 809 -MISC ChangeLog 1776 RMD160 dd54b2d97fb67c10ec75309e2a7d7cf1dbb59dbe SHA1 a21a44f765f20c10a258c8c85c6fa0c9aec1fc17 SHA256 25597a3d3d1c2a84853bc9616ff74163f0622d278eb1b1cf99ab1dd6e57ebd90 -MD5 36b0d1b7287ad4eb72d703676d41f40e ChangeLog 1776 -RMD160 dd54b2d97fb67c10ec75309e2a7d7cf1dbb59dbe ChangeLog 1776 -SHA256 25597a3d3d1c2a84853bc9616ff74163f0622d278eb1b1cf99ab1dd6e57ebd90 ChangeLog 1776 +EBUILD lash-0.5.3.ebuild 1478 RMD160 0a49f1bedb61460d4844c91f018379d9e382dec5 SHA1 9e9c1ffe173820c991f548e5ea8f8b2fea87252d SHA256 a258fe0e17182c029896d8483f0a830e3adf261aff1d1f5a8c878b037ac8bd77 +MD5 12f9989ece5761512fbd2055e52299f9 lash-0.5.3.ebuild 1478 +RMD160 0a49f1bedb61460d4844c91f018379d9e382dec5 lash-0.5.3.ebuild 1478 +SHA256 a258fe0e17182c029896d8483f0a830e3adf261aff1d1f5a8c878b037ac8bd77 lash-0.5.3.ebuild 1478 +MISC ChangeLog 1967 RMD160 a32135aceecb68eb3c0264dd42638aa740d64a4a SHA1 17c297ada9e4909d351502791fd09cc409b01c61 SHA256 1ff18ae3626d8cbf1ba893480a2c9eede5869c23386b9849ae2d8f306512788e +MD5 496bd3e6f935b7c7fcc2bcf519dc57d1 ChangeLog 1967 +RMD160 a32135aceecb68eb3c0264dd42638aa740d64a4a ChangeLog 1967 +SHA256 1ff18ae3626d8cbf1ba893480a2c9eede5869c23386b9849ae2d8f306512788e ChangeLog 1967 MISC metadata.xml 161 RMD160 2738d17827a71b5ccbadae4c4f909d2b57d147b0 SHA1 90201ddb830142147774cc7b7b5178fbd0a9af0c SHA256 0ba191421eefd954d1efe9f6c3384e8c8d7455d35a7e79457272e1c29211b09e MD5 f62f5a9cf5fe86389cf2bf4d85244ef5 metadata.xml 161 RMD160 2738d17827a71b5ccbadae4c4f909d2b57d147b0 metadata.xml 161 @@ -36,7 +36,7 @@ SHA256 a14562996ef63f6e29441853840a874d2ef5e16b2760ad8abd36696c236c0878 files/di -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (GNU/Linux) -iD8DBQFGi1dMvFcC4BYPU0oRAgOyAKCW+pLaNDYBy/srYDveAc76bTdLdgCgtUbd -tIuw2t8iknTPY4hH3xq7Yqk= -=c8pX +iD8DBQFGjm11AiZjviIA2XgRAteEAKDugo9yqT6VE254H/Xv13mhG3YusgCfdgWP +i3n+RJCXHLrn6hmHhKtgkjY= +=QEEg -----END PGP SIGNATURE----- diff --git a/media-sound/lash/lash-0.5.3.ebuild b/media-sound/lash/lash-0.5.3.ebuild index 96d39fe95d74..e58cd2ac7529 100644 --- a/media-sound/lash/lash-0.5.3.ebuild +++ b/media-sound/lash/lash-0.5.3.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/lash/lash-0.5.3.ebuild,v 1.2 2007/07/04 08:15:48 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/lash/lash-0.5.3.ebuild,v 1.3 2007/07/06 16:26:38 flameeyes Exp $ -inherit eutils +inherit eutils libtool DESCRIPTION="LASH Audio Session Handler" HOMEPAGE="http://www.nongnu.org/lash/" @@ -11,16 +11,42 @@ SRC_URI="http://download.savannah.gnu.org/releases/lash/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~sparc ~x86" -IUSE="alsa debug" +IUSE="alsa debug gtk python" DEPEND="alsa? ( media-libs/alsa-lib ) media-sound/jack-audio-connection-kit dev-libs/libxml2 - >=x11-libs/gtk+-2.0" + gtk? ( >=x11-libs/gtk+-2.0 ) + python? ( dev-lang/python ) + || ( sys-libs/readline sys-libs/libedit )" + +pkg_setup() { + if use alsa && ! built_with_use --missing true media-libs/alsa-lib midi; then + eerror "" + eerror "To be able to build ${CATEGORY}/${PN} with ALSA support you" + eerror "need to have built media-libs/alsa-lib with midi USE flag." + die "Missing midi USE flag on media-libs/alsa-lib" + fi +} + +src_unpack() { + unpack ${A} + elibtoolize +} src_compile() { - econf $(use_enable debug)\ - $(use_enable alsa alsa-midi) || die "econf failed" + local myconf + + # Yet-another-broken-configure: --enable-pylash would disable it. + use python || myconf="${myconf} --disable-pylash" + + econf \ + $(use_enable alsa alsa-midi) \ + $(use_enable gtk gtk2) \ + $(use_enable debug) \ + ${myconf} \ + --disable-dependency-tracking \ + || die "econf failed" emake || die "emake failed" } |