[proaudio] [1116] lash: add useflags

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


Revision: 1116
Author:   gimpel
Date:     2008-01-13 10:31:07 +0000 (Sun, 13 Jan 2008)

Log Message:
-----------
lash: add useflags

Modified Paths:
--------------
    trunk/overlays/proaudio/media-sound/lash/ChangeLog
    trunk/overlays/proaudio/media-sound/lash/Manifest
    trunk/overlays/proaudio/media-sound/lash/lash-0.5.4.ebuild


Modified: trunk/overlays/proaudio/media-sound/lash/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-sound/lash/ChangeLog	2008-01-13 09:33:40 UTC (rev 1115)
+++ trunk/overlays/proaudio/media-sound/lash/ChangeLog	2008-01-13 10:31:07 UTC (rev 1116)
@@ -2,6 +2,9 @@
 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  13 Jan 2008; Thomas Kuther <gimpel@xxxxxxxxxxxxxxxx> lash-0.5.4.ebuild:
+  add useflags
+
   13 Jan 2008; Frieder Buerzele <evermind@xxxxxxxxxxxxx>;
   +lash-0.5.4.ebuild:
   bump

Modified: trunk/overlays/proaudio/media-sound/lash/Manifest
===================================================================
--- trunk/overlays/proaudio/media-sound/lash/Manifest	2008-01-13 09:33:40 UTC (rev 1115)
+++ trunk/overlays/proaudio/media-sound/lash/Manifest	2008-01-13 10:31:07 UTC (rev 1116)
@@ -5,6 +5,6 @@
 EBUILD lash-0.5.0.ebuild 1243 RMD160 dc95d2497fe5e15d11921f5275c8991e915301c8 SHA1 c7076b182633ad324e34b263e751ca8c969e4f3f SHA256 c28b02462c81357e9a91c5863797c01c161aa23650870774abc5653fb77e8683
 EBUILD lash-0.5.1.ebuild 1570 RMD160 98cd01ed766eb904682b536399735d6c749fb5f2 SHA1 b992d86bd63829c4171f18c7a1a89cfaf9ceceb0 SHA256 0a9727bcc7a7f6b47fd50377190c967f303fd545958184936d8c50765d857137
 EBUILD lash-0.5.2-r1.ebuild 1669 RMD160 93b76a04bdcb1ab122e7f4e35c010cd41217f082 SHA1 8a03183fd8de5dbafaec0c7d5c11e879c097b9dd SHA256 5c8b41e1217686b7a2473b7b868de8e4b50f87c10f1ce59cb6ed9e4d67591794
-EBUILD lash-0.5.4.ebuild 1573 RMD160 f4da5e94495bc53edbf51a30798da7ac06d7ebd4 SHA1 e5f5add4a8c826fea4d13f7d30d5838a67d46126 SHA256 e27922d9a173f33fa3dbc8d5e1ff13ad82a975e08e9d187fe385995fcdf8acba
-MISC ChangeLog 292 RMD160 22a9f82aa8c64b6ef3735a544a20e3cce363e1c0 SHA1 f43211cf69dc07387aa1b95d5ca37af1eb20d79c SHA256 d451fe8c09f359f2efa867d499790cc2cf2735e6ce2a047c2eb62cd018c7ad99
+EBUILD lash-0.5.4.ebuild 2203 RMD160 ef852814d4ecd9dd88db445d14e5d30922508418 SHA1 7fdbf541b51adc10be312a98ba1330ee4721dbf2 SHA256 7d6b23d425e92198215a70d9529189f494dfb21c5382275f395b3495d81f19a5
+MISC ChangeLog 382 RMD160 04a159473ac52cf77eedc889253b8bcc610df428 SHA1 94496f92d4a5767e5f324ef484c216bb8e96045e SHA256 a7e7f4aefdc79887a789cb61d5bafb1f51039f789224727e5308f31c3e158acf
 MISC metadata.xml 268 RMD160 facc07bd885f20615a1f2555069329c642e1a566 SHA1 2456bdb8a218c9d477d2d6ee4bf158de070c7be4 SHA256 96629b266b743f566c29158d4498edeeb1cd6b1f0cd9629e42d4f10b4da82f89

Modified: trunk/overlays/proaudio/media-sound/lash/lash-0.5.4.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/lash/lash-0.5.4.ebuild	2008-01-13 09:33:40 UTC (rev 1115)
+++ trunk/overlays/proaudio/media-sound/lash/lash-0.5.4.ebuild	2008-01-13 10:31:07 UTC (rev 1116)
@@ -4,8 +4,6 @@
 
 inherit eutils
 
-IUSE=""
-
 #RESTRICT="nomirror"
 DESCRIPTION="LASH Audio Session Handler"
 HOMEPAGE="http://www.nongnu.org/lash";
@@ -14,24 +12,42 @@
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="amd64 ppc sparc x86"
+IUSE="alsa debug gtk python"
 
-DEPEND="media-libs/alsa-lib
+DEPEND="alsa? ( media-libs/alsa-lib )
 	!media-libs/ladcca
 	!media-libs/lash
 	media-sound/jack-audio-connection-kit
-	>=x11-libs/gtk+-2.0"
+	gtk? ( >=x11-libs/gtk+-2.0 )
+	python? ( dev-lang/python )
+	|| ( sys-libs/readline sys-libs/libedit )"
 
-#src_unpack() {
-#	unpack ${P}.tar.gz || die
-#}
+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_compile() {
-	econf --disable-serv-inst || die
+	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) \
+		--disable-serv-inst \
+		--disable-dependency-tracking \
+		|| die
 	emake || die
 }
 
 src_install() {
-	make DESTDIR=${D} install || die
+	make DESTDIR="${D}" install || die
 	dodoc AUTHORS ChangeLog NEWS README TODO
 }
 


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/