aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorTBK <tbk@jjtc.eu>2019-04-12 05:15:12 +0200
committerLeonardo Arena <rnalrd@alpinelinux.org>2019-04-12 09:56:12 +0000
commit6b9690b74d52d6ca6defd00a06a897e862757dc7 (patch)
tree72e06c636140be1c67e4a3863d98e210f299fdfb /main
parentbe1bd2e00596d3191a892e4013b9839437ba0064 (diff)
downloadaports-6b9690b74d52d6ca6defd00a06a897e862757dc7.tar.bz2
aports-6b9690b74d52d6ca6defd00a06a897e862757dc7.tar.xz
main/spice-protocol: upgrade to 0.12.15
Diffstat (limited to 'main')
-rw-r--r--main/spice-protocol/APKBUILD33
1 files changed, 13 insertions, 20 deletions
diff --git a/main/spice-protocol/APKBUILD b/main/spice-protocol/APKBUILD
index 89918a231a..bad393d160 100644
--- a/main/spice-protocol/APKBUILD
+++ b/main/spice-protocol/APKBUILD
@@ -1,39 +1,32 @@
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=spice-protocol
-pkgver=0.12.14
+pkgver=0.12.15
pkgrel=0
pkgdesc="Spice protocol header files"
url="http://www.spice-space.org/"
arch="noarch"
-license="BSD and LGPL-2.0-or-later"
-depends=""
-makedepends=""
-source="https://www.spice-space.org/download/releases/$pkgname-$pkgver.tar.bz2
- "
-
+license="BSD-3-Clause LGPL-2.1-or-later"
+options="!check" # No test suite
+makedepends="meson"
+source="https://www.spice-space.org/download/releases/$pkgname-$pkgver.tar.bz2"
builddir="$srcdir"/$pkgname-$pkgver
+
build() {
cd "$builddir"
- ./configure \
- --build=$CBUILD \
- --host=$CHOST \
- --prefix=/usr
- make
-}
-
-# As of version 0.12.13 the check function exists but checks nothing at all!
-check() {
- cd "$builddir"
+ meson build/ \
+ --buildtype=release \
+ --prefix=/usr \
+ --datadir=lib
- make check
+ ninja -C build/
}
package() {
cd "$builddir"
- make pkgconfigdir=/usr/lib/pkgconfig DESTDIR="$pkgdir" install
+ DESTDIR="$pkgdir" ninja -C build/ install
}
-sha512sums="4266bcbef9f641a97a2ff72f1b01380a41e51f4b1a0dbb73fdf68baf552598a62d5cf0c526adf2997a55ee5d4fe9392927c3d7f4556827bfb2933f59bfab55bb spice-protocol-0.12.14.tar.bz2"
+sha512sums="1a3c3c26239d092c6c24708f5bd070ae1cb146f92f2329b63bec2d21a7276cdf1b9567f434bfbeeb1f7cd7dd4ad47494c51dcdbbba5af8e271e66dfe5b11de9d spice-protocol-0.12.15.tar.bz2"