contrib/spice-gtk/Pkgfile

23 lines
867 B
Plaintext
Raw Normal View History

2013-04-09 16:30:20 +02:00
# Description: GTK viewer for the spice protocol
2020-06-20 12:46:11 +02:00
# URL: https://spice-space.org
# Maintainer: Thomas Penteker, tek at serverop dot de
# Depends on: meson ninja gtk3 spice-protocol pulseaudio xorg-libpixman gobject-introspection libjpeg-turbo cyrus-sasl python3-pyparsing python3-six gst-plugins-base gst-plugins-good gst-plugins-bad json-glib
2020-07-09 08:03:18 +02:00
# Optional: usbredir opus lz4 celt51
2013-04-09 16:30:20 +02:00
name=spice-gtk
2020-06-20 12:46:11 +02:00
version=0.38
2013-04-09 16:30:20 +02:00
release=1
2020-06-20 12:46:11 +02:00
# no need to fill in $name $version as this shitty link changes with every update <3
source=(https://gitlab.freedesktop.org/spice/spice-gtk/uploads/d09bd4bfb9619e9720c92622c2220b7e/spice-gtk-0.38.tar.xz)
2013-04-09 16:30:20 +02:00
build() {
2020-06-20 12:46:11 +02:00
meson $name-$version build \
--prefix=/usr \
-Dgtk=enabled \
-Dgtk_doc=disabled
ninja -C build
DESTDIR=$PKG meson install -C build
2013-04-09 16:30:20 +02:00
2015-11-30 00:49:30 +01:00
rm -rf $PKG/usr/{lib/gtk-doc/,lib/systemd,lib/locale,share/locale}
2013-04-09 16:30:20 +02:00
}