pkgname: 'virt-viewer' pkgver: '11.0' pkgrel: '5' pkgdesc: 'A lightweight interface for interacting with the graphical display of virtualized guest OS.' url: 'https://virt-manager.org/' arch: x86_64 depends: - 'desktop-file-utils' - gdk-pixbuf - glib - gtk-vnc - gtk3 - libvirt - libvirt-glib - libxml2 - pango - spice-gtk - vte makedepends: - intltool - meson - ninja - 'gtk-vnc' - 'spice-gtk' - 'spice-protocol' - vte source: - 'https://gitlab.com/virt-viewer/virt-viewer/-/archive/v${pkgver}/virt-viewer-v${pkgver}.tar.gz' sha256sums: - 73e2f0148dd49c5ff5e8c5d0e9d9de592931895e89e2300e3de4ae96d8380a9b build: | cd ${pkgname}-v${pkgver} # meson >= 1.x: i18n.merge_file nie przyjmuje argumentu pozycyjnego sed -i -E '/^[[:space:]]+(desktop|mimetypes|metainfo),$/d' data/meson.build mkdir build cd build meson setup --prefix=/usr \ -Dvnc=enabled \ -Dspice=enabled \ -Dvte=enabled ninja DESTDIR=${PKGDIR} ninja install package: | true