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

Contents of /media-sound/qjackctl/qjackctl-0.3.1a.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Sat Jun 7 14:55:12 2008 UTC (11 years, 4 months ago) by aballier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
remove old
(Portage version: 2.1.5.4)

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.3.1a.ebuild,v 1.5 2007/11/19 06:17:57 drac Exp $
4
5 inherit eutils qt4
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 $(qt4_min_version 4.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 econf \
32 $(use_enable alsa alsa-seq) \
33 $(use_enable debug) \
34 || die "econf failed"
35 emake || die "emake failed"
36 }
37
38 src_install() {
39 emake -j1 DESTDIR="${D}" install || die "make install failed"
40
41 rm "${D}/usr/share/applications/qjackctl.desktop"
42
43 # Upstream desktop file is invalid, better stick with our for now.
44 make_desktop_entry "${PN}" "QjackCtl" "${PN}"
45
46 dodoc README ChangeLog TODO AUTHORS
47 }

  ViewVC Help
Powered by ViewVC 1.1.20