Gentoo Archives: gentoo-commits

From: "Miroslav Šulc" <fordfrog@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/din/, media-sound/din/files/
Date: Tue, 22 Dec 2020 13:20:16
Message-Id: 1608643205.6c7e10acb97fd44782cdb2f851b982d688255ac2.fordfrog@gentoo
1 commit: 6c7e10acb97fd44782cdb2f851b982d688255ac2
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 22 13:20:05 2020 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 22 13:20:05 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c7e10ac
7
8 media-sound/din: removed obsolete 0.48
9
10 Package-Manager: Portage-3.0.12, Repoman-3.0.2
11 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
12
13 media-sound/din/Manifest | 1 -
14 media-sound/din/din-48.ebuild | 57 -----------------------------
15 media-sound/din/files/din-48-makefile.patch | 14 -------
16 3 files changed, 72 deletions(-)
17
18 diff --git a/media-sound/din/Manifest b/media-sound/din/Manifest
19 index 20326d09758..86a6b2542cc 100644
20 --- a/media-sound/din/Manifest
21 +++ b/media-sound/din/Manifest
22 @@ -1,2 +1 @@
23 -DIST din-48.tar.gz 3673917 BLAKE2B 90e29efcc159936e7dca5b1deba07d6ddf23fc6878053283c1723eaf73c9b06903d274e471c3043d57fb2cb923eb9516a06362590a6b555884dc1b7cb7b6e9c1 SHA512 3d54c3db23fe909a3664412f1bbba3898b83184d19c4b04f4432cd0bff0dede01d017cebe36980a3f8158ffbb663e09dd83a0de7206247b47fcc1a9f3b4cc940
24 DIST din-49.1.tar.gz 3677087 BLAKE2B 7b696597327493d354c5efd31df243c70f23ec8d68514892c79212b9d3d398c7debb28ad95b6ccb04dc76ac0a9b01ee57d8245260dd4af99cd3f3b27bc2ecbcf SHA512 8f72fd1dce7197135e174bc8c4fb5325e7755e656d7817bbd82c964083ca48b0b5cc939472acf3464fd0404631767bbea1f20b7dea073b6829582e76d2879e04
25
26 diff --git a/media-sound/din/din-48.ebuild b/media-sound/din/din-48.ebuild
27 deleted file mode 100644
28 index 5be0674fc55..00000000000
29 --- a/media-sound/din/din-48.ebuild
30 +++ /dev/null
31 @@ -1,57 +0,0 @@
32 -# Copyright 1999-2020 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -
37 -inherit autotools eutils 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}/${P}-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-48-makefile.patch b/media-sound/din/files/din-48-makefile.patch
91 deleted file mode 100644
92 index 5a37359106d..00000000000
93 --- a/media-sound/din/files/din-48-makefile.patch
94 +++ /dev/null
95 @@ -1,14 +0,0 @@
96 -diff --git a/src/Makefile.am b/src/Makefile.am
97 -index df480f2..d665bbf 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 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
110 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