# Contributor: ScrumpyJack # Maintainer: Natanael Copa pkgname=rawtherapee pkgver=5.9 pkgrel=1 pkgdesc="Powerful cross-platform raw image processing program" url="https://rawtherapee.com" arch="all" 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 samurai tiff-dev zlib-dev " options="!check" subpackages="$pkgname-doc $pkgname-dbg" source="https://rawtherapee.com/shared/source/rawtherapee-$pkgver.tar.xz" build() { export CXXFLAGS="$CXXFLAGS -flto=auto" cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr cmake --build build } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 0d848a36293eb5cac3212910eaf1d011315269c6bbe780c4c2e5f91719721e25a7d1678a7e4453fa4a9694618978b04828612dc03e1d50cb9c11ad4d238e7ca8 rawtherapee-5.9.tar.xz "