diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2023-07-24 09:49:59 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2023-07-24 09:50:05 +0200 |
commit | 9194161b6f83db9551aa4b260877ac8b6466398d (patch) | |
tree | 1a792ec73300fb3897227885764355a8b8e8da36 /media-sound/din | |
parent | dev-util/clippy: Update QA_CONFIG_IMPL_DECL_SKIP (diff) | |
download | gentoo-9194161b6f83db9551aa4b260877ac8b6466398d.tar.gz gentoo-9194161b6f83db9551aa4b260877ac8b6466398d.tar.bz2 gentoo-9194161b6f83db9551aa4b260877ac8b6466398d.zip |
media-sound/din: bump to 57
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-57.ebuild | 57 |
2 files changed, 58 insertions, 0 deletions
diff --git a/media-sound/din/Manifest b/media-sound/din/Manifest index 92134ff97541..23fbf2b965d8 100644 --- a/media-sound/din/Manifest +++ b/media-sound/din/Manifest @@ -1 +1,2 @@ DIST din-56.tar.gz 3716779 BLAKE2B 3fc2af445ef5cfa7a3ec56f841e62baf1832573a0ef085855f2f875961e8be24d43881c3394a39dbc5c3524a1d1c0033ac57ffa0b5487cadc1a189f9f49108b4 SHA512 2e3e985abec9f0f097d51fb4cff5e991c5f80091586c0a4c47533c623dc9c13bae6b7f8a3d18bed1fc150e6527482b4ae03a9d1d9c444ae92b88204892ce7e04 +DIST din-57.tar.gz 3693381 BLAKE2B b9e56c067830f3e164ac6e3e2d7a189569d5abf25ca3281491ad3ed29155a6e85fef5d7d4336d918104df3a8156f60c61294856665e775a8ef3c593bd17f08b7 SHA512 03dfa45fb8c58f3f8dc739ec3c4c31029c544d9f0b1cf3dbae61643e5accd951ad65ebf19c078bfb1d30d3a8ccea7ffec2f1cb44f38bab1b07cfd2071361590c diff --git a/media-sound/din/din-57.ebuild b/media-sound/din/din-57.ebuild new file mode 100644 index 000000000000..651e84aab2be --- /dev/null +++ b/media-sound/din/din-57.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2023 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}-55-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}__" +} |