# Contributor: ScrumpyJack # Maintainer: Natanael Copa pkgname=rawtherapee pkgver=5.6 pkgrel=0 pkgdesc="Powerful cross-platform raw image processing program" url="https://rawtherapee.com" arch="x86 x86_64 ppc64le" license="GPL-3.0-or-later" makedepends="bzip2-dev cmake exiv2-dev expat-dev fftw-dev glib-dev gtk+3.0-dev gtk-engines-dev gtkmm3-dev lcms2-dev lensfun-dev libcanberra-dev libiptcdata-dev libjpeg-turbo-dev libpng-dev librsvg-dev libsigc++-dev mercurial tiff-dev zlib-dev " options="!check !strip" subpackages="$pkgname-doc $pkgname-dbg" source="https://rawtherapee.com/shared/source/$pkgname-$pkgver.tar.xz" prepare() { default_prepare mkdir -p "$builddir"/build export CXXFLAGS="$CXXFLAGS -std=c++11" cd "$builddir"/build cmake -DCMAKE_INSTALL_PREFIX=/usr .. } build() { cd "$builddir"/build make } package() { cd "$builddir"/build make DESTDIR="$pkgdir" install } sha512sums="2c751c7631ea2ef65c334fa0baab16d4c3161fae66487870c476f07f1ea3604a5e28a251fd98d9688cafc088302af7aa6e28e9b27a37f916715708ed5e731f0f rawtherapee-5.6.tar.xz"