[crux-commits] ports/contrib (3.5): spice-gtk: 0.36 -> 0.38

crux at crux.nu crux at crux.nu
Sat Jun 20 10:48:03 UTC 2020


commit 0fa73e4bbf983b1a662efa47ceba84ded3af7807
Author: Tim Biermann <tbier at posteo.de>
Date:   Sat Jun 20 10:46:11 2020 +0000

    spice-gtk: 0.36 -> 0.38

diff --git a/spice-gtk/.signature b/spice-gtk/.signature
index 9f84b14f1..f586841a5 100644
--- a/spice-gtk/.signature
+++ b/spice-gtk/.signature
@@ -1,5 +1,5 @@
 untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF33p03RZYquFptBxyxTu8CbZZDxNhwnbf1Cpj3GerENRE3QiARSqp3HXbrN0AOx1kMHdyV22HfLstQ0L/fpChxQs=
-SHA256 (Pkgfile) = 37f37bf28101bee5f992bbe7c53e84c4301e8b9a23090560d9b4a06ba14a7bcb
+RWSagIOpLGJF3/udGdPJb5XBIrOjR2XDYpnCHYrb7nP8sjYYwpixiW67dKRRR1enYKQjUi3kt3kMigGbsNhaUg/O5jwKqGa7kQY=
+SHA256 (Pkgfile) = c85e884411fde7687eb3d3d9be6e73eb7b93503f38229c6edbea1817577c94b9
 SHA256 (.footprint) = 0155aed8d0b44d56cd1346c7b8c95fbf04b4eecbf6e85c51d1015bda893e4b66
-SHA256 (spice-gtk-0.36.tar.bz2) = 7126c3584df12d40dcf4970f5f46fafd65b757620f911687e549f7da5c8fd7cd
+SHA256 (spice-gtk-0.38.tar.xz) = 5ae974731baf2b41316d4f0b3ae0c2e47f00bff91a5a617e189cd3dedcd96d8e
diff --git a/spice-gtk/Pkgfile b/spice-gtk/Pkgfile
index 77481699a..65dde6116 100644
--- a/spice-gtk/Pkgfile
+++ b/spice-gtk/Pkgfile
@@ -1,25 +1,22 @@
 # Description: GTK viewer for the spice protocol
-# URL:         http://spice-space.org
-# Maintainer:  Thomas Penteker, tek at serverop dot de 
-# Depends on:  gtk3 cyrus-sasl python-six spice-protocol libepoxy xorg-libxinerama xorg-libxcursor xorg-libxcomposite json-glib gstreamer gst-plugins-base
+# 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
 # Optional:    usbredir opus lz4
 
 name=spice-gtk
-version=0.36
+version=0.38
 release=1
-source=(http://spice-space.org/download/gtk/spice-gtk-$version.tar.bz2)
+# 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)
 
 build() {
-
-  cd $name-$version
-
-  ./configure --prefix=/usr \
-              --datarootdir=/usr/lib \
-              --enable-gtk-doc-html=no
- 
-  make
-  make DESTDIR=$PKG install
+  meson $name-$version build \
+    --prefix=/usr \
+    -Dgtk=enabled \
+    -Dgtk_doc=disabled
+  ninja -C build
+  DESTDIR=$PKG meson install -C build
 
   rm -rf $PKG/usr/{lib/gtk-doc/,lib/systemd,lib/locale,share/locale}
-
 }


More information about the crux-commits mailing list