1 # Template file for 'lightzone'
5 wrksrc=LightZone-${version}
6 hostmakedepends="automake git openjdk apache-ant javahelp2 rsync pkg-config"
7 makedepends="libgomp-devel lcms2-devel libX11-devel"
8 depends="virtual?java-runtime javahelp2 liblzma tiff"
9 short_desc="Professional-level digital darkroom and photo editor"
10 maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
11 license="3-clause-BSD"
12 homepage="http://www.lightzoneproject.org/"
13 distfiles="https://github.com/ktgw0316/LightZone/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
14 checksum=c92666ebcb4d066a5acbe3c41b6c4d74f78f9ac68998e3ac8ac3e13bb316905e
15 # Cross building dcraw_lz is not supported
17 # JNI binaries are not PIE
19 replaces="lightzone-bin>=0"
22 export JAVA_HOME=/usr/lib/jvm/openjdk
28 vbin linux/products/lightzone
31 cp -pHR linux/icons ${DESTDIR}/usr/share
32 vinstall linux/products/lightzone.desktop 644 usr/share/applications
34 # Install shared libraries
35 for f in linux/products/*.so; do
36 vinstall $f 755 usr/lib/lightzone
40 for f in LightZone-forkd dcraw_lz; do
41 vinstall linux/products/$f 755 usr/lib/lightzone
45 for f in linux/products/*.jar; do
46 vinstall $f 644 usr/share/java/lightzone