diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2022-02-13 09:42:08 +0100 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2022-02-13 09:42:53 +0100 |
commit | 48d3be28ea0f2b4c4b70545e2f3f0cb73e72d681 (patch) | |
tree | 9d5f80366f38320e4a6e55b52ac9f3bedfd5a73e /media-sound/din | |
parent | dev-java/jnacl: new package (diff) | |
download | gentoo-48d3be28ea0f2b4c4b70545e2f3f0cb73e72d681.tar.gz gentoo-48d3be28ea0f2b4c4b70545e2f3f0cb73e72d681.tar.bz2 gentoo-48d3be28ea0f2b4c4b70545e2f3f0cb73e72d681.zip |
media-sound/din: bump to 53
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-sound/din')
-rw-r--r-- | media-sound/din/Manifest | 1 | ||||
-rw-r--r-- | media-sound/din/din-53.ebuild | 57 |
2 files changed, 58 insertions, 0 deletions
diff --git a/media-sound/din/Manifest b/media-sound/din/Manifest index 8f02c0e2700d..ab97d8999b99 100644 --- a/media-sound/din/Manifest +++ b/media-sound/din/Manifest @@ -1 +1,2 @@ DIST din-52.tar.gz 3706694 BLAKE2B 054d3857bed1b4f4affbeffa0fc5c27ef356f200a60f9d6c5145327311accc5f0b1c8deaf425b745ea4cd2c1accee1195b2e840e9125d105edf67e09062b8574 SHA512 c2ec779746d07ad6579aeebadff45e218fd29715ac446f00840b513d3f9c8d1ef79f556a1f5c7d931adb3451b547f58fb58d6da699170755ae62f25d70b95158 +DIST din-53.tar.gz 3707794 BLAKE2B f1631c4b923a5f737181120c2a20dd4079e31b9fe02552a9895cab0f0913b2e4d8185404611795e9379178755168c1975c7520b0ae549708f4916a67631b922c SHA512 b359eb84085be80c13f5cf2a5af0c15903778fec677f91c9aa9029849df39d4bda95e537d7f85f290a8bb38932ef0da35c240921154788b5e89e347d7ac90a7e diff --git a/media-sound/din/din-53.ebuild b/media-sound/din/din-53.ebuild new file mode 100644 index 000000000000..1ff40dd5f7de --- /dev/null +++ b/media-sound/din/din-53.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools edos2unix xdg + +DESCRIPTION="a software musical instrument and audio synthesizer" +HOMEPAGE="https://dinisnoise.org/" +SRC_URI="https://archive.org/download/dinisnoise_source_code/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+alsa jack" + +RDEPEND=" + dev-lang/tcl:0= + media-libs/libsdl:= + virtual/glu + virtual/opengl + alsa? ( media-libs/alsa-lib ) + jack? ( virtual/jack ) +" +DEPEND=" + ${RDEPEND} + dev-libs/boost +" +BDEPEND=" + virtual/pkgconfig +" + +REQUIRED_USE="|| ( alsa jack )" + +PATCHES=( + "${FILESDIR}/${PN}-52-makefile.patch" + "${FILESDIR}/${PN}-48-fix-random-constants.patch" +) + +src_prepare() { + default + + edos2unix pixmaps/${PN}.desktop + + use jack && (sed -i "s/-lasound/-ljack/g" src/Makefile.am || die "Failed to fix jack linking") + + eautoreconf +} + +src_configure() { + # Jack takes over alsa. + local sound_engine + + use jack && sound_engine="UNIX_JACK" || sound_engine="LINUX_ALSA" + + econf CXXFLAGS="${CXXFLAGS} -D__${sound_engine}__" +} |