Commit 9cbbc8cd authored by Leo's avatar Leo Committed by Natanael Copa

community/spice-gtk: upgrade to 0.37

parent 64bfa6c3
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=spice-gtk
pkgver=0.35
pkgrel=2
pkgver=0.37
pkgrel=0
pkgdesc="A GTK+ widget for SPICE clients"
url="http://spice-space.org/page/Spice-Gtk"
arch="all"
license="LGPL-2.0-or-later"
depends_dev="gtk+3.0-dev polkit-dev libxrandr-dev openssl-dev
cyrus-sasl-dev gst-plugins-base-dev libjpeg-turbo-dev zlib-dev
acl-dev lz4-dev opus-dev"
makedepends="$depends_dev bash usbutils python2-dev eudev-dev phodav-dev
usbredir-dev libusb-dev libsoup-dev spice-protocol
py-parsing gobject-introspection-dev
makedepends="
meson
gstreamer-dev
gst-plugins-base-dev
spice-protocol
json-glib-dev
gtk+3.0-dev
usbredir-dev
libusb-dev
asciidoc
lz4-dev
opus-dev
glib-dev
cyrus-sasl-dev
gobject-introspection-dev
vala
libjpeg-turbo-dev
cairo-dev
zlib-dev
pixman-dev
openssl-dev
libx11-dev
libepoxy-dev
libva-dev
py3-six
py3-parsing
"
options="suid"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-tools
......@@ -20,36 +40,44 @@ subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-tools
source="https://www.spice-space.org/download/gtk/$pkgname-$pkgver.tar.bz2"
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
meson \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--with-gtk=3.0 \
--with-audio=gstreamer \
--disable-celt051 \
--disable-werror \
--enable-webdav \
--enable-lz4 \
--enable-opus \
--enable-smartcard=no \
--enable-usbredir=yes
make
-Dgtk=enabled \
-Dwebdav=disabled \
-Dpulse=disabled \
-Dbuiltin-mjpeg=false \
-Dusbredir=enabled \
-Dpolkit=disabled \
-Dpie=true \
-Dintrospection=enabled \
-Dvapi=enabled \
-Dlz4=enabled \
-Dsasl=enabled \
-Dcelt051=disabled \
-Dopus=enabled \
-Dsmartcard=disabled \
-Dgtk_doc=disabled \
-Dcoroutine=gthread \
. output
ninja -C output
}
check() {
ninja -C output test
}
package() {
make -j1 DESTDIR="$pkgdir" install
DESTDIR="$pkgdir" ninja -C output install
}
tools() {
pkgdesc=""
pkgdesc="$pkgdesc (tooling)"
mkdir -p "$subpkgdir"/usr
mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
}
glib() {
pkgdesc=""
pkgdesc="$pkgdesc (glib library)"
mkdir -p "$subpkgdir"/usr/lib \
"$subpkgdir"/usr/lib/girepository-1.0/
mv "$pkgdir"/usr/lib/*-glib-*.so* \
......@@ -58,4 +86,4 @@ glib() {
"$subpkgdir"/usr/lib/girepository-1.0/
}
sha512sums="f0914a4a9baf892e39dab7d51aa9f5ab4dbb4ef01f09da158b20756f890745837d0a6c8c1f7897844e695be2ed01f3b1d04ada1cacc958b5cfadb0d4bf7c4729 spice-gtk-0.35.tar.bz2"
sha512sums="a0a20bc6f25337d86e57fe1fc9586c4cc84457fc8c38cdcc5a728990a69018da0fca3ab5aa63349786b5a7508c82b716c94803eefb3495cffb7df4526db2d029 spice-gtk-0.37.tar.bz2"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment