# Contributor: Saijin-Naib # Maintainer: Saijin-Naib pkgname=libopenraw pkgver=0.3.6 pkgrel=0 pkgdesc="Desktop agnostic effort to support digital camera RAW files" url="https://libopenraw.freedesktop.org/" arch="all" license="LGPL-3.0-or-later" makedepends=" boost-dev cargo curl-dev gdk-pixbuf-dev libjpeg-turbo-dev libxml2-dev " subpackages="$pkgname-dev $pkgname-pixbuf-loader" source="https://libopenraw.freedesktop.org/download/libopenraw-$pkgver.tar.bz2" options="net" # cargo fetch prepare() { default_prepare update_config_sub } build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --disable-static make } check() { make check } package() { make install DESTDIR="$pkgdir" } loader() { pkgdesc="$pkgdesc (pixbuf loader)" install_if="$pkgname=$pkgver-r$pkgrel gdk-pixbuf-loaders" amove \ usr/lib/gdk-pixbuf-*/*/loaders } sha512sums=" 3c857084009e219446fd43258c0fed1e1de6fcb480015c158d6b17e1b0fe99647393e97cb08772c66aad56bea88a6e092e84a37283c03535acc50aba07758740 libopenraw-0.3.6.tar.bz2 "