29 lines
1.3 KiB
Bash
29 lines
1.3 KiB
Bash
# Template file for 'darktable'
|
|
pkgname=darktable
|
|
version=2.6.2
|
|
revision=1
|
|
# upstream only supports these archs:
|
|
archs="i686* x86_64* aarch64* ppc64le*"
|
|
build_style=cmake
|
|
# this makes sure to use -march=generic and -msse3
|
|
configure_args="-DBINARY_PACKAGE_BUILD=ON -DBUILD_NOISE_TOOLS=ON
|
|
-DRAWSPEED_ENABLE_LTO=ON"
|
|
hostmakedepends="pkg-config intltool libxslt-devel"
|
|
makedepends="gtk+3-devel glib-devel exiv2-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 libopenjpeg2-devel libopenexr-devel libgraphicsmagick-devel
|
|
libsecret-devel pugixml-devel libosmgpsmap-devel flickcurl-devel
|
|
colord-gtk-devel desktop-file-utils"
|
|
depends="adwaita-icon-theme"
|
|
short_desc="Virtual lighttable and darkroom for photographers"
|
|
maintainer="lemmi <lemmi@nerd2nerd.org>"
|
|
license="GPL-3"
|
|
homepage="http://www.darktable.org/"
|
|
changelog="https://github.com/darktable-org/darktable/releases"
|
|
distfiles="https://github.com/darktable-org/darktable/releases/download/release-${version}/darktable-${version}.tar.xz"
|
|
checksum=9cb9efbb09a40375ff05cef89343235a621c58339539e44985470a029a7ffb45
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
ppc64le*) configure_args+=" -DUSE_OPENCL=OFF"
|
|
esac
|