summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/hexter/PKGBUILD28
-rw-r--r--pcr/hexter/hexter4
-rw-r--r--pcr/lv2-c++-tools/PKGBUILD33
-rw-r--r--pcr/lv2-c++-tools/lv2-c++-tools-boost-1.50.patch42
-rw-r--r--pcr/minaton-lv2/PKGBUILD31
-rw-r--r--pcr/petri-foo/PKGBUILD31
-rw-r--r--pcr/petri-foo/petri-foo-0.1.87_fix_recent_file_not_exist.patch24
-rw-r--r--pcr/petri-foo/petri-foo.install19
8 files changed, 212 insertions, 0 deletions
diff --git a/pcr/hexter/PKGBUILD b/pcr/hexter/PKGBUILD
new file mode 100644
index 000000000..e0ccbb848
--- /dev/null
+++ b/pcr/hexter/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Guest One <theguestone at gmail dot com>
+# file 'hexter' taken from https://aur.archlinux.org/packages/hexter/
+pkgname=hexter
+pkgver=1.0.2
+pkgrel=1
+pkgdesc="A DSSI software synthesizer that models the sound generation of a Yamaha DX7"
+arch=('i686')
+url="http://dssi.sourceforge.net/hexter.html"
+license=('GPL')
+depends=('alsa-lib' 'liblo' 'gtk2' 'dssi')
+makedepends=('ladspa')
+options=('!libtool')
+source=(http://downloads.sourceforge.net/project/dssi/hexter/${pkgver}/${pkgname}-${pkgver}.tar.gz hexter)
+md5sums=('a61765a649fcab05811c226fb5c9415b' 'ce72d4f996c17ffd72eb02af76c4dd9b')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ ./configure --prefix=/usr
+ make || return 1
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ make DESTDIR=${pkgdir} install || return 1
+ install -D -m755 ${srcdir}/hexter ${pkgdir}/usr/bin/hexter
+}
diff --git a/pcr/hexter/hexter b/pcr/hexter/hexter
new file mode 100644
index 000000000..8338bfdc5
--- /dev/null
+++ b/pcr/hexter/hexter
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+export DSSI_PATH=/usr/lib/dssi
+exec jack-dssi-host hexter.so
diff --git a/pcr/lv2-c++-tools/PKGBUILD b/pcr/lv2-c++-tools/PKGBUILD
new file mode 100644
index 000000000..de2e69578
--- /dev/null
+++ b/pcr/lv2-c++-tools/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer : Guest One <theguestone at gmail dot com>
+# patch taken from https://aur.archlinux.org/packages/lv2-c%2B%2B-tools/
+pkgname=lv2-c++-tools
+pkgver=1.0.4
+pkgrel=1
+pkgdesc="Tools and libraries that may come in handy when writing LV2 plugins."
+arch=('i686')
+url="http://ll-plugins.nongnu.org/hacking.html"
+license=('GPL3')
+depends=('gtkmm')
+makedepends=('boost')
+source=("http://download.savannah.nongnu.org/releases-noredirect/ll-plugins/$pkgname-$pkgver.tar.bz2"
+ "$pkgname-boost-1.50.patch")
+md5sums=('2468f8750bae1d57300853479846e5ed'
+ '1dd1152e9ab8be15248b54546716c8c9')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # boots 1.50 patch
+ patch -p1 -i ../${source[1]}
+
+ # do not call ldconfig
+ sed -i '/ldconfig/d' Makefile.template
+
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+} \ No newline at end of file
diff --git a/pcr/lv2-c++-tools/lv2-c++-tools-boost-1.50.patch b/pcr/lv2-c++-tools/lv2-c++-tools-boost-1.50.patch
new file mode 100644
index 000000000..85d3e32da
--- /dev/null
+++ b/pcr/lv2-c++-tools/lv2-c++-tools-boost-1.50.patch
@@ -0,0 +1,42 @@
+diff -aur lv2-c++-tools-1.0.4/libraries/paq/turtleparser.cpp lv2-c++-tools-1.0.4.patched/libraries/paq/turtleparser.cpp
+--- lv2-c++-tools-1.0.4/libraries/paq/turtleparser.cpp 2011-02-27 13:34:39.000000000 +0100
++++ lv2-c++-tools-1.0.4.patched/libraries/paq/turtleparser.cpp 2012-09-27 16:41:39.925303056 +0200
+@@ -28,7 +28,7 @@
+ #include <fcntl.h>
+ #include <unistd.h>
+
+-#include <boost/spirit/dynamic.hpp>
++#include <boost/spirit/include/classic_dynamic.hpp>
+
+ #include "turtleparser.hpp"
+
+diff -aur lv2-c++-tools-1.0.4/libraries/paq/turtleparser.hpp lv2-c++-tools-1.0.4.patched/libraries/paq/turtleparser.hpp
+--- lv2-c++-tools-1.0.4/libraries/paq/turtleparser.hpp 2011-02-27 13:34:39.000000000 +0100
++++ lv2-c++-tools-1.0.4.patched/libraries/paq/turtleparser.hpp 2012-09-27 16:41:39.925303056 +0200
+@@ -23,10 +23,10 @@
+ #ifndef TURTLEPARSER_HPP
+ #define TURTLEPARSER_HPP
+
+-#include <boost/spirit/core.hpp>
+-#include <boost/spirit/utility.hpp>
+-#include <boost/spirit/tree/parse_tree.hpp>
+-#include <boost/spirit/tree/ast.hpp>
++#include <boost/spirit/include/classic_core.hpp>
++#include <boost/spirit/include/classic_utility.hpp>
++#include <boost/spirit/include/classic_parse_tree.hpp>
++#include <boost/spirit/include/classic_ast.hpp>
+
+ #include <algorithm>
+ #include <iostream>
+diff -aur lv2-c++-tools-1.0.4/libraries/paq/unicode.hpp lv2-c++-tools-1.0.4.patched/libraries/paq/unicode.hpp
+--- lv2-c++-tools-1.0.4/libraries/paq/unicode.hpp 2011-02-27 13:34:39.000000000 +0100
++++ lv2-c++-tools-1.0.4.patched/libraries/paq/unicode.hpp 2012-09-27 16:42:00.818959807 +0200
+@@ -29,7 +29,7 @@
+
+
+ using namespace std;
+-using namespace boost::spirit;
++using namespace boost::spirit::classic;
+
+
+ template <typename ScannerT>
diff --git a/pcr/minaton-lv2/PKGBUILD b/pcr/minaton-lv2/PKGBUILD
new file mode 100644
index 000000000..797a74653
--- /dev/null
+++ b/pcr/minaton-lv2/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Guest One <theguestone at gmail dot com>
+pkgname=minaton-lv2
+pkgver=0.0.3
+pkgrel=1
+pkgdesc="A music software synthesizer project, LV2 instrument."
+arch=('i686')
+url="http://sourceforge.net/p/minaton/home/Home/"
+license=('GPL')
+groups=('lv2-plugins')
+depends=('lv2' 'jack' 'gtkmm')
+makedepends=('lv2-c++-tools')
+provides=('lv2-minaton')
+conflicts=('lv2-minaton')
+source=("http://downloads.sourceforge.net/project/minaton/$pkgname-v.$pkgver.tar.gz")
+md5sums=('b5190a6c6942c1a1fe6b929963ad1f86')
+
+build() {
+ cd "$srcdir/$pkgname-v$pkgver"
+
+ # set bundle_path
+ sed -i "s|\(string bundle_path\);|\1 = \"/usr/lib/lv2/minaton.lv2/\";|" *.{hpp,h,cpp}
+
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-v$pkgver"
+ make INSTALL_DIR="$pkgdir/usr/lib/lv2" install
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/pcr/petri-foo/PKGBUILD b/pcr/petri-foo/PKGBUILD
new file mode 100644
index 000000000..72ca1e45a
--- /dev/null
+++ b/pcr/petri-foo/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Guest One <theguestone at gmail dot com>
+# patch taken from https://aur.archlinux.org/packages/petri-foo/
+pkgname=petri-foo
+pkgver=0.1.87
+pkgrel=1
+pkgdesc="A fork of specimen, a MIDI controllable audio sampler, for JACK."
+arch=('i686')
+url="http://petri-foo.sourceforge.net/"
+license=('GPL2')
+depends=('jack' 'libgnomecanvas')
+makedepends=('cmake')
+optdepends=('liblo: Non Session Manager support')
+install='petri-foo.install'
+source=(http://sourceforge.net/projects/${pkgname}/files/Source/${pkgname}-${pkgver}.tar.bz2
+ petri-foo-0.1.87_fix_recent_file_not_exist.patch)
+md5sums=('40f8a224368187672f9f306f8a4fa8c5'
+ '964db40cc53d77d42f6593f2201b9c40')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ patch -p1 < ../petri-foo-0.1.87_fix_recent_file_not_exist.patch
+ cmake -DCMAKE_INSTALL_PREFIX=/usr -DUpdateMime:BOOL=OFF .
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/pcr/petri-foo/petri-foo-0.1.87_fix_recent_file_not_exist.patch b/pcr/petri-foo/petri-foo-0.1.87_fix_recent_file_not_exist.patch
new file mode 100644
index 000000000..3e88487b0
--- /dev/null
+++ b/pcr/petri-foo/petri-foo-0.1.87_fix_recent_file_not_exist.patch
@@ -0,0 +1,24 @@
+diff -Naur a/gui/bank-ops.c b/gui/bank-ops.c
+--- a/gui/bank-ops.c 2012-08-06 05:33:34.000000000 +0200
++++ b/gui/bank-ops.c 2012-08-07 17:57:28.580145691 +0200
+@@ -393,6 +393,8 @@
+ g_signal_connect_swapped(G_OBJECT(msg), "response",
+ G_CALLBACK(gtk_widget_destroy), msg);
+ gtk_widget_show (msg);
++
++ gtk_recent_manager_remove_item(recent_manager, filename, NULL);
+ }
+ else
+ {
+diff -Naur a/libpetrifui/dish_file.c b/libpetrifui/dish_file.c
+--- a/libpetrifui/dish_file.c 2012-08-06 05:33:34.000000000 +0200
++++ b/libpetrifui/dish_file.c 2012-08-07 17:56:09.063909801 +0200
+@@ -1440,7 +1440,7 @@
+
+ if (stat(path, &st) != 0)
+ {
+- msg_log(MSG_ERROR, "file '%s' does not exist\n");
++ msg_log(MSG_ERROR, "file '%s' does not exist\n", path);
+ return -1;
+ }
+
diff --git a/pcr/petri-foo/petri-foo.install b/pcr/petri-foo/petri-foo.install
new file mode 100644
index 000000000..5dd24bbe5
--- /dev/null
+++ b/pcr/petri-foo/petri-foo.install
@@ -0,0 +1,19 @@
+updatedesktopdtb() {
+ [ -x /usr/bin/update-desktop-database ] \
+ && update-desktop-database -q
+ [ -x /usr/bin/update-mime-database ] \
+ && update-mime-database usr/share/mime > /dev/null 2>&1
+}
+
+post_install() {
+ updatedesktopdtb
+}
+
+post_upgrade() {
+ updatedesktopdtb
+}
+
+post_remove() {
+ updatedesktopdtb
+}
+