mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
f0d0f3d8e0
Any strip on any FreeBSD version should be able to handle stripping requested by libtool PR: 198611 Reviewed by: emaste Exp-run: self
101 lines
3.5 KiB
Makefile
101 lines
3.5 KiB
Makefile
# 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= 3.4.0
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= GNOME
|
|
DIST_SUBDIR= gnome3
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Image viewer and browser for the GNOME 3 environment
|
|
|
|
LICENSE= GPLv2 # (or later)
|
|
|
|
BUILD_DEPENDS= gsettings-desktop-schemas>0:${PORTSDIR}/devel/gsettings-desktop-schemas \
|
|
itstool:${PORTSDIR}/textproc/itstool
|
|
RUN_DEPENDS= gsettings-desktop-schemas>0:${PORTSDIR}/devel/gsettings-desktop-schemas
|
|
|
|
USES= bison compiler:c++11-lib desktop-file-utils gettext gmake \
|
|
libtool pathfix pkgconfig tar:xz
|
|
USE_GNOME= gtk30 librsvg2
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --disable-silent-rules \
|
|
--disable-libchamplain \
|
|
--enable-compile-warnings=minimum \
|
|
--enable-librsvg
|
|
INSTALL_TARGET= install-strip
|
|
USE_LDCONFIG= yes
|
|
INSTALLS_ICONS= yes
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
PLIST_SUB= GTHUMB_VER="3.4"
|
|
|
|
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
|
|
|
|
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
|
|
|
|
BRASERO_DESC= Write galleries to CD/DVD (large dependency)
|
|
BRASERO_LIB_DEPENDS= libbrasero-media3.so:${PORTSDIR}/sysutils/brasero
|
|
BRASERO_CONFIGURE_ENABLE= libbrasero
|
|
CLUTTER_DESC= Fancy slideshows
|
|
CLUTTER_LIB_DEPENDS= libclutter-gtk-1.0.so:${PORTSDIR}/graphics/clutter-gtk3
|
|
CLUTTER_CONFIGURE_ENABLE= clutter
|
|
EXIV2_LIB_DEPENDS= libexiv2.so:${PORTSDIR}/graphics/exiv2
|
|
EXIV2_CONFIGURE_ENABLE= exiv2
|
|
GSTREAMER_USE= gstreamer1=yes
|
|
GSTREAMER_CONFIGURE_ENABLE= gstreamer
|
|
RAW_DESC= Raw image support via libraw
|
|
RAW_LIB_DEPENDS= libraw.so:${PORTSDIR}/graphics/libraw
|
|
RAW_CONFIGURE_ENABLE= libraw
|
|
SECRET_DESC= Libsecret support for storing passwords
|
|
SECRET_LIB_DEPENDS= libsecret-1.so:${PORTSDIR}/security/libsecret
|
|
SECRET_CONFIGURE_ENABLE= libsecret
|
|
WEBP_LIB_DEPENDS= libwebp.so:${PORTSDIR}/graphics/webp
|
|
WEBP_CONFIGURE_ENABLE= libwebp
|
|
WEBSERVICES_DESC= Web services
|
|
WEBSERVICES_LIB_DEPENDS=\
|
|
libjson-glib-1.0.so:${PORTSDIR}/devel/json-glib \
|
|
libsoup-gnome-2.4.so:${PORTSDIR}/devel/libsoup-gnome \
|
|
libwebkitgtk-3.0.so:${PORTSDIR}/www/webkit-gtk3
|
|
WEBSERVICES_CONFIGURE_ENABLE= libjson-glib libsoup webkit2
|
|
YELP_DESC= Viewer for built-in help system
|
|
YELP_RUN_DEPENDS= yelp:${PORTSDIR}/x11/yelp
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
's|-Wl,--as-needed|| ; \
|
|
/^[[:blank:]]zlib/d ; \
|
|
/webkit2gtk/s|-4.0|-3.0|' ${WRKSRC}/configure
|
|
|
|
.include <bsd.port.mk>
|