void-packages/srcpkgs/sxiv/template
José Miguel Sánchez García 8134457d1d sxiv: add support for compile-time config file
Closes: #10779 [via git-merge-pr]
2018-01-27 11:30:17 +01:00

21 lines
610 B
Bash

# Template file for 'sxiv'
pkgname=sxiv
version=24
revision=2
build_style=gnu-makefile
makedepends="libX11-devel imlib2-devel giflib-devel libexif-devel libXft-devel"
short_desc="Simple X Image Viewer"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://github.com/muennich/sxiv"
license="GPL-2"
distfiles="https://github.com/muennich/sxiv/archive/v${version}.tar.gz"
checksum=511dc45d12962af9c31c3068ce6bca4b832a6263946b27befea49a48cf019110
pre_build() {
cp ${FILESDIR}/config.h config.h
}
if [ "$CROSS_BUILD" ]; then
# otherwise ft2build.h is not found
hostmakedepends+=" freetype-devel"
fi