blob: 61d2a51cf381ba86a12e58d47a24055e87819f10 (
plain)
1 # Description: Open source photography workflow application
2 # URL: https://www.darktable.org/
3 # Maintainer: Aaron Ball, nullspoon at oper dot io
4 # Depends on: lua libsecret libgphoto2 cmake isl libxslt json-c libpng libtiff librsvg lensfun
5 name=darktable
6 version=5.0.0
7 release=1
8 source=(https://github.com/darktable-org/${name}/releases/download/release-${version}/${name}-${version}.tar.xz)
9
10 build() {
11 cd ${name}-${version}
12 mkdir build && cd build
13 cmake \
14 -DCMAKE_INSTALL_PREFIX=/usr \
15 -DCMAKE_BUILD_TYPE=Release \
16 -DBINARY_PACKAGE_BUILD=1 \
17 -DUSE_COLORD=OFF \
18 -DUSE_LIBSECRET=ON \
19 -DUSE_LUA=ON \
20 -DUSE_KWALLET=OFF \
21 -DUSE_FLICKR=OFF \
22 -DUSE_OPENEXR=OFF \
23 -DUSE_NLS=OFF \
24 -DBUILD_USERMANUAL=FALSE \
25 -DUSE_LENSFUN=ON \
26 -DBUILD_CURVE_TOOLS=ON \
27 -DBUILD_NOISE_TOOLS=ON \
28 -DPROJECT_VERSION=${version} \
29 -DRAWSPEED_ENABLE_LTO=OFF \
30 ..
31 make
32 make DESTDIR=${PKG} install
33 rm -r ${PKG}/usr/share/doc
34 }
|