void-packages/srcpkgs/timg/template
UsernameRandomlyGenerated a4a336ac65 timg: update to 0.9.9, enable video decoding support.
By ericonr:
- use MAGICK_CXXFLAGS instead of CXXFLAGS: guarantee usage of target
headers
- clean up makedepends now provided by libgraphicsmagick-devel
- install man page

Closes: #28546 [via git-merge-pr]
2021-02-09 23:01:46 -03:00

21 lines
687 B
Bash

# Template file for 'timg'
pkgname=timg
version=0.9.9
revision=1
build_wrksrc="src"
build_style=gnu-makefile
make_use_env=yes
make_build_args="WITH_VIDEO_DECODING=1 MAGICK_CXXFLAGS=-I${XBPS_CROSS_BASE}/usr/include/GraphicsMagick"
hostmakedepends="pkg-config libgraphicsmagick-devel"
makedepends="libgraphicsmagick-devel ffmpeg-devel"
short_desc="24-bit color image & video viewer for terminal"
maintainer="Daniel Santana <daniel@santana.tech>"
license="GPL-2.0-only"
homepage="https://github.com/hzeller/timg"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=f43df657e93d47a1184a81c0976e67978cbdce21a83be5ec1df83403cda24caf
do_install() {
vman ../man/timg.1.gz
vbin timg
}