26 lines
1 KiB
Text
26 lines
1 KiB
Text
# Template file for 'darktable'
|
|
pkgname=darktable
|
|
version=1.4.2
|
|
revision=7
|
|
build_style=cmake
|
|
maintainer="Carlo Dormeletti <carlo.dormeletti@email.it>"
|
|
homepage="http://www.darktable.org/"
|
|
license="GPL"
|
|
short_desc="Virtual lighttable and darkroom for photographers"
|
|
hostmakedepends="cmake pkg-config intltool"
|
|
makedepends="gtk+-devel glib-devel exiv2-devel lcms2-devel
|
|
libglade-devel libxslt-devel dbus-glib-devel libcurl-devel libgphoto2-devel
|
|
libwebp-devel libsoup-devel lensfun-devel sqlite-devel librsvg-devel
|
|
lua-devel json-glib-devel libgomp-devel colord-devel>=1.1.7 libopenjpeg-devel
|
|
libopenexr-devel libgraphicsmagick-devel SDL-devel"
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/1.4/${pkgname}-${version}.tar.xz"
|
|
checksum="c1311a6e336007b85d21647652ebec3e26840248a968eab04ab5f0a56c2e0709"
|
|
|
|
# Do not generate AVX instructions, which might happen with -mtune=generic on
|
|
# Intel CPUs. This avoids the vstmxcsr instruction which is AVX specific.
|
|
CFLAGS="-mno-avx -mno-avx2"
|
|
|
|
post_install() {
|
|
mv ${DESTDIR}/usr/lib/darktable/libdarktable.so ${DESTDIR}/usr/lib/
|
|
}
|