diff options
-rw-r--r-- | libre/gnome-boxes/PKGBUILD | 52 |
1 files changed, 35 insertions, 17 deletions
diff --git a/libre/gnome-boxes/PKGBUILD b/libre/gnome-boxes/PKGBUILD index 3cf94f70d..90b493933 100644 --- a/libre/gnome-boxes/PKGBUILD +++ b/libre/gnome-boxes/PKGBUILD @@ -1,4 +1,3 @@ -# $Id: PKGBUILD 212492 2017-02-15 05:12:21Z bgyorgy $ # Maintainer (Arch): Balló György <ballogyor+arch at gmail dot com> # Contributor (Arch): Stefano Facchini <stefano.facchini@gmail.com> # Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe> @@ -7,23 +6,41 @@ # Contributor : André Silva <emulatorman@hyperbola.info> pkgname=gnome-boxes -pkgver=3.26.2 -pkgrel=1.parabola1 -pkgdesc="Simple GNOME application to access remote or virtual systems, without suggestions (and logos) of nonfree operating systems" -arch=('i686' 'x86_64' 'armv7h') +pkgver=3.30.3 +pkgrel=1 +pkgrel+=.par1 +pkgdesc="Simple GNOME application to access remote or virtual systems" +pkgdesc+=", without suggestions (and logos) of nonfree operating systems" +arch=('x86_64') +arch+=('i686' 'armv7h') url="https://wiki.gnome.org/Boxes" license=('LGPL') conflicts=(${pkgname}-libre) replaces=(${pkgname}-libre) groups=('gnome') -depends=('cdrkit' 'gtk-vnc' 'libarchive' 'libgudev' 'libosinfo' 'libsecret' 'tracker' - 'libvirt-glib' 'mtools' 'qemu' 'spice-gtk3' 'libgovirt') -makedepends=('gobject-introspection' 'intltool' 'itstool' 'spice-protocol' 'vala') -source=(https://download.gnome.org/sources/$pkgname/${pkgver::4}/$pkgname-$pkgver.tar.xz) -sha256sums=('d00fc083182963dc1bbdee5e743ceb28ba03fbf5a9ea87c78d29dca5fb5b9210') +depends=('cdrtools' 'gtk-vnc' 'libarchive' 'libgovirt' 'libgudev' 'libosinfo' 'libsecret' + 'libvirt-glib' 'mtools' 'qemu' 'spice-gtk3' 'tracker' 'webkit2gtk' 'freerdp') +makedepends=('git' 'gobject-introspection' 'itstool' 'meson' 'spice-protocol' 'vala') +_commit=d9253b816c8bd3df3de23e9e3ec0df187f27eb27 # tags/v3.30.3^0 +source=("git+https://gitlab.gnome.org/GNOME/gnome-boxes.git#commit=$_commit" + "git+https://gitlab.gnome.org/GNOME/gtk-frdp.git" + "git+https://gitlab.gnome.org/felipeborges/libovf-glib.git") +sha256sums=('SKIP' + 'SKIP' + 'SKIP') + +pkgver() { + cd $pkgname + git describe --tags | sed 's/^v//;s/-/+/g' +} prepare() { - cd $pkgname-$pkgver + cd $pkgname + git submodule init + git config --local submodule.subprojects/gtk-frdp.url "$srcdir/gtk-frdp" + git config --local submodule.subprojects/libovf-glib.url "$srcdir/libovf-glib" + git submodule update + # remove distro logos find ./data/osinfo/ -type f -name '*.xml' -exec sed -i '/<os /,/\/os>/ d' {} + # I'd rather not use Windows as example in user docs @@ -32,13 +49,14 @@ prepare() { } build() { - cd $pkgname-$pkgver - ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/$pkgname \ - --disable-schemas-compile --enable-vala - make + arch-meson $pkgname build + ninja -C build +} + +check() { + meson test -C build } package() { - cd $pkgname-$pkgver - make DESTDIR="$pkgdir" install + DESTDIR="$pkgdir" meson install -C build } |