mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
main/spice-protocol: upgrade to 0.12.15
This commit is contained in:
parent
be1bd2e005
commit
6b9690b74d
@ -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
|
||||
}
|
||||
meson build/ \
|
||||
--buildtype=release \
|
||||
--prefix=/usr \
|
||||
--datadir=lib
|
||||
|
||||
# As of version 0.12.13 the check function exists but checks nothing at all!
|
||||
check() {
|
||||
cd "$builddir"
|
||||
|
||||
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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user