summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarian Kyral (mkyral) <mkyral@email.cz>2009-04-05 19:16:53 +0000
committerMarian Kyral (mkyral) <mkyral@email.cz>2009-04-05 19:16:53 +0000
commit313ec02a871c90239c6170737b0d32a48938e221 (patch)
treeac7e5121d356be55cc804ad286d898ddac8c0246 /media-gfx
parentnew snapshot, workaround upstream repository changes breaking hg pull (diff)
downloadsunrise-reviewed-313ec02a871c90239c6170737b0d32a48938e221.tar.gz
sunrise-reviewed-313ec02a871c90239c6170737b0d32a48938e221.tar.bz2
sunrise-reviewed-313ec02a871c90239c6170737b0d32a48938e221.zip
media-gfx/rawtherapee: New ebuild for bug 175963
svn path=/sunrise/; revision=8192
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/rawtherapee/ChangeLog9
-rw-r--r--media-gfx/rawtherapee/files/rawtherapee.desktop11
-rw-r--r--media-gfx/rawtherapee/files/rawtherapee.pngbin0 -> 3639 bytes
-rw-r--r--media-gfx/rawtherapee/files/rtstart4
-rw-r--r--media-gfx/rawtherapee/metadata.xml5
-rw-r--r--media-gfx/rawtherapee/rawtherapee-2.4_rc2.ebuild83
6 files changed, 112 insertions, 0 deletions
diff --git a/media-gfx/rawtherapee/ChangeLog b/media-gfx/rawtherapee/ChangeLog
new file mode 100644
index 000000000..a7b708449
--- /dev/null
+++ b/media-gfx/rawtherapee/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for media-gfx/rawtherapee
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 05 Apr 2009; Marian Kyral (mkyral) <mkyral@email.cz>
+ +rawtherapee-2.4_rc2.ebuild, +files/rawtherapee.desktop,
+ +files/rawtherapee.png, +files/rtstart, +metadata.xml:
+ New ebuild for bug 175963
+
diff --git a/media-gfx/rawtherapee/files/rawtherapee.desktop b/media-gfx/rawtherapee/files/rawtherapee.desktop
new file mode 100644
index 000000000..d7c741c42
--- /dev/null
+++ b/media-gfx/rawtherapee/files/rawtherapee.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Name=Raw Therapee
+Comment=THe Experimental RAw Photo Editor
+Exec=/opt/RawTherapee/rtstart
+Icon=rawtherapee.png
+Terminal=false
+Encoding=UTF-8
+Type=Application
+Categories=Application;Graphics;
+
+MimeType=image/x-canon-cr2;image/x-canon-crw;image/x-fuji-raf;image/x-kodak-dcr;image/x-kodak-k25;image/x-kodak-kdc;image/x-minolta-mrw;image/x-nikon-nef;image/x-olympus-orf;image/x-panasonic-raw;image/x-pentax-pef;image/x-sony-arw;image/x-sony-sr2;image/x-sony-srf;
diff --git a/media-gfx/rawtherapee/files/rawtherapee.png b/media-gfx/rawtherapee/files/rawtherapee.png
new file mode 100644
index 000000000..bd0b61edb
--- /dev/null
+++ b/media-gfx/rawtherapee/files/rawtherapee.png
Binary files differ
diff --git a/media-gfx/rawtherapee/files/rtstart b/media-gfx/rawtherapee/files/rtstart
new file mode 100644
index 000000000..6b34f4376
--- /dev/null
+++ b/media-gfx/rawtherapee/files/rtstart
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+/opt/RawTherapee/rtstart $@
+
diff --git a/media-gfx/rawtherapee/metadata.xml b/media-gfx/rawtherapee/metadata.xml
new file mode 100644
index 000000000..6f1d493c5
--- /dev/null
+++ b/media-gfx/rawtherapee/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>maintainer-wanted</herd>
+</pkgmetadata>
diff --git a/media-gfx/rawtherapee/rawtherapee-2.4_rc2.ebuild b/media-gfx/rawtherapee/rawtherapee-2.4_rc2.ebuild
new file mode 100644
index 000000000..32675c782
--- /dev/null
+++ b/media-gfx/rawtherapee/rawtherapee-2.4_rc2.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+inherit versionator
+
+MY_PV=$(delete_all_version_separators)
+MY_P=${PN}${MY_PV}
+MY_PN=RawTherapee
+
+DESCRIPTION="THe Experimental RAw Photo Editor"
+HOMEPAGE="http://www.rawtherapee.com/"
+SRC_URI=" x86? ( http://www.rawtherapee.com/${MY_P}.tgz )
+ amd64? ( http://www.rawtherapee.com/${MY_P}_64.tgz ) "
+
+LICENSE="freedist"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE=""
+LANGS="cs da de en_US en_GB el es eu fr he hu it ja lv nl nn pl ru sk fi sv tr zh_CN zh_TW"
+for lng in ${LANGS}; do
+ IUSE="${IUSE} linguas_${lng}"
+done
+
+RDEPEND=" x11-libs/gtk+:2
+ ( || ( >=dev-cpp/gtkmm-2.12[accessibility] >=dev-cpp/gtkmm-2.14.3 ) )
+ >=sys-libs/glibc-2.4
+ >=sys-devel/gcc-4.3.0
+ media-libs/jpeg
+ media-libs/tiff
+ media-libs/libpng "
+
+RESTRICT="strip"
+
+S=${WORKDIR}/${MY_PN}${MY_PV}
+
+src_install() {
+ insinto "/usr/share/pixmaps"
+ doins "${FILESDIR}/rawtherapee.png" || die
+ insinto "/usr/share/applications"
+ doins "${FILESDIR}/rawtherapee.desktop" || die
+ exeinto "/usr/bin"
+ doexe "${FILESDIR}/rtstart" || die
+
+ exeinto "/opt/${MY_PN}"
+ doexe rt librtengine.so rtstart rwz_sdk.so || die
+
+ insinto "/opt/${MY_PN}"
+ doins -r options images profiles themes || die
+
+ insinto "/opt/${MY_PN}/languages"
+ for lng in ${LINGUAS}; do
+ case $lng in
+ cs) doins "languages/czech" || die ;;
+ da) doins "languages/dansk" || die ;;
+ de) doins "languages/deutsch" || die ;;
+ en_US) doins "languages/english-us" || die ;;
+ en_GB) doins "languages/english-uk" || die ;;
+ es) doins "languages/espanol" || die ;;
+ eu) doins "languages/euskara" || die ;;
+ el) doins "languages/greek" || die ;;
+ fr) doins "languages/francais" || die ;;
+ he) doins "languages/hebrew" || die ;;
+ hu) doins "languages/magyar" || die ;;
+ it) doins "languages/italian" || die ;;
+ ja) doins "languages/japanese" || die ;;
+ lv) doins "languages/latvian" || die ;;
+ nl) doins "languages/nederlands" || die ;;
+ nn) doins "languages/norsk-bm" || die ;;
+ pl) doins "languages/polish" || die ;;
+ ru) doins "languages/russian" || die ;;
+ sk) doins "languages/slovak" || die ;;
+ fi) doins "languages/suomi" || die ;;
+ sv) doins "languages/swedish" || die ;;
+ tr) doins "languages/turkish" || die ;;
+ zh_CN) doins "languages/chinese simplified" || die ;;
+ zh_TW) doins "languages/chinese traditional" || die ;;
+ esac
+ done
+}