# Description: Open source photography workflow application # URL: https://www.darktable.org/ # Maintainer: Aaron Ball, nullspoon at oper dot io # Depends on: lua libsecret libgphoto2 cmake isl libxslt json-c libpng libtiff librsvg lensfun name=darktable version=4.6.1 release=1 source=(https://github.com/darktable-org/${name}/releases/download/release-${version}/${name}-${version}.tar.xz) build() { cd ${name}-${version} mkdir build && cd build cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DBINARY_PACKAGE_BUILD=1 \ -DUSE_COLORD=OFF \ -DUSE_LIBSECRET=ON \ -DUSE_LUA=ON \ -DUSE_KWALLET=OFF \ -DUSE_FLICKR=OFF \ -DUSE_OPENEXR=OFF \ -DUSE_NLS=OFF \ -DBUILD_USERMANUAL=FALSE \ -DUSE_LENSFUN=ON \ -DBUILD_CURVE_TOOLS=ON \ -DBUILD_NOISE_TOOLS=ON \ -DPROJECT_VERSION=${version} \ -DRAWSPEED_ENABLE_LTO=ON \ .. make make DESTDIR=${PKG} install rm -r ${PKG}/usr/share/doc }