From 25209c347b50cd166b5d954a8db4e0b93a20dd19 Mon Sep 17 00:00:00 2001 From: Guest One Date: Sat, 18 May 2013 23:35:14 +0200 Subject: added new package sineshaper 0.4.2-1 --- pcr/sineshaper/PKGBUILD | 35 +++++++++++++++++++++++++++ pcr/sineshaper/gcc-4.3.patch | 57 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 92 insertions(+) create mode 100644 pcr/sineshaper/PKGBUILD create mode 100644 pcr/sineshaper/gcc-4.3.patch (limited to 'pcr/sineshaper') diff --git a/pcr/sineshaper/PKGBUILD b/pcr/sineshaper/PKGBUILD new file mode 100644 index 000000000..61560a770 --- /dev/null +++ b/pcr/sineshaper/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer : Guest One +# patch taken from https://aur.archlinux.org/packages/sineshaper/ +pkgname=sineshaper +pkgver=0.4.2 +pkgrel=1 +pkgdesc="A monophonic DSSI synth plugin." +arch=('i686') +url="http://www.student.nada.kth.se/~d00-llu/music_dssi.php?lang=en" +license=('GPL') +depends=('libglademm' 'dssi') +makedepends=('ladspa') +source=("http://ll-plugins.sourceforge.net/release/$pkgname-$pkgver.tar.gz" gcc-4.3.patch) +md5sums=('952cb5bde0ae4fe2274859df5ed1ee61' + '78c44bb7b1586917224f26aaa9545e9e') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + # gcc 4.3 patch + patch -Np1 -i "$srcdir/${source[1]}" + + # DSO link fix + LDFLAGS+="-lgthread-2.0" \ + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir/" install + + # rename launcher + mv "$pkgdir/usr/bin/$pkgname.sh" \ + "$pkgdir/usr/bin/$pkgname" +} diff --git a/pcr/sineshaper/gcc-4.3.patch b/pcr/sineshaper/gcc-4.3.patch new file mode 100644 index 000000000..c62220608 --- /dev/null +++ b/pcr/sineshaper/gcc-4.3.patch @@ -0,0 +1,57 @@ +diff -aur sineshaper-0.4.2/src/common/dssiplugin.hpp sineshaper-0.4.2-patched/src/common/dssiplugin.hpp +--- sineshaper-0.4.2/src/common/dssiplugin.hpp 2005-10-29 01:14:08.000000000 +0200 ++++ sineshaper-0.4.2-patched/src/common/dssiplugin.hpp 2009-01-29 15:19:40.000000000 +0100 +@@ -25,6 +25,7 @@ + #define DSSIPLUGIN_HPP + + #include ++#include + + #include + #include +diff -aur sineshaper-0.4.2/src/common/dssiuiclient.hpp sineshaper-0.4.2-patched/src/common/dssiuiclient.hpp +--- sineshaper-0.4.2/src/common/dssiuiclient.hpp 2005-10-29 01:14:08.000000000 +0200 ++++ sineshaper-0.4.2-patched/src/common/dssiuiclient.hpp 2009-01-29 15:19:48.000000000 +0100 +@@ -99,13 +99,13 @@ + // Host to UI + /** This signal is emitted when the host sends a new control value. + The parameters are the control port number and the new control value. */ +- signal control_received; ++ sigc::signal control_received; + /** Emitted when the host sends a program change. The parameters are the + bank and program numbers. */ +- signal program_received; ++ sigc::signal program_received; + /** Emitted when the host sends a configuration value. The parameters are + the configuration key and the configuration value. */ +- signal configure_received; ++ sigc::signal configure_received; + /** Emitted when the host wants the UI to be visible. A DSSI GUI should not + show any windows until this signal is emitted. */ + Dispatcher show_received; +@@ -134,7 +134,7 @@ + void* allocate_shared_memory(int bytes); + + /** Emitted when the plugin has attached to the shared memory segment. */ +- signal plugin_attached; ++ sigc::signal plugin_attached; + + /** Returns true if the plugin has attached to the shared memory segment. */ + bool plugin_has_attached(); +diff -aur sineshaper-0.4.2/src/sineshaper/sineshapergui.hpp sineshaper-0.4.2-patched/src/sineshaper/sineshapergui.hpp +--- sineshaper-0.4.2/src/sineshaper/sineshapergui.hpp 2005-10-29 01:14:08.000000000 +0200 ++++ sineshaper-0.4.2-patched/src/sineshaper/sineshapergui.hpp 2009-01-29 15:20:31.000000000 +0100 +@@ -31,11 +31,11 @@ + void program_selected(int bank, int program); + + /** This signal is emitted when the user selects a program in the GUI. */ +- signal signal_select_program; ++ sigc::signal signal_select_program; + + /** This signal is emitted when the user has edited the programs and + the plugin needs to reload the file with the user presets. */ +- signal signal_programs_changed; ++ sigc::signal signal_programs_changed; + + protected: + -- cgit v1.2.3