summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9bcce9b3609be4f57a72d52fb776afa772842324 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix
# Contributor: Igor Dyatlov <dyatlov.igor@protonmail.com>

pkgname=upscaler
pkgver=1.6.3
pkgrel=1
pkgdesc="Upscale and enhance images"
arch=(any)
url="https://gitlab.gnome.org/World/Upscaler"
license=(GPL-3.0-only)
depends=(libadwaita python-gobject python-pillow python-vulkan upscayl-ncnn python gtk4 pango glib2)
makedepends=(git blueprint-compiler meson)
checkdepends=(appstream-glib)
source=("git+https://gitlab.gnome.org/World/Upscaler.git#tag=${pkgver}")
b2sums=('841220ef114f34b922a0d682f301712e8a7718d43519be37570360079eb21c7d0af87f816d194392b8722f034e7c5d669bff4d65a0cdccbb3295c0ece90d22fb')

build() {
  arch-meson Upscaler build
  meson compile -C build
}

check() {
  meson test -C build --print-errorlogs || :
}

package() {
  meson install -C build --destdir "$pkgdir"
}