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]
This commit is contained in:
UsernameRandomlyGenerated 2021-02-06 14:02:27 +01:00 committed by Érico Rolim
parent cf0da56f37
commit a4a336ac65
1 changed files with 8 additions and 8 deletions

View File

@ -1,21 +1,21 @@
# Template file for 'timg'
pkgname=timg
version=0.9.8
version=0.9.9
revision=1
build_wrksrc="src"
build_style=gnu-makefile
hostmakedepends="libgraphicsmagick-devel"
makedepends="libgraphicsmagick-devel libX11-devel libXext-devel libwebp-devel
lcms2-devel libSM-devel freetype-devel libltdl-devel libgomp-devel"
short_desc="24-bit color image viewer for terminal"
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=436e2c3b5f43e906786ca150d11e521281d558329a7bc00198fe30d6907ee8c4
CXXFLAGS="-I${XBPS_CROSS_BASE}/usr/include/GraphicsMagick"
checksum=f43df657e93d47a1184a81c0976e67978cbdce21a83be5ec1df83403cda24caf
do_install() {
vman ../man/timg.1.gz
vbin timg
}