void-packages/srcpkgs/feh/template
Peter Bui 3a46cfacf4 feh: update to 2.23
Add patch to fix building on musl environments: need to define
_BSD_SOURCE so that when string.h is included, strings.h is also
included.

Closes: #10524 [via git-merge-pr]
2018-01-08 10:52:33 +01:00

22 lines
715 B
Bash

# Template file for 'feh'
pkgname=feh
version=2.23
revision=1
hostmakedepends="pkg-config"
makedepends="giblib-devel libcurl-devel libexif-devel
libpng-devel libjpeg-turbo-devel libXinerama-devel libXt-devel"
depends="libjpeg-turbo-tools"
short_desc="Fast and light imlib2-based image viewer"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="https://feh.finalrewind.org/"
distfiles="${homepage}/feh-${version}.tar.bz2"
checksum=16df3cb813526a549e854aa82f80bcb299b9e83dd687ab4216a84e86f61722a1
do_build() {
make ${makejobs} CC=$CC PREFIX=/usr exif=1 help=1 stat64=1
}
do_install() {
make PREFIX=/usr example_dir=${DESTDIR}/usr/share/examples/feh DESTDIR=${DESTDIR} install
vlicense COPYING
}