mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
media-sound/din: removed obsolete 50.2
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST din-50.2.tar.gz 3687036 BLAKE2B b51923d755c5b4635d79c77f204bf42da9926fc247dde9d3ad175bc858a674a3064589608bfd67331ef40a417fdbbee4e90ae6a9bc2930355213738225fcd7e4 SHA512 4d60f26434559259b778181f2b46e2689af94179fc254b61e1ea623cafa49030736b69effd82fb2f62b8e908883cf272147dde884487c9a7beed9c26cf0a7498
|
||||
DIST din-51.1.1.tar.gz 3700797 BLAKE2B 559a4476188ac6d9da596be011bdaa8b379bb336220b3f94edf04e3eeb9ca0100fbaaa0fc10f9a9f37d3efa436acddac5c06435c6b3ebb4d21afdbd7c65b2dc8 SHA512 ea5e1ab79cbc24abb80a9fd25d8304f36ab2345505ee98132196685cda73b31dd7db3f62cb1821cbdc9694703d3454bd58d733833710d492ecebffee23732a0f
|
||||
|
||||
@@ -1,58 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
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}-49.1-makefile.patch"
|
||||
"${FILESDIR}/${PN}-48-fix-random-constants.patch"
|
||||
"${FILESDIR}/${PN}-50.2-gcc11-rename-identifier.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}__"
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
diff --git a/src/Makefile.am b/src/Makefile.am
|
||||
index c7cc5ce..2b07a9b 100644
|
||||
--- a/src/Makefile.am
|
||||
+++ b/src/Makefile.am
|
||||
@@ -1,7 +1,7 @@
|
||||
#dinincludedir = $(pkgsrcdir)
|
||||
|
||||
-AM_CXXFLAGS = -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 = -Wall -D_THREAD_SAFE -DHAVE_OPENGL -D__LICENSED__ -D __SVG__ -D__GPL20__ -D __BOOST_TIME__ -DPREFIX=\"@prefix@\"
|
||||
+LIBS += -ltcl -lSDL -lGL -lpthread -lasound
|
||||
|
||||
bin_PROGRAMS = din
|
||||
din_SOURCES = alarm.cc arrow_button.cc audio.cc authors_note.cc ball.cc ball_ops.cc basic_editor.cc beat2value.cc binaural_drone.cc binaural_drones.cc bit_display.cc box_selector.cc button.cc capturer.cc checkbutton.cc chrono.cc circler.cc command.cc compressor.cc console.cc console_iterator.cc countries.cc cross_button.cc curve.cc curve_display.cc curve_editor.cc curve_library.cc curve_mixer.cc curve_picker.cc curve_samples.cc custom_periodic.cc delay.cc din.cc din_info.cc drone.cc fader.cc fft.cc field.cc filled_button.cc font.cc font_editor.cc fractaliser.cc globals.cc glyph.cc gravity.cc hit.cc help.cc item_list.cc keyboard_keyboard.cc label.cc levels.cc line.cc lissajous.cc listeners.cc main.cc menu.cc mesh.cc midi_in.cc minus_button.cc mocap.cc modulator.cc mondrian.cc morpher.cc morse_code.cc mouse_slider.cc multi_curve.cc note.cc noiser.cc number.cc oscilloscope.cc phrasor.cc play.cc plugin.cc plugin_browser.cc plus_button.cc point_modulator.cc range.cc recorder.cc rect.cc rose_milker.cc scale_info.cc scale_notes.cc scalelist.cc separator.cc settings.cc sine_mixer.cc slit.cc solver.cc spiraler.cc starrer.cc superformula.cc tap_bpm.cc tcl_interp.cc textboard.cc tokenizer.cc trail.cc triggered_note.cc ui.cc ui_sin_cos_radius.cc viewwin.cc warper.cc widget.cc kiss_fft.c RtAudio.cpp RtMidi.cpp
|
||||
@@ -1,41 +0,0 @@
|
||||
https://bugs.gentoo.org/787185
|
||||
|
||||
From 9ea918cfdfcd99fbcac64a820ddbaefb562c11a0 Mon Sep 17 00:00:00 2001
|
||||
From: Sam James <sam@gentoo.org>
|
||||
Date: Mon, 14 Jun 2021 15:06:58 +0000
|
||||
Subject: [PATCH] src/help.h: Rename __help identifier
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
__help is reserved, so we need to rename it to fix a build failure with GCC 11:
|
||||
|
||||
"In addition to the names documented in this manual, reserved names include all
|
||||
external identifiers (global functions and variables) that begin with an
|
||||
underscore (‘_’) and all identifiers regardless of use that begin with either
|
||||
two underscores or an underscore followed by a capital letter are reserved names."
|
||||
-- glibc manual, 1.3.3 Reserved Names
|
||||
|
||||
Signed-off-by: Sam James <sam@gentoo.org>
|
||||
---
|
||||
src/help.h | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/help.h b/src/help.h
|
||||
index ae0954b..af7f178 100644
|
||||
--- a/src/help.h
|
||||
+++ b/src/help.h
|
||||
@@ -5,8 +5,8 @@
|
||||
* For more information, please visit https://dinisnoise.org/
|
||||
*/
|
||||
|
||||
-#ifndef __help
|
||||
-#define __help
|
||||
+#ifndef DIN_help
|
||||
+#define DIN_help
|
||||
#include <string>
|
||||
#include <vector>
|
||||
struct help {
|
||||
--
|
||||
2.32.0
|
||||
|
||||
Reference in New Issue
Block a user