/[gentoo-x86]/media-sound/qjackctl/qjackctl-0.2.22.ebuild
Gentoo

Contents of /media-sound/qjackctl/qjackctl-0.2.22.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Jul 3 11:55:54 2007 UTC (12 years, 3 months ago) by flameeyes
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Version bump (thanks to upstream who addressed some of the issues found on previous ebuild); also remove old versions, .23 is the target stable for next month.
(Portage version: 2.1.3_rc6)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-sound/qjackctl/qjackctl-0.2.22.ebuild,v 1.1 2007/06/29 12:22:55 flameeyes Exp $
4
5 inherit eutils qt3
6
7 DESCRIPTION="A Qt application to control the JACK Audio Connection Kit and ALSA sequencer connections."
8 HOMEPAGE="http://qjackctl.sourceforge.net/"
9 SRC_URI="mirror://sourceforge/qjackctl/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
14
15 IUSE="alsa debug"
16
17 DEPEND="alsa? ( media-libs/alsa-lib )
18 $(qt_min_version 3.1.1)
19 media-sound/jack-audio-connection-kit"
20
21 pkg_setup() {
22 if use alsa && ! built_with_use --missing true media-libs/alsa-lib midi; then
23 eerror ""
24 eerror "To be able to build ${CATEGORY}/${PN} with ALSA support you"
25 eerror "need to have built media-libs/alsa-lib with midi USE flag."
26 die "Missing midi USE flag on media-libs/alsa-lib"
27 fi
28 }
29
30 src_compile() {
31 local myconf
32
33 # Upstream's configure.ac is broken, assumes that passing any
34 # --(dis|en)able-(feature) means the non-default option.
35
36 use alsa || myconf="${myconf} --disable-alsa-seq"
37 use debug && myconf="${myconf} --enable-debug"
38
39 econf ${myconf} || die "econf failed"
40 emake || die "emake failed"
41 }
42
43 src_install() {
44 emake -j1 DESTDIR="${D}" install || die "make install failed"
45
46 # The icon is installed in the wrong place, move it into a more
47 # proper path.
48 dodir /usr/share/icons/hicolor/32x32/apps
49 mv "${D}/usr/share/icons/${PN}.png" "${D}/usr/share/icons/hicolor/32x32/apps/"
50
51 make_desktop_entry "${PN}" "QjackCtl" "${PN}"
52
53 dodoc README ChangeLog TODO AUTHORS
54 }

  ViewVC Help
Powered by ViewVC 1.1.20