[arch-commits] Commit in lv2core/trunk (PKGBUILD lv2core.changelog lv2core.install)

Ray Rashif schiv at archlinux.org
Thu Apr 14 07:21:19 UTC 2011


    Date: Thursday, April 14, 2011 @ 03:21:19
  Author: schiv
Revision: 119725

upgpkg: lv2core 4.0-2
Own symlinks instead of using lv2config; FS#23514

Modified:
  lv2core/trunk/PKGBUILD
  lv2core/trunk/lv2core.changelog
  lv2core/trunk/lv2core.install

-------------------+
 PKGBUILD          |   15 ++++++++++++---
 lv2core.changelog |    8 +++++++-
 lv2core.install   |    3 +--
 3 files changed, 20 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-04-14 05:49:45 UTC (rev 119724)
+++ PKGBUILD	2011-04-14 07:21:19 UTC (rev 119725)
@@ -3,7 +3,7 @@
 
 pkgname=lv2core
 pkgver=4.0
-pkgrel=1
+pkgrel=2
 pkgdesc="LV2: Successor to the LADSPA audio plug-in standard"
 url="http://lv2plug.in/"
 license=('LGPL' 'custom')
@@ -12,7 +12,7 @@
 provides=('lv2')
 changelog=$pkgname.changelog
 install=$pkgname.install
-source=(http://lv2plug.in/spec/$pkgname-$pkgver.tar.bz2)
+source=("http://lv2plug.in/spec/$pkgname-$pkgver.tar.bz2")
 md5sums=('5097d964f3559a1ecec2d2fc822ef53a')
 
 build() {
@@ -27,7 +27,16 @@
 
 	python2 waf install --destdir="$pkgdir"
 
-	install -Dm0644 COPYING \
+  # do the work of lv2config to own symlinks;
+  #   - generate lv2 headers
+  #   - see FS#23514
+  _ns=$(grep '^<http' manifest.ttl | sed 's|<http://\(.*\)>|\1|')
+  _name=${_ns/*\/}
+  _path="$pkgdir/usr/include/lv2/${_ns%/*}"
+  install -d "$_path"
+  ln -s "/usr/lib/lv2/$_name.lv2" "$_path/$_name"
+
+	install -Dm644 COPYING \
     "$pkgdir/usr/share/licenses/$pkgname/COPYING"
 }
 

Modified: lv2core.changelog
===================================================================
--- lv2core.changelog	2011-04-14 05:49:45 UTC (rev 119724)
+++ lv2core.changelog	2011-04-14 07:21:19 UTC (rev 119725)
@@ -1,7 +1,13 @@
+14 Apr 2011 (GMT+8) Ray Rashif <schiv at archlinux.org>
+
+	* 4.0-2:
+	Do the work of lv2config in PKGBUILD manually
+	See https://bugs.archlinux.org/task/23514
+
 25 Mar 2011 (GMT+8) Ray Rashif <schiv at archlinux.org>
 
 	* 4.0-1 :
-	Upstream release 
+	Upstream release
 
 9 Aug 2010 (GMT+8) Ray Rashif <schiv at archlinux.org>
 

Modified: lv2core.install
===================================================================
--- lv2core.install	2011-04-14 05:49:45 UTC (rev 119724)
+++ lv2core.install	2011-04-14 07:21:19 UTC (rev 119725)
@@ -1,6 +1,5 @@
 post_install() {
   \ldconfig
-  \lv2config
 }
 
 post_upgrade() {
@@ -8,7 +7,7 @@
 }
 
 post_remove() {
-  \ldconfig
+  post_install
 }
 
 # vim:set ts=2 sw=2 et:




More information about the arch-commits mailing list