1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/graphics/geeqie/Makefile
Tobias C. Berner 5dc59a82ae graphics/poppler: update to 20.09.0
Release 20.09.0:
        core:
         * Compability fix for Forms
         * Fix fetching of Objects failing in some cases
         * Fix clearing date in Annot setModified/setDate
         * TextSelectionPainter: support glyphless fonts
         * Splash: Don't try read past end of image
         * avoid abort() on large memory allocation
         * Fix memory leak on broken files
         * Fix potential invalid memory read
         * Small code improvements

        qt5:
         * Document TextAnnotation::inplaceAlign
         * Make Annotation::setModification/CreationDate work on existing annots
         * Be a bit more stubborn converting dates that come from xml
         * Clean as many null characters from the end as possible when converting strings

        glib:
         * Add accessor functions for PopplerAttachment
         * Deprecate PopplerAttachment GTime fields
         * Deprecate PopplerDocument date properties

        utils:
         * pdftoppm: report error and exit if output file cannot be written
         * Document that PDF-file can be '-' to read it from stdin

        build system:
         * cmake: Modern way to link against libpng, zlib and libtiff
         * cmake: Remove stray support for lcms1 in pdftocairo

PR:		249060
Exp-run by:	antoine
2020-09-10 18:32:06 +00:00

82 lines
2.2 KiB
Makefile

# Created by: Martin Tournoij <carpetsmoker@rwxrwxrwx.net>
# $FreeBSD$
PORTNAME= geeqie
PORTVERSION= 1.5.1
PORTREVISION= 9
CATEGORIES= graphics
MASTER_SITES= http://www.geeqie.org/
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Lightweight image viewer forked from GQview
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libpng.so:graphics/png
RUN_DEPENDS= bash:shells/bash
CONFLICTS= geeqie-devel-[0-9]*
USES= autoreconf compiler:c++11-lang gettext gmake gnome jpeg \
localbase pkgconfig desktop-file-utils tar:xz lua:53 shebangfix
USE_GNOME= intltool
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-readmedir="${DOCSDIR}"
SHEBANG_FILES= plugins/*/geeqie-*
PORTDOCS= *
OPTIONS_DEFINE= EXIV2 LCMS LIRC MAP TIFF PDF FFMPEGTHUMBNAILER DOCS NLS
OPTIONS_DEFAULT=EXIV2 LCMS GTK3 PDF FFMPEGTHUMBNAILER
OPTIONS_SINGLE= TOOLKIT
OPTIONS_SINGLE_TOOLKIT=GTK2 GTK3
OPTIONS_SUB= yes
EXIV2_DESC= Metadata editing
LCMS_DESC= Color adjusting
LIRC_DESC= Remote control (broken)
MAP_DESC= GPS map support via libchamplain
TOOLKIT_DESC= Graphical user interface toolkit
GTK2_DESC= Use GTK 2
GTK3_DESC= Use GTK 3
EXIV2_LIB_DEPENDS= libexiv2.so:graphics/exiv2
EXIV2_CONFIGURE_ENABLE= exiv2
LCMS_LIB_DEPENDS= liblcms2.so:graphics/lcms2
LCMS_CONFIGURE_ENABLE= lcms
LIRC_LIB_DEPENDS= liblirc_client.so:comms/lirc
LIRC_CONFIGURE_ENABLE= lirc
LIRC_CONFIGURE_ON= --with-lirc-prefix="${LOCALBASE}"
LIRC_BROKEN= does not build with old lirc from ports
MAP_LIB_DEPENDS= libchamplain-0.12.so:graphics/libchamplain \
libclutter-gtk-1.0.so:graphics/clutter-gtk3
MAP_CONFIGURE_ENABLE= map gpu-accel
MAP_REQUIRES= GTK3
TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff
TIFF_CONFIGURE_ENABLE= tiff
GTK2_USE= GNOME=gtk20
GTK3_USE= GNOME=gtk30
GTK3_CONFIGURE_ENABLE= gtk3
PDF_LIB_DEPENDS= libpoppler-glib.so:graphics/poppler-glib
PDF_CONFIGURE_ENABLE= pdf
PDF_REQUIRES= GTK3
FFMPEGTHUMBNAILER_DESC= Video file thumbnails generating support
FFMPEGTHUMBNAILER_CONFIGURE_ENABLE= ffmpegthumbnailer
FFMPEGTHUMBNAILER_LIB_DEPENDS= libffmpegthumbnailer.so:multimedia/ffmpegthumbnailer
NLS_CONFIGURE_ENABLE= nls
pre-build:
# fixes threaded build
@cd ${WRKSRC}/src && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} gq-marshal.c
.include <bsd.port.mk>