1 # Maintainer: Christian Hesse <mail@eworm.de>
7 pkgdesc='Converter for raw files; utility and GIMP plugin'
8 url='https://sourceforge.net/projects/nufraw/'
11 depends=('cfitsio' 'exiv2' 'gtkimageview' 'lcms2' 'lensfun' 'libjpeg-turbo')
13 conflicts=('gimp-ufraw')
14 replaces=('gimp-ufraw')
15 optdepends=('gimp: to use the gimp import plugin for raw images')
16 source=("https://downloads.sourceforge.net/nufraw/nufraw-${_realver}.tar.gz"
17 nufraw-glib-2.70.patch)
18 sha256sums=('2c7dcc1590993ec267b3112562b2433010d6f94f6acc6506c76aa29cf8c6c32c'
19 '0e422f77b277f3c38b454426ee155d1004e47ced8d5d05942448584557c9ed07')
22 cd "nufraw-${_realver}"
24 patch -p1 < ../nufraw-glib-2.70.patch # Fix build with glib 2.70
28 mv nufraw.desktop{.desktop,}
29 chmod +x generate_schemas.sh
33 cd "nufraw-${_realver}"
47 make -C "nufraw-${_realver}" DESTDIR="$pkgdir" install
48 rm -f "$pkgdir/usr/bin/dcraw"