pkgsrc/graphics/viu/Makefile
pin c677fa4e93 graphics/viu: import package
Small command-line application to view images from the terminal written in Rust.
It is basically the front-end of `viuer`. It uses the Kitty graphics protocol,
if supported. If not, lower half blocks are displayed insread.

Features:
- Animated GIF support
- Accept media through stdin
- Custom dimensions
- Transparency
2020-11-23 14:14:34 +00:00

23 lines
580 B
Makefile

# $NetBSD: Makefile,v 1.1 2020/11/23 14:14:34 pin Exp $
DISTNAME= viu-1.2.1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_GITHUB:=atanunq/}
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= pin@NetBSD.org
HOMEPAGE= https://github.com/atanunq/viu/
COMMENT= Simple terminal image viewer written in Rust
LICENSE= mit
.include "cargo-depends.mk"
USE_LANGUAGES+= c # rust, but needs a toolchain to link
INSTALLATION_DIRS= bin
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/target/release/viu ${DESTDIR}${PREFIX}/bin
.include "../../lang/rust/cargo.mk"
.include "../../mk/bsd.pkg.mk"