30 lines
930 B
Bash
30 lines
930 B
Bash
# Template file for 'fotoxx'
|
||
pkgname=fotoxx
|
||
version=18.01.4
|
||
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"
|
||
short_desc="Free open source program for image editing and collection management"
|
||
maintainer="cr6git <quark6@protonmail.com>"
|
||
license="GPL-3.0-or-later"
|
||
homepage="https://www.kornelix.net/fotoxx/fotoxx.html"
|
||
distfiles="https://www.kornelix.net/downloads/tarballs/fotoxx-${version}.tar.gz"
|
||
checksum=1f8e64e46413c5dc8957a0fb7ebd5ea0ca2e09f5cfa7389e5db002e77262da1f
|
||
|
||
case "$XBPS_TARGET_MACHINE" in
|
||
*-musl) broken="execinfo.h is a GNU specific header, and doesn’t 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
|
||
}
|
||
|