pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics graphics: Add imv.
details: https://anonhg.NetBSD.org/pkgsrc/rev/b04562f8beaf
branches: trunk
changeset: 421136:b04562f8beaf
user: nia <nia%pkgsrc.org@localhost>
date: Sat Jan 11 15:18:46 2020 +0000
description:
graphics: Add imv.
imv is a command line image viewer intended for use with tiling
window managers.
Features
--------
* Native Wayland and X11 support
* Support for dozens of image formats including:
* PNG
* JPEG
* Animated GIFs
* SVG
* TIFF
* Various RAW formats
* Photoshop PSD files
* Configurable key bindings and behaviour
* Highly scriptable with IPC via imv-msg
diffstat:
graphics/Makefile | 3 ++-
graphics/imv/DESCR | 17 +++++++++++++++++
graphics/imv/Makefile | 32 ++++++++++++++++++++++++++++++++
graphics/imv/PLIST | 9 +++++++++
graphics/imv/distinfo | 6 ++++++
graphics/imv/options.mk | 42 ++++++++++++++++++++++++++++++++++++++++++
6 files changed, 108 insertions(+), 1 deletions(-)
diffs (143 lines):
diff -r 3ec523c45e8d -r b04562f8beaf graphics/Makefile
--- a/graphics/Makefile Sat Jan 11 14:47:18 2020 +0000
+++ b/graphics/Makefile Sat Jan 11 15:18:46 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.874 2020/01/11 13:37:15 nia Exp $
+# $NetBSD: Makefile,v 1.875 2020/01/11 15:18:46 nia Exp $
#
COMMENT= Graphics tools and libraries
@@ -250,6 +250,7 @@
SUBDIR+= imlib-gtk
SUBDIR+= imlib2
SUBDIR+= impress
+SUBDIR+= imv
SUBDIR+= inkscape
SUBDIR+= ipe
SUBDIR+= irrlicht
diff -r 3ec523c45e8d -r b04562f8beaf graphics/imv/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/imv/DESCR Sat Jan 11 15:18:46 2020 +0000
@@ -0,0 +1,17 @@
+imv is a command line image viewer intended for use with tiling
+window managers.
+
+Features
+--------
+
+* Native Wayland and X11 support
+* Support for dozens of image formats including:
+ * PNG
+ * JPEG
+ * Animated GIFs
+ * SVG
+ * TIFF
+ * Various RAW formats
+ * Photoshop PSD files
+* Configurable key bindings and behaviour
+* Highly scriptable with IPC via imv-msg
diff -r 3ec523c45e8d -r b04562f8beaf graphics/imv/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/imv/Makefile Sat Jan 11 15:18:46 2020 +0000
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1 2020/01/11 15:18:46 nia Exp $
+
+DISTNAME= imv-4.1.0
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_GITHUB:=eXeC64/}
+GITHUB_PROJECT= imv
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= nia%NetBSD.org@localhost
+HOMEPAGE= https://github.com/eXeC64/imv
+COMMENT= Image viewer for X11/Wayland
+LICENSE= mit
+
+TOOL_DEPENDS+= asciidoc-[0-9]*:../../textproc/asciidoc
+
+USE_TOOLS+= gmake pkg-config
+USE_LANGUAGES= c99
+
+MAKE_FLAGS+= MANPREFIX=${PREFIX}/${PKGMANDIR}
+
+MAKE_FLAGS+= BACKEND_LIBTIFF="yes"
+MAKE_FLAGS+= BACKEND_LIBPNG="yes"
+
+.include "options.mk"
+.include "../../devel/pango/buildlink3.mk"
+.include "../../graphics/MesaLib/buildlink3.mk"
+.include "../../graphics/freeimage/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../graphics/tiff/buildlink3.mk"
+.include "../../textproc/icu/buildlink3.mk"
+.include "../../x11/libxkbcommon/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 3ec523c45e8d -r b04562f8beaf graphics/imv/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/imv/PLIST Sat Jan 11 15:18:46 2020 +0000
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1 2020/01/11 15:18:46 nia Exp $
+bin/imv
+bin/imv-msg
+${PLIST.all}bin/imv-wayland
+${PLIST.all}bin/imv-x11
+man/man1/imv-msg.1
+man/man1/imv.1
+man/man5/imv.5
+share/applications/imv.desktop
diff -r 3ec523c45e8d -r b04562f8beaf graphics/imv/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/imv/distinfo Sat Jan 11 15:18:46 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/01/11 15:18:46 nia Exp $
+
+SHA1 (imv-4.1.0.tar.gz) = 2c2bc59aab63e237178cc1cbac6d9f0d386f9b69
+RMD160 (imv-4.1.0.tar.gz) = b33143fa7595f81dbe16a3e15f4d114b40568d8c
+SHA512 (imv-4.1.0.tar.gz) = 92d7551bda55185b29724e90230dac608a82f4a45cd3cb9c7a5d261f65eede6dcdde78f5c16eecfc1242533ec8e155204189fab3cacf31ddc088707af5131b2a
+Size (imv-4.1.0.tar.gz) = 77341 bytes
diff -r 3ec523c45e8d -r b04562f8beaf graphics/imv/options.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/imv/options.mk Sat Jan 11 15:18:46 2020 +0000
@@ -0,0 +1,42 @@
+# $NetBSD: options.mk,v 1.1 2020/01/11 15:18:46 nia Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.imv
+PKG_SUPPORTED_OPTIONS= svg wayland x11
+
+.include "../../devel/wayland/platform.mk"
+.if ${PLATFORM_SUPPORTS_WAYLAND} == "yes"
+PKG_SUGGESTED_OPTIONS= svg wayland x11
+.else
+PKG_SUGGESTED_OPTIONS= svg x11
+.endif
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Msvg)
+. include "../../graphics/librsvg/buildlink3.mk"
+MAKE_FLAGS+= BACKEND_LIBRSVG="yes"
+.else
+MAKE_FLAGS+= BACKEND_LIBRSVG="no"
+.endif
+
+PLIST_VARS+= all
+.if !empty(PKG_OPTIONS:Mwayland) && !empty(PKG_OPTIONS:Mx11)
+PLIST.all= yes
+MAKE_FLAGS+= WINDOWS="all"
+.elif !empty(PKG_OPTIONS:Mwayland)
+MAKE_FLAGS+= WINDOWS="wayland"
+.elif !empty(PKG_OPTIONS:Mx11)
+MAKE_FLAGS+= WINDOWS="x11"
+.else
+PKG_FAIL_REASON+= "Must select at least one windowing system"
+.endif
+
+.if !empty(PKG_OPTIONS:Mwayland)
+. include "../../devel/wayland/buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Mx11)
+. include "../../graphics/glu/buildlink3.mk"
+. include "../../x11/libxcb/buildlink3.mk"
+. include "../../x11/libX11/buildlink3.mk"
+.endif
Home |
Main Index |
Thread Index |
Old Index