[arch-commits] Commit in rawtherapee/trunk (PKGBUILD rawtherapee.install)

Antonio Rojas arojas at archlinux.org
Sun Aug 7 10:46:25 UTC 2016


    Date: Sunday, August 7, 2016 @ 10:46:25
  Author: arojas
Revision: 185787

Hooks

Modified:
  rawtherapee/trunk/PKGBUILD
Deleted:
  rawtherapee/trunk/rawtherapee.install

---------------------+
 PKGBUILD            |   17 ++++++++++++-----
 rawtherapee.install |   17 -----------------
 2 files changed, 12 insertions(+), 22 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-08-07 10:34:50 UTC (rev 185786)
+++ PKGBUILD	2016-08-07 10:46:25 UTC (rev 185787)
@@ -7,21 +7,28 @@
 pkgname=rawtherapee
 pkgver=4.2+448.g26d182d
 _pkgver=26d182dabc6f133c27bffa3aac3f91b7ae55d578
-pkgrel=2
+pkgrel=3
 epoch=1
 pkgdesc="Raw photo editor"
 arch=('i686' 'x86_64')
 url="http://www.rawtherapee.com/"
 license=('GPL3')
-depends=('fftw' 'gtkmm' 'libcanberra' 'libiptcdata' 'lcms2' 'desktop-file-utils' 'hicolor-icon-theme')
+depends=('fftw' 'gtkmm' 'libcanberra' 'libiptcdata' 'lcms2' 'hicolor-icon-theme')
 optdepends=('gtk-engines: workaround theme bug under GNOME')
 makedepends=('cmake' 'git')
-install=rawtherapee.install
 #source=("http://rawtherapee.com/shared/source/rawtherapee-${pkgver}.tar.xz")
 #md5sums=('e6510ed56fdc35aa712b4c0f54c52ac0')
-source=("rawtherapee::git+https://github.com/Beep6581/RawTherapee.git#commit=$_pkgver")
-md5sums=('SKIP')
+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')
 
+prepare() {
+  cd $pkgname
+  # Fix build with GCC 6 
+  patch -p1 -i ../rawtherapee-gcc6.patch
+}
+
 build() {
   mkdir -p "$srcdir/$pkgname-build"
   cd "$srcdir/$pkgname-build"

Deleted: rawtherapee.install
===================================================================
--- rawtherapee.install	2016-08-07 10:34:50 UTC (rev 185786)
+++ rawtherapee.install	2016-08-07 10:46:25 UTC (rev 185787)
@@ -1,17 +0,0 @@
-post_install() {
-  echo "update desktop mime database..."
-  update-desktop-database -q
-  update-mime-database usr/share/mime 1>&2 > /dev/null
-  xdg-icon-resource forceupdate --theme hicolor &> /dev/null
-}
-
-post_upgrade() {
-  post_install $1
-}
-
-post_remove() {
-  post_install $1
-}
-
-
-# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list