commit:     47cb3952f93fa9d644649389d876bf6622389a91
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Sat Feb  4 08:16:31 2023 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sat Feb  4 09:23:06 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47cb3952

media-sound/amsynth: bump to 1.13.2

Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

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

diff --git a/media-sound/amsynth/Manifest b/media-sound/amsynth/Manifest
index 9533d0cea3f7..0750cad5a2d8 100644
--- a/media-sound/amsynth/Manifest
+++ b/media-sound/amsynth/Manifest
@@ -1,2 +1,3 @@
 DIST amsynth-1.13.0.tar.gz 1626209 BLAKE2B 
29b79f18ca0ddbba77aaf1bde738f235698f0debe2ddea3b9f2bce2eeaaa399ba125f72b97c83157b87bb28bdb4a259ae2e535c87def16a9e1af3d3093bf0270
 SHA512 
29698be7d690c76a46a0c8306d6c3b94630b25ed9a3524d7e27d22e244f5c144b74b8473f09eecdb1368443f503ba7024d1c71ead6794f11a2d1cb2114c84bd5
 DIST amsynth-1.13.1.tar.gz 846485 BLAKE2B 
32dc7f50a2f5fd7c937c22728fc028f0892f1b76fe613a5fd5025c9c2afe73118e2f661d77668ca3faab691f95ad6c997b7b14b9600f2ca12470c022e4f03860
 SHA512 
2420edd1c0926c45e86bedc4200b4e39a919e34afc202f0b8c60b172c4f9da5c073305dde006b9e6915ad054c0cfcf259952fa2b8f035378cc04af7fd1bf5c73
+DIST amsynth-1.13.2.tar.gz 1621330 BLAKE2B 
04f0b81e0a63f4f0bbd6b1dbc92c9ae638a46ad5e5b0bbaaf99cd7cf53761e3a599e6c15f303ea509e53e5aaf8d9040e17e783c8111abdf4fa4837dcd50092d1
 SHA512 
b93949d3be3c484a27534bd515b12a460aa07d353635b09ecee0e731bf27025b4bf4684e2968cf3a7887c765e1ad80a912fd86582c6f028738fa60df82a40f86

diff --git a/media-sound/amsynth/amsynth-1.13.2.ebuild 
b/media-sound/amsynth/amsynth-1.13.2.ebuild
new file mode 100644
index 000000000000..267958376a56
--- /dev/null
+++ b/media-sound/amsynth/amsynth-1.13.2.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2023 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 ) vst? ( 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