New port: graphics/meh

meh is a small, simple, super fast image viewer using raw XLib. It is
similar to feh, but faster and simpler.

meh can use ImageMagick’s convert to view almost 200 file formats, though
it is slower for these formats. Built in formats are JPEG, PNG, BMP, and
netpbm.

Features:
- Fast
- Tiny
- Fast JPEG, PNG, GIF and BMP support
- Fast netpbm support (.ppm, .pgm, .pbm, .pnm)
- ImageMagick support by calling convert
    - All ImageMagick formats (almost 200)
    - This allows limited support for PDF’s and SVG’s
- Scales images to window size
- Preserves aspect ratio (either via EWMH hints or by padding the window)
- XSHM Support
- Minimal dependencies (Xlib, libjpeg, libpng, giflib)

WWW: https://www.johnhawthorn.com/meh/
This commit is contained in:
Mateusz Piotrowski 2020-04-15 16:56:43 +00:00
parent e3d248f6f2
commit b54909e8bf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=531775
4 changed files with 62 additions and 0 deletions

View file

@ -526,6 +526,7 @@
SUBDIR += mapserver
SUBDIR += mapyrus
SUBDIR += megapov
SUBDIR += meh
SUBDIR += mesa-demos
SUBDIR += mesa-dri
SUBDIR += mesa-libs

38
graphics/meh/Makefile Normal file
View file

@ -0,0 +1,38 @@
# Created by: Mateusz Piotrowski <0mp@FreeBSD.org>
# $FreeBSD$
PORTNAME= meh
DISTVERSIONPREFIX= v
DISTVERSION= 0.3-27
DISTVERSIONSUFFIX= -g69f653a
CATEGORIES= graphics
MAINTAINER= 0mp@FreeBSD.org
COMMENT= Simple image viewer using raw XLib convert from ImageMagick
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libgif.so:graphics/giflib \
libpng.so:graphics/png
RUN_DEPENDS= convert:graphics/ImageMagick7
USES= gmake jpeg localbase xorg
USE_GITHUB= yes
GH_ACCOUNT= jhawthorn
USE_XORG= x11 xext
ALL_TARGET= ${PORTNAME}
LIBS+= -lgif -ljpeg -lpng -lX11 -lXext
PLIST_FILES= bin/${PORTNAME} \
share/man/man1/${PORTNAME}.1.gz
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} \
${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 \
${STAGEDIR}${MAN1PREFIX}/share/man/man1
.include <bsd.port.mk>

3
graphics/meh/distinfo Normal file
View file

@ -0,0 +1,3 @@
TIMESTAMP = 1586964191
SHA256 (jhawthorn-meh-v0.3-27-g69f653a_GH0.tar.gz) = ff3080c24c4657350ccc4f5d249d2b53cc5d53955ec2035ff9b9a90e8bbe882d
SIZE (jhawthorn-meh-v0.3-27-g69f653a_GH0.tar.gz) = 13683

20
graphics/meh/pkg-descr Normal file
View file

@ -0,0 +1,20 @@
meh is a small, simple, super fast image viewer using raw XLib. It is similar
to feh, but faster and simpler.
meh can use ImageMagicks convert to view almost 200 file formats, though it is
slower for these formats. Built in formats are JPEG, PNG, BMP, and netpbm.
Features:
- Fast
- Tiny
- Fast JPEG, PNG, GIF and BMP support
- Fast netpbm support (.ppm, .pgm, .pbm, .pnm)
- ImageMagick support by calling convert
- All ImageMagick formats (almost 200)
- This allows limited support for PDFs and SVGs
- Scales images to window size
- Preserves aspect ratio (either via EWMH hints or by padding the window)
- XSHM Support
- Minimal dependencies (Xlib, libjpeg, libpng, giflib)
WWW: https://www.johnhawthorn.com/meh/