contrib/rawtherapee/Pkgfile

29 lines
848 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
2024-02-17 13:45:19 +01:00
# Depends on: exiv2 fftw gtkmm3 lcms2 lensfun libcanberra libiptcdata librsvg libwebp tdb
name=rawtherapee
2024-02-17 13:45:19 +01:00
version=5.10
release=1
2022-11-27 20:23:56 +01:00
source=(https://github.com/Beep6581/RawTherapee/releases/download/$version/$name-$version.tar.xz)
build() {
2022-11-27 20:23:56 +01:00
#-D WITH_LTO=ON \
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 \
2020-12-07 14:55:41 +01:00
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
2020-11-08 13:39:29 +01:00
-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 '{}' \+
}