summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-08-19 11:09:22 -0500
committerKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-08-19 11:09:22 -0500
commit472fc939ed95c6b96ca6615d8bd41b5718d4210f (patch)
treeafdc490e129318bdf5ea9cd49d476c4505de0811
parent2edf0e9bbe87c609495f246c36bd451c155064dc (diff)
downloadpackages-472fc939ed95c6b96ca6615d8bd41b5718d4210f.tar.gz
packages-472fc939ed95c6b96ca6615d8bd41b5718d4210f.tar.bz2
packages-472fc939ed95c6b96ca6615d8bd41b5718d4210f.tar.xz
packages-472fc939ed95c6b96ca6615d8bd41b5718d4210f.zip
user/libopenraw: new package
-rw-r--r--user/libopenraw/APKBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/user/libopenraw/APKBUILD b/user/libopenraw/APKBUILD
new file mode 100644
index 000000000..e06f1637d
--- /dev/null
+++ b/user/libopenraw/APKBUILD
@@ -0,0 +1,42 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+pkgname=libopenraw
+pkgver=0.1.3
+pkgrel=0
+pkgdesc="Library for decoding RAW camera image formats"
+url="https://libopenraw.freedesktop.org/wiki/"
+arch="all"
+license="LGPL-2.1+ AND LGPL-3.0+ AND GPL-2.0+"
+makedepends="boost-dev libjpeg-turbo-dev libxml2-dev glib-dev gdk-pixbuf-dev"
+subpackages="$pkgname-dev"
+source="https://libopenraw.freedesktop.org/download/libopenraw-$pkgver.tar.bz2"
+sha512sums="c56d84610f0cf5da970c4c0c791fccf2f7e9f7c7dacf2aeac0b2702ce9a0cd3aaa2f6db0794b0466e1dd8316771973db1e64d013f635c1166b7ff2eebdcbf029 libopenraw-0.1.3.tar.bz2"
+
+prepare() {
+ cd "$builddir"
+ default_prepare
+ update_config_sub
+}
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+