graphics/nsxiv: New port
nsxiv is a fork of now unmaintained sxiv with the purpose of maintaining it and adding simple, sensible features.
This commit is contained in:
parent
639c2d3d3b
commit
42eaef8170
5 changed files with 70 additions and 0 deletions
|
@ -569,6 +569,7 @@
|
|||
SUBDIR += nomacs
|
||||
SUBDIR += nplot
|
||||
SUBDIR += npretty
|
||||
SUBDIR += nsxiv
|
||||
SUBDIR += nurbs++
|
||||
SUBDIR += nvidia-texture-tools
|
||||
SUBDIR += ocaml-images
|
||||
|
|
40
graphics/nsxiv/Makefile
Normal file
40
graphics/nsxiv/Makefile
Normal file
|
@ -0,0 +1,40 @@
|
|||
PORTNAME= nsxiv
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 27.1-20
|
||||
DISTVERSIONSUFFIX= -g065562d
|
||||
CATEGORIES= graphics
|
||||
PATCH_SITES= https://github.com/0mp/nsxiv/commit/
|
||||
PATCHFILES= d44674845ac41621cdaf69f6898b81fac435233f.patch:-p1
|
||||
|
||||
MAINTAINER= 0mp@FreeBSD.org
|
||||
COMMENT= Simple X image viewer
|
||||
|
||||
LICENSE= GPLv2
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
LIB_DEPENDS= libexif.so:graphics/libexif \
|
||||
libfontconfig.so:x11-fonts/fontconfig \
|
||||
libgif.so:graphics/giflib \
|
||||
libImlib2.so:graphics/imlib2 \
|
||||
libinotify.so:devel/libinotify
|
||||
|
||||
USES= desktop-file-utils gmake localbase:ldflags pkgconfig xorg
|
||||
USE_GITHUB= yes
|
||||
USE_XORG= x11 xft
|
||||
|
||||
MAKE_ARGS= PREFIX=${PREFIX}
|
||||
MAKE_ENV= OPTIONAL_LIBS=-linotify
|
||||
|
||||
INSTALL_TARGET= install-all
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
# These examples files belong to the project's documentation. Let's leave them
|
||||
# in the doc directory for simplicity.
|
||||
PORTDOCS= examples/image-info \
|
||||
examples/key-handler
|
||||
|
||||
post-install:
|
||||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
||||
|
||||
.include <bsd.port.mk>
|
5
graphics/nsxiv/distinfo
Normal file
5
graphics/nsxiv/distinfo
Normal file
|
@ -0,0 +1,5 @@
|
|||
TIMESTAMP = 1633092026
|
||||
SHA256 (nsxiv-nsxiv-v27.1-20-g065562d_GH0.tar.gz) = 178241206a49add6cdc337f3fa112dd2c53d87ba6025cf54bb8f37ba563bfa02
|
||||
SIZE (nsxiv-nsxiv-v27.1-20-g065562d_GH0.tar.gz) = 55969
|
||||
SHA256 (d44674845ac41621cdaf69f6898b81fac435233f.patch) = ad31030cdcbc9cdf4dbb5bb199e370d34b14e1735409624ecdc7d35643cb0b08
|
||||
SIZE (d44674845ac41621cdaf69f6898b81fac435233f.patch) = 1201
|
16
graphics/nsxiv/pkg-descr
Normal file
16
graphics/nsxiv/pkg-descr
Normal file
|
@ -0,0 +1,16 @@
|
|||
Neo (or New or Not) Simple (or Small or Suckless) X Image Viewer is a fork of
|
||||
now unmaintained sxiv, the Simple X Image Viewer, with the purpose of
|
||||
maintaining it and adding simple, sensible features. nsxiv is free software
|
||||
licensed under GPLv2 and aims to be easy to modify and customize.
|
||||
|
||||
Some of its features are:
|
||||
|
||||
- Basic image operations, e.g. zooming, panning, rotating
|
||||
- Customizable key and mouse button mappings (in config.h)
|
||||
- Thumbnail mode: grid of selectable previews of all images
|
||||
- Ability to cache thumbnails for fast re-loading
|
||||
- Basic support for multi-frame images
|
||||
- Load all frames from GIF files and play GIF animations
|
||||
- Display image information in status bar
|
||||
|
||||
WWW: https://github.com/nsxiv/nsxiv
|
8
graphics/nsxiv/pkg-plist
Normal file
8
graphics/nsxiv/pkg-plist
Normal file
|
@ -0,0 +1,8 @@
|
|||
bin/nsxiv
|
||||
share/applications/nsxiv.desktop
|
||||
share/icons/hicolor/128x128/apps/nsxiv.png
|
||||
share/icons/hicolor/16x16/apps/nsxiv.png
|
||||
share/icons/hicolor/32x32/apps/nsxiv.png
|
||||
share/icons/hicolor/48x48/apps/nsxiv.png
|
||||
share/icons/hicolor/64x64/apps/nsxiv.png
|
||||
share/man/man1/nsxiv.1.gz
|
Loading…
Reference in a new issue