Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/jack-rack/
Date: Tue, 02 Jun 2020 16:33:36
Message-Id: 1591113369.3ba39070dac35294170878b9fb92789d719e87bc.asturm@gentoo
1 commit: 3ba39070dac35294170878b9fb92789d719e87bc
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jun 2 15:56:09 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 2 15:56:09 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ba39070
7
8 media-sound/jack-rack: Drop USE gnome
9
10 Closes: https://bugs.gentoo.org/644328
11 Package-Manager: Portage-2.3.100, Repoman-2.3.22
12 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
13
14 .../jack-rack/jack-rack-1.4.8_rc1-r1.ebuild | 65 ++++++++++++++++++++++
15 1 file changed, 65 insertions(+)
16
17 diff --git a/media-sound/jack-rack/jack-rack-1.4.8_rc1-r1.ebuild b/media-sound/jack-rack/jack-rack-1.4.8_rc1-r1.ebuild
18 new file mode 100644
19 index 00000000000..f92eced8b10
20 --- /dev/null
21 +++ b/media-sound/jack-rack/jack-rack-1.4.8_rc1-r1.ebuild
22 @@ -0,0 +1,65 @@
23 +# Copyright 1999-2020 Gentoo Authors
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +EAPI=7
27 +
28 +inherit autotools flag-o-matic toolchain-funcs
29 +
30 +MY_P=${PN}_${PV/_/\~}
31 +DEB_URI="mirror://debian/pool/main/j/${PN}"
32 +
33 +DESCRIPTION="JACK Rack is an effects rack for the JACK low latency audio API"
34 +HOMEPAGE="http://jack-rack.sourceforge.net/"
35 +SRC_URI="${DEB_URI}/${MY_P}.orig.tar.gz ${DEB_URI}/${MY_P}-1.debian.tar.gz"
36 +
37 +LICENSE="GPL-2"
38 +SLOT="0"
39 +KEYWORDS="amd64 ~ppc x86"
40 +IUSE="alsa lash +xml"
41 +
42 +RDEPEND="
43 + media-libs/ladspa-sdk
44 + virtual/jack
45 + virtual/libintl
46 + x11-libs/gtk+:2
47 + alsa? ( media-libs/alsa-lib:= )
48 + lash? ( media-sound/lash:= )
49 + xml? (
50 + dev-libs/libxml2:=
51 + media-libs/liblrdf:=
52 + )"
53 +DEPEND="${RDEPEND}"
54 +BDEPEND="
55 + sys-devel/gettext
56 + virtual/pkgconfig"
57 +
58 +S="${WORKDIR}/${PN}-f9fb65d"
59 +
60 +PATCHES=(
61 + "${WORKDIR}"/debian/patches/01-desktop_file.patch
62 + "${WORKDIR}"/debian/patches/02-gcc45_binutils_gold.patch
63 + "${WORKDIR}"/debian/patches/03-remove_midi_when_replacing_plugin.patch
64 + "${FILESDIR}"/${PN}-1.4.6-noalsa.patch
65 + "${FILESDIR}"/${PN}-1.4.7-disable_deprecated.patch
66 + "${FILESDIR}"/${P}-noxml.patch
67 + "${FILESDIR}"/${P}-underlinking.patch
68 + "${FILESDIR}"/${P}-QA-fix-desktop-file.patch
69 +)
70 +
71 +src_prepare() {
72 + default
73 + eautopoint
74 + eautoreconf
75 +}
76 +
77 +src_configure() {
78 + # Use lrdf.pc to get -I/usr/include/raptor2 (lrdf.h -> raptor.h)
79 + use xml && append-cppflags $($(tc-getPKG_CONFIG) --cflags lrdf)
80 +
81 + econf \
82 + $(use_enable alsa aseq) \
83 + --disable-gnome \
84 + $(use_enable lash) \
85 + $(use_enable xml) \
86 + $(use_enable xml lrdf)
87 +}