aboutsummaryrefslogtreecommitdiffstats
path: root/main/libpng
diff options
context:
space:
mode:
Diffstat (limited to 'main/libpng')
-rw-r--r--main/libpng/APKBUILD23
1 files changed, 15 insertions, 8 deletions
diff --git a/main/libpng/APKBUILD b/main/libpng/APKBUILD
index ce8491a8ca..8ffbe5df02 100644
--- a/main/libpng/APKBUILD
+++ b/main/libpng/APKBUILD
@@ -3,7 +3,7 @@
pkgname=libpng
pkgver=1.6.23
_apngver=$pkgver
-pkgrel=0
+pkgrel=1
pkgdesc="Portable Network Graphics library"
url="http://www.libpng.org/"
arch="all"
@@ -14,16 +14,20 @@ makedepends="$depends_dev gawk"
subpackages="$pkgname-doc $pkgname-dev"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
http://downloads.sourceforge.net/sourceforge/libpng-apng/libpng-$_apngver-apng.patch.gz
+
+ libpng-fix-arm-neon.patch
"
-_builddir="$srcdir"/$pkgname-$pkgver
+builddir="$srcdir"/$pkgname-$pkgver
+
prepare() {
- cd "$_builddir"
+ cd "$builddir"
gunzip -c "$srcdir"/libpng-$pkgver-apng.patch.gz | patch -p1 || return 1
+ default_prepare || return 1
}
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -36,15 +40,18 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
install -Dm644 LICENSE \
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE || return 1
}
md5sums="a49e4cc48d968c79def53d082809c9f2 libpng-1.6.23.tar.gz
-bf44929a1c272f585a11baeca05af500 libpng-1.6.23-apng.patch.gz"
+bf44929a1c272f585a11baeca05af500 libpng-1.6.23-apng.patch.gz
+e58c8d9a4086999456de13b2c4b9e224 libpng-fix-arm-neon.patch"
sha256sums="74a9db9ddd66caa64be82bfcb3cbec4fc4394ceb1053cb7e94b2a0aa9b78eb88 libpng-1.6.23.tar.gz
-08906e0639a953f6be2d47857661cbdf04dcab93d3bf9f8cb0f7675567b07ad3 libpng-1.6.23-apng.patch.gz"
+08906e0639a953f6be2d47857661cbdf04dcab93d3bf9f8cb0f7675567b07ad3 libpng-1.6.23-apng.patch.gz
+db38cd0a8ae637e1bf2dca464a2068a40576346d16ae929f20dc712d21870316 libpng-fix-arm-neon.patch"
sha512sums="f5cf137186fc0a10deb3ce54b1961cb9a358cec380cd3f8c21d2726e68348574c49a5a6808ecd79736737e970fa41ae83626811cb72b059bbf6054fabf6639f8 libpng-1.6.23.tar.gz
-105e7f70d1292f4a059e62fda7c4ffbfcd4eacd3c11cd1fbdd09bdcf2b1469a54ee864c4f5f22afe9e17ddfd1d10196661a69bb4eb469173a3bfc789181923ce libpng-1.6.23-apng.patch.gz"
+105e7f70d1292f4a059e62fda7c4ffbfcd4eacd3c11cd1fbdd09bdcf2b1469a54ee864c4f5f22afe9e17ddfd1d10196661a69bb4eb469173a3bfc789181923ce libpng-1.6.23-apng.patch.gz
+30c8389d075b90c0e30c0be8d7630cbf98c87c610f414c529485630dd0411cced28852d2fecc96bca72bc712f0f7e13358f9fc47b6d7b8c7806d34ebeef20514 libpng-fix-arm-neon.patch"