[arch-commits] Commit in egl-wayland/trunk (PKGBUILD unbreak-meson.diff)

Jan Steffens heftig at archlinux.org
Sun May 20 19:06:33 UTC 2018


    Date: Sunday, May 20, 2018 @ 19:06:32
  Author: heftig
Revision: 324637

0+23-1

Added:
  egl-wayland/trunk/PKGBUILD
  egl-wayland/trunk/unbreak-meson.diff

--------------------+
 PKGBUILD           |   43 +++++++++++++++++++++++++++++++++++++++++++
 unbreak-meson.diff |   13 +++++++++++++
 2 files changed, 56 insertions(+)

Added: PKGBUILD
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-05-20 19:06:32 UTC (rev 324637)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=egl-wayland
+pkgver=0+23
+pkgrel=1
+pkgdesc="EGLStream-based Wayland external platform"
+arch=(x86_64)
+url=https://github.com/NVIDIA/egl-wayland
+license=(MIT)
+depends=(wayland)
+makedepends=(eglexternalplatform meson git)
+_commit=68ffe6fff49fff7667e8bab5b743c3e6c1950a6f  # master
+source=("git+$url#commit=$_commit" unbreak-meson.diff)
+sha256sums=('SKIP'
+            'c9a1aa2ff24219c3177749d8c14d22ac49f964bf90dc1275d90c2e1a8b2f6cf1')
+
+pkgver() {
+  cd $pkgname
+  printf '0+%s' "$(git rev-list --count HEAD)"
+}
+
+prepare() {
+  cd $pkgname
+  patch -Np1 -i ../unbreak-meson.diff
+}
+
+build() {
+  arch-meson $pkgname build
+  ninja -C build
+}
+
+check() {
+  cd build
+  meson test
+}
+
+package() {
+  DESTDIR="$pkgdir" ninja -C build install
+  install -Dt "$pkgdir/usr/share/licenses/$pkgname" $pkgname/COPYING
+}
+
+# vim:set sw=2 et:


Property changes on: egl-wayland/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: unbreak-meson.diff
===================================================================
--- unbreak-meson.diff	                        (rev 0)
+++ unbreak-meson.diff	2018-05-20 19:06:32 UTC (rev 324637)
@@ -0,0 +1,13 @@
+diff --git i/meson.build w/meson.build
+index 10a6d52..93a3e86 100644
+--- i/meson.build
++++ w/meson.build
+@@ -55,7 +55,7 @@ pkgconf.set('datarootdir', '${prefix}/@0@'.format(get_option('datadir')))
+ pkgconf.set('PACKAGE',                           meson.project_name())
+ pkgconf.set('WAYLAND_EXTERNAL_VERSION',          meson.project_version())
+ pkgconf.set('EGL_EXTERNAL_PLATFORM_MIN_VERSION', '@0 at .@1@'.format(wayland_eglstream_major_version, wayland_eglstream_minor_version))
+-pkgconf.set('EGL_EXTERNAL_PLATFORM_MAX_VERSION', [wayland_eglstream_major_version.to_int() + 1])
++pkgconf.set('EGL_EXTERNAL_PLATFORM_MAX_VERSION', wayland_eglstream_major_version.to_int() + 1)
+ 
+ configure_file(input : 'wayland-eglstream.pc.in',
+                output : 'wayland-eglstream.pc',



More information about the arch-commits mailing list