aboutsummaryrefslogtreecommitdiffstats
path: root/main/libraw
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-08-11 15:03:45 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-11 15:04:23 +0000
commitacbc9d287583b2225b2671fc923bd3f6ba06d625 (patch)
tree56c675d51017f92c8a0be87cc6e9e933a8669efa /main/libraw
parent2de825151b449ca015d43edcbaf303b20c882f77 (diff)
downloadaports-acbc9d287583b2225b2671fc923bd3f6ba06d625.tar.bz2
aports-acbc9d287583b2225b2671fc923bd3f6ba06d625.tar.xz
main/libraw: upgrade to 0.17.2
Diffstat (limited to 'main/libraw')
-rw-r--r--main/libraw/APKBUILD33
1 files changed, 15 insertions, 18 deletions
diff --git a/main/libraw/APKBUILD b/main/libraw/APKBUILD
index 0a7d00aa11..561275f72c 100644
--- a/main/libraw/APKBUILD
+++ b/main/libraw/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libraw
-pkgver=0.17.1
+pkgver=0.17.2
pkgrel=0
pkgdesc="Library for reading RAW files obtained from digital photo cameras"
url="http://www.libraw.org/"
@@ -9,35 +9,32 @@ license="CDDL LGPL custom"
depends=""
makedepends=""
subpackages="$pkgname-dev $pkgname-doc"
-source="http://www.libraw.org/data/LibRaw-$pkgver.tar.gz"
+source="http://www.libraw.org/data/LibRaw-$pkgver.tar.gz
+ dcraw_narrowing-gcc6.patch"
-_builddir="$srcdir"/LibRaw-$pkgver
-prepare() {
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) patch -p1 -i "$srcdir"/$i || return 1
- esac
- done
-}
+builddir="$srcdir"/LibRaw-$pkgver
build() {
- cd "$_builddir"
+ cd "$builddir"
+ #export CXXFLAGS="$CXXFLAGS -std=gnu++98"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
|| return 1
- make lib/libraw.a lib/libraw_r.a
- make
+ #make lib/libraw.a lib/libraw_r.a
+ make || return 1
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}
-md5sums="b56ace01e64aba9cda4f9e7f2821449d LibRaw-0.17.1.tar.gz"
-sha256sums="e599651a4cc37e00cfc2d2b56be87c3a4e4dae2c360b680fe9ab3f93d07cdea1 LibRaw-0.17.1.tar.gz"
-sha512sums="661204175faca8d2ebb44d90c1c7a823c18fd5453a64db2e99961e697f25c522f2314f0ad758e6d33dd65eb09034b542f936c2a892d06f64663e7ed3d1e349b9 LibRaw-0.17.1.tar.gz"
+md5sums="456626300777209def1ea784910f326a LibRaw-0.17.2.tar.gz
+91f27dcb79b66d8d70f89ee684cb2f3d dcraw_narrowing-gcc6.patch"
+sha256sums="92b0c42c7666eca9307e5e1f97d6fefc196cf0b7ee089e22880259a76fafd15c LibRaw-0.17.2.tar.gz
+486be38dc5115d885edbd6f61c81a78e9b30e2eb754b16d8066a09aaf3537795 dcraw_narrowing-gcc6.patch"
+sha512sums="e27227850b09e291802c089c826778579420a4af3f4b94dddf488bfc7eb84335d7a944445287d5993c5a574c192df5117c022d1b3d0372b3539a4553612988f4 LibRaw-0.17.2.tar.gz
+e6a61ee1ac8bfbc2aa87064a621ea549c61896f4095c5a2987317ceaa4231773baccc13429d603d1a891d941e9956beaa8bb115e166cd73aa3cdb486caaa6b01 dcraw_narrowing-gcc6.patch"