summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2013-02-12 07:56:31 +0000
committerTim Harder <radhermit@gentoo.org>2013-02-12 07:56:31 +0000
commit8f5179e9e2367c5a046f1829759b9ca11272ebbc (patch)
tree2f81e586f2ca7134fc75f834a789d12144190d8a /media-gfx/rawtherapee
parentDrop apel dependency if >=emacs-22. #455958 (diff)
downloadgentoo-2-8f5179e9e2367c5a046f1829759b9ca11272ebbc.tar.gz
gentoo-2-8f5179e9e2367c5a046f1829759b9ca11272ebbc.tar.bz2
gentoo-2-8f5179e9e2367c5a046f1829759b9ca11272ebbc.zip
Revision bump, remove inode/directory from mimetype in desktop file (bug #420081).
(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'media-gfx/rawtherapee')
-rw-r--r--media-gfx/rawtherapee/ChangeLog11
-rw-r--r--media-gfx/rawtherapee/files/rawtherapee-4.0.9-desktop.patch9
-rw-r--r--media-gfx/rawtherapee/rawtherapee-4.0.9-r1.ebuild58
3 files changed, 76 insertions, 2 deletions
diff --git a/media-gfx/rawtherapee/ChangeLog b/media-gfx/rawtherapee/ChangeLog
index 827ff840366a..36ef0ccae9c1 100644
--- a/media-gfx/rawtherapee/ChangeLog
+++ b/media-gfx/rawtherapee/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-gfx/rawtherapee
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/rawtherapee/ChangeLog,v 1.9 2012/06/04 10:34:43 radhermit Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/rawtherapee/ChangeLog,v 1.10 2013/02/12 07:56:31 radhermit Exp $
+
+*rawtherapee-4.0.9-r1 (12 Feb 2013)
+
+ 12 Feb 2013; Tim Harder <radhermit@gentoo.org> +rawtherapee-4.0.9-r1.ebuild,
+ +files/rawtherapee-4.0.9-desktop.patch:
+ Revision bump, remove inode/directory from mimetype in desktop file (bug
+ #420081).
04 Jun 2012; Tim Harder <radhermit@gentoo.org>
-files/rawtherapee-4.0.4-nohg.patch, -rawtherapee-4.0.6.ebuild:
diff --git a/media-gfx/rawtherapee/files/rawtherapee-4.0.9-desktop.patch b/media-gfx/rawtherapee/files/rawtherapee-4.0.9-desktop.patch
new file mode 100644
index 000000000000..61748428fba3
--- /dev/null
+++ b/media-gfx/rawtherapee/files/rawtherapee-4.0.9-desktop.patch
@@ -0,0 +1,9 @@
+--- rawtherapee-4.0.9/rtdata/icons/rawtherapee.desktop.in
++++ rawtherapee-4.0.9/rtdata/icons/rawtherapee.desktop.in
+@@ -13,5 +13,5 @@
+ Icon=rawtherapee
+ Exec=rawtherapee %f
+ Terminal=false
+-MimeType=image/jpeg;image/png;image/tiff;image/x-adobe-dng;image/x-canon-cr2;image/x-canon-crf;image/x-canon-crw;image/x-fuji-raf;image/x-jpg;image/x-kodak-dcr;image/x-kodak-k25;image/x-kodak-kdc;image/x-mamiya-mef;image/x-minolta-mrw;image/x-nikon-nef;image/x-nikon-nrw;image/x-olympus-orf;image/x-panasonic-raw;image/x-panasonic-rw2;image/x-pentax-pef;image/x-pentax-raw;image/x-raw;image/x-rwz;image/x-samsung-srw;image/x-sony-arw;image/x-sony-sr2;image/x-sony-srf;image/x-tif;inode/directory;
++MimeType=image/jpeg;image/png;image/tiff;image/x-adobe-dng;image/x-canon-cr2;image/x-canon-crf;image/x-canon-crw;image/x-fuji-raf;image/x-jpg;image/x-kodak-dcr;image/x-kodak-k25;image/x-kodak-kdc;image/x-mamiya-mef;image/x-minolta-mrw;image/x-nikon-nef;image/x-nikon-nrw;image/x-olympus-orf;image/x-panasonic-raw;image/x-panasonic-rw2;image/x-pentax-pef;image/x-pentax-raw;image/x-raw;image/x-rwz;image/x-samsung-srw;image/x-sony-arw;image/x-sony-sr2;image/x-sony-srf;image/x-tif;
+ Categories=Photography;Graphics;2DGraphics;RasterGraphics;GTK;
diff --git a/media-gfx/rawtherapee/rawtherapee-4.0.9-r1.ebuild b/media-gfx/rawtherapee/rawtherapee-4.0.9-r1.ebuild
new file mode 100644
index 000000000000..ee62346a8e7a
--- /dev/null
+++ b/media-gfx/rawtherapee/rawtherapee-4.0.9-r1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/rawtherapee/rawtherapee-4.0.9-r1.ebuild,v 1.1 2013/02/12 07:56:31 radhermit Exp $
+
+EAPI="5"
+
+inherit cmake-utils toolchain-funcs
+
+DESCRIPTION="A powerful cross-platform raw image processing program"
+HOMEPAGE="http://www.rawtherapee.com/"
+SRC_URI="http://rawtherapee.googlecode.com/files/${P}.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="bzip2 doc openmp"
+
+RDEPEND="bzip2? ( app-arch/bzip2 )
+ >=dev-cpp/gtkmm-2.12:2.4
+ >=dev-cpp/glibmm-2.16:2
+ dev-libs/expat
+ dev-libs/libsigc++:2
+ media-libs/tiff
+ media-libs/libpng
+ media-libs/libiptcdata
+ media-libs/lcms:2
+ sys-libs/zlib
+ virtual/jpeg"
+DEPEND="${RDEPEND}
+ app-arch/xz-utils
+ virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-no-hg.patch
+ "${FILESDIR}"/${P}-desktop.patch
+)
+
+pkg_setup() {
+ if use openmp ; then
+ tc-has-openmp || die "Please switch to an openmp compatible compiler"
+ fi
+}
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use openmp OPTION_OMP)
+ $(cmake-utils_use_with bzip2 BZIP)
+ -DDOCDIR=/usr/share/doc/${PF}
+ -DCREDITSDIR=/usr/share/${PN}
+ -DLICENCEDIR=/usr/share/${PN}
+ )
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+ use doc && dodoc doc/built/pdf/en/RawTherapeeManual_${PV}.pdf
+}