2012-12-30 00:14:24 +01:00
|
|
|
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
|
2001-11-05 14:03:53 +01:00
|
|
|
# $FreeBSD$
|
2014-11-19 12:49:04 +01:00
|
|
|
# $MCom: ports/trunk/graphics/gthumb/Makefile 19823 2014-08-20 09:28:14Z gusi $
|
2001-11-05 14:03:53 +01:00
|
|
|
|
2005-01-23 01:04:37 +01:00
|
|
|
PORTNAME= gthumb
|
2016-04-18 16:07:23 +02:00
|
|
|
PORTVERSION= 3.4.3
|
2016-07-27 12:22:26 +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
|
2014-11-19 12:49:04 +01:00
|
|
|
DIST_SUBDIR= gnome3
|
2001-11-05 14:03:53 +01:00
|
|
|
|
2014-11-30 18:57:00 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2014-11-19 12:49:04 +01:00
|
|
|
COMMENT= Image viewer and browser for the GNOME 3 environment
|
2002-08-18 18:26:27 +02:00
|
|
|
|
2016-01-12 17:20:31 +01:00
|
|
|
LICENSE= GPLv2+
|
2004-04-28 19:09:45 +02:00
|
|
|
|
2016-04-01 16:00:51 +02:00
|
|
|
BUILD_DEPENDS= gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas \
|
|
|
|
itstool:textproc/itstool
|
|
|
|
RUN_DEPENDS= gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas
|
2015-02-10 22:04:54 +01:00
|
|
|
|
2015-06-06 01:20:33 +02:00
|
|
|
USES= bison compiler:c++11-lib desktop-file-utils gettext gmake \
|
|
|
|
libtool pathfix pkgconfig tar:xz
|
2015-08-02 22:23:55 +02:00
|
|
|
USE_GNOME= gtk30 intltool librsvg2
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2015-10-08 12:53:42 +02:00
|
|
|
CONFIGURE_ENV= ac_cv_lib_jpeg_jpeg_destroy_decompress=yes \
|
|
|
|
ac_cv_lib_tiff_TIFFWriteScanline=yes
|
2016-09-09 21:42:46 +02:00
|
|
|
CONFIGURE_ARGS= --disable-libchamplain \
|
2015-02-10 22:04:54 +01:00
|
|
|
--enable-compile-warnings=minimum \
|
|
|
|
--enable-librsvg
|
|
|
|
INSTALL_TARGET= install-strip
|
|
|
|
USE_LDCONFIG= yes
|
2006-12-03 19:55:35 +01:00
|
|
|
INSTALLS_ICONS= yes
|
2015-02-10 22:04:54 +01:00
|
|
|
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2015-02-10 22:04:54 +01:00
|
|
|
|
2015-06-06 01:20:33 +02:00
|
|
|
PLIST_SUB= GTHUMB_VER="3.4"
|
2014-11-19 12:49:04 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2015-02-10 22:04:54 +01:00
|
|
|
OPTIONS_DEFINE= BRASERO CLUTTER EXIV2 GSTREAMER RAW SECRET \
|
|
|
|
WEBP WEBSERVICES YELP
|
|
|
|
OPTIONS_DEFAULT= BRASERO CLUTTER EXIV2 GSTREAMER RAW SECRET \
|
|
|
|
WEBP WEBSERVICES YELP
|
|
|
|
OPTIONS_SUB= yes
|
2014-11-19 12:49:04 +01:00
|
|
|
|
2015-02-10 22:04:54 +01:00
|
|
|
BRASERO_DESC= Write galleries to CD/DVD (large dependency)
|
2016-04-01 16:00:51 +02:00
|
|
|
BRASERO_LIB_DEPENDS= libbrasero-media3.so:sysutils/brasero
|
2015-02-10 22:04:54 +01:00
|
|
|
BRASERO_CONFIGURE_ENABLE= libbrasero
|
|
|
|
CLUTTER_DESC= Fancy slideshows
|
2016-04-01 16:00:51 +02:00
|
|
|
CLUTTER_LIB_DEPENDS= libclutter-gtk-1.0.so:graphics/clutter-gtk3
|
2014-11-19 12:49:04 +01:00
|
|
|
CLUTTER_CONFIGURE_ENABLE= clutter
|
2016-04-01 16:00:51 +02:00
|
|
|
EXIV2_LIB_DEPENDS= libexiv2.so:graphics/exiv2
|
2015-02-10 22:04:54 +01:00
|
|
|
EXIV2_CONFIGURE_ENABLE= exiv2
|
|
|
|
GSTREAMER_USE= gstreamer1=yes
|
2014-11-19 12:49:04 +01:00
|
|
|
GSTREAMER_CONFIGURE_ENABLE= gstreamer
|
2015-02-10 22:04:54 +01:00
|
|
|
RAW_DESC= Raw image support via libraw
|
2016-04-01 16:00:51 +02:00
|
|
|
RAW_LIB_DEPENDS= libraw.so:graphics/libraw
|
2015-02-10 22:04:54 +01:00
|
|
|
RAW_CONFIGURE_ENABLE= libraw
|
|
|
|
SECRET_DESC= Libsecret support for storing passwords
|
2016-04-01 16:00:51 +02:00
|
|
|
SECRET_LIB_DEPENDS= libsecret-1.so:security/libsecret
|
2015-02-10 22:04:54 +01:00
|
|
|
SECRET_CONFIGURE_ENABLE= libsecret
|
2016-04-01 16:00:51 +02:00
|
|
|
WEBP_LIB_DEPENDS= libwebp.so:graphics/webp
|
2015-02-10 22:04:54 +01:00
|
|
|
WEBP_CONFIGURE_ENABLE= libwebp
|
|
|
|
WEBSERVICES_DESC= Web services
|
|
|
|
WEBSERVICES_LIB_DEPENDS=\
|
2016-04-01 16:00:51 +02:00
|
|
|
libjson-glib-1.0.so:devel/json-glib \
|
|
|
|
libsoup-gnome-2.4.so:devel/libsoup-gnome \
|
|
|
|
libwebkit2gtk-4.0.so:www/webkit2-gtk3
|
2015-02-10 22:04:54 +01:00
|
|
|
WEBSERVICES_CONFIGURE_ENABLE= libjson-glib libsoup webkit2
|
|
|
|
YELP_DESC= Viewer for built-in help system
|
2016-04-01 16:00:51 +02:00
|
|
|
YELP_RUN_DEPENDS= yelp:x11/yelp
|
2015-02-10 22:04:54 +01:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e \
|
2015-06-08 07:59:13 +02:00
|
|
|
's|-Wl,--as-needed|| ; \
|
2016-03-23 15:06:19 +01:00
|
|
|
/^[[:blank:]]zlib/d' ${WRKSRC}/configure
|
2012-05-10 16:36:17 +02:00
|
|
|
|
2012-12-30 00:14:24 +01:00
|
|
|
.include <bsd.port.mk>
|