aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTaner Tas <taner76@gmail.com>2018-07-19 20:57:14 +0300
committerRoberto Oliveira <robertoguimaraes8@gmail.com>2018-07-24 07:30:05 +0000
commitfa852bb69460bc230cfaa36dcb49e7f90da5aa5d (patch)
tree951f7e0faa30c652ec686f14973bf919eb93a3de
parentc232e0f42d0574c186359bfddc4e44a5d63f9b5b (diff)
downloadaports-fa852bb69460bc230cfaa36dcb49e7f90da5aa5d.tar.bz2
aports-fa852bb69460bc230cfaa36dcb49e7f90da5aa5d.tar.xz
testing/viewnior: Upgrade to 1.7
* Rebuild against exiv2-0.26
-rw-r--r--testing/viewnior/APKBUILD26
1 files changed, 10 insertions, 16 deletions
diff --git a/testing/viewnior/APKBUILD b/testing/viewnior/APKBUILD
index 37d0a08d7b..52fe2bc0dc 100644
--- a/testing/viewnior/APKBUILD
+++ b/testing/viewnior/APKBUILD
@@ -1,40 +1,34 @@
# Contributor: August Klein <amatcoder@gmail.com>
# Maintainer: August Klein <amatcoder@gmail.com>
pkgname=viewnior
-pkgver=1.6
+_pkgname=Viewnior
+pkgver=1.7
pkgrel=0
pkgdesc="A fast and simple image viewer"
url="http://siyanpanayotov.com/project/viewnior"
arch="all"
license="GPL-3.0"
depends=""
-makedepends="autoconf automake gnome-common gtk+2.0-dev exiv2-dev libtool"
+makedepends="gnome-common meson ninja gtk+2.0-dev exiv2-dev desktop-file-utils"
subpackages="$pkgname-lang $pkgname-doc"
-source="https://github.com/xsisqox/Viewnior/archive/$pkgname-$pkgver.tar.gz"
+source="https://github.com/hellosiyan/$_pkgname/archive/$pkgname-$pkgver.tar.gz"
-builddir="$srcdir"/Viewnior-$pkgname-$pkgver
+builddir="$srcdir"/$_pkgname-$pkgname-$pkgver
prepare() {
cd "$builddir"
- ./autogen.sh || return 1
+ mkdir builddir
}
build() {
cd "$builddir"
- ./configure \
- --build=$CBUILD \
- --host=$CHOST \
- --prefix=/usr \
- --mandir=/usr/share/man \
- || return 1
- make || return 1
+ meson builddir --prefix=/usr
+ ninja -C builddir
}
package() {
cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ DESTDIR="$pkgdir" ninja -C builddir install
}
-md5sums="f7d497360c48ce4bce09328d934cc4a4 viewnior-1.6.tar.gz"
-sha256sums="89013f6d30c1c121d8cb6327d3ffc35a757fba1d777c24849d632afe244e60a0 viewnior-1.6.tar.gz"
-sha512sums="4b150078573bfd3b8c5863d73087a51cd3b7ed5781e26c842fab44eec3e67ea9aea3feba064538578878df1ccb386525a6a84362dae7f92315fb7de735ace617 viewnior-1.6.tar.gz"
+sha512sums="5ba17d7b5ceeffa65b04213f179c1439b09ac44e412e0750dde159b118a714f28d3a290509a402b234e4e7ba5b185fc73eef65d418598f344911e4e2c1373fe5 viewnior-1.7.tar.gz"