[arch-commits] Commit in gtk-layer-shell/trunk (PKGBUILD disable_license_check.patch)

2020-11-03 Thread Brett Cornwall via arch-commits
Date: Wednesday, November 4, 2020 @ 06:25:55
  Author: ainola
Revision: 741526

upgpkg: gtk-layer-shell 0.5.1-1; rm unused patch

Modified:
  gtk-layer-shell/trunk/PKGBUILD
Deleted:
  gtk-layer-shell/trunk/disable_license_check.patch

-+
 PKGBUILD|   15 ---
 disable_license_check.patch |9 -
 2 files changed, 4 insertions(+), 20 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-11-04 06:14:18 UTC (rev 741525)
+++ PKGBUILD2020-11-04 06:25:55 UTC (rev 741526)
@@ -3,8 +3,8 @@
 
 pkgdesc='Library to create Wayland desktop components using the Layer Shell 
protocol'
 pkgname=gtk-layer-shell
-pkgver=0.4.0
-pkgrel=2
+pkgver=0.5.1
+pkgrel=1
 arch=(x86_64)
 license=(LGPL3)
 url="https://github.com/wmww/gtk-layer-shell;
@@ -18,16 +18,9 @@
 "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')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/wmww/gtk-layer-shell/archive/v$pkgver.tar.gz;)
+sha512sums=('110b92b643dede089021e4e502634415acc75e7cc76c11beb1a987922d31d5342257b81ddb51ba9fea204056113f1f0b90b776f84b603cddb7997ea99bb6344e')
 
-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 \

Deleted: disable_license_check.patch
===
--- disable_license_check.patch 2020-11-04 06:14:18 UTC (rev 741525)
+++ disable_license_check.patch 2020-11-04 06:25:55 UTC (rev 741526)
@@ -1,9 +0,0 @@
 a/test/meson.build 2020-10-21 17:30:15.0 -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])


[arch-commits] Commit in gtk-layer-shell/trunk (PKGBUILD disable_license_check.patch)

2020-10-22 Thread Brett Cornwall via arch-commits
Date: Thursday, October 22, 2020 @ 15:47:20
  Author: ainola
Revision: 729254

Actually implement tests; so much was wrong before...

Include a patch for disabling a license check as it depends on a git repo. See
https://github.com/wmww/gtk-layer-shell/issues/73

Added:
  gtk-layer-shell/trunk/disable_license_check.patch
Modified:
  gtk-layer-shell/trunk/PKGBUILD

-+
 PKGBUILD|   18 +-
 disable_license_check.patch |9 +
 2 files changed, 22 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-10-22 15:45:38 UTC (rev 729253)
+++ PKGBUILD2020-10-22 15:47:20 UTC (rev 729254)
@@ -4,7 +4,7 @@
 pkgdesc='Library to create Wayland desktop components using the Layer Shell 
protocol'
 pkgname=gtk-layer-shell
 pkgver=0.4.0
-pkgrel=1
+pkgrel=2
 arch=(x86_64)
 license=(LGPL3)
 url="https://github.com/wmww/gtk-layer-shell;
@@ -18,13 +18,21 @@
 "meson"
 "ninja"
 )
-source=("$pkgname-$pkgver.tar.gz::https://github.com/wmww/gtk-layer-shell/archive/v$pkgver.tar.gz;)
-sha512sums=('60882fa1b79c81ececd7d5dd1b3722cde10f48ff1e25a533afc6c0474d75f8e83d596ec3585301917337e770766db4a14c1c45132c4fef09d49967e2fd531049')
+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
@@ -31,8 +39,8 @@
 ninja -C build
 }
 
-test() {
-ninja -C test
+check() {
+ninja -C build test
 }
 
 package() {

Added: disable_license_check.patch
===
--- disable_license_check.patch (rev 0)
+++ disable_license_check.patch 2020-10-22 15:47:20 UTC (rev 729254)
@@ -0,0 +1,9 @@
+--- a/test/meson.build 2020-10-21 17:30:15.0 -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])