From fff59bcce76f4b96f8716510ba9e58a20f8c574f Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Thu, 20 Jun 2013 00:09:08 +0000 Subject: [PATCH] added community/luminancehdr --- community/luminancehdr/PKGBUILD | 40 +++++++++++++++ community/luminancehdr/luminancehdr.changelog | 51 +++++++++++++++++++ community/luminancehdr/luminancehdr.install | 12 +++++ community/luminancehdr/strip-sse.patch | 9 ++++ 4 files changed, 112 insertions(+) create mode 100644 community/luminancehdr/PKGBUILD create mode 100644 community/luminancehdr/luminancehdr.changelog create mode 100644 community/luminancehdr/luminancehdr.install create mode 100644 community/luminancehdr/strip-sse.patch diff --git a/community/luminancehdr/PKGBUILD b/community/luminancehdr/PKGBUILD new file mode 100644 index 000000000..2831069f8 --- /dev/null +++ b/community/luminancehdr/PKGBUILD @@ -0,0 +1,40 @@ +# $Id$ +# Maintainer: Jaroslav Lichtblau +# Contributor: Lukas Jirkovsky +# Contributor: Dmitry N. Shilov + +# ALARM: Kevin Mihelich +# - patch to remove sse and sse2 flags + +pkgname=luminancehdr +pkgver=2.3.1 +pkgrel=3 +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' 'lcms2' 'libraw' 'openexr' 'qtwebkit') +makedepends=('cmake' 'boost' 'gtest') +optdepends=('hugin: align image stack functionality') +install=$pkgname.install +changelog=$pkgname.changelog +options=('!emptydirs') +source=(http://sourceforge.net/projects/qtpfsgui/files/luminance/${pkgver}/luminance-hdr-${pkgver}.tar.bz2 + strip-sse.patch) +sha256sums=('7a2a81cd0f2da6b6780bdd47e5f902c9dfaeb8107d763ea63007b6fcdcb4d23b' + 'f74a1d27684a7a8fa3223e1bf8e04bd2158925b8f1d0b32ef167910920511974') + +build() { + cd "${srcdir}" + + patch -p0 -i strip-sse.patch + + cmake -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd "${srcdir}" + + make DESTDIR="${pkgdir}" install +} diff --git a/community/luminancehdr/luminancehdr.changelog b/community/luminancehdr/luminancehdr.changelog new file mode 100644 index 000000000..ab6898db8 --- /dev/null +++ b/community/luminancehdr/luminancehdr.changelog @@ -0,0 +1,51 @@ +2013-06-15 Jaroslav Lichtblau + * luminancehdr 2.3.1-3 libraw rebuild + +2013-04-20 Jaroslav Lichtblau + * luminancehdr 2.3.1-1 + +2012-07-30 Jaroslav Lichtblau + * luminancehdr 2.3.0-2 exiv2-0.23 rebuild + +2012-07-07 Jaroslav Lichtblau + * luminancehdr 2.3.0-1 + +2012-03-18 Jaroslav Lichtblau + * luminancehdr 2.2.1-1 + +2012-01-27 Eric Belanger + * Rebuild against libpng 1.5 and libtiff 4.0 + +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/luminancehdr/luminancehdr.install b/community/luminancehdr/luminancehdr.install new file mode 100644 index 000000000..279762804 --- /dev/null +++ b/community/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 +} diff --git a/community/luminancehdr/strip-sse.patch b/community/luminancehdr/strip-sse.patch new file mode 100644 index 000000000..f3f682266 --- /dev/null +++ b/community/luminancehdr/strip-sse.patch @@ -0,0 +1,9 @@ +--- cmake/CompilerSettings.cmake.orig 2013-04-07 13:41:14.000000000 -0500 ++++ cmake/CompilerSettings.cmake 2013-06-19 18:46:41.834868983 -0500 +@@ -1,6 +1,5 @@ + IF(UNIX) + ADD_DEFINITIONS(-Wall -Wno-unknown-pragmas) +-ADD_DEFINITIONS(-ffast-math -msse2 -msse) + + IF(APPLE) + # optimize for 64-bit core 2 architecture on Apple