Revert "lightzone: update to 4.2.0"

This reverts commit cd7d7ab06e.
This commit is contained in:
Jürgen Buchmüller 2020-02-22 08:11:09 +01:00
parent cd7d7ab06e
commit c7f5194694
1 changed files with 8 additions and 6 deletions

View File

@ -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 <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=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
}