[arch-commits] Commit in din/repos (3 files)
David Runge
dvzrv at gemini.archlinux.org
Thu Nov 18 23:18:36 UTC 2021
Date: Thursday, November 18, 2021 @ 23:18:36
Author: dvzrv
Revision: 1052731
archrelease: copy trunk to community-staging-x86_64
Added:
din/repos/community-staging-x86_64/
din/repos/community-staging-x86_64/PKGBUILD
(from rev 1052730, din/trunk/PKGBUILD)
din/repos/community-staging-x86_64/din-51.1.1-devendor_rtaudio_rtmidi.patch
(from rev 1052730, din/trunk/din-51.1.1-devendor_rtaudio_rtmidi.patch)
------------------------------------------+
PKGBUILD | 45 ++++++++++++++++
din-51.1.1-devendor_rtaudio_rtmidi.patch | 80 +++++++++++++++++++++++++++++
2 files changed, 125 insertions(+)
Copied: din/repos/community-staging-x86_64/PKGBUILD (from rev 1052730, din/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2021-11-18 23:18:36 UTC (rev 1052731)
@@ -0,0 +1,45 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: muzhed <chustokes at 126.com>
+
+pkgname=din
+pkgver=51.1.1
+pkgrel=2
+pkgdesc="A sound synthesizer and musical instrument."
+arch=(x86_64)
+url="https://dinisnoise.org/"
+license=(GPL2)
+groups=(pro-audio)
+depends=(gcc-libs glibc hicolor-icon-theme libglvnd sdl tcl)
+makedepends=(boost glu rtaudio rtmidi)
+source=("https://archive.org/download/dinisnoise_source_code/${pkgname}-${pkgver}.tar.gz"
+ "${pkgname}-51.1.1-devendor_rtaudio_rtmidi.patch"
+)
+sha512sums=('ea5e1ab79cbc24abb80a9fd25d8304f36ab2345505ee98132196685cda73b31dd7db3f62cb1821cbdc9694703d3454bd58d733833710d492ecebffee23732a0f'
+ '27369918476a2de2f84559bd295107841bee8ebed91223d13f2fab0662786cb6338717d98efd5d297c0ddcf1d8383016779f0afed50f06164d71fc997a8ab021')
+b2sums=('559a4476188ac6d9da596be011bdaa8b379bb336220b3f94edf04e3eeb9ca0100fbaaa0fc10f9a9f37d3efa436acddac5c06435c6b3ebb4d21afdbd7c65b2dc8'
+ 'abeaca3e7b69ae02904e40801e3912ff57ed7cfee4309a205bbafe43bd200351e18869a67ccd057f307c76c60a2d5d0044d8cb8e767c12d03e548cd1a5b3c50e')
+
+prepare() {
+ cd "${pkgname}-${pkgver}"
+ # use system rtaudio/rtmidi, instead of vendored versions
+ patch -Np1 -i "../${pkgname}-51.1.1-devendor_rtaudio_rtmidi.patch"
+ rm -fv src/{RtAudio,RtMidi}.*
+ autoreconf -fiv
+}
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ export CXXFLAGS="${CXXFLAGS} -D__UNIX_JACK__ $(pkg-config --cflags rtaudio rtmidi)"
+ export CFLAGS="${CFLAGS} -D__UNIX_JACK__ $(pkg-config --cflags rtaudio rtmidi)"
+ export LIBS="${LIBS} $(pkg-config --libs rtaudio rtmidi)"
+ ./configure --prefix='/usr'
+ make
+}
+
+package() {
+ depends+=(librtaudio.so librtmidi.so)
+ cd "${pkgname}-${pkgver}"
+ make install DESTDIR="${pkgdir}"
+ # docs
+ install -vDm 644 {AUTHORS,BUGS,CHANGELOG,NEWS,README,TODO} -t "${pkgdir}/usr/share/doc/${pkgname}/"
+}
Copied: din/repos/community-staging-x86_64/din-51.1.1-devendor_rtaudio_rtmidi.patch (from rev 1052730, din/trunk/din-51.1.1-devendor_rtaudio_rtmidi.patch)
===================================================================
--- community-staging-x86_64/din-51.1.1-devendor_rtaudio_rtmidi.patch (rev 0)
+++ community-staging-x86_64/din-51.1.1-devendor_rtaudio_rtmidi.patch 2021-11-18 23:18:36 UTC (rev 1052731)
@@ -0,0 +1,80 @@
+diff -ruN a/src/Makefile.am b/src/Makefile.am
+--- a/src/Makefile.am 2021-07-12 03:15:59.000000000 +0200
++++ b/src/Makefile.am 2021-08-20 09:15:57.063282861 +0200
+@@ -4,8 +4,8 @@
+ LIBS += -ltcl8.6 -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 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
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
++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
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
+
+-dist_include = alarm.h angle.h arrow_button.h audio.h authors_note.h ball.h ball_ops.h basic_editor.h beat2value.h binaural_drone.h binaural_drones.h bit_display.h box.h box_selector.h button.h capturer.h checkbutton.h chrono.h circler.h color.h command.h compressor.h console.h console_iterator.h constant_radius.h container.h cosine.h countries.h cross_button.h crvpt.h curve.h curve_display.h curve_editor.h curve_library.h curve_listener.h curve_mixer.h curve_picker.h curve_samples.h custom_periodic.h delay.h din.h din_info.h dingl.h drawrrow.h drone.h fader.h fft.h field.h file-utils.h filled_button.h font.h font_editor.h fractaliser.h funktion.h globals.h glyph.h gravity.h help.h hit.h input.h instrument.h item_list.h keyboard_keyboard.h kiss_fft.h label.h label_field.h label_field_slider.h levels.h line.h lissajous.h listeners.h log.h main.h menu.h mesh.h midi_in.h minus_button.h mocap.h modulator.h mondrian.h morpher.h morse_code.h mouse_slider.h multi_curve.h note.h number.h o
ctave_shift_data.h options_list.h osc.h oscilloscope.h phrasor.h play.h plugin.h plugin_browser.h plus_button.h point.h point_modulator.h random.h range.h recorder.h rect.h rose_milker.h scale_info.h scale_notes.h scalelist.h separator.h settings.h sine.h sine_mixer.h slider.h slit.h solver.h spinner.h spinner2.h spiraler.h starrer.h state_button.h strength_editor.h superformula.h tap_bpm.h tcl_interp.h textboard.h tick.h tokenizer.h trail.h triggered_note.h ui.h ui_list.h ui_sin_cos_radius.h utils.h vector2d.h viewwin.h warper.h wav.h widget.h RtAudio.h RtError.h RtMidi.h _kiss_fft_guts.h noiser.h
++dist_include = alarm.h angle.h arrow_button.h audio.h authors_note.h ball.h ball_ops.h basic_editor.h beat2value.h binaural_drone.h binaural_drones.h bit_display.h box.h box_selector.h button.h capturer.h checkbutton.h chrono.h circler.h color.h command.h compressor.h console.h console_iterator.h constant_radius.h container.h cosine.h countries.h cross_button.h crvpt.h curve.h curve_display.h curve_editor.h curve_library.h curve_listener.h curve_mixer.h curve_picker.h curve_samples.h custom_periodic.h delay.h din.h din_info.h dingl.h drawrrow.h drone.h fader.h fft.h field.h file-utils.h filled_button.h font.h font_editor.h fractaliser.h funktion.h globals.h glyph.h gravity.h help.h hit.h input.h instrument.h item_list.h keyboard_keyboard.h kiss_fft.h label.h label_field.h label_field_slider.h levels.h line.h lissajous.h listeners.h log.h main.h menu.h mesh.h midi_in.h minus_button.h mocap.h modulator.h mondrian.h morpher.h morse_code.h mouse_slider.h multi_curve.h note.h number.h o
ctave_shift_data.h options_list.h osc.h oscilloscope.h phrasor.h play.h plugin.h plugin_browser.h plus_button.h point.h point_modulator.h random.h range.h recorder.h rect.h rose_milker.h scale_info.h scale_notes.h scalelist.h separator.h settings.h sine.h sine_mixer.h slider.h slit.h solver.h spinner.h spinner2.h spiraler.h starrer.h state_button.h strength_editor.h superformula.h tap_bpm.h tcl_interp.h textboard.h tick.h tokenizer.h trail.h triggered_note.h ui.h ui_list.h ui_sin_cos_radius.h utils.h vector2d.h viewwin.h warper.h wav.h widget.h RtError.h _kiss_fft_guts.h noiser.h
+
+ EXTRA_DIST = $(dist_include)
+diff -ruN a/src/Makefile.in b/src/Makefile.in
+--- a/src/Makefile.in 2021-07-13 18:13:01.000000000 +0200
++++ b/src/Makefile.in 2021-08-20 09:17:07.136732340 +0200
+@@ -138,8 +138,7 @@
+ textboard.$(OBJEXT) tokenizer.$(OBJEXT) trail.$(OBJEXT) \
+ triggered_note.$(OBJEXT) ui.$(OBJEXT) \
+ ui_sin_cos_radius.$(OBJEXT) viewwin.$(OBJEXT) warper.$(OBJEXT) \
+- widget.$(OBJEXT) kiss_fft.$(OBJEXT) RtAudio.$(OBJEXT) \
+- RtMidi.$(OBJEXT)
++ widget.$(OBJEXT) kiss_fft.$(OBJEXT)
+ din_OBJECTS = $(am_din_OBJECTS)
+ din_LDADD = $(LDADD)
+ AM_V_P = $(am__v_P_ at AM_V@)
+@@ -329,7 +328,7 @@
+ 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
++ warper.cc widget.cc kiss_fft.c
+ dist_include = alarm.h angle.h arrow_button.h audio.h authors_note.h \
+ ball.h ball_ops.h basic_editor.h beat2value.h binaural_drone.h \
+ binaural_drones.h bit_display.h box.h box_selector.h button.h \
+@@ -356,8 +355,8 @@
+ state_button.h strength_editor.h superformula.h tap_bpm.h \
+ tcl_interp.h textboard.h tick.h tokenizer.h trail.h \
+ triggered_note.h ui.h ui_list.h ui_sin_cos_radius.h utils.h \
+- vector2d.h viewwin.h warper.h wav.h widget.h RtAudio.h \
+- RtError.h RtMidi.h _kiss_fft_guts.h noiser.h
++ vector2d.h viewwin.h warper.h wav.h widget.h \
++ RtError.h _kiss_fft_guts.h noiser.h
+ EXTRA_DIST = $(dist_include)
+ all: all-am
+
+@@ -445,8 +444,6 @@
+ distclean-compile:
+ -rm -f *.tab.c
+
+- at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/RtAudio.Po at am__quote@
+- at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/RtMidi.Po at am__quote@
+ @AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/alarm.Po at am__quote@
+ @AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/arrow_button.Po at am__quote@
+ @AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/audio.Po at am__quote@
+diff -ruN a/src/audio.h b/src/audio.h
+--- a/src/audio.h 2021-03-10 06:31:12.000000000 +0100
++++ b/src/audio.h 2021-08-20 09:18:22.725433787 +0200
+@@ -9,7 +9,7 @@
+ #ifndef __AUDIO
+ #define __AUDIO
+
+-#include "RtAudio.h"
++#include <RtAudio.h>
+
+ #include <vector>
+ #include <string>
+diff -ruN a/src/midi_in.h b/src/midi_in.h
+--- a/src/midi_in.h 2021-03-10 06:31:17.000000000 +0100
++++ b/src/midi_in.h 2021-08-20 09:19:17.662322464 +0200
+@@ -8,7 +8,7 @@
+ #ifndef __midi_in
+ #define __midi_in
+
+-#include "RtMidi.h"
++#include <RtMidi.h>
+ #include <vector>
+ #include <string>
+
More information about the arch-commits
mailing list