2002-08-18 18:26:27 +02:00
|
|
|
# New ports collection makefile for: gThumb2
|
|
|
|
# Date created: 17 Aug 2002
|
|
|
|
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
|
2001-11-05 14:03:53 +01:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2005-01-23 01:04:37 +01:00
|
|
|
PORTNAME= gthumb
|
2010-11-28 18:16:42 +01:00
|
|
|
PORTVERSION= 2.12.1
|
2011-04-12 10:24:32 +02:00
|
|
|
PORTREVISION= 1
|
2001-11-05 14:03:53 +01:00
|
|
|
CATEGORIES= graphics
|
2008-09-23 11:48:05 +02:00
|
|
|
MASTER_SITES= GNOME
|
2003-03-01 06:51:32 +01:00
|
|
|
DIST_SUBDIR= gnome2
|
2001-11-05 14:03:53 +01:00
|
|
|
|
2003-11-14 02:10:23 +01:00
|
|
|
MAINTAINER= pav@FreeBSD.org
|
2003-02-20 20:00:53 +01:00
|
|
|
COMMENT= An image viewer and browser for the GNOME 2 environment
|
2002-08-18 18:26:27 +02:00
|
|
|
|
2010-11-28 18:16:42 +01:00
|
|
|
LIB_DEPENDS= unique-1.0.2:${PORTSDIR}/x11-toolkits/unique
|
2004-04-28 19:09:45 +02:00
|
|
|
|
2004-10-12 00:55:02 +02:00
|
|
|
USE_BZIP2= yes
|
2007-03-21 22:33:47 +01:00
|
|
|
USE_GETTEXT= yes
|
2011-07-30 11:25:07 +02:00
|
|
|
USE_BISON= build
|
2001-11-05 14:03:53 +01:00
|
|
|
USE_GMAKE= yes
|
2010-11-28 18:16:42 +01:00
|
|
|
USE_GNOME= gnomeprefix gnomehack intlhack gnomedocutils gconf2
|
|
|
|
WANT_GSTREAMER= yes
|
2007-03-21 22:33:47 +01:00
|
|
|
USE_LDCONFIG= yes
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2006-12-03 19:55:35 +01:00
|
|
|
INSTALLS_ICONS= yes
|
2001-11-05 14:03:53 +01:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
2010-11-28 18:16:42 +01:00
|
|
|
GCONF_SCHEMAS= gthumb.schemas gthumb-comments.schemas gthumb-image-viewer.schemas \
|
|
|
|
gthumb-importer.schemas gthumb-pixbuf-savers.schemas gthumb-slideshow.schemas \
|
|
|
|
gthumb_convert_format.schemas gthumb_crop_options.schemas gthumb_image_print.schemas \
|
|
|
|
gthumb_photo_importer.schemas gthumb_rename_series.schemas \
|
|
|
|
gthumb_resize_images.schemas gthumb_resize_options.schemas gthumb_webalbums.schemas
|
2001-11-05 14:03:53 +01:00
|
|
|
|
2010-11-28 18:16:42 +01:00
|
|
|
PLIST_SUB= GTHUMB_VER=2.12
|
|
|
|
|
|
|
|
OPTIONS= EXIV2 "Exif support (image metadata)" On \
|
|
|
|
CLUTTER "Fancy slideshows" On \
|
|
|
|
GSTREAMER "Video playback" On \
|
|
|
|
OPENRAW "Support for camera RAW files" On \
|
|
|
|
SOUP "Web services uploaders" On \
|
|
|
|
BRASERO "Write galleries to CD/DVD (large dependency)" On
|
2006-12-03 19:55:35 +01:00
|
|
|
|
2003-04-08 01:44:16 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2010-11-28 18:16:42 +01:00
|
|
|
.if defined(WITH_EXIV2)
|
2011-04-12 10:24:32 +02:00
|
|
|
LIB_DEPENDS+= exiv2.10:${PORTSDIR}/graphics/exiv2
|
2010-11-28 18:16:42 +01:00
|
|
|
CONFIGURE_ARGS+=--enable-exiv2
|
|
|
|
PLIST_SUB+= EXIV2=""
|
2006-12-03 19:55:35 +01:00
|
|
|
.else
|
2010-11-28 18:16:42 +01:00
|
|
|
CONFIGURE_ARGS+=--disable-exiv2
|
|
|
|
PLIST_SUB+= EXIV2="@comment "
|
2006-12-03 19:55:35 +01:00
|
|
|
.endif
|
|
|
|
|
2010-11-28 18:16:42 +01:00
|
|
|
.if defined(WITH_CLUTTER)
|
|
|
|
LIB_DEPENDS+= clutter-gtk-0.10.0:${PORTSDIR}/graphics/clutter-gtk
|
|
|
|
CONFIGURE_ARGS+=--enable-clutter
|
2006-12-03 19:55:35 +01:00
|
|
|
.else
|
2010-11-28 18:16:42 +01:00
|
|
|
CONFIGURE_ARGS+=--disable-clutter
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_GSTREAMER)
|
|
|
|
USE_GSTREAMER= yes
|
|
|
|
CONFIGURE_ARGS+=--enable-gstreamer
|
|
|
|
PLIST_SUB+= GSTREAMER=""
|
|
|
|
GCONF_SCHEMAS+= gthumb-gstreamer.schemas
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-gstreamer
|
|
|
|
PLIST_SUB+= GSTREAMER="@comment "
|
2004-01-17 23:22:42 +01:00
|
|
|
.endif
|
|
|
|
|
2007-03-21 22:33:47 +01:00
|
|
|
.if defined(WITH_OPENRAW)
|
2009-05-04 16:57:04 +02:00
|
|
|
LIB_DEPENDS+= openrawgnome.6:${PORTSDIR}/graphics/libopenraw
|
2007-03-21 22:33:47 +01:00
|
|
|
CONFIGURE_ARGS+=--enable-libopenraw
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-libopenraw
|
|
|
|
.endif
|
|
|
|
|
2010-11-28 18:16:42 +01:00
|
|
|
.if defined(WITH_SOUP)
|
|
|
|
LIB_DEPENDS+= soup-gnome-2.4.1:${PORTSDIR}/devel/libsoup-gnome
|
|
|
|
CONFIGURE_ARGS+=--enable-libsoup --enable-gnome-keyring
|
|
|
|
PLIST_SUB+= SOUP=""
|
|
|
|
GCONF_SCHEMAS+= gthumb-picasaweb.schemas
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-libsoup --disable-gnome-keyring
|
|
|
|
PLIST_SUB+= SOUP="@comment "
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_BRASERO)
|
|
|
|
LIB_DEPENDS+= brasero-burn.3:${PORTSDIR}/sysutils/brasero
|
|
|
|
CONFIGURE_ARGS+=--enable-libbrasero
|
|
|
|
PLIST_SUB+= BRASERO=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-libbrasero
|
|
|
|
PLIST_SUB+= BRASERO="@comment "
|
|
|
|
.endif
|
|
|
|
|
2003-04-08 01:44:16 +02:00
|
|
|
.include <bsd.port.post.mk>
|