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