# Description: Converter for raw files; utility and GIMP plugin # URL: https://sourceforge.net/projects/nufraw/ # Maintainer: Erich Eckner, crux at eckner dot net # Depends on: cfitsio exiv2 gtkimageview lcms2 lensfun libjpeg-turbo gimp name=gimp-nufraw version=0.42 release=1 source=("https://downloads.sourceforge.net/nufraw/nufraw-$version.tar.gz" nufraw-iostream.patch nufraw-exiv2-0.27.patch) build() { cd "nufraw-$version" patch -p1 -i ../nufraw-iostream.patch # Add missing include patch -p1 -i ../nufraw-exiv2-0.27.patch # Fix build with exiv2 0.27 (Gentoo) autoreconf -fi mv nufraw.desktop{.desktop,} chmod +x generate_schemas.sh ./configure \ --prefix=/usr \ --enable-extras \ --enable-mime \ --enable-openmp \ --with-gimp \ --with-cinepaint \ --enable-contrast make make DESTDIR="$PKG" install rm -f "$PKG/usr/bin/dcraw" }