void-packages/srcpkgs/fotoxx/template
2019-06-02 16:22:35 +02:00

30 lines
944 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Template file for 'fotoxx'
pkgname=fotoxx
version=19.12
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=a5fa5ab5d2a4289c49fb87b0ffa843953daec3439686643db1edbc69ee65407c
case "$XBPS_TARGET_MACHINE" in
*-musl) broken="execinfo.h is a GNU specific header, and doesnt exist under musl.";;
esac
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" libchamplain-devel"
fi
post_install() {
rm -v ${DESTDIR}/usr/share/doc/fotoxx/{changelog.gz,copyright,fotoxx.man}
rm -rv ${DESTDIR}/usr/share/appdata
}