Gentoo Archives: gentoo-commits

From: "Miroslav Šulc" <fordfrog@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/guitarix/
Date: Wed, 30 Dec 2020 06:49:21
Message-Id: 1609309681.955f39d25ea93a822279a1c682a3fa3fe01acb29.fordfrog@gentoo
1 commit: 955f39d25ea93a822279a1c682a3fa3fe01acb29
2 Author: Alexander Tsoy <alexander <AT> tsoy <DOT> me>
3 AuthorDate: Tue Dec 29 22:49:26 2020 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 30 06:28:01 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=955f39d2
7
8 media-sound/guitarix: Version bump to 0.42.1
9
10 * EAPI 7 bump
11 * reorganize dependencies
12 * support python3.9
13
14 Signed-off-by: Alexander Tsoy <alexander <AT> tsoy.me>
15 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
16
17 media-sound/guitarix/Manifest | 1 +
18 media-sound/guitarix/guitarix-0.42.1.ebuild | 90 +++++++++++++++++++++++++++++
19 2 files changed, 91 insertions(+)
20
21 diff --git a/media-sound/guitarix/Manifest b/media-sound/guitarix/Manifest
22 index 5b7603f1c81..734320f450c 100644
23 --- a/media-sound/guitarix/Manifest
24 +++ b/media-sound/guitarix/Manifest
25 @@ -1 +1,2 @@
26 DIST guitarix2-0.41.0.tar.xz 70865716 BLAKE2B d3caa51f297153c16df624ababaffc1405ddb10f04ae01672720bb2229d4be3426b33f75021b1862f996fb09466eaad008f748b42cb8382f08d14e23758cfc9b SHA512 27fe6f2b87c8913feafae1c17472150d37df46ed3437b033cd22f509edf67420fb8f4024e404d5bec901a687dbe948acda702bf37cb0c738feb5b3b8e5ebb8aa
27 +DIST guitarix2-0.42.1.tar.xz 71825372 BLAKE2B 06b2a19d68e77c622eea222e3f0658d9f89c6c8377e9b0442d581e14342f82f97948ca0ebb7ff40f4abd6cab0c9ba582fa6f43f74cad5e112d2e762445f2ab43 SHA512 66a71b4d66e0cbcff7feeceae6317c016e497626c9fde3ca44e1f06e42d9021b2857151660c1c49832cc8e6f2aa27de68dfea67d4e896c7e89f84865f8ba1eb0
28
29 diff --git a/media-sound/guitarix/guitarix-0.42.1.ebuild b/media-sound/guitarix/guitarix-0.42.1.ebuild
30 new file mode 100644
31 index 00000000000..2c8d5e6f5a0
32 --- /dev/null
33 +++ b/media-sound/guitarix/guitarix-0.42.1.ebuild
34 @@ -0,0 +1,90 @@
35 +# Copyright 2019-2020 Gentoo Authors
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI=7
39 +
40 +PYTHON_COMPAT=( python3_{6,7,8,9} )
41 +PYTHON_REQ_USE='threads(+)'
42 +
43 +inherit python-any-r1 waf-utils xdg
44 +
45 +MY_P="${PN}2-${PV}"
46 +
47 +DESCRIPTION="Virtual guitar amplifier for Linux"
48 +HOMEPAGE="https://guitarix.org/"
49 +SRC_URI="mirror://sourceforge/guitarix/guitarix/${MY_P}.tar.xz"
50 +
51 +LICENSE="GPL-2"
52 +SLOT="0"
53 +KEYWORDS="~amd64"
54 +IUSE="bluetooth debug lv2 nls nsm +standalone zeroconf"
55 +REQUIRED_USE="|| ( lv2 standalone )"
56 +
57 +DEPEND="
58 + dev-cpp/eigen:3
59 + dev-cpp/glibmm:2
60 + dev-cpp/gtkmm:3.0
61 + dev-libs/glib:2
62 + >=media-libs/libsndfile-1.0.17
63 + >=media-libs/zita-convolver-3:=
64 + media-libs/zita-resampler
65 + >=net-misc/curl-7.26.0
66 + >=sci-libs/fftw-3.3.8:3.0=
67 + x11-libs/gtk+:3
68 + lv2? ( media-libs/lv2 )
69 + standalone? (
70 + dev-libs/boost:=
71 + media-libs/liblrdf
72 + media-libs/lilv
73 + virtual/jack
74 + bluetooth? ( net-wireless/bluez )
75 + nsm? ( media-libs/liblo )
76 + zeroconf? ( net-dns/avahi )
77 + )
78 +"
79 +# roboto fonts are required for correct ui rendering
80 +RDEPEND="
81 + ${DEPEND}
82 + standalone? (
83 + media-fonts/roboto
84 + )
85 +"
86 +BDEPEND="
87 + ${PYTHON_DEPS}
88 + virtual/pkgconfig
89 + standalone? (
90 + dev-lang/sassc
91 + nls? (
92 + dev-util/intltool
93 + sys-devel/gettext
94 + )
95 + )
96 +"
97 +
98 +DOCS=( changelog README )
99 +
100 +PATCHES=(
101 + "${FILESDIR}"/${PN}-0.41.0-nostrip.patch
102 +)
103 +
104 +src_configure() {
105 + local myconf=(
106 + --cxxflags-debug=""
107 + --cxxflags-release="-DNDEBUG"
108 + --ldflags="${LDFLAGS}"
109 + --enable-lfs
110 + --lib-dev
111 + --no-desktop-update
112 + --no-faust
113 + --no-ldconfig
114 + --shared-lib
115 + $(use_enable nls)
116 + $(usex bluetooth "" "--no-bluez")
117 + $(usex debug "--debug" "")
118 + $(usex lv2 "--lv2dir=${EPREFIX}/usr/$(get_libdir)/lv2" "--no-lv2 --no-lv2-gui")
119 + $(usex nsm "" "--no-nsm")
120 + $(usex standalone "" "--no-standalone")
121 + $(usex zeroconf "" "--no-avahi")
122 + )
123 + waf-utils_src_configure "${myconf[@]}"
124 +}