Subject: [alpine-aports] [PATCH 1/2] main/spice-protocol: upgrade to 0.12.12

From: Daniel Sabogal <[email-masked]>
Date: Wed, 17 Aug 2016 16:38:42 -0400

---
 main/spice-protocol/APKBUILD | 26 ++++++++------------------
 1 file changed, 8 insertions(+), 18 deletions(-)

diff --git a/main/spice-protocol/APKBUILD b/main/spice-protocol/APKBUILD
index 85a5ec9..25d9ccb 100644
--- a/main/spice-protocol/APKBUILD
+++ b/main/spice-protocol/APKBUILD
@@ -1,7 +1,7 @@
 # Contributor: Natanael Copa <[email-masked]>
 # Maintainer: Natanael Copa <[email-masked]>
 pkgname=spice-protocol
-pkgver=0.12.11
+pkgver=0.12.12
 pkgrel=0
 pkgdesc="Spice protocol header files"
 url="http://www.spice-space.org/"
@@ -12,22 +12,12 @@ depends_dev=""
 makedepends="$depends_dev"
 install=""
 subpackages=""
-source="http://www.spice-space.org/download/releases/spice-protocol-$pkgver.tar.bz2
+source="http://www.spice-space.org/download/releases/$pkgname-$pkgver.tar.bz2
 	"
 
-_builddir="$srcdir"/spice-protocol-$pkgver
-prepare() {
-	local i
-	cd "$_builddir"
-	for i in $source; do
-		case $i in
-		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
-		esac
-	done
-}
-
+builddir="$srcdir"/$pkgname-$pkgver
 build() {
-	cd "$_builddir"
+	cd "$builddir"
 	./configure \
 		--build=$CBUILD \
 		--host=$CHOST \
@@ -37,11 +27,11 @@ build() {
 }
 
 package() {
-	cd "$_builddir"
+	cd "$builddir"
 	make pkgconfigdir=/usr/lib/pkgconfig DESTDIR="$pkgdir" install \
 		|| return 1
 }
 
-md5sums="422bf0bc1eb34c8af3479a78b28e969b  spice-protocol-0.12.11.tar.bz2"
-sha256sums="22bae438bfb6c3245b195755c3f55e72c1f2bfae6f39c905b576fcb6c79b6330  spice-protocol-0.12.11.tar.bz2"
-sha512sums="748217f8e3e5d13e14429d6a963737ecbe545b1fc700efb875e74a83b9a8f98d9d8a8917a65ba3c49f69b478af7a995e708689033663e6354692c50c39f108f3  spice-protocol-0.12.11.tar.bz2"
+md5sums="3b2886cceaefc228b7afa12300462abd  spice-protocol-0.12.12.tar.bz2"
+sha256sums="17abdc2743b5d44b0f4423b61c44aafe9f2078c27218aeea78c2d02a5c409d03  spice-protocol-0.12.12.tar.bz2"
+sha512sums="66e7a902b3c4a5a778cb91ffd9d324b12d414184146ac834dfb3bd81b4b6b1bb56258d3e1ce240b6f8747e1960fce8f0f6b0ada3617e9f9819be7118195fce6b  spice-protocol-0.12.12.tar.bz2"
-- 
2.8.3

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

---

From: Daniel Sabogal <[email-masked]>
Date: Wed, 17 Aug 2016 16:38:43 -0400

---
 main/spice-gtk/APKBUILD | 31 ++++++++-----------------------
 1 file changed, 8 insertions(+), 23 deletions(-)

diff --git a/main/spice-gtk/APKBUILD b/main/spice-gtk/APKBUILD
index 9d1407f..3d53ee5 100644
--- a/main/spice-gtk/APKBUILD
+++ b/main/spice-gtk/APKBUILD
@@ -1,7 +1,7 @@
 # Contributor: Natanael Copa <[email-masked]>
 # Maintainer: Natanael Copa <[email-masked]>
 pkgname=spice-gtk
-pkgver=0.29
+pkgver=0.32
 pkgrel=0
 pkgdesc="A GTK+ widget for SPICE clients"
 url="http://spice-space.org/page/Spice-Gtk"
@@ -19,22 +19,12 @@ install=""
 options="suid"
 subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-tools
 	spice-glib:glib"
+source="http://www.spice-space.org/download/gtk/$pkgname-$pkgver.tar.bz2"
 
-source="http://www.spice-space.org/download/gtk/spice-gtk-$pkgver.tar.bz2"
-
-_builddir="$srcdir"/spice-gtk-$pkgver
-prepare() {
-	local i
-	cd "$_builddir"
-	for i in $source; do
-		case $i in
-		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
-		esac
-	done
-}
+builddir="$srcdir"/$pkgname-$pkgver
 
 build() {
-	cd "$_builddir"
+	cd "$builddir"
 	./configure \
 		--build=$CBUILD \
 		--host=$CHOST \
@@ -50,7 +40,7 @@ build() {
 }
 
 package() {
-	cd "$_builddir"
+	cd "$builddir"
 	make -j1 DESTDIR="$pkgdir" install || return 1
 }
 
@@ -66,13 +56,8 @@ glib() {
 	mv "$pkgdir"/usr/lib/*-glib-*.so* \
 		"$pkgdir"/usr/lib/*controller.so.* \
 		"$subpkgdir"/usr/lib/ || return 1
-	cd "$pkgdir"
-	for i in $(find -name GLib*.typelib); do
-		mkdir -p "$subpkgdir"/${i%/*}
-		mv $i "$subpkgdir"/${i%/*}
-	done
 }
 
-md5sums="f84b8fd6a5e926dce07ec5ebb5f0caf3  spice-gtk-0.29.tar.bz2"
-sha256sums="44c7e22713246a2054c3c3b6e0280fd4c1fdbd2c8d33e5eb95bcda4748d5e973  spice-gtk-0.29.tar.bz2"
-sha512sums="87cdcc5daa0f14eda5225cbe5cf0f29c1fb059c9fbbd6dfd52da02655db13f67f508c448dd5754877e12c577b5efde230914928fd91fcccf33eff52fac2319b0  spice-gtk-0.29.tar.bz2"
+md5sums="09930abb5ebe1b25b0f6988eb5716f98  spice-gtk-0.32.tar.bz2"
+sha256sums="4c48f4099335e0cd100854162a44070d34ed73dfcad2115e80c075013b49ee02  spice-gtk-0.32.tar.bz2"
+sha512sums="6c677c814b9256404effdab177695e186342f81aa11cfe8ff49df8d0ee19b7c7ed51468b75b32318a763c826a46832c9dfe93ba8dc4d1ef7d5943b7db2160f45  spice-gtk-0.32.tar.bz2"
-- 
2.8.3

---