add lensfun flavour, tweak Makefile and DESCR, bump.

This commit is contained in:
sthen 2009-11-16 12:03:12 +00:00
parent 86634728be
commit 08aa7b5e33
2 changed files with 44 additions and 37 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.20 2009/10/21 22:44:52 sthen Exp $
# $OpenBSD: Makefile,v 1.21 2009/11/16 12:03:12 sthen Exp $
COMMENT= read and manipulate raw images from digital cameras
DISTNAME= ufraw-0.16
PKGNAME= ${DISTNAME}p0
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ufraw/}
@ -16,13 +17,12 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= atk-1.0 c cairo expat fontconfig freetype \
gdk_pixbuf-2.0 gdk-x11-2.0 gio-2.0 glib-2.0 glitz \
gmodule-2.0 gobject-2.0 gthread-2.0 gtk-x11-2.0 \
m pango-1.0 pangocairo-1.0 pangoft2-1.0 pixman-1 png \
pthread stdc++ X11 Xau Xcursor Xext Xfixes Xi \
Xinerama Xrandr Xcomposite Xdamage Xdmcp Xrender \
z jpeg tiff pthread-stubs xcb
WANTLIB += X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 c cairo expat fontconfig
WANTLIB += freetype gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0
WANTLIB += glitz gmodule-2.0 gobject-2.0 gthread-2.0 gtk-x11-2.0
WANTLIB += jpeg m pango-1.0 pangocairo-1.0 pangoft2-1.0 pixman-1
WANTLIB += png pthread pthread-stubs stdc++ tiff xcb z
LIB_DEPENDS= gimp-2.0,gimpbase-2.0,gimpcolor-2.0,gimpconfig-2.0,gimpmath-2.0,gimpui-2.0,gimpwidgets-2.0,gimpmodule-2.0:gimp->=2,<3:graphics/gimp/stable \
lcms.>=1.15::graphics/lcms \
@ -40,4 +40,12 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -pthread"
CONFIGURE_ARGS= --enable-extras
FLAVORS= lensfun
FLAVOR?=
.if ${FLAVOR:L:Mlensfun}
CONFIGURE_ARGS+=--with-lensfun
LIB_DEPENDS+= lensfun::graphics/lensfun
.endif
.include <bsd.port.mk>

View File

@ -1,11 +1,10 @@
Raw photo loader plugin for The GIMP by Udi Fuchs,
UFRaw is a utility to read and manipulate raw images from digital
cameras. It can be used by itself or as a GIMP plug-in.
UFRaw is a utility to read and manipulate raw images from digital cameras.
It can be used by itself or as a GIMP plug-in.
It reads raw images using Dave Coffin's raw conversion utility DCRaw.
And it supports basic color management using Little CMS, allowing
the user to apply color profiles.
It reads raw images using an internal copy of Dave Coffin's raw
conversion utility DCRaw and supports basic color management using
Little CMS, allowing the user to apply color profiles.
Ufraw was originally based on the GIMP plug-in by Dave Coffin
http://www.cybercom.net/~dcoffin/
and on Pawel T. Jochym's (jochym at ifj edu pl) plug-in.
The optional lensfun flavor allows use of the lensfun library to
correct for distortion, transversal chromatic aberrations, vignetting
and colour contribution of the lens.