summaryrefslogblamecommitdiff
path: root/user/libopenraw/APKBUILD
blob: a03e7c089ead10d1a0a88f9771e2b0407a191e44 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                         



                                                       
                                         

                                              
          


                                                                               

           




                         










                                         



                  


                                      
                                                                                                                                                                       
# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house>
# Maintainer: Kiyoshi Aman <adelie@aerdan.vulpine.house>
pkgname=libopenraw
pkgver=0.1.3
pkgrel=0
pkgdesc="Library for decoding RAW camera image formats"
url="https://libopenraw.freedesktop.org/"
arch="all"
license="LGPL-2.1+ AND LGPL-3.0+ AND GPL-2.0+"
depends=""
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"

prepare() {
	default_prepare
	update_config_sub
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="c56d84610f0cf5da970c4c0c791fccf2f7e9f7c7dacf2aeac0b2702ce9a0cd3aaa2f6db0794b0466e1dd8316771973db1e64d013f635c1166b7ff2eebdcbf029  libopenraw-0.1.3.tar.bz2"