1 |
commit: 0d1ed7809f22ecf07a80c7788e84353d4c70606b |
2 |
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 26 06:06:32 2021 +0000 |
4 |
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 26 06:06:32 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d1ed780 |
7 |
|
8 |
media-sound/din: bump to 51.1.1 |
9 |
|
10 |
Package-Manager: Portage-3.0.23, Repoman-3.0.3 |
11 |
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> |
12 |
|
13 |
media-sound/din/Manifest | 1 + |
14 |
media-sound/din/din-51.1.1.ebuild | 57 +++++++++++++++++++++++++ |
15 |
media-sound/din/files/din-51.1.1-makefile.patch | 14 ++++++ |
16 |
3 files changed, 72 insertions(+) |
17 |
|
18 |
diff --git a/media-sound/din/Manifest b/media-sound/din/Manifest |
19 |
index 6e4cb9bfdb8..e93a4b9f388 100644 |
20 |
--- a/media-sound/din/Manifest |
21 |
+++ b/media-sound/din/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST din-50.2.tar.gz 3687036 BLAKE2B b51923d755c5b4635d79c77f204bf42da9926fc247dde9d3ad175bc858a674a3064589608bfd67331ef40a417fdbbee4e90ae6a9bc2930355213738225fcd7e4 SHA512 4d60f26434559259b778181f2b46e2689af94179fc254b61e1ea623cafa49030736b69effd82fb2f62b8e908883cf272147dde884487c9a7beed9c26cf0a7498 |
24 |
+DIST din-51.1.1.tar.gz 3700797 BLAKE2B 559a4476188ac6d9da596be011bdaa8b379bb336220b3f94edf04e3eeb9ca0100fbaaa0fc10f9a9f37d3efa436acddac5c06435c6b3ebb4d21afdbd7c65b2dc8 SHA512 ea5e1ab79cbc24abb80a9fd25d8304f36ab2345505ee98132196685cda73b31dd7db3f62cb1821cbdc9694703d3454bd58d733833710d492ecebffee23732a0f |
25 |
|
26 |
diff --git a/media-sound/din/din-51.1.1.ebuild b/media-sound/din/din-51.1.1.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..4c4933184e2 |
29 |
--- /dev/null |
30 |
+++ b/media-sound/din/din-51.1.1.ebuild |
31 |
@@ -0,0 +1,57 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+inherit autotools edos2unix xdg |
38 |
+ |
39 |
+DESCRIPTION="a software musical instrument and audio synthesizer" |
40 |
+HOMEPAGE="https://dinisnoise.org/" |
41 |
+SRC_URI="https://archive.org/download/dinisnoise_source_code/${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="GPL-2" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~x86" |
46 |
+IUSE="+alsa jack" |
47 |
+ |
48 |
+RDEPEND=" |
49 |
+ dev-lang/tcl:0= |
50 |
+ media-libs/libsdl:= |
51 |
+ virtual/glu |
52 |
+ virtual/opengl |
53 |
+ alsa? ( media-libs/alsa-lib ) |
54 |
+ jack? ( virtual/jack ) |
55 |
+" |
56 |
+DEPEND=" |
57 |
+ ${RDEPEND} |
58 |
+ dev-libs/boost |
59 |
+" |
60 |
+BDEPEND=" |
61 |
+ virtual/pkgconfig |
62 |
+" |
63 |
+ |
64 |
+REQUIRED_USE="|| ( alsa jack )" |
65 |
+ |
66 |
+PATCHES=( |
67 |
+ "${FILESDIR}/${P}-makefile.patch" |
68 |
+ "${FILESDIR}/${PN}-48-fix-random-constants.patch" |
69 |
+) |
70 |
+ |
71 |
+src_prepare() { |
72 |
+ default |
73 |
+ |
74 |
+ edos2unix pixmaps/${PN}.desktop |
75 |
+ |
76 |
+ use jack && (sed -i "s/-lasound/-ljack/g" src/Makefile.am || die "Failed to fix jack linking") |
77 |
+ |
78 |
+ eautoreconf |
79 |
+} |
80 |
+ |
81 |
+src_configure() { |
82 |
+ # Jack takes over alsa. |
83 |
+ local sound_engine |
84 |
+ |
85 |
+ use jack && sound_engine="UNIX_JACK" || sound_engine="LINUX_ALSA" |
86 |
+ |
87 |
+ econf CXXFLAGS="${CXXFLAGS} -D__${sound_engine}__" |
88 |
+} |
89 |
|
90 |
diff --git a/media-sound/din/files/din-51.1.1-makefile.patch b/media-sound/din/files/din-51.1.1-makefile.patch |
91 |
new file mode 100644 |
92 |
index 00000000000..9909080a9b5 |
93 |
--- /dev/null |
94 |
+++ b/media-sound/din/files/din-51.1.1-makefile.patch |
95 |
@@ -0,0 +1,14 @@ |
96 |
+diff --git a/src/Makefile.am b/src/Makefile.am |
97 |
+index 377dc4c..b086c0c 100644 |
98 |
+--- a/src/Makefile.am |
99 |
++++ b/src/Makefile.am |
100 |
+@@ -1,7 +1,7 @@ |
101 |
+ #dinincludedir = $(pkgsrcdir) |
102 |
+ |
103 |
+-AM_CXXFLAGS = -I /usr/include/tcl8.6 -Wall -D_THREAD_SAFE -DHAVE_OPENGL -D__LICENSED__ -D __SVG__ -D__GPL20__ -D __BOOST_TIME__ -DPREFIX=\"@prefix@\" |
104 |
+-LIBS += -ltcl8.6 -lSDL -lGL -lpthread -lasound |
105 |
++AM_CXXFLAGS = -Wall -D_THREAD_SAFE -DHAVE_OPENGL -D__LICENSED__ -D __SVG__ -D__GPL20__ -D __BOOST_TIME__ -DPREFIX=\"@prefix@\" |
106 |
++LIBS += -ltcl -lSDL -lGL -lpthread -lasound |
107 |
+ |
108 |
+ bin_PROGRAMS = din |
109 |
+ 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 drawrrow.cc drone.cc eval.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 |
110 |
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 |