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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Fri Jun 5 18:12:19 2009 UTC (10 years, 4 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
old
(Portage version: 2.1.6.13/cvs/Linux x86_64)

1 # Copyright 1999-2008 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.3.ebuild,v 1.2 2008/07/27 01:08:05 carlo Exp $
4
5 EAPI=1
6
7 inherit eutils qt4
8
9 DESCRIPTION="A Qt application to control the JACK Audio Connection Kit and ALSA sequencer connections."
10 HOMEPAGE="http://qjackctl.sourceforge.net/"
11 SRC_URI="mirror://sourceforge/qjackctl/${P}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
16
17 IUSE="alsa debug"
18
19 DEPEND="alsa? ( media-libs/alsa-lib )
20 || ( (
21 x11-libs/qt-core:4
22 x11-libs/qt-gui:4
23 ) =x11-libs/qt-4.3*:4 )
24 media-sound/jack-audio-connection-kit"
25
26 pkg_setup() {
27 if use alsa && ! built_with_use --missing true media-libs/alsa-lib midi; then
28 eerror ""
29 eerror "To be able to build ${CATEGORY}/${PN} with ALSA support you"
30 eerror "need to have built media-libs/alsa-lib with midi USE flag."
31 die "Missing midi USE flag on media-libs/alsa-lib"
32 fi
33 }
34
35 src_compile() {
36 econf \
37 $(use_enable alsa alsa-seq) \
38 $(use_enable debug) \
39 || die "econf failed"
40
41 # Emulate what the Makefile does, so that we can get the correct
42 # compiler used.
43 eqmake4 ${PN}.pro -o ${PN}.mak || die "eqmake4 failed"
44
45 emake -f ${PN}.mak || die "emake failed"
46 }
47
48 src_install() {
49 emake DESTDIR="${D}" install || die "make install failed"
50
51 rm "${D}/usr/share/applications/qjackctl.desktop"
52
53 # Upstream desktop file is invalid, better stick with our for now.
54 make_desktop_entry "${PN}" "QjackCtl" "${PN}"
55
56 dodoc README ChangeLog TODO AUTHORS
57 }

  ViewVC Help
Powered by ViewVC 1.1.20