diff options
Diffstat (limited to 'community/rawtherapee')
-rw-r--r-- | community/rawtherapee/PKGBUILD | 62 | ||||
-rw-r--r-- | community/rawtherapee/rawtherapee.desktop | 11 | ||||
-rw-r--r-- | community/rawtherapee/rawtherapee.install | 24 | ||||
-rw-r--r-- | community/rawtherapee/rawtherapee.png | bin | 0 -> 3639 bytes |
4 files changed, 97 insertions, 0 deletions
diff --git a/community/rawtherapee/PKGBUILD b/community/rawtherapee/PKGBUILD new file mode 100644 index 000000000..63813738d --- /dev/null +++ b/community/rawtherapee/PKGBUILD @@ -0,0 +1,62 @@ +# $Id: PKGBUILD 36068 2010-12-26 11:58:33Z stativ $ +# Maintainer: Lukas Jirkovsky <l.jirkovsky AT gmail.com> +# Contributor: Bogdan Szczurek <thebodzio(at)gmail.com> +# Contributor: Vaclav Kramar <vaclav.kramar@tiscali.cz> +# Contributor: Archie <mymaud@gmail.com> + +pkgname=rawtherapee +pkgver=3.0a1_742 +pkgrel=1 +pkgdesc="RAW photo editor" +arch=('i686' 'x86_64') +url="http://www.rawtherapee.com/" +license=('GPL') +depends=('libsigc++' 'gtkmm' 'libiptcdata' 'lcms') +makedepends=('mercurial' 'cmake') +install=rawtherapee.install +source=(rawtherapee.desktop rawtherapee.png) +md5sums=('83f14b57b27f066705b0aec7ad56c53d' + '4e54e74684971a2f04d9396b9051570e') + +_root="https://rawtherapee.googlecode.com/hg/" +_repo="rawtherapee" +_branch="branch_3.0" +_changeset="71045bfba97e" # changeset $pkgver + +build() { + cd "$srcdir" + msg "Connecting to Mercurial server...." + + if [ -d $_repo ] ; then + cd $_repo + hg pull + hg up -r $_changeset + msg "The local files are updated." + else + hg clone -b $_branch -u $_changeset $_root $_repo + fi + + msg "Mercurial checkout done or server timeout" + msg "Starting make..." + + if [ -e "$srcdir/$_repo-build" ]; then + rm -rf "$srcdir/$_repo-build" + fi + mkdir "$srcdir/$_repo-build" + cd "$srcdir/$_repo-build" + + cmake -DCMAKE_INSTALL_PREFIX=/usr ../$_repo + make +} + +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.desktop b/community/rawtherapee/rawtherapee.desktop new file mode 100644 index 000000000..3395712a8 --- /dev/null +++ b/community/rawtherapee/rawtherapee.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Name=RawTherapee +GenericName=RAW image editor +Exec=rt +Icon=rawtherapee +Terminal=false +Categories=Graphics; +StartupNotify=true +MimeType=image/jpeg;image/jpg;image/tiff;image/png;image/x-canon-cr2;image/x-canon-crw;image/x-nikon-nef;image/x-fuji-raf;image/x-pentax-pef;image/x-adobe-dng;image/x-sony-arw;image/x-sony-sr2;image/x-minolta-mrw;image/x-panasonic-raw;image/x-olympus-orf;image/x-kodak-kdc; diff --git a/community/rawtherapee/rawtherapee.install b/community/rawtherapee/rawtherapee.install new file mode 100644 index 000000000..ccf3323ae --- /dev/null +++ b/community/rawtherapee/rawtherapee.install @@ -0,0 +1,24 @@ +post_upgrade() { + +if [ ${2%%_*} == "3.0a1" ]; then + TMP=${2##*_} + TMP=${TMP%%-*} + + if [ $TMP -lt 316 ]; then + echo "Profile extension has changed from .pp2 to .pp3" + echo -e "since rawtherapee-3.0a1_54-1\n" + echo "If you used rawtherapee-3.0a1_54-1 or any earlier 3.0 version" + echo "you have to change the extension manually.\n" + echo "NOTE: pp2 profiles from rawtherapee 2.4 and older" + echo "are not compatible." + fi + + if [ $TMP -lt 589 ]; then + echo "There were lots of changes to the behavior of the majority of tools." + echo "This may cause your files to look differently than before." + fi +fi + +} + +# vim:set ts=2 sw=2 et: diff --git a/community/rawtherapee/rawtherapee.png b/community/rawtherapee/rawtherapee.png Binary files differnew file mode 100644 index 000000000..694f4e5da --- /dev/null +++ b/community/rawtherapee/rawtherapee.png |