void-packages/srcpkgs/darktable/template
Juan RP 77be6cd12f darktable: finally problem understood and fixed, disable AVX instructions.
gcc-4.7.3 generates AVX instructions with -mtune=generic on Intel CPUs
supporting the AVX instruction set.
2014-05-08 12:16:31 +02:00

27 lines
1 KiB
Plaintext

# Template file for 'darktable'
pkgname=darktable
version=1.4.2
revision=6
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 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/
}