From bf35116f9d203dcafce808a6c7b3dd5a0db8afbc Mon Sep 17 00:00:00 2001 From: root Date: Tue, 2 Aug 2011 04:35:55 +0000 Subject: Tue Aug 2 04:35:55 UTC 2011 --- community/rawtherapee/PKGBUILD | 24 +++++++----------------- community/rawtherapee/rawtherapee.install | 1 + 2 files changed, 8 insertions(+), 17 deletions(-) (limited to 'community/rawtherapee') diff --git a/community/rawtherapee/PKGBUILD b/community/rawtherapee/PKGBUILD index 331f5b011..1e1d61777 100644 --- a/community/rawtherapee/PKGBUILD +++ b/community/rawtherapee/PKGBUILD @@ -1,27 +1,24 @@ -# $Id: PKGBUILD 49124 2011-06-11 10:51:22Z stativ $ +# $Id: PKGBUILD 52439 2011-07-25 17:38:27Z stativ $ # Maintainer: Lukas Jirkovsky # Contributor: Bogdan Szczurek # Contributor: Vaclav Kramar # Contributor: Archie pkgname=rawtherapee -pkgver=3.1m6 +pkgver=3.1.1 pkgrel=1 pkgdesc="RAW photo editor" arch=('i686' 'x86_64') url="http://www.rawtherapee.com/" license=('GPL') -depends=('bzip2' 'gtkmm' 'libiptcdata' 'lcms2' 'desktop-file-utils') +depends=('bzip2' 'gtkmm' 'libiptcdata' 'lcms2' 'desktop-file-utils' 'hicolor-icon-theme') makedepends=('mercurial' 'cmake') install=rawtherapee.install -source=(rawtherapee.desktop rawtherapee.png) -md5sums=('83f14b57b27f066705b0aec7ad56c53d' - '4e54e74684971a2f04d9396b9051570e') +source=() +md5sums=() _root="https://rawtherapee.googlecode.com/hg/" _repo="rawtherapee" -#_branch="branch_3.0" -#_changeset="71045bfba97e" # changeset $pkgver build() { cd "$srcdir" @@ -30,10 +27,10 @@ build() { if [ -d $_repo ] ; then cd $_repo hg pull - hg up "Dev-$pkgver" + hg up "$pkgver" msg "The local files are updated." else - hg clone -u "Dev-$pkgver" $_root $_repo + hg clone -u "$pkgver" $_root $_repo fi msg "Mercurial checkout done or server timeout" @@ -54,11 +51,4 @@ build() { package() { cd "$srcdir/$_repo-build" make DESTDIR="$pkgdir/" install - - # remove unneded rtstart script - # see http://code.google.com/p/rawtherapee/issues/detail?id=184 - rm "$pkgdir"/usr/bin/rtstart - - install -D -m644 "$srcdir"/rawtherapee.desktop "$pkgdir"/usr/share/applications/rawtherapee.desktop - install -D -m644 "$srcdir"/rawtherapee.png "$pkgdir"/usr/share/pixmaps/rawtherapee.png } diff --git a/community/rawtherapee/rawtherapee.install b/community/rawtherapee/rawtherapee.install index 6162b34dd..385eec8f4 100644 --- a/community/rawtherapee/rawtherapee.install +++ b/community/rawtherapee/rawtherapee.install @@ -2,6 +2,7 @@ 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() { -- cgit v1.2.3-54-g00ecf