diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 42 |
1 files changed, 26 insertions, 16 deletions
@@ -1,31 +1,41 @@ -# Maintainer: Nate Simon <aurpkg (at natesimon.net)> +# Maintainer: Nate Simon <njsimon10@gmail.com> pkgname=xviewer -pkgver=2.0.2 +pkgver=3.4.4 pkgrel=1 pkgdesc="A simple and easy to use image viewer. X-Apps Project." arch=('i686' 'x86_64' 'armv7h') license=('GPL') -depends=('gtk3' 'glib2' 'cinnamon-desktop' 'libpeas') -makedepends=('gnome-common' 'libglade' 'gobject-introspection') -optdepends=('xviewer-plugins: Extra plugins') -provides=($pkgname) -conflicts=('xviewer-git') +depends=('xapp' 'gtk3' 'cinnamon-desktop' 'libpeas' 'libexif' 'libjpeg-turbo' + 'exempi') +makedepends=('gobject-introspection' 'librsvg' 'meson' 'itstool' + 'gtk-doc') +optdepends=('xviewer-plugins: Extra plugins' + 'librsvg: for scaling svg images' + 'webp-pixbuf-loader: webp image support' + 'libheif: Load .heif, .heic, and .avif' + 'libavif: Load .avif' + 'yelp: View xviewer help and documentation from the app' +) url='https://github.com/linuxmint/xviewer' -source=("${pkgname}-${pkgver}-${pkgrel}.tar.gz::https://github.com/linuxmint/${pkgname}/archive/${pkgver}.tar.gz") -md5sums=('26dd06c2f5ee429c351f8654a9fa466b') - +source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz") +md5sums=('73c7e2725064e21c673aa54581e8a1dc') build() { cd ${srcdir}/${pkgname}-${pkgver} - gnome-autogen.sh --prefix="/usr" \ - --localstatedir="/var" \ - --libexecdir="/usr/lib/${pkgname}" - make + mkdir -p "${srcdir}"/${pkgname}-${pkgver}/build + cd "${srcdir}"/${pkgname}-${pkgver}/build + + meson --prefix=/usr \ + --libexecdir=lib/${pkgname} \ + --buildtype=plain \ + .. + ninja } package(){ - cd ${srcdir}/${pkgname}-${pkgver} - make DESTDIR="$pkgdir/" install + cd "${srcdir}"/${pkgname}-${pkgver}/build + + DESTDIR="$pkgdir/" ninja install } |