summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/din/Manifest1
-rw-r--r--media-sound/din/din-47.1.ebuild57
-rw-r--r--media-sound/din/files/din-43.0.1-fix-random-constants.patch15
-rw-r--r--media-sound/din/files/din-47.1-makefile.patch12
4 files changed, 0 insertions, 85 deletions
diff --git a/media-sound/din/Manifest b/media-sound/din/Manifest
index b67fa2f8d7eb..4d6a905d5877 100644
--- a/media-sound/din/Manifest
+++ b/media-sound/din/Manifest
@@ -1,2 +1 @@
-DIST din-47.1.tar.gz 3667502 BLAKE2B 21621e4e0909d9da534901811ae28ac5adf226387e2ea47476576fd1d4c45925c460babff04489a54e5e51d1f9ea916389168315108d80965df7b89868150786 SHA512 883008fa54751cd626ee60a5c5a4785a82680c229adefc2c8a86bfa28bf6be6549500c1bfe4661028ae8a2015383a2d9e6fe1d8992476d49576a999eea26ba17
DIST din-48.tar.gz 3673917 BLAKE2B 90e29efcc159936e7dca5b1deba07d6ddf23fc6878053283c1723eaf73c9b06903d274e471c3043d57fb2cb923eb9516a06362590a6b555884dc1b7cb7b6e9c1 SHA512 3d54c3db23fe909a3664412f1bbba3898b83184d19c4b04f4432cd0bff0dede01d017cebe36980a3f8158ffbb663e09dd83a0de7206247b47fcc1a9f3b4cc940
diff --git a/media-sound/din/din-47.1.ebuild b/media-sound/din/din-47.1.ebuild
deleted file mode 100644
index a67d55f2e191..000000000000
--- a/media-sound/din/din-47.1.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# 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="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}/${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-43.0.1-fix-random-constants.patch b/media-sound/din/files/din-43.0.1-fix-random-constants.patch
deleted file mode 100644
index 29f75d35f496..000000000000
--- a/media-sound/din/files/din-43.0.1-fix-random-constants.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-diff --git a/include/random.h b/include/random.h
-index 99d79fb..91ed250 100644
---- a/include/random.h
-+++ b/include/random.h
-@@ -16,8 +16,8 @@
- const int N = 624;
- const int M = 397;
- const unsigned int MATRIX_A = 0x9908b0df; /* constant vector a */
--const int UPPER_MASK = 0x80000000; /* most significant w-r bits */
--const int LOWER_MASK = 0x7fffffff; /* least significant r bits */
-+const unsigned int UPPER_MASK = 0x80000000; /* most significant w-r bits */
-+const unsigned int LOWER_MASK = 0x7fffffff; /* least significant r bits */
-
- static unsigned int mt[N]; /* the array for the state vector */
- static int mti=N+1; /* mti==N+1 means mt[N] is not initialized */
diff --git a/media-sound/din/files/din-47.1-makefile.patch b/media-sound/din/files/din-47.1-makefile.patch
deleted file mode 100644
index 62e7229f0f50..000000000000
--- a/media-sound/din/files/din-47.1-makefile.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff --git a/src/Makefile.am b/src/Makefile.am
-index b24e856..a624610 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