2014-05-06 20:02:38 +00:00
|
|
|
# Template file for 'darktable'
|
|
|
|
pkgname=darktable
|
|
|
|
version=1.4.2
|
2014-05-09 09:59:18 +00:00
|
|
|
revision=7
|
2014-05-06 20:02:38 +00:00
|
|
|
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"
|
2014-05-06 20:15:47 +00:00
|
|
|
makedepends="gtk+-devel glib-devel exiv2-devel lcms2-devel
|
2014-05-06 20:02:38 +00:00
|
|
|
libglade-devel libxslt-devel dbus-glib-devel libcurl-devel libgphoto2-devel
|
|
|
|
libwebp-devel libsoup-devel lensfun-devel sqlite-devel librsvg-devel
|
2014-05-09 09:59:18 +00:00
|
|
|
lua-devel json-glib-devel libgomp-devel colord-devel>=1.1.7 libopenjpeg-devel
|
2014-05-06 20:02:38 +00:00
|
|
|
libopenexr-devel libgraphicsmagick-devel SDL-devel"
|
|
|
|
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/1.4/${pkgname}-${version}.tar.xz"
|
|
|
|
checksum="c1311a6e336007b85d21647652ebec3e26840248a968eab04ab5f0a56c2e0709"
|
2014-05-06 20:29:40 +00:00
|
|
|
|
2014-05-08 10:16:31 +00:00
|
|
|
# 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"
|
|
|
|
|
2014-05-06 20:29:40 +00:00
|
|
|
post_install() {
|
|
|
|
mv ${DESTDIR}/usr/lib/darktable/libdarktable.so ${DESTDIR}/usr/lib/
|
|
|
|
}
|