Subject: [alpine-aports] [PATCH 1/5] testing/libinput: upgrade to 1.6.3

From: Daniel Sabogal <[email-masked]>
Date: Wed, 8 Mar 2017 19:47:48 -0500

use !check
take maintainership
---
 testing/libinput/APKBUILD | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/testing/libinput/APKBUILD b/testing/libinput/APKBUILD
index c7e4335fc2..46379e84a6 100644
--- a/testing/libinput/APKBUILD
+++ b/testing/libinput/APKBUILD
@@ -1,7 +1,7 @@
 # Contributor: Sören Tempel <[email-masked]>
-# Maintainer:
+# Maintainer: Daniel Sabogal <[email-masked]>
 pkgname=libinput
-pkgver=1.6.2
+pkgver=1.6.3
 pkgrel=0
 pkgdesc="Library for handling input devices"
 url="http://www.freedesktop.org/wiki/Software/libinput/"
@@ -10,6 +10,7 @@ license="custom"
 depends=""
 makedepends="mtdev-dev eudev-dev libevdev-dev grep"
 subpackages="$pkgname-dev $pkgname-doc"
+options="!check"
 source="http://freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz"
 
 builddir="$srcdir/$pkgname-$pkgver"
@@ -24,12 +25,11 @@ build() {
 		--localstatedir=/var \
 		--disable-libwacom \
 		|| return 1
-	make || return 1
+	make
 }
 
 package() {
-	make DESTDIR="$pkgdir" \
-		-C "$builddir" install || return 1
+	make DESTDIR="$pkgdir" -C "$builddir" install
 }
 
-sha512sums="f1e1436ec4259ebddf93a50fe4d39a52713efd246a39a072b44bf296a413bdadbb789d6a4f0107ed3eb37afe34a37a43c9e75dcf814462385011eff2d3f42db7  libinput-1.6.2.tar.xz"
+sha512sums="be1ab191b5605943d6f46a5fee7af9ecba83ab30ba3d38b6ec136980f2183f6dcb5aaf048aa81a096c4f51b6de05bebc83b4ffa29a0574752062a994f377aa5f  libinput-1.6.3.tar.xz"
-- 
2.11.1

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---

---

From: Daniel Sabogal <[email-masked]>
Date: Wed, 8 Mar 2017 19:47:52 -0500

---
 {testing => community}/libinput/APKBUILD          | 0
 {testing => community}/sway/APKBUILD              | 0
 {testing => community}/wayland-protocols/APKBUILD | 0
 {testing => community}/wlc/APKBUILD               | 0
 4 files changed, 0 insertions(+), 0 deletions(-)
 rename {testing => community}/libinput/APKBUILD (100%)
 rename {testing => community}/sway/APKBUILD (100%)
 rename {testing => community}/wayland-protocols/APKBUILD (100%)
 rename {testing => community}/wlc/APKBUILD (100%)

diff --git a/testing/libinput/APKBUILD b/community/libinput/APKBUILD
similarity index 100%
rename from testing/libinput/APKBUILD
rename to community/libinput/APKBUILD
diff --git a/testing/sway/APKBUILD b/community/sway/APKBUILD
similarity index 100%
rename from testing/sway/APKBUILD
rename to community/sway/APKBUILD
diff --git a/testing/wayland-protocols/APKBUILD b/community/wayland-protocols/APKBUILD
similarity index 100%
rename from testing/wayland-protocols/APKBUILD
rename to community/wayland-protocols/APKBUILD
diff --git a/testing/wlc/APKBUILD b/community/wlc/APKBUILD
similarity index 100%
rename from testing/wlc/APKBUILD
rename to community/wlc/APKBUILD
-- 
2.11.1

---

---

From: Daniel Sabogal <[email-masked]>
Date: Wed, 8 Mar 2017 19:47:51 -0500

use !check
remove unneeded dependencies
---
 testing/sway/APKBUILD | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/testing/sway/APKBUILD b/testing/sway/APKBUILD
index fd577c1730..dcd7fd45e3 100644
--- a/testing/sway/APKBUILD
+++ b/testing/sway/APKBUILD
@@ -1,16 +1,15 @@
-# Contributor: Daniel Sabogal <[email-masked]>
-# Maintainer:
+# Maintainer: Daniel Sabogal <[email-masked]>
 pkgname=sway
 pkgver=0.12
