The GNOME Scan project aims to provide scanning features integrated throughout the GNOME desktop, similar to printing. The GNOME Scan project consists of a C/GObject library upon which are built standalone applications and plugins for various programs. The application and plugins are called flegita. Note: gnome-scan is still in its early stage. It is not a drop-in replacement for xsane or alikes (yet); it more suited for for mass acquisition and ADF scanners. There's an issue with image enhancement which is being worked on upstream and the gsane backend may not give good results on all scanners. ok jasper@
69 lines
1.8 KiB
Makefile
69 lines
1.8 KiB
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2008/04/14 12:38:02 ajacoutot Exp $
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
COMMENT-main= easy-to-use scanning application for GNOME
|
|
COMMENT-gimp= flegita GIMP plugin for gnome-scan
|
|
|
|
GNOME_PROJECT= gnome-scan
|
|
GNOME_VERSION= 0.6
|
|
CATEGORIES= graphics
|
|
|
|
PKGNAME-main= ${GNOME_PROJECT}-${GNOME_VERSION}
|
|
PKGNAME-gimp= ${GNOME_PROJECT}-gimp-${GNOME_VERSION}
|
|
|
|
SHARED_LIBS= gnomescan 0.0 # .0.0
|
|
|
|
EXTRACT_SUFX= .tar.gz
|
|
|
|
HOMEPAGE= http://www.gnome.org/projects/gnome-scan/
|
|
|
|
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/${GNOME_PROJECT}/${GNOME_VERSION}/}
|
|
|
|
WANTLIB= ORBit-2 X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext \
|
|
Xfixes Xi Xinerama Xrandr Xrender atk-1.0 babl-0.0 c \
|
|
cairo expat fontconfig freetype gconf-2 gdk-x11-2.0 \
|
|
gdk_pixbuf-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 pcre png pthread z
|
|
|
|
MULTI_PACKAGES= -main -gimp
|
|
|
|
MODULES= devel/gettext \
|
|
x11/gnome
|
|
|
|
WANTLIB-main= ${WANTLIB} exif gphoto2 gphoto2_port jpeg ltdl tiff usb
|
|
LIB_DEPENDS-main= ${LIB_DEPENDS} \
|
|
sane.>=1::graphics/sane-backends \
|
|
gegl-0.0::graphics/gegl
|
|
|
|
WANTLIB-gimp= ${WANTLIB} gegl-0.0
|
|
LIB_DEPENDS-gimp= ${LIB_DEPENDS} \
|
|
gnomescan::${BUILD_PKGPATH},-main \
|
|
gimp-2.0.>=245,gimpbase-2.0,gimpcolor-2.0,gimpconfig-2.0,gimpmath-2.0,gimpmodule-2.0,gimpui-2.0,gimpwidgets-2.0::graphics/gimp/stable
|
|
|
|
USE_X11= Yes
|
|
DESKTOP_FILES= Yes
|
|
LIBTOOL_FLAGS= --tag=disable-static
|
|
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
|
--disable-static \
|
|
--disable-gtk-doc
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
.ifndef DEBUG
|
|
CONFIGURE_ARGS+=--enable-debug=no
|
|
MAKE_FLAGS= AM_CFLAGS=""
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|