Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/alsamixergui: alsamixergui-0.9.0.1.2-r4.ebuild
Date: Mon, 01 Jun 2009 15:01:49
Message-Id: E1MB91H-0000oP-6C@stork.gentoo.org
1 ssuominen 09/06/01 15:01:47
2
3 Modified: alsamixergui-0.9.0.1.2-r4.ebuild
4 Log:
5 Fix repoman warnings
6 (Portage version: 2.1.6.13/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.16 media-sound/alsamixergui/alsamixergui-0.9.0.1.2-r4.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsamixergui/alsamixergui-0.9.0.1.2-r4.ebuild?rev=1.16&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsamixergui/alsamixergui-0.9.0.1.2-r4.ebuild?rev=1.16&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsamixergui/alsamixergui-0.9.0.1.2-r4.ebuild?r1=1.15&r2=1.16
14
15 Index: alsamixergui-0.9.0.1.2-r4.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/media-sound/alsamixergui/alsamixergui-0.9.0.1.2-r4.ebuild,v
18 retrieving revision 1.15
19 retrieving revision 1.16
20 diff -u -r1.15 -r1.16
21 --- alsamixergui-0.9.0.1.2-r4.ebuild 15 Dec 2008 01:39:01 -0000 1.15
22 +++ alsamixergui-0.9.0.1.2-r4.ebuild 1 Jun 2009 15:01:47 -0000 1.16
23 @@ -1,45 +1,44 @@
24 -# Copyright 1999-2008 Gentoo Foundation
25 +# Copyright 1999-2009 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-sound/alsamixergui/alsamixergui-0.9.0.1.2-r4.ebuild,v 1.15 2008/12/15 01:39:01 yngwin Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-sound/alsamixergui/alsamixergui-0.9.0.1.2-r4.ebuild,v 1.16 2009/06/01 15:01:47 ssuominen Exp $
29
30 -EAPI="1"
31 -inherit eutils autotools
32 +EAPI=2
33 +inherit autotools eutils
34
35 NATIVE_VER=0.9.0rc1-2
36 -S=${WORKDIR}/${PN}-${NATIVE_VER}
37
38 DESCRIPTION="AlsaMixerGui - a FLTK based amixer Frontend"
39 HOMEPAGE="http://www.iua.upf.es/~mdeboer/projects/alsamixergui/"
40 SRC_URI="ftp://www.iua.upf.es/pub/mdeboer/projects/alsamixergui/${PN}-${NATIVE_VER}.tar.gz"
41
42 -SLOT="0"
43 LICENSE="GPL-2"
44 +SLOT="0"
45 KEYWORDS="amd64 ppc ppc64 sparc x86"
46 IUSE=""
47
48 -DEPEND=">=media-libs/alsa-lib-0.9.0_rc1
49 - >=media-sound/alsa-utils-0.9.0_rc1
50 +RDEPEND="media-libs/alsa-lib
51 + media-sound/alsa-utils
52 x11-libs/fltk:1.1"
53 +DEPEND="${RDEPEND}"
54 +
55 +S=${WORKDIR}/${PN}-${NATIVE_VER}
56
57 -src_unpack() {
58 - unpack ${A}
59 - cd "${S}"
60 - epatch "${FILESDIR}/${P}-gcc34.patch"
61 - epatch "${FILESDIR}/segfault-on-exit.patch"
62 - epatch "${FILESDIR}/${P}-fltk-1.1.patch"
63 +src_prepare() {
64 + epatch "${FILESDIR}"/${P}-gcc34.patch \
65 + "${FILESDIR}"/segfault-on-exit.patch \
66 + "${FILESDIR}"/${P}-fltk-1.1.patch
67 eautoreconf
68 }
69
70 -src_compile() {
71 +src_configure() {
72 export LDFLAGS="-L/usr/$(get_libdir)/fltk-1.1 ${LDFLAGS}"
73 export CPPFLAGS="-I/usr/include/fltk-1.1 ${CPPFLAGS}"
74
75 - econf || die "configure failed"
76 - emake || die "make failed"
77 + econf
78 }
79
80 src_install() {
81 - make DESTDIR="${D}" install || die
82 + emake DESTDIR="${D}" install || die "emake install failed"
83 dodoc README AUTHORS ChangeLog
84 newicon src/images/alsalogo.xpm ${PN}.xpm
85 make_desktop_entry alsamixergui "Alsa Mixer GUI" ${PN}