commit:     edf8377a9d3d0255cd5bbad16018278b08923498
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 10 08:49:40 2022 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Mon Jan 10 08:49:48 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edf8377a

media-sound/amsynth: bump to 1.12.4

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 media-sound/amsynth/Manifest              |  1 +
 media-sound/amsynth/amsynth-1.12.4.ebuild | 64 +++++++++++++++++++++++++++++++
 2 files changed, 65 insertions(+)

diff --git a/media-sound/amsynth/Manifest b/media-sound/amsynth/Manifest
index 0a84c283309a..e9a5c1e8dd42 100644
--- a/media-sound/amsynth/Manifest
+++ b/media-sound/amsynth/Manifest
@@ -1,2 +1,3 @@
 DIST amsynth-1.12.2.tar.gz 1607129 BLAKE2B 
8308a8a595dfe7b2c9924ff183134fdd5ad20ac2c957b1f52e474a8cb297cd73ee9f8b9938212deb21701e11ccbf776ea22cab763fb71940bf1df5c169e309db
 SHA512 
a1eef3d5a0d0f0ec1edb93d89b3e456ea133a8445a9be73ba338771ae651a2008aea8dd077a9bcf0cd50e6bcc97ad98ab4c44a9baefd9f3381287afdf3325e8f
 DIST amsynth-1.12.3.tar.gz 1624332 BLAKE2B 
a78317a08c4b02c14578f68fb0fbd7de9380f439c8bc737321c253df5effcd23219ff02d50520768ed5c698b4f284a87435640e965ee4f1cd6023ae770dfd10a
 SHA512 
ac4f32b2a35ebe15c0c63ded213c2ab73bb3a105ce9c857811f095807a1c032dfd518eea5709ea58594c54324bca194236d5fe4606fac274772c9012be2b1110
+DIST amsynth-1.12.4.tar.gz 1624416 BLAKE2B 
1dcd2454d94200b76097d4215ed419123a3b8427064c8f674a1e7cb27620fb5b2977470ea7feb8114c429ed904511ec73c73461b7f38e1388e4cfeabc4e68ec3
 SHA512 
502fdd1d6c4e54a57482d266977d78008efa26717c173be0bf98e907a111366fd80b65d667b9448e751085901dc5f2a61ac0bf5b1d02e35c695ecd99c9d1df00

diff --git a/media-sound/amsynth/amsynth-1.12.4.ebuild 
b/media-sound/amsynth/amsynth-1.12.4.ebuild
new file mode 100644
index 000000000000..e42fb11b9d12
--- /dev/null
+++ b/media-sound/amsynth/amsynth-1.12.4.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit xdg
+
+DESCRIPTION="Virtual analogue synthesizer"
+HOMEPAGE="https://github.com/amsynth/amsynth";
+SRC_URI="https://github.com/${PN}/${PN}/releases/download/release-${PV}/${P}.tar.gz";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="alsa dssi gtk jack lash lv2 nsm oss vst"
+
+REQUIRED_USE="dssi? ( gtk ) lv2? ( gtk )"
+
+BDEPEND="
+       dev-util/intltool
+       virtual/pkgconfig
+"
+RDEPEND="
+       alsa? (
+               media-libs/alsa-lib:=
+               media-sound/alsa-utils
+       )
+       dssi? (
+               media-libs/dssi:=
+               media-libs/liblo:=
+       )
+       gtk? (
+               x11-libs/gtk+:2
+               x11-libs/libX11
+       )
+       jack? ( virtual/jack )
+       lash? ( media-sound/lash )
+       lv2? ( media-libs/lv2 )
+"
+DEPEND="${RDEPEND}
+       oss? ( virtual/os-headers )
+"
+
+PATCHES=(
+       "${FILESDIR}/${PN}-1.12.2-metadata.patch"
+)
+
+src_prepare() {
+       default
+       ! use gtk && eapply "${FILESDIR}/${PN}-1.12.2-x11.patch"
+}
+
+src_configure() {
+       econf \
+               $(use_with alsa) \
+               $(use_with dssi) \
+               $(use_with gtk gui) \
+               $(use_with jack) \
+               $(use_with lash) \
+               $(use_with lv2) \
+               $(use_with nsm) \
+               $(use_with oss) \
+               $(use_with vst)
+}

Reply via email to