blob: ad08aaa54022d1507facae7197ac610ca349e3dd (
plain)
1 # Description: A powerful cross-platform raw image processing program
2 # URL: https://rawtherapee.com/
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: fftw gtkmm3 lcms2 lensfun libcanberra libiptcdata librsvg libwebp tdb
5
6 name=rawtherapee
7 version=5.8
8 release=1
9 source=(https://github.com/Beep6581/RawTherapee/releases/download/$version/$name-$version.tar.xz)
10
11 build() {
12 cmake -S $name-$version -B build -G Ninja \
13 -D CMAKE_INSTALL_PREFIX=/usr \
14 -D CMAKE_BUILD_TYPE=Release \
15 -D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
16 -D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
17 -D BUILD_SHARED=ON \
18 -Wno-dev
19 cmake --build build
20 DESTDIR=$PKG cmake --install build
21
22 rm -r $PKG/usr/share/doc
23 find $PKG/usr/share \(\
24 -iname '*README*' -o \
25 -iname '*AUTHORS*' \
26 \) -exec rm -r '{}' \+
27 }
|