summaryrefslogtreecommitdiff
path: root/pcr/lv2-c++-tools
diff options
context:
space:
mode:
authorGuest One <theguestone@gmail.com>2013-05-15 23:37:44 +0200
committerGuest One <theguestone@gmail.com>2013-05-15 23:37:44 +0200
commit3c867b346f2e34a4cdf0879439f38822fca54690 (patch)
treeeb1c8a3e82da2e04e2e6ebda0ba507e7d2c637e1 /pcr/lv2-c++-tools
parent793a875775aebf79f41fffe2e1f960784a98dfcb (diff)
added new package lv2-c++-tools 1.0.4-1
Diffstat (limited to 'pcr/lv2-c++-tools')
-rw-r--r--pcr/lv2-c++-tools/PKGBUILD33
-rw-r--r--pcr/lv2-c++-tools/lv2-c++-tools-boost-1.50.patch42
2 files changed, 75 insertions, 0 deletions
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>