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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (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.1: +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-r1.ebuild,v 1.1 2008/10/10 12:28:39 flameeyes Exp $
4
5 EAPI=2
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[midi] )
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 src_configure() {
27 econf \
28 $(use_enable alsa alsa-seq) \
29 $(use_enable debug) \
30 || die "econf failed"
31
32 # Emulate what the Makefile does, so that we can get the correct
33 # compiler used.
34 eqmake4 ${PN}.pro -o ${PN}.mak || die "eqmake4 failed"
35 }
36
37 src_compile() {
38 emake -f ${PN}.mak || die "emake failed"
39 }
40
41 src_install() {
42 emake DESTDIR="${D}" install || die "make install failed"
43
44 rm "${D}/usr/share/applications/qjackctl.desktop"
45
46 # Upstream desktop file is invalid, better stick with our for now.
47 make_desktop_entry "${PN}" "QjackCtl" "${PN}"
48
49 dodoc README ChangeLog TODO AUTHORS
50 }

  ViewVC Help
Powered by ViewVC 1.1.20