25 lines
1003 B
Bash
25 lines
1003 B
Bash
# Template file for 'rawtherapee'
|
|
pkgname=rawtherapee
|
|
version=5.11
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DCACHE_NAME_SUFFIX=\"\" -DWITH_LTO=ON -DWITH_SYSTEM_LIBRAW=ON"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="fftw-devel gtkmm-devel lensfun-devel libcanberra-devel libgomp-devel
|
|
libiptcdata-devel librsvg-devel exiv2-devel libraw-devel libjxl-devel"
|
|
depends="desktop-file-utils hicolor-icon-theme"
|
|
short_desc="Free RAW converter and digital photo processing software"
|
|
maintainer="Daniel Martinez <danielmartinez@cock.li>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://rawtherapee.com/"
|
|
changelog="https://raw.githubusercontent.com/Beep6581/RawTherapee/${version}/RELEASE_NOTES.txt"
|
|
distfiles="https://github.com/Beep6581/RawTherapee/releases/download/${version}/rawtherapee-${version}.tar.xz"
|
|
checksum=e584c18dec112de29954b2b6471449a302a85e5cca4e42ede75fa333a36de724
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
i686*|x86_64*) configure_args+=" -DHAVE_X86_SSE_MATH=ON"
|
|
esac
|
|
|
|
CFLAGS+=" -O3"
|
|
CXXFLAGS+=" -O3"
|