aboutsummaryrefslogtreecommitdiffstats
path: root/main/sxiv
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-04-27 08:24:00 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-04-27 08:59:07 +0000
commit0fea6d9cf1e45688edc4a1214473791313284a67 (patch)
tree2c730c25d41951d0661f3d12446fbcbfcdfd0076 /main/sxiv
parentb7a0694e0eea32ac8f681faccddf9d1d2a7bf43b (diff)
downloadaports-0fea6d9cf1e45688edc4a1214473791313284a67.tar.bz2
aports-0fea6d9cf1e45688edc4a1214473791313284a67.tar.xz
main/sxiv: upgrade to 1.3.1
Diffstat (limited to 'main/sxiv')
-rw-r--r--main/sxiv/APKBUILD16
-rw-r--r--main/sxiv/sxiv-giflib5.1.patch28
2 files changed, 6 insertions, 38 deletions
diff --git a/main/sxiv/APKBUILD b/main/sxiv/APKBUILD
index 1da9ee6194..9f8bc7a894 100644
--- a/main/sxiv/APKBUILD
+++ b/main/sxiv/APKBUILD
@@ -1,18 +1,17 @@
# Maintainer: Eivind Uggedal <eivind@uggedal.com>
pkgname=sxiv
-pkgver=1.2
-pkgrel=1
+pkgver=1.3.1
+pkgrel=0
pkgdesc="Simple X Image Viewer"
url="https://github.com/muennich/sxiv"
arch="all"
license="GPL2"
depends=""
depends_dev=""
-makedepends="imlib2-dev giflib-dev"
+makedepends="imlib2-dev giflib-dev libexif-dev"
install=""
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz
- sxiv-giflib5.1.patch
"
_builddir="$srcdir/$pkgname-$pkgver"
@@ -38,9 +37,6 @@ package() {
make PREFIX="$pkgdir"/usr install
}
-md5sums="9b79d3c70693d9abbc66295cf6f281a0 sxiv-1.2.tar.gz
-c3cfa504ef7352b52f96682e8ba845ba sxiv-giflib5.1.patch"
-sha256sums="ac76b69e4889137f2ce531ec4dc5ce9c4916bc575a30d351ebc7b0a684ef8cf3 sxiv-1.2.tar.gz
-385478f42f2dbe142590dcd3f20b5ebb8a7ada169c35036502c46dd25b5cab88 sxiv-giflib5.1.patch"
-sha512sums="6058a8f89c540083549d91fe469f8f9d1a4acf60a19dc1d7115b7fe9a807143c9f8c0e8320e7695f7b6afe8d9ae040e9daaa09a976219228afb929133c8a6957 sxiv-1.2.tar.gz
-ffdef5c9118575e9c464010039b94c3a7c86b4321140091ef364c1990cb25c8fa587667ebd0064ceb07f4d647c33e6a9d1caf739a27d0a866917d48603d6986f sxiv-giflib5.1.patch"
+md5sums="3255d0d47e0a4cddd752ec03ee4bddaf sxiv-1.3.1.tar.gz"
+sha256sums="9a30a1b036e1c17212128554709da3f2d65d3beaef2e0a73097af5e35cf11d0e sxiv-1.3.1.tar.gz"
+sha512sums="a3ffeea7fb85188c844ec8fabf8a162aa6c4f695674b44db7c60a4608956051ff5963cb85aba86cd4f16ab63a0cf84cd2309c325e22075537175bf1b65327b77 sxiv-1.3.1.tar.gz"
diff --git a/main/sxiv/sxiv-giflib5.1.patch b/main/sxiv/sxiv-giflib5.1.patch
deleted file mode 100644
index 43f6cfbdfe..0000000000
--- a/main/sxiv/sxiv-giflib5.1.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From b901236261dc717dc08ed10f63e2d5cd3f3031f8 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Bart=C5=82omiej=20Piotrowski?= <b@bpiotrowski.pl>
-Date: Tue, 27 May 2014 11:46:06 +0200
-Subject: [PATCH] Fix build with giflib >= 5.1.0.
-
----
- image.c | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/image.c b/image.c
-index e62a69f..7eec544 100644
---- a/image.c
-+++ b/image.c
-@@ -278,7 +278,11 @@ bool img_load_gif(img_t *img, const fileinfo_t *file)
- }
- } while (rec != TERMINATE_RECORD_TYPE);
-
-+#if defined(GIFLIB_MAJOR) && GIFLIB_MAJOR >= 5 && GIFLIB_MINOR >= 1
-+ DGifCloseFile(gif, NULL);
-+#else
- DGifCloseFile(gif);
-+#endif
-
- if (err && !file->loaded)
- warn("corrupted gif file: %s", file->name);
---
-1.9.3
-