community/rawtherapee to 4.2+448.g26d182d-3

This commit is contained in:
Kevin Mihelich 2016-08-07 16:58:55 +00:00
parent 04d1096694
commit b6acb0596f
2 changed files with 11 additions and 21 deletions

View file

@ -10,25 +10,29 @@
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"
rawtherapee-gcc6.patch::"https://github.com/Beep6581/RawTherapee/commit/5cd202dd.patch"
'0001-char-fix-for-ARM.patch')
md5sums=('SKIP'
'398a38f531f7c8c37b4789f9560914e2'
'585a1fc6a1e4e1ce5c479279eba44eb0')
prepare() {
cd "$srcdir/$pkgname"
cd $pkgname
# Fix build with GCC 6
patch -p1 -i ../rawtherapee-gcc6.patch
git apply ../0001-char-fix-for-ARM.patch
}
@ -47,3 +51,6 @@ package() {
cd "$srcdir/$pkgname-build"
make DESTDIR="$pkgdir/" install
}
# vim:set ts=2 sw=2 et:

View file

@ -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: