diff options
Diffstat (limited to 'graphics/gthumb/Makefile')
-rw-r--r-- | graphics/gthumb/Makefile | 147 |
1 files changed, 68 insertions, 79 deletions
diff --git a/graphics/gthumb/Makefile b/graphics/gthumb/Makefile index 2de63d8654c9..2c065fe67c37 100644 --- a/graphics/gthumb/Makefile +++ b/graphics/gthumb/Makefile @@ -1,100 +1,89 @@ # Created by: Joe Marcus Clarke <marcus@FreeBSD.org> # $FreeBSD$ +# $MCom: ports/trunk/graphics/gthumb/Makefile 19823 2014-08-20 09:28:14Z gusi $ PORTNAME= gthumb -PORTVERSION= 2.14.1 -PORTREVISION= 11 +PORTVERSION= 3.2.8 +PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= GNOME -DIST_SUBDIR= gnome2 +DIST_SUBDIR= gnome3 MAINTAINER= rm@FreeBSD.org -COMMENT= Image viewer and browser for the GNOME 2 environment +COMMENT= Image viewer and browser for the GNOME 3 environment +BUILD_DEPENDS= itstool:${PORTSDIR}/textproc/itstool \ + gsettings-desktop-schemas>=0:${PORTSDIR}/devel/gsettings-desktop-schemas LIB_DEPENDS= libunique-1.0.so:${PORTSDIR}/x11-toolkits/unique -RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/gsettings-desktop-schemas.pc:${PORTSDIR}/devel/gsettings-desktop-schemas +RUN_DEPENDS= gsettings-desktop-schemas>=0:${PORTSDIR}/devel/gsettings-desktop-schemas -USES= bison gettext gmake libtool pathfix pkgconfig tar:xz -USE_GNOME= gnomeprefix intlhack gnomedocutils gconf2 -WANT_GSTREAMER= yes +USES= desktop-file-utils bison gettext gmake libtool pathfix \ + pkgconfig tar:xz +USE_GNOME= gnomeprefix gtk30 intlhack librsvg2 USE_LDCONFIG= yes GNU_CONFIGURE= yes INSTALLS_ICONS= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib - -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 \ - 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_rotate_options.schemas gthumb_webalbums.schemas - -PLIST_SUB= GTHUMB_VER=2.14 - -OPTIONS_DEFINE= EXIV2 CLUTTER GSTREAMER OPENRAW SOUP BRASERO YELP -OPTIONS_DEFAULT= EXIV2 CLUTTER GSTREAMER OPENRAW SOUP BRASERO YELP +CONFIGURE_ARGS= --disable-libchamplain \ + --enable-librsvg +INSTALL_TARGET= install-strip + +GLIB_SCHEMAS= org.gnome.gthumb.change-date.gschema.xml \ + org.gnome.gthumb.comments.gschema.xml \ + org.gnome.gthumb.contact-sheet.gschema.xml \ + org.gnome.gthumb.convert-format.gschema.xml \ + org.gnome.gthumb.crop.gschema.xml \ + org.gnome.gthumb.enums.xml \ + org.gnome.gthumb.facebook.gschema.xml \ + org.gnome.gthumb.file-manager.gschema.xml \ + org.gnome.gthumb.flickr.gschema.xml \ + org.gnome.gthumb.gschema.xml \ + org.gnome.gthumb.gstreamer-tools.gschema.xml \ + org.gnome.gthumb.image-print.gschema.xml \ + org.gnome.gthumb.image-viewer.gschema.xml \ + org.gnome.gthumb.importer.gschema.xml \ + org.gnome.gthumb.photo-importer.gschema.xml \ + org.gnome.gthumb.picasaweb.gschema.xml \ + org.gnome.gthumb.pixbuf-savers.gschema.xml \ + org.gnome.gthumb.rename-series.gschema.xml \ + org.gnome.gthumb.resize-images.gschema.xml \ + org.gnome.gthumb.resize.gschema.xml \ + org.gnome.gthumb.rotate.gschema.xml \ + org.gnome.gthumb.slideshow.gschema.xml \ + org.gnome.gthumb.webalbums.gschema.xml + +PLIST_SUB= GTHUMB_VER=3.2 + +OPTIONS_SUB= yes +OPTIONS_DEFINE= EXIV2 CLUTTER GSTREAMER OPENRAW BRASERO YELP SECRET WEBP WEBSERVICES +OPTIONS_DEFAULT= EXIV2 CLUTTER GSTREAMER OPENRAW BRASERO YELP SECRET WEBP WEBSERVICES CLUTTER_DESC= Fancy slideshows -SOUP_DESC= Web services uploaders +GSTREAMER_DESC= Video playback +WEBSERVICES_DESC= Web services 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} -LIB_DEPENDS+= libexiv2.so:${PORTSDIR}/graphics/exiv2 -CONFIGURE_ARGS+=--enable-exiv2 -PLIST_SUB+= EXIV2="" -.else -CONFIGURE_ARGS+=--disable-exiv2 -PLIST_SUB+= EXIV2="@comment " -.endif - -.if ${PORT_OPTIONS:MCLUTTER} -LIB_DEPENDS+= libclutter-gtk-0.10.so:${PORTSDIR}/graphics/clutter-gtk -CONFIGURE_ARGS+=--enable-clutter -.else -CONFIGURE_ARGS+=--disable-clutter -.endif - -.if ${PORT_OPTIONS:MGSTREAMER} -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 -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 -CONFIGURE_ARGS+=--enable-libsoup --enable-gnome-keyring -PLIST_SUB+= SOUP="" -GCONF_SCHEMAS+= gthumb-facebook.schemas gthumb-picasaweb.schemas -.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 -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 +SECRET_DESC= Libsecret support for storing passwords +WEBP_DESC= Support for Google WebP conversion tool +EXIV2_LIB_DEPENDS= libexiv2.so:${PORTSDIR}/graphics/exiv2 +EXIV2_CONFIGURE_ENABLE= exiv2 +CLUTTER_LIB_DEPENDS= libclutter-gtk-1.0.so:${PORTSDIR}/graphics/clutter-gtk3 +CLUTTER_CONFIGURE_ENABLE= clutter +GSTREAMER_USE= GSTREAMER1=yes +GSTREAMER_CONFIGURE_ENABLE= gstreamer +OPENRAW_LIB_DEPENDS= libopenrawgnome.so:${PORTSDIR}/graphics/libopenraw +OPENRAW_CONFIGURE_ENABLE= libopenraw +BRASERO_LIB_DEPENDS= libbrasero-media3.so:${PORTSDIR}/sysutils/brasero +BRASERO_CONFIGURE_ENABLE= brasero +YELP_RUN_DEPENDS= yelp:${PORTSDIR}/x11/yelp +SECRET_LIB_DEPENDS= libsecret-1.so:${PORTSDIR}/security/libsecret +SECRET_CONFIGURE_ENABLE= secret +WEBP_LIB_DEPENDS= libwebp.so:${PORTSDIR}/graphics/webp +WEBP_CONFIGURE_ENABLE= webp +WEBSERVICES_LIB_DEPENDS= libsoup-gnome-2.4.so:${PORTSDIR}/devel/libsoup-gnome \ + libjson-glib-1.0.so:${PORTSDIR}/devel/json-glib \ + libwebkitgtk-3.0.so:${PORTSDIR}/www/webkit-gtk3 +WEBSERVICES_CONFIGURE_ON= --enable-libsoup --enable-webkit2 --enable-libjson-glib +WEBSERVICES_CONFIGURE_OFF= --disable-libsoup --disable-webkit2 --disable-libjson-glib .include <bsd.port.mk> |