freebsd-ports/graphics/gthumb/Makefile

101 lines
3 KiB
Makefile
Raw Normal View History

# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$
PORTNAME= gthumb
2011-12-30 19:13:59 +01:00
PORTVERSION= 2.14.1
PORTREVISION= 10
CATEGORIES= graphics
2008-09-23 11:48:05 +02:00
MASTER_SITES= GNOME
DIST_SUBDIR= gnome2
MAINTAINER= rm@FreeBSD.org
COMMENT= Image viewer and browser for the GNOME 2 environment
LIB_DEPENDS= libunique-1.0.so:${PORTSDIR}/x11-toolkits/unique
RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/gsettings-desktop-schemas.pc:${PORTSDIR}/devel/gsettings-desktop-schemas
2004-04-28 19:09:45 +02:00
USES= bison gettext gmake libtool pathfix pkgconfig tar:xz
USE_GNOME= gnomeprefix intlhack gnomedocutils gconf2
2010-11-28 18:16:42 +01:00
WANT_GSTREAMER= yes
2007-03-21 22:33:47 +01:00
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
2011-12-30 19:13:59 +01:00
GCONF_SCHEMAS= gthumb.schemas gthumb-comments.schemas gthumb-file-manager.schemas \
gthumb-image-viewer.schemas gthumb-importer.schemas gthumb-pixbuf-savers.schemas \
gthumb-slideshow.schemas gthumb_change_date.schemas gthumb_contact_sheet.schemas \
2010-11-28 18:16:42 +01:00
gthumb_convert_format.schemas gthumb_crop_options.schemas gthumb_image_print.schemas \
2011-12-30 19:13:59 +01:00
gthumb_photo_importer.schemas gthumb_rename_series.schemas gthumb_resize_images.schemas \
gthumb_resize_options.schemas gthumb_rotate_options.schemas gthumb_webalbums.schemas
2011-12-30 19:13:59 +01:00
PLIST_SUB= GTHUMB_VER=2.14
2010-11-28 18:16:42 +01:00
OPTIONS_DEFINE= EXIV2 CLUTTER GSTREAMER OPENRAW SOUP BRASERO YELP
OPTIONS_DEFAULT= EXIV2 CLUTTER GSTREAMER OPENRAW SOUP BRASERO YELP
CLUTTER_DESC= Fancy slideshows
SOUP_DESC= Web services uploaders
BRASERO_DESC= Write galleries to CD/DVD (large dependency)
YELP_DESC= Viewer for built-in help system
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MEXIV2}
2014-04-05 14:03:19 +02:00
LIB_DEPENDS+= libexiv2.so:${PORTSDIR}/graphics/exiv2
2010-11-28 18:16:42 +01:00
CONFIGURE_ARGS+=--enable-exiv2
PLIST_SUB+= EXIV2=""
.else
2010-11-28 18:16:42 +01:00
CONFIGURE_ARGS+=--disable-exiv2
PLIST_SUB+= EXIV2="@comment "
.endif
.if ${PORT_OPTIONS:MCLUTTER}
LIB_DEPENDS+= libclutter-gtk-0.10.so:${PORTSDIR}/graphics/clutter-gtk
2010-11-28 18:16:42 +01:00
CONFIGURE_ARGS+=--enable-clutter
.else
2010-11-28 18:16:42 +01:00
CONFIGURE_ARGS+=--disable-clutter
.endif
.if ${PORT_OPTIONS:MGSTREAMER}
2010-11-28 18:16:42 +01:00
USE_GSTREAMER= yes
CONFIGURE_ARGS+=--enable-gstreamer
PLIST_SUB+= GSTREAMER=""
GCONF_SCHEMAS+= gthumb-gstreamer.schemas
.else
CONFIGURE_ARGS+=--disable-gstreamer
PLIST_SUB+= GSTREAMER="@comment "
.endif
.if ${PORT_OPTIONS:MOPENRAW}
LIB_DEPENDS+= libopenrawgnome.so:${PORTSDIR}/graphics/libopenraw
2007-03-21 22:33:47 +01:00
CONFIGURE_ARGS+=--enable-libopenraw
.else
CONFIGURE_ARGS+=--disable-libopenraw
.endif
.if ${PORT_OPTIONS:MSOUP}
LIB_DEPENDS+= libsoup-gnome-2.4.so:${PORTSDIR}/devel/libsoup-gnome
2010-11-28 18:16:42 +01:00
CONFIGURE_ARGS+=--enable-libsoup --enable-gnome-keyring
PLIST_SUB+= SOUP=""
2011-12-30 19:13:59 +01:00
GCONF_SCHEMAS+= gthumb-facebook.schemas gthumb-picasaweb.schemas
2010-11-28 18:16:42 +01:00
.else
CONFIGURE_ARGS+=--disable-libsoup --disable-gnome-keyring
PLIST_SUB+= SOUP="@comment "
.endif
.if ${PORT_OPTIONS:MBRASERO}
LIB_DEPENDS+= libbrasero-burn.so:${PORTSDIR}/sysutils/brasero
2010-11-28 18:16:42 +01:00
CONFIGURE_ARGS+=--enable-libbrasero
PLIST_SUB+= BRASERO=""
.else
CONFIGURE_ARGS+=--disable-libbrasero
PLIST_SUB+= BRASERO="@comment "
.endif
.if ${PORT_OPTIONS:MYELP}
RUN_DEPENDS+= yelp:${PORTSDIR}/x11/yelp
.endif
.include <bsd.port.mk>