contrib/rawtherapee/Pkgfile

28 lines
837 B
Plaintext
Raw Normal View History

# Description: A powerful cross-platform raw image processing program
# URL: https://rawtherapee.com/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: fftw gtkmm3 lcms2 lensfun libcanberra libiptcdata librsvg libwebp tdb
name=rawtherapee
version=5.8
release=1
source=(https://github.com/Beep6581/RawTherapee/releases/download/$version/$name-$version.tar.xz)
build() {
2020-11-08 13:39:29 +01:00
cmake -S $name-$version -B build -G Ninja \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS -DNDEBUG" \
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS -DNDEBUG" \
-D BUILD_SHARED=ON \
-Wno-dev
cmake --build build
2020-07-08 15:01:36 +02:00
DESTDIR=$PKG cmake --install build
rm -r $PKG/usr/share/doc
find $PKG/usr/share \(\
-iname '*README*' -o \
-iname '*AUTHORS*' \
\) -exec rm -r '{}' \+
}