[arch-commits] Commit in gtk-layer-shell/repos/community-x86_64 (3 files)

Brett Cornwall ainola at archlinux.org
Thu Oct 22 15:47:30 UTC 2020


    Date: Thursday, October 22, 2020 @ 15:47:30
  Author: ainola
Revision: 729255

archrelease: copy trunk to community-x86_64

Added:
  gtk-layer-shell/repos/community-x86_64/PKGBUILD
    (from rev 729254, gtk-layer-shell/trunk/PKGBUILD)
  gtk-layer-shell/repos/community-x86_64/disable_license_check.patch
    (from rev 729254, gtk-layer-shell/trunk/disable_license_check.patch)
Deleted:
  gtk-layer-shell/repos/community-x86_64/PKGBUILD

-----------------------------+
 PKGBUILD                    |   88 ++++++++++++++++++++++--------------------
 disable_license_check.patch |    9 ++++
 2 files changed, 57 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-10-22 15:47:20 UTC (rev 729254)
+++ PKGBUILD	2020-10-22 15:47:30 UTC (rev 729255)
@@ -1,40 +0,0 @@
-# Maintainer: Brett Cornwall <ainola at archlinux.org>
-# Contributor: Adrian Perez de Castro <aperez at igalia.com>
-
-pkgdesc='Library to create Wayland desktop components using the Layer Shell protocol'
-pkgname=gtk-layer-shell
-pkgver=0.4.0
-pkgrel=1
-arch=(x86_64)
-license=(LGPL3)
-url="https://github.com/wmww/gtk-layer-shell"
-depends=(
-    "gtk3"
-    "wayland"
-)
-makedepends=(
-    "gtk-doc"
-    "gobject-introspection"
-    "meson"
-    "ninja"
-)
-source=("$pkgname-$pkgver.tar.gz::https://github.com/wmww/gtk-layer-shell/archive/v$pkgver.tar.gz")
-sha512sums=('60882fa1b79c81ececd7d5dd1b3722cde10f48ff1e25a533afc6c0474d75f8e83d596ec3585301917337e770766db4a14c1c45132c4fef09d49967e2fd531049')
-
-build() {
-    meson --prefix=/usr \
-          --wrap-mode=nofallback \
-          --buildtype=plain \
-          -Ddocs=true \
-          "$pkgname-$pkgver" \
-          build
-    ninja -C build
-}
-
-test() {
-    ninja -C test
-}
-
-package() {
-    DESTDIR="$pkgdir" ninja -C build install
-}

Copied: gtk-layer-shell/repos/community-x86_64/PKGBUILD (from rev 729254, gtk-layer-shell/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-10-22 15:47:30 UTC (rev 729255)
@@ -0,0 +1,48 @@
+# Maintainer: Brett Cornwall <ainola at archlinux.org>
+# Contributor: Adrian Perez de Castro <aperez at igalia.com>
+
+pkgdesc='Library to create Wayland desktop components using the Layer Shell protocol'
+pkgname=gtk-layer-shell
+pkgver=0.4.0
+pkgrel=2
+arch=(x86_64)
+license=(LGPL3)
+url="https://github.com/wmww/gtk-layer-shell"
+depends=(
+    "gtk3"
+    "wayland"
+)
+makedepends=(
+    "gtk-doc"
+    "gobject-introspection"
+    "meson"
+    "ninja"
+)
+source=("$pkgname-$pkgver.tar.gz::https://github.com/wmww/gtk-layer-shell/archive/v$pkgver.tar.gz"
+        "disable_license_check.patch")
+sha512sums=('60882fa1b79c81ececd7d5dd1b3722cde10f48ff1e25a533afc6c0474d75f8e83d596ec3585301917337e770766db4a14c1c45132c4fef09d49967e2fd531049'
+            '84e1c890ac57bd516e3616da7bfe096d4aa4b5c495140871e004a02af7d789377689e3f54344a9335fa4a8ee1d9fb6a9b914ba45b188b0e17abf4a25de2031ac')
+
+prepare() {
+    # https://github.com/wmww/gtk-layer-shell/issues/73
+    patch -p1 -d "$pkgname-$pkgver" < disable_license_check.patch
+}
+
+build() {
+    meson --prefix=/usr \
+          --wrap-mode=nofallback \
+          --buildtype=plain \
+          -Dtests=true \
+          -Ddocs=true \
+          "$pkgname-$pkgver" \
+          build
+    ninja -C build
+}
+
+check() {
+    ninja -C build test
+}
+
+package() {
+    DESTDIR="$pkgdir" ninja -C build install
+}

Copied: gtk-layer-shell/repos/community-x86_64/disable_license_check.patch (from rev 729254, gtk-layer-shell/trunk/disable_license_check.patch)
===================================================================
--- disable_license_check.patch	                        (rev 0)
+++ disable_license_check.patch	2020-10-22 15:47:30 UTC (rev 729255)
@@ -0,0 +1,9 @@
+--- a/test/meson.build	2020-10-21 17:30:15.000000000 -0700
++++ b/test/meson.build	2020-10-22 08:38:03.794099893 -0700
+@@ -47,6 +47,3 @@
+     include_directories: [gtk_layer_shell_inc],
+     link_with: [gtk_layer_shell_lib])
+ test('test-get-version', test_get_version, args: [meson.project_version()])
+-
+-check_licenses_script = files(meson.current_source_dir() + '/check-licenses.py')
+-test('check-licenses', py, args: [check_licenses_script])



More information about the arch-commits mailing list