2015-12-03 13:59:11 +01:00
|
|
|
# Template file for 'lightzone'
|
|
|
|
pkgname=lightzone
|
2016-01-12 16:13:35 +01:00
|
|
|
version=4.1.5
|
2015-12-03 13:59:11 +01:00
|
|
|
revision=1
|
|
|
|
wrksrc=LightZone-${version}
|
|
|
|
hostmakedepends="automake git openjdk apache-ant javahelp2 rsync pkg-config"
|
|
|
|
makedepends="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="3-clause-BSD"
|
|
|
|
homepage="http://www.lightzoneproject.org/"
|
|
|
|
distfiles="https://github.com/Aries85/LightZone/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
|
2016-01-12 16:13:35 +01:00
|
|
|
checksum=6f8203790070329c67eee89171349d48e332aaa3dfd8f87a55ccc4323bddc2d6
|
2015-12-03 13:59:11 +01:00
|
|
|
# Cross building dcraw_lz is not supported
|
|
|
|
nocross=yes
|
|
|
|
replaces="lightzone-bin>=0"
|
|
|
|
|
|
|
|
do_build() {
|
|
|
|
export JAVA_HOME=/usr/lib/jvm/openjdk
|
|
|
|
cd linux
|
|
|
|
ant jar
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
vbin linux/products/lightzone
|
|
|
|
|
|
|
|
vmkdir usr/share
|
|
|
|
cp -pHR linux/icons ${DESTDIR}/usr/share
|
|
|
|
vinstall linux/products/lightzone.desktop 644 usr/share/applications
|
|
|
|
|
|
|
|
# Install shared libraries
|
|
|
|
for f in linux/products/*.so; do
|
|
|
|
vinstall $f 755 usr/lib/lightzone
|
|
|
|
done
|
|
|
|
|
|
|
|
# Install helpers
|
|
|
|
for f in LightZone-forkd dcraw_lz; do
|
|
|
|
vinstall linux/products/$f 755 usr/lib/lightzone
|
|
|
|
done
|
|
|
|
|
|
|
|
# Install jars
|
|
|
|
for f in linux/products/*.jar; do
|
|
|
|
vinstall $f 644 usr/share/java/lightzone
|
|
|
|
done
|
|
|
|
|
|
|
|
vlicense COPYING
|
|
|
|
}
|