/[gentoo-x86]/media-sound/jack-rack/jack-rack-1.4.8_rc1.ebuild
Gentoo

Contents of /media-sound/jack-rack/jack-rack-1.4.8_rc1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Fri Nov 30 11:59:44 2012 UTC (20 months, 3 weeks ago) by aballier
Branch: MAIN
Changes since 1.2: +4 -3 lines
Fix build with USE=-xml and enable xml by default since this is what controls saving and loading sessions. Bug #378041

(Portage version: 2.2.0_alpha143/cvs/Linux x86_64, signed Manifest commit with key 160F534A)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-sound/jack-rack/jack-rack-1.4.8_rc1.ebuild,v 1.2 2012/05/05 08:30:51 mgorny Exp $
4
5 EAPI=4
6 inherit autotools eutils flag-o-matic toolchain-funcs
7
8 MY_P=${PN}_${PV/_/\~}
9 DEB_URI="mirror://debian/pool/main/j/${PN}"
10
11 DESCRIPTION="JACK Rack is an effects rack for the JACK low latency audio API."
12 HOMEPAGE="http://jack-rack.sourceforge.net/"
13 SRC_URI="${DEB_URI}/${MY_P}.orig.tar.gz ${DEB_URI}/${MY_P}-1.debian.tar.gz"
14
15 LICENSE="GPL-2"
16 SLOT="0"
17 KEYWORDS="~amd64 ~ppc ~x86"
18 IUSE="alsa gnome lash +xml"
19
20 RDEPEND=">=x11-libs/gtk+-2.12:2
21 >=media-libs/ladspa-sdk-1.12
22 media-sound/jack-audio-connection-kit
23 alsa? ( media-libs/alsa-lib )
24 lash? ( >=media-sound/lash-0.5 )
25 gnome? ( >=gnome-base/libgnomeui-2 )
26 virtual/libintl
27 xml? ( dev-libs/libxml2
28 media-libs/liblrdf )"
29 DEPEND="${RDEPEND}
30 virtual/pkgconfig
31 sys-devel/gettext"
32
33 DOCS=( AUTHORS BUGS ChangeLog NEWS README THANKS TODO WISHLIST )
34
35 src_unpack() {
36 unpack ${A}
37 mv ${PN}-* "${S}"
38 }
39
40 src_prepare() {
41 EPATCH_FORCE=yes EPATCH_SUFFIX=patch epatch "${WORKDIR}"/debian/patches
42
43 epatch \
44 "${FILESDIR}"/${PN}-1.4.6-noalsa.patch \
45 "${FILESDIR}"/${PN}-1.4.7-disable_deprecated.patch \
46 "${FILESDIR}"/${P}-noxml.patch
47
48 sed -i \
49 -e '/Categories/s:Application:GTK:' \
50 -e '/Icon/s:.png::' \
51 ${PN}.desktop || die
52
53 eautopoint
54 eautoreconf
55 }
56
57 src_configure() {
58 # Use lrdf.pc to get -I/usr/include/raptor2 (lrdf.h -> raptor.h)
59 use xml && append-cppflags $($(tc-getPKG_CONFIG) --cflags lrdf)
60
61 econf \
62 $(use_enable alsa aseq) \
63 $(use_enable gnome) \
64 $(use_enable lash) \
65 $(use_enable xml) \
66 $(use_enable xml lrdf)
67 }

  ViewVC Help
Powered by ViewVC 1.1.20