diff options
author | Rasmus Thomsen <oss@cogitri.dev> | 2019-05-06 13:03:18 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-06-05 17:48:01 +0000 |
commit | 1b1801a0870bae9e2b35b661cc09c183477ef920 (patch) | |
tree | d6f4bebfb731ddf8faa5df176833ec805499daf2 | |
parent | 620e76feef0a2f2eedc278a5bb02c716dc73adb6 (diff) | |
download | aports-1b1801a0870bae9e2b35b661cc09c183477ef920.tar.bz2 aports-1b1801a0870bae9e2b35b661cc09c183477ef920.tar.xz |
testing/simple-scan: upgrade to 3.32.2
-rw-r--r-- | testing/simple-scan/APKBUILD | 44 |
1 files changed, 17 insertions, 27 deletions
diff --git a/testing/simple-scan/APKBUILD b/testing/simple-scan/APKBUILD index 989b4ad551..128188223b 100644 --- a/testing/simple-scan/APKBUILD +++ b/testing/simple-scan/APKBUILD @@ -1,43 +1,33 @@ # Contributor: Leonardo Arena <rnalrd@alpinelinux.org> -# Maintainer: +# Maintainer: Rasmus Thomsen <oss@cogitri.dev> pkgname=simple-scan -pkgver=3.24.1 +pkgver=3.32.2 pkgrel=0 pkgdesc="Simple Scan allows you to get images from a scanner" -url="https://launchpad.net/simple-scan" -arch="x86 x86_64" -license="GPL-3.0" +url="https://gitlab.gnome.org/GNOME/simple-scan" +arch="all" +license="GPL-3.0-or-later" makedepends="sane-dev dconf-dev gtk+3.0-dev colord-dev libgusb-dev vala itstool - libxml2-utils" -subpackages="$pkgname-doc" + libxml2-utils meson" +subpackages="$pkgname-doc $pkgname-lang" source="https://download.gnome.org/sources/simple-scan/${pkgver%.*}/simple-scan-$pkgver.tar.xz" -builddir="$srcdir"/$pkgname-$pkgver -prepare() { - cd "$builddir" - # Regenerate ui.c with packagekit disabled - touch src/ui.vala -} build() { - cd "$builddir" - ./configure --prefix=/usr \ + meson \ + --prefix=/usr \ --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --disable-schemas-compile \ - --disable-packagekit - make + --buildtype=release \ + output . + ninja -C output } -package() { - cd "$builddir" - make DESTDIR="$pkgdir" install +check() { + ninja -C output test } -check() { - cd "$builddir" - make check +package() { + DESTDIR="$pkgdir" ninja -C output install } -sha512sums="9f0ced644b13dcaad4f1e23a6520b1cbe3c36d995fca4791383f959986cd396f123638a23dbd02a9511ef7e1c9c915b3a025e9b7e4de4542a4c180c4fe29e2b9 simple-scan-3.24.1.tar.xz" +sha512sums="10322ae72461efe43a4e230443c3aca24aff6f0cab07750c6eab9ebb718889e51d8c77ff722c337f333a8952ac84f69d03ad88eedfd4432ef11f7c7493170e14 simple-scan-3.32.2.tar.xz" |