4 pkgdesc="Standalone or gimp plugin converter for raw files"
5 url="http://ufraw.sourceforge.net/"
8 depends=('gtkimageview' 'exiv2' 'lensfun')
10 optdepends=('gimp: to use the gimp import plugin for raw images')
11 conflicts=('gimp-ufraw')
12 provides=('gimp-ufraw')
14 _cvsroot=":pserver:anonymous@ufraw.cvs.sourceforge.net:/cvsroot/ufraw"
19 msg "Connecting to $_cvsmod.sourceforge.net CVS server...."
20 if [ -d $_cvsmod/CVS ]; then
24 cvs -z3 -d $_cvsroot co -D $pkgver -f $_cvsmod
27 msg "CVS checkout done or server timeout"
28 msg "Starting make..."
30 cp -r $srcdir/$_cvsmod $srcdir/$_cvsmod-build
31 cd $srcdir/$_cvsmod-build
38 --enable-dst-correction \
39 --enable-contrast || return 1
40 sed -i "s/-W -Wall -g -O3 -ffast-math -fomit-frame-pointer/${CFLAGS}/" Makefile || return 1
45 cd $srcdir/$_cvsmod-build
46 make DESTDIR=$pkgdir install || return 1
47 rm -f $pkgdir/usr/bin/dcraw
49 rm -rf "$srcdir/$_cvsmod-build"