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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Mon Jan 24 12:05:54 2011 UTC (8 years, 8 months ago) by aballier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
remove old

(Portage version: 2.2.0_alpha19/cvs/Linux x86_64)

1 # Copyright 1999-2009 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.4.ebuild,v 1.6 2009/10/06 17:10:49 ayoy 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 RDEPEND="alsa? ( media-libs/alsa-lib )
20 x11-libs/qt-core:4
21 x11-libs/qt-gui:4
22 >=media-sound/jack-audio-connection-kit-0.109.2"
23 DEPEND="${RDEPEND}"
24
25 src_prepare() {
26 epatch "${FILESDIR}/${P}-noalsagcc4.3.patch"
27 }
28
29 src_configure() {
30 econf \
31 $(use_enable alsa alsa-seq) \
32 $(use_enable debug) \
33 || die "econf failed"
34
35 # Emulate what the Makefile does, so that we can get the correct
36 # compiler used.
37 eqmake4 ${PN}.pro -o ${PN}.mak || die "eqmake4 failed"
38 }
39
40 src_compile() {
41 emake -f ${PN}.mak || die "emake failed"
42 }
43
44 src_install() {
45 emake DESTDIR="${D}" install || die "make install failed"
46
47 rm "${D}/usr/share/applications/qjackctl.desktop"
48
49 # Upstream desktop file is invalid, better stick with our for now.
50 make_desktop_entry "${PN}" "QjackCtl" "${PN}"
51
52 dodoc README ChangeLog TODO AUTHORS
53 }

  ViewVC Help
Powered by ViewVC 1.1.20