From ea1f4bece8870857691a7123bdc899562760b3fe Mon Sep 17 00:00:00 2001 From: root Date: Tue, 20 Dec 2011 23:14:59 +0000 Subject: Tue Dec 20 23:14:59 UTC 2011 --- community-testing/luminancehdr/PKGBUILD | 42 ++++++++++++++++++++++ .../luminancehdr/luminance-hdr-2.1.0-libraw.patch | 10 ++++++ .../luminancehdr/luminancehdr.changelog | 33 +++++++++++++++++ .../luminancehdr/luminancehdr.install | 12 +++++++ 4 files changed, 97 insertions(+) create mode 100644 community-testing/luminancehdr/PKGBUILD create mode 100644 community-testing/luminancehdr/luminance-hdr-2.1.0-libraw.patch create mode 100644 community-testing/luminancehdr/luminancehdr.changelog create mode 100644 community-testing/luminancehdr/luminancehdr.install (limited to 'community-testing/luminancehdr') diff --git a/community-testing/luminancehdr/PKGBUILD b/community-testing/luminancehdr/PKGBUILD new file mode 100644 index 000000000..172a7c279 --- /dev/null +++ b/community-testing/luminancehdr/PKGBUILD @@ -0,0 +1,42 @@ +# $Id: PKGBUILD 60894 2011-12-19 18:08:13Z andrea $ +# Maintainer: Jaroslav Lichtblau +# Contributor: Lukas Jirkovsky +# Contributor: Dmitry N. Shilov + +pkgname=luminancehdr +pkgver=2.1.0 +pkgrel=6 +pkgdesc='Open source graphical user interface application that aims to provide a workflow for HDR imaging' +arch=('i686' 'x86_64') +url='http://qtpfsgui.sourceforge.net/' +license=('GPL') +depends=('exiv2' 'fftw' 'gsl' 'libraw' 'openexr' 'qt' 'qtwebkit') +optdepends=('hugin: align image stack functionality') +install=$pkgname.install +changelog=$pkgname.changelog +options=('!emptydirs') +source=(http://downloads.sourceforge.net/qtpfsgui/luminance-hdr-${pkgver}.tar.gz + luminance-hdr-2.1.0-libraw.patch) +sha256sums=('0b0f124ada6da62c379d6e4bd6fd150643115cb46f05c527c29113f475a5eeac' + 'd3be7458713693382b64a6a1fa766c14bc16be2ff9c5a06567c0e5335581151c') + +build() { + cd "${srcdir}/luminance-hdr-${pkgver}" + + # stolen from gentoo + patch -Np1 -i ../luminance-hdr-2.1.0-libraw.patch + + if [ ${CARCH} = i686 ]; then + sed -i 's/ -msse2//' project.pro + fi + + lrelease project.pro + qmake PREFIX=/usr + make +} + +package() { + cd "${srcdir}/luminance-hdr-${pkgver}" + + make INSTALL_ROOT="${pkgdir}" install +} diff --git a/community-testing/luminancehdr/luminance-hdr-2.1.0-libraw.patch b/community-testing/luminancehdr/luminance-hdr-2.1.0-libraw.patch new file mode 100644 index 000000000..8472a7422 --- /dev/null +++ b/community-testing/luminancehdr/luminance-hdr-2.1.0-libraw.patch @@ -0,0 +1,10 @@ +--- luminance-hdr-2.1.0/src/Fileformat/pfsinraw.cpp.orig ++++ luminance-hdr-2.1.0/src/Fileformat/pfsinraw.cpp +@@ -94,7 +94,6 @@ + RawProcessor.set_progress_handler(cb, callback_data); + int ret; + +- OUT.filtering_mode = LIBRAW_FILTERING_AUTOMATIC; + OUT.output_bps = 16; + + //OUT.gamm[0] = 1/2.4; //sRGB diff --git a/community-testing/luminancehdr/luminancehdr.changelog b/community-testing/luminancehdr/luminancehdr.changelog new file mode 100644 index 000000000..378053ef5 --- /dev/null +++ b/community-testing/luminancehdr/luminancehdr.changelog @@ -0,0 +1,33 @@ +2011-08-21 Jaroslav Lichtblau + * luminancehdr 2.1.0-1 + +2011-05-01 Jaroslav Lichtblau + * luminancehdr 2.0.2-1 + +2010-10-19 Jaroslav Lichtblau + * exiv2 0.20 rebuild + +2010-10-17 Jaroslav Lichtblau + * Update to major release 2.0.1 + +2010-06-27 Jaroslav Lichtblau + * Package renamed to LuminanceHDR + * Update to major release 2.0.0 + +2010-03-09 Andrea Scarpino + * exiv2 0.19 rebuild + +2009-11-02 Biru Ionut + * add translation and fix segfault on old i686 procesors + +2009-04-29 Jaroslav Lichtblau + * Update to major release v1.9.3 + +2009-04-04 Jaroslav Lichtblau + * Minor version (v1.9.2-3) update caused by exiv2 upgrade. + +2008-11-04 Jaroslav Lichtblau + * Minor version (v1.9.2-2) update caused by openexr upgrade. + +2008-09-17 Jaroslav Lichtblau + * Package moved to [community] diff --git a/community-testing/luminancehdr/luminancehdr.install b/community-testing/luminancehdr/luminancehdr.install new file mode 100644 index 000000000..279762804 --- /dev/null +++ b/community-testing/luminancehdr/luminancehdr.install @@ -0,0 +1,12 @@ +post_install() { + which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true + update-desktop-database -q +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} -- cgit v1.2.3-54-g00ecf