From 5b6deaaf7a8c66cb1a5a73970c45802ddbe46fc6 Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Date: Sun, 18 Apr 2004 08:44:14 +0000 Subject: USE flag support fixed for bug #48101. --- media-sound/aumix/ChangeLog | 7 +++- media-sound/aumix/Manifest | 3 ++ media-sound/aumix/aumix-2.8-r1.ebuild | 62 +++++++++++++++++++++++++++++ media-sound/aumix/files/digest-aumix-2.8-r1 | 1 + 4 files changed, 72 insertions(+), 1 deletion(-) create mode 100644 media-sound/aumix/aumix-2.8-r1.ebuild create mode 100644 media-sound/aumix/files/digest-aumix-2.8-r1 (limited to 'media-sound') diff --git a/media-sound/aumix/ChangeLog b/media-sound/aumix/ChangeLog index 593ef2eeea26..20e688027691 100644 --- a/media-sound/aumix/ChangeLog +++ b/media-sound/aumix/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-sound/aumix # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/aumix/ChangeLog,v 1.20 2004/04/02 09:41:04 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/aumix/ChangeLog,v 1.21 2004/04/18 08:44:14 eradicator Exp $ + +*aumix-2.8-r1 (18 Apr 2004) + + 18 Apr 2004; Jeremy Huddleston aumix-2.8-r1.ebuild: + USE flag support fixed for bug #48101. 02 Apr 2004; Jeremy Huddleston aumix-2.8.ebuild: Removed alsa IUSE. Fixed myconf. Closes bug #46475. diff --git a/media-sound/aumix/Manifest b/media-sound/aumix/Manifest index 1ccb5bae6a0c..bcf63999aef6 100644 --- a/media-sound/aumix/Manifest +++ b/media-sound/aumix/Manifest @@ -1,4 +1,6 @@ +MD5 db044bc0f3d00826a2777cb24988c034 p 429 MD5 773154ce4203b87a8125ab09239f3d26 aumix-2.8.ebuild 1390 +MD5 773154ce4203b87a8125ab09239f3d26 aumix-2.8-r1.ebuild 1390 MD5 fc6532715d07dcac026b7c06c5541fac aumix-2.7-r4.ebuild 1244 MD5 5a2329c52af4582940688e1fd9722ef0 ChangeLog 2746 MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158 @@ -6,3 +8,4 @@ MD5 857a1fe260905ab09b7befd877affafd files/digest-aumix-2.8 62 MD5 f39abfbf49ff4a33e109eeb14a4325c2 files/aumix.desktop 124 MD5 3297f1ce69f6c2803f31494ba8dda108 files/aumix.rc6 1129 MD5 e4d29edb4b7c339ca310738a7e9dd174 files/digest-aumix-2.7-r4 61 +MD5 857a1fe260905ab09b7befd877affafd files/digest-aumix-2.8-r1 62 diff --git a/media-sound/aumix/aumix-2.8-r1.ebuild b/media-sound/aumix/aumix-2.8-r1.ebuild new file mode 100644 index 000000000000..a2fe0e10913a --- /dev/null +++ b/media-sound/aumix/aumix-2.8-r1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/aumix/aumix-2.8-r1.ebuild,v 1.1 2004/04/18 08:44:14 eradicator Exp $ + +IUSE="gtk gtk2 gnome gpm nls" + +DESCRIPTION="Aumix volume/mixer control program." +SRC_URI="http://jpj.net/~trevor/aumix/${P}.tar.bz2" +HOMEPAGE="http://jpj.net/~trevor/aumix/" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~hppa ~amd64 ~sparc ~alpha ~ia64" + +#alsa support is broken in 2.8 alsa? ( >=media-libs/alsa-lib-0.9.0_rc1 ) +DEPEND=">=sys-libs/ncurses-5.2 + gpm? ( >=sys-libs/gpm-1.19.3 ) + gtk? ( + !gtk2? ( =x11-libs/gtk+-1.2* ) + gtk2? ( >=x11-libs/gtk+-2.0.0 ) + ) + nls? ( sys-devel/gettext )" + +src_compile() { +# `use_with alsa` + + # use_with borks becasue of bad configure script. + if use gtk; then + if use gtk2; then + myconf="${myconf} --without-gtk1"; + else + myconf="${myconf} --without-gtk"; + fi + else + myconf="${myconf} --without-gtk --without-gtk1"; + fi + + if ! use gpm; then + myconf="${myconf} --without-gpm" + fi + + econf ${myconf} || die + emake || die "make failed" +} + +src_install() { + einstall + + dodoc AUTHORS BUGS COPYING ChangeLog NEWS README TODO + + insinto /usr/share/gnome/apps/Multimedia + doins ${FILESDIR}/aumix.desktop + insinto /usr/share/applnk/Multimedia + doins ${FILESDIR}/aumix.desktop + insinto /usr/share/applications + doins ${FILESDIR}/aumix.desktop + + dodir /usr/share/pixmaps + ln -s ../aumix/aumix.xpm ${D}/usr/share/pixmaps + + exeinto /etc/init.d ; newexe ${FILESDIR}/aumix.rc6 aumix +} diff --git a/media-sound/aumix/files/digest-aumix-2.8-r1 b/media-sound/aumix/files/digest-aumix-2.8-r1 new file mode 100644 index 000000000000..12537fa60981 --- /dev/null +++ b/media-sound/aumix/files/digest-aumix-2.8-r1 @@ -0,0 +1 @@ +MD5 dc3fc7209752207c23e7c94ab886b340 aumix-2.8.tar.bz2 157503 -- cgit v1.2.3-65-gdbad