-pkgrel=0
+pkgrel=1
 pkgdesc="i3 compatible window manager for Wayland"
 url="http://swaywm.org"
 arch="all"
 license="MIT"
-options="suid"
-depends="libxcursor"
+options="suid !check"
+depends=""
 makedepends="asciidoc cmake gdk-pixbuf json-c-dev libcap-dev libinput-dev
-	libxkbcommon-dev linux-pam-dev pango-dev wayland-dev wlc-dev"
+	linux-pam-dev pango-dev wayland-dev wlc-dev"
 subpackages="$pkgname-doc"
 source="$pkgname-$pkgver.tar.gz::https://github.com/SirCmpwn/$pkgname/archive/$pkgver.tar.gz"
 builddir="$srcdir/$pkgname-$pkgver"
@@ -29,7 +28,7 @@ build() {
 		-DCMAKE_INSTALL_SYSCONFDIR=/etc \
 		-DCMAKE_INSTALL_PREFIX=/usr \
 		|| return 1
-	make || return 1
+	make
 }
 
 package() {
-- 
2.11.1

---

---

From: Daniel Sabogal <[email-masked]>
Date: Wed, 8 Mar 2017 19:47:49 -0500

---
 testing/wayland-protocols/APKBUILD | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/testing/wayland-protocols/APKBUILD b/testing/wayland-protocols/APKBUILD
index 4998c58f80..9432fd7803 100644
--- a/testing/wayland-protocols/APKBUILD
+++ b/testing/wayland-protocols/APKBUILD
@@ -2,7 +2,7 @@
 # Maintainer: Valery Kartel <[email-masked]>
 pkgname=wayland-protocols
 pkgver=1.7
-pkgrel=2
+pkgrel=3
 pkgdesc="Protocols and protocol extensions complementing the Wayland core protocol"
 url="http://wayland.freedesktop.org"
 arch="noarch"
@@ -11,6 +11,7 @@ depends=
 provides="$pkgname-dev"
 makedepends="wayland-dev"
 subpackages=
+options="!check"
 source="https://wayland.freedesktop.org/releases/$pkgname-$pkgver.tar.xz"
 builddir="$srcdir/$pkgname-$pkgver"
 
@@ -27,10 +28,6 @@ build() {
 	make || return 1
 }
 
-check() {
-	:
-}
-
 package() {
 	make DESTDIR="$pkgdir" \
 		-C "$builddir" install || return 1
-- 
2.11.1

---

---

From: Daniel Sabogal <[email-masked]>
Date: Wed, 8 Mar 2017 19:47:50 -0500

---
 testing/wlc/APKBUILD | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/testing/wlc/APKBUILD b/testing/wlc/APKBUILD
index 622ecf82cd..34158ba454 100644
--- a/testing/wlc/APKBUILD
+++ b/testing/wlc/APKBUILD
@@ -1,8 +1,7 @@
-# Contributor: Daniel Sabogal <[email-masked]>
-# Maintainer:
+# Maintainer: Daniel Sabogal <[email-masked]>
 pkgname=wlc
 pkgver=0.0.8
-pkgrel=0
+pkgrel=1
 pkgdesc="Wayland Compositor Library"
 url="https://github.com/Cloudef/wlc"
 arch="all"
@@ -13,7 +12,6 @@ makedepends="cmake eudev-dev libinput-dev libx11-dev libxkbcommon-dev mesa-dev
 	xcb-util-wm-dev"
 subpackages="$pkgname-dev"
 source="https://github.com/Cloudef/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.bz2"
-
 builddir="$srcdir/$pkgname-$pkgver"
 
 build() {
@@ -24,13 +22,15 @@ build() {
 		-DCMAKE_INSTALL_PREFIX=/usr \
 		-DCMAKE_INSTALL_LIBDIR=lib \
 		|| return 1
-	make || return 1
-	make test || return 1
+	make
+}
+
+check() {
+	make test -C "$builddir"
 }
 
 package() {
-	make DESTDIR="$pkgdir/" \
-		-C "$builddir" install || return 1
+	make DESTDIR="$pkgdir/" -C "$builddir" install
 }
 
 sha512sums="5ddf7dfc5115fa51ea078933b60c6e8ef9515db98f1c47d4ecfe3f49e07dbdadf2bbeb6f6002cc83d13098dee5fa7e66fcae211a58bd762ee984088aebadb779  wlc-0.0.8.tar.bz2"
-- 
2.11.1

---