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/amsynth/
Date: Mon, 03 Jan 2022 08:24:21
Message-Id: 1641198238.200891884c96538c5c9ebb361c715739a346e2d4.fordfrog@gentoo
1 commit: 200891884c96538c5c9ebb361c715739a346e2d4
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 3 08:23:58 2022 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 3 08:23:58 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20089188
7
8 media-sound/amsynth: bump to 1.12.3
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
12
13 media-sound/amsynth/Manifest | 1 +
14 media-sound/amsynth/amsynth-1.12.3.ebuild | 64 +++++++++++++++++++++++++++++++
15 2 files changed, 65 insertions(+)
16
17 diff --git a/media-sound/amsynth/Manifest b/media-sound/amsynth/Manifest
18 index ee25e88819f9..0a84c283309a 100644
19 --- a/media-sound/amsynth/Manifest
20 +++ b/media-sound/amsynth/Manifest
21 @@ -1 +1,2 @@
22 DIST amsynth-1.12.2.tar.gz 1607129 BLAKE2B 8308a8a595dfe7b2c9924ff183134fdd5ad20ac2c957b1f52e474a8cb297cd73ee9f8b9938212deb21701e11ccbf776ea22cab763fb71940bf1df5c169e309db SHA512 a1eef3d5a0d0f0ec1edb93d89b3e456ea133a8445a9be73ba338771ae651a2008aea8dd077a9bcf0cd50e6bcc97ad98ab4c44a9baefd9f3381287afdf3325e8f
23 +DIST amsynth-1.12.3.tar.gz 1624332 BLAKE2B a78317a08c4b02c14578f68fb0fbd7de9380f439c8bc737321c253df5effcd23219ff02d50520768ed5c698b4f284a87435640e965ee4f1cd6023ae770dfd10a SHA512 ac4f32b2a35ebe15c0c63ded213c2ab73bb3a105ce9c857811f095807a1c032dfd518eea5709ea58594c54324bca194236d5fe4606fac274772c9012be2b1110
24
25 diff --git a/media-sound/amsynth/amsynth-1.12.3.ebuild b/media-sound/amsynth/amsynth-1.12.3.ebuild
26 new file mode 100644
27 index 000000000000..e42fb11b9d12
28 --- /dev/null
29 +++ b/media-sound/amsynth/amsynth-1.12.3.ebuild
30 @@ -0,0 +1,64 @@
31 +# Copyright 1999-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +inherit xdg
37 +
38 +DESCRIPTION="Virtual analogue synthesizer"
39 +HOMEPAGE="https://github.com/amsynth/amsynth"
40 +SRC_URI="https://github.com/${PN}/${PN}/releases/download/release-${PV}/${P}.tar.gz"
41 +
42 +LICENSE="GPL-2"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~ppc ~x86"
45 +IUSE="alsa dssi gtk jack lash lv2 nsm oss vst"
46 +
47 +REQUIRED_USE="dssi? ( gtk ) lv2? ( gtk )"
48 +
49 +BDEPEND="
50 + dev-util/intltool
51 + virtual/pkgconfig
52 +"
53 +RDEPEND="
54 + alsa? (
55 + media-libs/alsa-lib:=
56 + media-sound/alsa-utils
57 + )
58 + dssi? (
59 + media-libs/dssi:=
60 + media-libs/liblo:=
61 + )
62 + gtk? (
63 + x11-libs/gtk+:2
64 + x11-libs/libX11
65 + )
66 + jack? ( virtual/jack )
67 + lash? ( media-sound/lash )
68 + lv2? ( media-libs/lv2 )
69 +"
70 +DEPEND="${RDEPEND}
71 + oss? ( virtual/os-headers )
72 +"
73 +
74 +PATCHES=(
75 + "${FILESDIR}/${PN}-1.12.2-metadata.patch"
76 +)
77 +
78 +src_prepare() {
79 + default
80 + ! use gtk && eapply "${FILESDIR}/${PN}-1.12.2-x11.patch"
81 +}
82 +
83 +src_configure() {
84 + econf \
85 + $(use_with alsa) \
86 + $(use_with dssi) \
87 + $(use_with gtk gui) \
88 + $(use_with jack) \
89 + $(use_with lash) \
90 + $(use_with lv2) \
91 + $(use_with nsm) \
92 + $(use_with oss) \
93 + $(use_with vst)
94 +}