community/luminancehdr to 2.4.0-8

This commit is contained in:
Kevin Mihelich 2016-05-01 14:36:15 +00:00
parent c0291f7f82
commit 93599fac09
3 changed files with 10 additions and 17 deletions

View file

@ -8,7 +8,7 @@
pkgname=luminancehdr pkgname=luminancehdr
pkgver=2.4.0 pkgver=2.4.0
pkgrel=7 pkgrel=8
pkgdesc='Open source graphical user interface application that aims to provide a workflow for HDR imaging' pkgdesc='Open source graphical user interface application that aims to provide a workflow for HDR imaging'
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
url='http://qtpfsgui.sourceforge.net/' url='http://qtpfsgui.sourceforge.net/'
@ -16,7 +16,6 @@ license=('GPL')
depends=('exiv2' 'fftw' 'gsl' 'lcms2' 'libraw' 'openexr' 'qt5-webkit' 'ccfits' 'desktop-file-utils' 'hicolor-icon-theme') depends=('exiv2' 'fftw' 'gsl' 'lcms2' 'libraw' 'openexr' 'qt5-webkit' 'ccfits' 'desktop-file-utils' 'hicolor-icon-theme')
makedepends=('cmake' 'boost' 'gtest' 'qt5-tools' 'patch') makedepends=('cmake' 'boost' 'gtest' 'qt5-tools' 'patch')
optdepends=('hugin: align image stack functionality') optdepends=('hugin: align image stack functionality')
install=$pkgname.install
changelog=$pkgname.changelog changelog=$pkgname.changelog
options=('!emptydirs') options=('!emptydirs')
source=(http://sourceforge.net/projects/qtpfsgui/files/luminance/$pkgver/luminance-hdr-$pkgver.tar.bz2 source=(http://sourceforge.net/projects/qtpfsgui/files/luminance/$pkgver/luminance-hdr-$pkgver.tar.bz2
@ -27,7 +26,7 @@ sha256sums=('14014eadab099944f051dd99447f6f47d455ffb0e4e0272d93a8e71fd96ad401'
'f74a1d27684a7a8fa3223e1bf8e04bd2158925b8f1d0b32ef167910920511974') 'f74a1d27684a7a8fa3223e1bf8e04bd2158925b8f1d0b32ef167910920511974')
prepare() { prepare() {
cd "${srcdir}"/luminance-hdr-${pkgver} cd "${srcdir}"/luminance-hdr-$pkgver
#Fix build error with Qt >= 5.3.2 #Fix build error with Qt >= 5.3.2
patch -Np1 -i "${srcdir}"/qt5_printsupport.diff patch -Np1 -i "${srcdir}"/qt5_printsupport.diff
@ -36,14 +35,14 @@ prepare() {
} }
build() { build() {
cd "${srcdir}"/luminance-hdr-${pkgver} cd "${srcdir}"/luminance-hdr-$pkgver
cmake -DCMAKE_INSTALL_PREFIX=/usr cmake -DCMAKE_INSTALL_PREFIX=/usr
make make
} }
package() { package() {
cd "${srcdir}"/luminance-hdr-${pkgver} cd "${srcdir}"/luminance-hdr-$pkgver
make DESTDIR="${pkgdir}" install make DESTDIR="${pkgdir}" install
} }

View file

@ -1,9 +1,15 @@
2016-05-01 Jaroslav Lichtblau <svetlemodry@archlinux.org>
* luminancehdr 2.4.0-8 pacman hooks rebuild
2016-02-20 Jaroslav Lichtblau <svetlemodry@archlinux.org> 2016-02-20 Jaroslav Lichtblau <svetlemodry@archlinux.org>
* luminancehdr 2.4.0-7 gsl 2.1 rebuild * luminancehdr 2.4.0-7 gsl 2.1 rebuild
2015-08-27 Jaroslav Lichtblau <svetlemodry@archlinux.org> 2015-08-27 Jaroslav Lichtblau <svetlemodry@archlinux.org>
* luminancehdr 2.4.0-5 libraw 0.17 rebuild * luminancehdr 2.4.0-5 libraw 0.17 rebuild
2015-07-03 Jaroslav Lichtblau <svetlemodry@archlinux.org>
* luminancehdr 2.4.0-4 exiv2-0.25 rebuild
2015-05-14 Jaroslav Lichtblau <svetlemodry@archlinux.org> 2015-05-14 Jaroslav Lichtblau <svetlemodry@archlinux.org>
* luminancehdr 2.4.0-3 * luminancehdr 2.4.0-3

View file

@ -1,12 +0,0 @@
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
}