diff options
author | Erich Eckner <git@eckner.net> | 2019-07-15 09:56:57 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-07-15 09:56:57 +0200 |
commit | 931d08dfec56ee2d5a7f2e3481aa3d36f1bc70f1 (patch) | |
tree | a77384b67f82fe6062513811e558d33fd5b82e77 /manualPorts/gimp-nufraw/Pkgfile | |
parent | 3a0d1efcb88e1620e0e9fd2bf1d762544363aabc (diff) | |
download | crux-ports-931d08dfec56ee2d5a7f2e3481aa3d36f1bc70f1.tar.xz |
ufraw -> gimp-nufraw
Diffstat (limited to 'manualPorts/gimp-nufraw/Pkgfile')
-rw-r--r-- | manualPorts/gimp-nufraw/Pkgfile | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/manualPorts/gimp-nufraw/Pkgfile b/manualPorts/gimp-nufraw/Pkgfile new file mode 100644 index 0000000..c07ed9e --- /dev/null +++ b/manualPorts/gimp-nufraw/Pkgfile @@ -0,0 +1,34 @@ +# 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" +} + |