template 1.4 KB

1234567891011121314151617181920212223242526272829303132
  1. # Template file for 'gnome-boxes'
  2. pkgname=gnome-boxes
  3. version=3.38.0
  4. revision=1
  5. build_helper="gir"
  6. build_style=meson
  7. hostmakedepends="gettext itstool pkg-config vala glib-devel"
  8. makedepends="clutter-gtk-devel freerdp-devel gtk-vnc-devel libarchive-devel
  9. libglib-devel libgudev-devel libosinfo-devel libsecret-devel libsoup-devel
  10. libusb-devel libvirt-glib-devel libxml2-devel spice-gtk-devel spice-protocol
  11. tracker-devel vala-devel webkit2gtk-devel vte3-devel gtksourceview4-devel
  12. libhandy-devel"
  13. depends="desktop-file-utils hicolor-icon-theme libosinfo libvirt-glib qemu tracker"
  14. short_desc="GNOME 3 application to access remote or virtual systems"
  15. maintainer="Enno Boland <gottox@voidlinux.org>"
  16. license="LGPL-2.0-or-later"
  17. homepage="https://wiki.gnome.org/Apps/Boxes"
  18. changelog="https://raw.githubusercontent.com/GNOME/gnome-boxes/gnome-3-36/NEWS"
  19. distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
  20. checksum=696b599fc21af941975679205f2b129cffa03632c444810dd94b1409d041a38b
  21. # Liberation
  22. # Some code has been taken from:
  23. # https://git.parabola.nu/abslibre.git/tree/libre/gnome-boxes/PKGBUILD
  24. post_patch() {
  25. # remove recommended downloads of nonfree OS
  26. sed -i /os_id/d ./data/recommended-downloads.xml
  27. # I'd rather not use Windows as example in user docs
  28. find ./help/ -type f \( -name '*.po' -o -name '*.page' \) -exec \
  29. sed -Ei 's/(Microsoft )?Windows(™)?/Parabola/' {} +
  30. }