/[gentoo-x86]/media-sound/aumix/aumix-2.8-r1.ebuild
Gentoo

Contents of /media-sound/aumix/aumix-2.8-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Thu Nov 11 21:02:00 2004 UTC (15 years ago) by eradicator
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +1 -1 lines
FILE REMOVED
Version cleanup.

1 # Copyright 1999-2004 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-sound/aumix/aumix-2.8-r1.ebuild,v 1.8 2004/07/13 20:40:43 kloeri Exp $
4
5 IUSE="gtk gtk2 gpm nls"
6
7 DESCRIPTION="Aumix volume/mixer control program."
8 SRC_URI="http://jpj.net/~trevor/aumix/${P}.tar.bz2"
9 HOMEPAGE="http://jpj.net/~trevor/aumix/"
10
11 SLOT="0"
12 LICENSE="GPL-2"
13 KEYWORDS="x86 hppa ~amd64 sparc alpha ~ia64 ~mips"
14
15 #alsa support is broken in 2.8 alsa? ( >=media-libs/alsa-lib-0.9.0_rc1 )
16 DEPEND=">=sys-libs/ncurses-5.2
17 gpm? ( >=sys-libs/gpm-1.19.3 )
18 gtk? (
19 !gtk2? ( =x11-libs/gtk+-1.2* )
20 gtk2? ( >=x11-libs/gtk+-2.0.0 )
21 )
22 nls? ( sys-devel/gettext )"
23
24 src_compile() {
25 # `use_with alsa`
26
27 # use_with borks becasue of bad configure script.
28 if use gtk; then
29 if use gtk2; then
30 myconf="${myconf} --without-gtk1";
31 else
32 myconf="${myconf} --without-gtk";
33 fi
34 else
35 myconf="${myconf} --without-gtk --without-gtk1";
36 fi
37
38 if ! use gpm; then
39 myconf="${myconf} --without-gpm"
40 fi
41
42 econf ${myconf} || die
43 emake || die "make failed"
44 }
45
46 src_install() {
47 einstall
48
49 dodoc AUTHORS BUGS COPYING ChangeLog NEWS README TODO
50
51 insinto /usr/share/gnome/apps/Multimedia
52 doins ${FILESDIR}/aumix.desktop
53 insinto /usr/share/applnk/Multimedia
54 doins ${FILESDIR}/aumix.desktop
55 insinto /usr/share/applications
56 doins ${FILESDIR}/aumix.desktop
57
58 dodir /usr/share/pixmaps
59 ln -s ../aumix/aumix.xpm ${D}/usr/share/pixmaps
60
61 exeinto /etc/init.d ; newexe ${FILESDIR}/aumix.rc6 aumix
62 }

  ViewVC Help
Powered by ViewVC 1.1.20