[arch-commits] Commit in vibe-d/trunk (PKGBUILD)

Dan Printzell wild at archlinux.org
Thu Nov 7 19:28:54 UTC 2019


    Date: Thursday, November 7, 2019 @ 19:28:54
  Author: wild
Revision: 524529

upgpkg: vibe-d 0.8.6-1

Updated to 0.8.6. Add meson building fixes

Modified:
  vibe-d/trunk/PKGBUILD

----------+
 PKGBUILD |   19 ++++++++++++-------
 1 file changed, 12 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-07 19:28:07 UTC (rev 524528)
+++ PKGBUILD	2019-11-07 19:28:54 UTC (rev 524529)
@@ -2,8 +2,8 @@
 
 pkgname=vibe-d
 _pkgname=vibe.d
-pkgver=0.8.5
-pkgrel=4
+pkgver=0.8.6
+pkgrel=1
 pkgdesc='High-performance asynchronous I/O, concurrency and web application toolkit'
 arch=('x86_64')
 url='https://vibed.org'
@@ -10,15 +10,17 @@
 license=('MIT')
 depends=('liblphobos' 'openssl' 'libevent' 'zlib' 'diet-ng' 'd-stdx-allocator')
 makedepends=('meson' 'ldc' 'git')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/vibe-d/vibe.d/archive/v$pkgver.tar.gz"
-        "fix-meson.patch::https://github.com/vibe-d/vibe.d/pull/2302/commits/b2e5f979b52ed8ae1d044c37d556fae70882917c.patch")
-sha512sums=('de4b14087e0df0de8ccad272481987d956487e8d18ab7142c3f25e54c41820e3f24aa6307416b67ff805240316c6dedc69f89fddf377307f0d5f35b9481cecdf'
-            '33b987cd59bda57f032b2b29535c83552329051271d3b0c23bcae23da1a1b8f352055d94a9663371c01d53bbf463958497780d3c8563f6c7ab030ccb7f06081f')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/vibe-d/vibe.d/archive/v$pkgver.tar.gz")
+sha512sums=('4c5960693698349b606a15f7e4e680474b05604e7a18b79890ee91b1e1805818ace916eb4d25727e8ec63ef7243b1f3d3df97be0682c0d785e32341878705ada')
 
 prepare() {
   cd $_pkgname-$pkgver
 
-  patch -p1 < "$srcdir"/fix-meson.patch
+  # Meson forgot to add this flag when creating a shared library.
+  find . -iname "meson.build" -exec sed -i "/soversion:/a, link_args: '-shared'," {} \;
+
+  # Add missing file
+  sed -i "/vibe_http_src =/a 'vibe/http/internal/basic_auth_client.d'," http/meson.build
 }
 
 build() {
@@ -29,6 +31,9 @@
 
   arch-meson ..
 
+  # meson broke -soname for D in the latest update
+  sed -i "s/-soname,/=-soname=/g" build.ninja
+
   ninja
 }
 



More information about the arch-commits mailing list