aboutsummaryrefslogtreecommitdiffstats
path: root/main/spice-gtk
diff options
context:
space:
mode:
authorDaniel Sabogal <dsabogalcc@gmail.com>2016-08-17 16:38:43 -0400
committerNatanael Copa <ncopa@alpinelinux.org>2016-09-06 08:05:58 +0000
commitbbbe6b7f7a33fafe77015ba15083438823636ef2 (patch)
treefcf29992fbc6fbc250ebf5256011d7bf53493bf3 /main/spice-gtk
parent862f67a3a968b8c846f07d8285826fdcabbe8bb8 (diff)
downloadaports-bbbe6b7f7a33fafe77015ba15083438823636ef2.tar.bz2
aports-bbbe6b7f7a33fafe77015ba15083438823636ef2.tar.xz
main/spice-gtk: upgrade to 0.32
Diffstat (limited to 'main/spice-gtk')
-rw-r--r--main/spice-gtk/APKBUILD31
1 files changed, 8 insertions, 23 deletions
diff --git a/main/spice-gtk/APKBUILD b/main/spice-gtk/APKBUILD
index 9d1407f1ef..3d53ee5c9d 100644
--- a/main/spice-gtk/APKBUILD
+++ b/main/spice-gtk/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
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"