summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-05-17 00:07:23 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-05-17 00:07:23 -0300
commit0c41421f8445a5820d1c98d433bae15944d8fcd4 (patch)
tree71ed20e267e0a7078534a0267ed4fc8332d6eff3 /pcr
parent3a64f8a864548510db28fc98a08bdc94dbc283c6 (diff)
parenteba8dcbe50fb049ba613eb61fd64c32076e47321 (diff)
downloadabslibre-0c41421f8445a5820d1c98d433bae15944d8fcd4.tar.gz
abslibre-0c41421f8445a5820d1c98d433bae15944d8fcd4.tar.bz2
abslibre-0c41421f8445a5820d1c98d433bae15944d8fcd4.zip
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr')
-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
4 files changed, 105 insertions, 0 deletions
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
+}
+