aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordanilo <danilo@FreeBSD.org>2016-01-09 01:10:52 +0800
committerdanilo <danilo@FreeBSD.org>2016-01-09 01:10:52 +0800
commitc0d060976cd794fd3003ffde420e55c1272326c7 (patch)
treef2a5ce44c476f4ccafec18f26506395aa3f35c15
parenta60321998344835edc1e587d04c9fb4f4e7eee46 (diff)
downloadfreebsd-ports-gnome-c0d060976cd794fd3003ffde420e55c1272326c7.tar.gz
freebsd-ports-gnome-c0d060976cd794fd3003ffde420e55c1272326c7.tar.zst
freebsd-ports-gnome-c0d060976cd794fd3003ffde420e55c1272326c7.zip
- Update to 2.4.1
- Add options to enable/disable backends - Update pkg-descr
-rw-r--r--graphics/pqiv/Makefile33
-rw-r--r--graphics/pqiv/distinfo4
-rw-r--r--graphics/pqiv/pkg-descr25
3 files changed, 44 insertions, 18 deletions
diff --git a/graphics/pqiv/Makefile b/graphics/pqiv/Makefile
index 86ee4fc61979..0b632b796d4f 100644
--- a/graphics/pqiv/Makefile
+++ b/graphics/pqiv/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= pqiv
-PORTVERSION= 2.1.1
+PORTVERSION= 2.4.1
CATEGORIES= graphics
MAINTAINER= danilo@FreeBSD.org
@@ -14,22 +14,45 @@ BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash
USE_GITHUB= yes
GH_ACCOUNT= phillipberndt
-GH_TAGNAME= 7a10aba
+GH_TAGNAME= ${PORTVERSION}
OPTIONS_SINGLE= GTK
OPTIONS_SINGLE_GTK= GTK2 GTK3
-OPTIONS_DEFAULT= GTK2
-USES= gmake pkgconfig shebangfix tar:bzip2
-SHEBANG_FILES= configure
+OPTIONS_GROUP= BACKENDS
+OPTIONS_GROUP_BACKENDS= LIBAV PIXBUF POPPLER SPECTRE WAND
+LIBAV_DESC= Video support
+SPECTRE_DESC= PS/EPS support
+WAND_DESC= ImageMagick image processing support
+
+OPTIONS_DEFAULT= GTK2 PIXBUF
+
+USES= gmake pkgconfig tar:bzip2
HAS_CONFIGURE= yes
+LIBAV_CONFIGURE_WITH= libav
+LIBAV_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg
+
+PIXBUF_CONFIGURE_WITH= gdkpixbuf
+PIXBUF_USE= GNOME=gdkpixbuf2
+
+POPPLER_CONFIGURE_WITH= poppler
+POPPLER_LIB_DEPENDS= libpoppler-glib.so:graphics/poppler-glib
+
+SPECTRE_CONFIGURE_WITH= spectre
+SPECTRE_LIB_DEPENDS= libspectre.so:print/libspectre
+
+WAND_CONFIGURE_WITH= wand
+WAND_LIB_DEPENDS= libMagickWand-6.so:graphics/ImageMagick
+
GTK2_CONFIGURE_ON= --gtk-version=2
GTK2_USE= GNOME=gtk20
GTK3_CONFIGURE_ON= --gtk-version=3
GTK3_USE= GNOME=gtk30
+MAKEFILE= GNUmakefile
+
PORTDOCS= README.markdown
PLIST_FILES= bin/pqiv man/man1/pqiv.1.gz
diff --git a/graphics/pqiv/distinfo b/graphics/pqiv/distinfo
index 97bfb911a238..f46164a86483 100644
--- a/graphics/pqiv/distinfo
+++ b/graphics/pqiv/distinfo
@@ -1,2 +1,2 @@
-SHA256 (phillipberndt-pqiv-2.1.1-7a10aba_GH0.tar.bz2) = a706fadd625bd9bc4fed16b351056a05d7a13c2b5ffa7834ce72f804d43700e3
-SIZE (phillipberndt-pqiv-2.1.1-7a10aba_GH0.tar.bz2) = 49686
+SHA256 (phillipberndt-pqiv-2.4.1_GH0.tar.bz2) = 11c0b6c291d9dfa14a92a7cd8e2f5d05104a80b9cae76657fbe85573a40d3b7d
+SIZE (phillipberndt-pqiv-2.4.1_GH0.tar.bz2) = 76274
diff --git a/graphics/pqiv/pkg-descr b/graphics/pqiv/pkg-descr
index da035d060ee6..f0fdab6f1826 100644
--- a/graphics/pqiv/pkg-descr
+++ b/graphics/pqiv/pkg-descr
@@ -4,16 +4,19 @@ a (modulo some small extras) full featured clone of QIV written in C
using GTK-2 and GLIB-2.
Features include:
-* Fullscreen
-* Slideshow
-* Rotate / Flip
-* (Automatic/manual) Zoom
-* Move by drag & drop in fullscreen
-* Keep preferences in a configuration file
-* Rather small executable (~36k), low ram consumtion, quick
-* Execute predefined commands, pipe images through them or display
- their output
-* Real transparency
+* Command line image viewer
+* Directory traversing to view whole directories
+* Watch files and directories for changes
+* Natural order sorting of the images
+* A status bar showing information on the current image
+* Transparency and animation support
+* Moving, zooming, rotation, flipping
+* Slideshows
+* Highly customizable
+* Supports external image filters (e.g. convert)
+* Preloads the next image in the background
* Fade between images
+* Optional PDF/eps/ps support (useful e.g. for scientific plots)
+* Optional video format support (e.g. for webm animations)
-WWW: http://www.pberndt.com/Programme/Linux/pqiv/index.html
+WWW: https://github.com/phillipberndt/pqiv