void-packages/srcpkgs/fotoxx/template

27 lines
892 B
Bash

# Template file for 'fotoxx'
pkgname=fotoxx
version=23.32
revision=2
build_style=gnu-makefile
make_use_env=yes
hostmakedepends="pkg-config"
makedepends="libchamplain-devel libraw-devel"
depends="desktop-file-utils exiftool xdg-utils dcraw"
short_desc="Free open source program for image editing and collection management"
maintainer="Benjamín Albiñana <benalb@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://www.kornelix.net/fotoxx/fotoxx.html"
changelog="https://www.kornelix.net/downloads/recent_changes.txt"
distfiles="https://www.kornelix.net/downloads/downloads/fotoxx-${version}-source.tar.gz"
checksum=3d88f483b671f4ba7005a9f9195994408ceb97289a77acd3981462ac92397537
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