aboutsummaryrefslogtreecommitdiffstats
path: root/community/libraw/APKBUILD
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-07-05 11:15:10 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-07-05 14:07:11 -0300
commitcbd18ac4955f558ff641336d00992fd5bd284f19 (patch)
tree61848d0d5171b5684cb24cccc1dd9b19c42dc4db /community/libraw/APKBUILD
parentf10166fbddfac4b619f77f6024fe4ece8ee4a5d8 (diff)
downloadaports-cbd18ac4955f558ff641336d00992fd5bd284f19.tar.bz2
aports-cbd18ac4955f558ff641336d00992fd5bd284f19.tar.xz
community/libraw: upgrade to 0.19.3
Diffstat (limited to 'community/libraw/APKBUILD')
-rw-r--r--community/libraw/APKBUILD22
1 files changed, 13 insertions, 9 deletions
diff --git a/community/libraw/APKBUILD b/community/libraw/APKBUILD
index be3a5ea021..b12b297c90 100644
--- a/community/libraw/APKBUILD
+++ b/community/libraw/APKBUILD
@@ -1,14 +1,12 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libraw
-pkgver=0.19.2
+pkgver=0.19.3
pkgrel=0
pkgdesc="Library for reading RAW files obtained from digital photo cameras"
url="https://www.libraw.org"
arch="all"
-license="CDDL-1.0 LGPL-2.1-only"
-depends=""
-makedepends=""
-subpackages="$pkgname-dev"
+license="CDDL-1.0 OR LGPL-2.1-only"
+subpackages="$pkgname-dev $pkgname-tools"
source="https://www.libraw.org/data/LibRaw-$pkgver.tar.gz"
builddir="$srcdir"/LibRaw-$pkgver
@@ -24,20 +22,26 @@ builddir="$srcdir"/LibRaw-$pkgver
# - CVE-2017-14265
build() {
- cd "$builddir"
#export CXXFLAGS="$CXXFLAGS -std=gnu++98"
./configure \
--build=$CBUILD \
--host=$CHOST \
- --prefix=/usr
+ --prefix=/usr \
+ --disable-static
#make lib/libraw.a lib/libraw_r.a
make
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
rm -rf "$pkgdir"/usr/share/doc/
}
-sha512sums="163b783f26887219d02694c6ca7cdc5571b15efe3922f7e3ca122a875568bd060c40a364451ea94af44c2ae48705bf96cbef196c7e935e42efe6ee316bb291fa LibRaw-0.19.2.tar.gz"
+tools() {
+ pkgdesc="tools for LibRaw"
+
+ mkdir -p "$subpkgdir"/usr
+ mv "$pkgdir"/usr/bin "$subpkgdir"/usr
+}
+
+sha512sums="e025695fb7f0016aeec76c0843a94387633457eee838cc48e65d1e84e703c8530b3fdd1e31d85dc322d3f2f6092b7c313fa6d1c3009fe1257c3d9411128b6fe2 LibRaw-0.19.3.tar.gz"