[arch-commits] Commit in gnome-boxes/trunk (PKGBUILD rpath.diff)

Jan Steffens heftig at archlinux.org
Sat Sep 8 03:21:00 UTC 2018


    Date: Saturday, September 8, 2018 @ 03:21:00
  Author: heftig
Revision: 378749

3.30.0-2

Added:
  gnome-boxes/trunk/rpath.diff
Modified:
  gnome-boxes/trunk/PKGBUILD

------------+
 PKGBUILD   |   11 ++++++++---
 rpath.diff |   12 ++++++++++++
 2 files changed, 20 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-09-08 03:09:47 UTC (rev 378748)
+++ PKGBUILD	2018-09-08 03:21:00 UTC (rev 378749)
@@ -3,7 +3,7 @@
 
 pkgname=gnome-boxes
 pkgver=3.30.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Simple GNOME application to access remote or virtual systems"
 arch=('x86_64')
 url="https://wiki.gnome.org/Boxes"
@@ -15,10 +15,12 @@
 _commit=1070fca80a43472576b5641935831f8d21d53341  # tags/v3.30.0^0
 source=("git+https://gitlab.gnome.org/GNOME/gnome-boxes.git#commit=$_commit"
         "git+https://gitlab.gnome.org/GNOME/gtk-frdp.git"
-        "git+https://gitlab.gnome.org/felipeborges/libovf-glib.git")
+        "git+https://gitlab.gnome.org/felipeborges/libovf-glib.git"
+        rpath.diff)
 sha256sums=('SKIP'
             'SKIP'
-            'SKIP')
+            'SKIP'
+            '5d8b03dab802794b4f416504434212cfc8e6908f66d0304f45566219e4ae7748')
 
 pkgver() {
   cd $pkgname
@@ -34,6 +36,9 @@
 
   # disable broken tests
   git -C subprojects/libovf-glib cherry-pick -n 4bef85e97c636ac4747cb815cf12a0591271b218
+
+  # fix linking
+  git apply -3 ../rpath.diff
 }
 
 build() {

Added: rpath.diff
===================================================================
--- rpath.diff	                        (rev 0)
+++ rpath.diff	2018-09-08 03:21:00 UTC (rev 378749)
@@ -0,0 +1,12 @@
+diff --git i/src/meson.build w/src/meson.build
+index 000dbf86..787aa2d0 100644
+--- i/src/meson.build
++++ w/src/meson.build
+@@ -202,6 +202,7 @@ executable ('gnome-boxes', vala_sources + resources,
+             c_args : c_args,
+             dependencies: dependencies,
+             link_with: libcommon,
++            install_rpath: join_paths (get_option ('prefix'), pkglibdir),
+             install: true
+ )
+ 



More information about the arch-commits mailing list