void-packages/srcpkgs/fotoxx/template

27 lines
884 B
Bash

# Template file for 'fotoxx'
pkgname=fotoxx
version=23.1
revision=1
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}.tar.gz"
checksum=2043daedac89d5826699ff2833e6e697caad707ae174bebb9470e21b692312c1
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