void-packages/srcpkgs/rawtherapee/template

28 lines
953 B
Bash

# Template file for 'rawtherapee'
pkgname=rawtherapee
version=5.10
revision=2
build_style=cmake
configure_args="-DCACHE_NAME_SUFFIX=\"\"
-DWITH_LTO=ON
-DENABLE_TCMALLOC=ON"
hostmakedepends="pkg-config"
makedepends="fftw-devel gtkmm-devel lensfun-devel
libcanberra-devel libgomp-devel libiptcdata-devel librsvg-devel
exiv2-devel gperftools-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://github.com/Beep6581/RawTherapee/blob/${version}/RELEASE_NOTES.txt"
distfiles="https://rawtherapee.com/shared/source/rawtherapee-${version}.tar.xz"
checksum=a799b53cd54dba4a211479e342ffc9c5db1c44d3d6c3a27d5cc13adf0debd2da
case "$XBPS_TARGET_MACHINE" in
i686*|x86_64*) configure_args+=" -DHAVE_X86_SSE_MATH=ON"
esac
CFLAGS+=" -O3"
CXXFLAGS+=" -O3"