void-packages/srcpkgs/fotoxx/template
Nathan Owens 6f5291969d fotoxx: update to 20.19
Closes: #26245 [via git-merge-pr]
2020-11-10 10:36:03 -05:00

31 lines
951 B
Bash

# Template file for 'fotoxx'
pkgname=fotoxx
version=20.19
revision=1
wrksrc=fotoxx
build_style=gnu-makefile
make_use_env=yes
hostmakedepends="pkg-config"
makedepends="libchamplain-devel libraw-devel"
depends="desktop-file-utils exiftool xdg-utils"
short_desc="Free open source program for image editing and collection management"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://www.kornelix.net/fotoxx/fotoxx.html"
distfiles="https://www.kornelix.net/downloads/downloads/fotoxx-${version}.tar.gz"
checksum=4c9216d4612641151ca75e3f6fd74521a8dcfbb0a14d765b73d2ff62eed37a3e
CXXFLAGS="-I${XBPS_CROSS_BASE}/usr/include/champlain-0.12"
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" libchamplain-devel"
fi
case "$XBPS_TARGET_LIBC" in
musl) makedepends+=" libexecinfo-devel"
esac
post_install() {
rm -rv ${DESTDIR}/usr/share/doc/fotoxx/{changelog.gz,copyright,fotoxx.man} \
${DESTDIR}/usr/share/appdata
}