diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2020-02-12 00:43:59 +0100 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2020-02-12 00:44:11 +0100 |
commit | fcf42a15dafa227b0e6e20a8f4135111770435b2 (patch) | |
tree | 84f93f9855d317216e1e73a1fa846aa694f26aa1 /media-sound/din | |
parent | net-wireless/hostapd: enable new auth methods (diff) | |
download | gentoo-fcf42a15dafa227b0e6e20a8f4135111770435b2.tar.gz gentoo-fcf42a15dafa227b0e6e20a8f4135111770435b2.tar.bz2 gentoo-fcf42a15dafa227b0e6e20a8f4135111770435b2.zip |
media-sound/din: bump to 44.0.2
Package-Manager: Portage-2.3.88, Repoman-2.3.20
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-44.0.2.ebuild | 57 | ||||
-rw-r--r-- | media-sound/din/files/din-44.0.2-makefile.patch | 12 |
3 files changed, 70 insertions, 0 deletions
diff --git a/media-sound/din/Manifest b/media-sound/din/Manifest index 5ece22527cde..946941fad632 100644 --- a/media-sound/din/Manifest +++ b/media-sound/din/Manifest @@ -1 +1,2 @@ DIST din-43.0.1.tar.gz 3644254 BLAKE2B 6b441ce93b3bd68e3bad5d7a6fea1914f250a5e35410f12c64da7ab1f530aa74b4a8f624a7b6ec70e26b62f5b3f8ada674ad7286b89e2569bbec9f3f29cccac6 SHA512 14df7f52a80801f062ed1a81c5625d8730e7bcc21cfa5256ecce9b478494828a3d0877c37434f30883aa519f767a70ba1cee4d203ec57c5bc72de1c47d2d848d +DIST din-44.0.2.tar.gz 3652445 BLAKE2B 2b8dab2c4f4c22442bf446c7f43fdcff911c6b245950a9b06c9c0eaffa7138dd276900e58cef4cd21fabf9488bc5e56080f60c38af33eb9d4a6486019ff4b76c SHA512 a90c6d4d2e1817f8a740ad849f27f2b2f2c2e879107f6edf5bb49ecbb8168eb3c742db9984b9df43df7c49dd6273a947271e80fb2ac6d8300125e6cb35720de8 diff --git a/media-sound/din/din-44.0.2.ebuild b/media-sound/din/din-44.0.2.ebuild new file mode 100644 index 000000000000..db092ac76e73 --- /dev/null +++ b/media-sound/din/din-44.0.2.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools eutils xdg + +DESCRIPTION="a software musical instrument and audio synthesizer" +HOMEPAGE="http://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}/${P}-makefile.patch" + "${FILESDIR}/${PN}-43.0.1-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}__" +} diff --git a/media-sound/din/files/din-44.0.2-makefile.patch b/media-sound/din/files/din-44.0.2-makefile.patch new file mode 100644 index 000000000000..c8f60c2210ec --- /dev/null +++ b/media-sound/din/files/din-44.0.2-makefile.patch @@ -0,0 +1,12 @@ +diff --git a/src/Makefile.am b/src/Makefile.am +index 0e614a4..f9699d0 100644 +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -1,5 +1,5 @@ +-AM_CXXFLAGS = -I ../include -I /usr/include/tcl8.6 -Wall -D_THREAD_SAFE -DHAVE_OPENGL -D__LICENSED__ -D __SVG__ -D__GPL20__ -D __BOOST_TIME__ -DPREFIX=\"@prefix@\" +-LIBS += -ltcl8.6 -lSDL -lGL -lpthread -lasound ++AM_CXXFLAGS = -I ../include -Wall -D_THREAD_SAFE -DHAVE_OPENGL -D__LICENSED__ -D __SVG__ -D__GPL20__ -D __BOOST_TIME__ -DPREFIX=\"@prefix@\" ++LIBS += -ltcl -lSDL -lGL -lpthread -lasound + + AM_CFLAGS = -I ../include + bin_PROGRAMS = din |