lightzone: update to 4.2.0

This commit is contained in:
Jürgen Buchmüller 2020-02-22 07:59:41 +01:00
parent ea2861d48a
commit cd7d7ab06e

View file

@ -1,24 +1,22 @@
# Template file for 'lightzone'
pkgname=lightzone
version=4.1.9
version=4.2.0
revision=1
wrksrc=LightZone-${version}
hostmakedepends="automake git openjdk8 apache-ant javahelp2 rsync pkg-config"
makedepends="libgomp-devel lcms2-devel libX11-devel"
hostmakedepends="automake openjdk11 apache-ant git javahelp2 pkg-config rsync"
makedepends="libgomp-devel lcms2-devel lensfun-devel libX11-devel"
depends="virtual?java-runtime javahelp2 liblzma tiff"
short_desc="Professional-level digital darkroom and photo editor"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="BSD-3-clause"
homepage="http://www.lightzoneproject.org/"
distfiles="https://github.com/ktgw0316/LightZone/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=b7400ccee7554bc563b47c02af28a0abd4840efa6502984fd83b18bfd337e0f6
nocross="Cross building dcraw_lz is not supported"
# JNI binaries are not PIE
nopie=yes
checksum=dd9eb8769533d75f36c767632451388187e3b8bad57be4b1a10d6173710fef2a
nocross="Cross building is not supported"
replaces="lightzone-bin>=0"
do_build() {
export JAVA_HOME=/usr/lib/jvm/java-1.8-openjdk
export JAVA_HOME=/usr/lib/jvm/openjdk11
cd linux
ant jar
}