Date: Saturday, February 4, 2017 @ 11:37:33 Author: stativ Revision: 209880
upgpkg: rawtherapee 1:5.0.1-1 update to RT 5.0-r1 Modified: rawtherapee/trunk/PKGBUILD ----------+ PKGBUILD | 32 +++++++++++--------------------- 1 file changed, 11 insertions(+), 21 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-02-04 10:35:52 UTC (rev 209879) +++ PKGBUILD 2017-02-04 11:37:33 UTC (rev 209880) @@ -5,38 +5,28 @@ # Contributor: Archie <mym...@gmail.com> pkgname=rawtherapee -pkgver=4.2+448.g26d182d -_pkgver=26d182dabc6f133c27bffa3aac3f91b7ae55d578 -pkgrel=3 +pkgver=5.0.1 +_pkgver=5.0-r1-gtk3 +pkgrel=1 epoch=1 -pkgdesc="Raw photo editor" +pkgdesc="A powerful cross-platform raw image processing program" arch=('i686' 'x86_64') url="http://www.rawtherapee.com/" license=('GPL3') -depends=('fftw' 'gtkmm' 'libcanberra' 'libiptcdata' 'lcms2' 'hicolor-icon-theme') -optdepends=('gtk-engines: workaround theme bug under GNOME') -makedepends=('cmake' 'git') -#source=("http://rawtherapee.com/shared/source/rawtherapee-${pkgver}.tar.xz") -#md5sums=('e6510ed56fdc35aa712b4c0f54c52ac0') -source=("rawtherapee::git+https://github.com/Beep6581/RawTherapee.git#commit=$_pkgver" - rawtherapee-gcc6.patch::"https://github.com/Beep6581/RawTherapee/commit/5cd202dd.patch") -md5sums=('SKIP' - '398a38f531f7c8c37b4789f9560914e2') +depends=('fftw' 'gtk3' 'glibmm' 'gtkmm3' 'lcms2' 'libcanberra' 'libiptcdata' 'desktop-file-utils' 'hicolor-icon-theme') +makedepends=('cmake') +source=("http://rawtherapee.com/shared/source/rawtherapee-$_pkgver.tar.xz") +sha1sums=('bca9d11eae90c8bbe3605d07f86f4b09c9c28687') -prepare() { - cd $pkgname - # Fix build with GCC 6 - patch -p1 -i ../rawtherapee-gcc6.patch -} build() { mkdir -p "$srcdir/$pkgname-build" cd "$srcdir/$pkgname-build" - cmake "$srcdir/$pkgname" \ - -DCMAKE_CXX_FLAGS="-std=c++11" \ + cmake "$srcdir/$pkgname-$_pkgver" \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=Release + -DCMAKE_BUILD_TYPE=Release \ + -DCACHE_NAME_SUFFIX=5 make }