summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-10-28 19:55:01 +0000
committerTim Harder <radhermit@gentoo.org>2011-10-28 19:55:01 +0000
commitae45d756632ca3caa3e4ed33af6482174276d71c (patch)
tree6c5831b5f42ff399c039a4fed1f81fe2b6a6ce22 /media-gfx/rawtherapee
parentarm stable, bug #385699 (diff)
downloadgentoo-2-ae45d756632ca3caa3e4ed33af6482174276d71c.tar.gz
gentoo-2-ae45d756632ca3caa3e4ed33af6482174276d71c.tar.bz2
gentoo-2-ae45d756632ca3caa3e4ed33af6482174276d71c.zip
Initial import (bug #316589).
(Portage version: 2.2.0_alpha71/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx/rawtherapee')
-rw-r--r--media-gfx/rawtherapee/ChangeLog10
-rw-r--r--media-gfx/rawtherapee/Manifest5
-rw-r--r--media-gfx/rawtherapee/files/rawtherapee-4.0.4-nohg.patch48
-rw-r--r--media-gfx/rawtherapee/metadata.xml9
-rw-r--r--media-gfx/rawtherapee/rawtherapee-4.0.4.ebuild45
5 files changed, 117 insertions, 0 deletions
diff --git a/media-gfx/rawtherapee/ChangeLog b/media-gfx/rawtherapee/ChangeLog
new file mode 100644
index 000000000000..4bac08cc5b58
--- /dev/null
+++ b/media-gfx/rawtherapee/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for media-gfx/rawtherapee
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/rawtherapee/ChangeLog,v 1.1 2011/10/28 19:55:01 radhermit Exp $
+
+*rawtherapee-4.0.4 (28 Oct 2011)
+
+ 28 Oct 2011; Tim Harder <radhermit@gentoo.org> +rawtherapee-4.0.4.ebuild,
+ +files/rawtherapee-4.0.4-nohg.patch, +metadata.xml:
+ Initial import (bug #316589).
+
diff --git a/media-gfx/rawtherapee/Manifest b/media-gfx/rawtherapee/Manifest
new file mode 100644
index 000000000000..51c5aaac026d
--- /dev/null
+++ b/media-gfx/rawtherapee/Manifest
@@ -0,0 +1,5 @@
+AUX rawtherapee-4.0.4-nohg.patch 1764 RMD160 82dd677d47aaeab786e2c91f6341bc6dcfdf2610 SHA1 11aaf8a27dffaa27aa6a9b2641e7d254e98520a3 SHA256 d636067cb097f2ac5e6f4f48c58d60d2bf3c26fc384d16b48a1dbb26b7cb974e
+DIST rawtherapee-4.0.4.tar.xz 25302652 RMD160 75fbc1d002f08f070a2a4e12eabb6b649973be42 SHA1 8cc540291a387010f62888414c131924420684c7 SHA256 498be81967d115197c1b9882624828723b29a6bae2d2d428bf7d9c6fdb21b361
+EBUILD rawtherapee-4.0.4.ebuild 993 RMD160 6717a2fc1f03e5564d47df8d92de2766d96e1056 SHA1 aca4a94389825ea796d79920b468f435218cd16c SHA256 854a2762378b174366619a8407ef5f0e1fc88476e1cf4bc149f3cbc4f0f1b19b
+MISC ChangeLog 319 RMD160 76c8092d021af6752f066b4d9f719c6a9987cb4c SHA1 0c18c515b57e8614659e3ffad46d12be68c3743a SHA256 e11e81a31195c7ef76d72062a3bbabf18ee1f4a7ecb0ed41490bfe9baab88e88
+MISC metadata.xml 255 RMD160 a880a2d72fc5e1ebff7ca2f6fe1d896425e90b7b SHA1 a127da6c4f1aa34c7765f76027feede649d4f99b SHA256 c4740a15be5c532f468b21b12d8ee5d05b81f2398616fd7ae4b264cea59bc817
diff --git a/media-gfx/rawtherapee/files/rawtherapee-4.0.4-nohg.patch b/media-gfx/rawtherapee/files/rawtherapee-4.0.4-nohg.patch
new file mode 100644
index 000000000000..4fde3d893cbf
--- /dev/null
+++ b/media-gfx/rawtherapee/files/rawtherapee-4.0.4-nohg.patch
@@ -0,0 +1,48 @@
+--- rawtherapee-4.0.4.orig/CMakeLists.txt
++++ rawtherapee-4.0.4/CMakeLists.txt
+@@ -247,36 +247,8 @@
+ find_file(HG_CMD hg PATHS "/opt/local/bin" "/usr/local/bin" "/usr/bin")
+ find_file(HG_CMD hg)
+
+- else (WIN32)
+-
+- add_custom_target (AboutFile ALL
+- COMMAND ${CMAKE_COMMAND}
+- -DSRC_DIR:STRING=${CMAKE_CURRENT_SOURCE_DIR}
+- -DCACHE_NAME_SUFFIX:STRING=${CACHE_NAME_SUFFIX}
+- -DSYSTEM:STRING=Linux
+- -DPROC_LABEL:STRING=\"${PROC_LABEL}\"
+- -DPROC_BIT_DEPTH:STRING=\"${PROC_BIT_DEPTH}\"
+- -DBUILD_TYPE:STRING=${CMAKE_BUILD_TYPE}
+- -DGTKMM_VERSION:STRING=${GTKMM_VERSION}
+- -DCXX_FLAGS:STRING=${CMAKE_CXX_FLAGS} ${CMAKE_CXX_FLAGS_${UPPER_CMAKE_BUILD_TYPE}}
+- -DLFLAGS:STRING=${CMAKE_EXE_LINKER_FLAGS} ${CMAKE_EXE_LINKER_FLAGS_${UPPER_CMAKE_BUILD_TYPE}}
+- -DOPTION_OMP:STRING=${OPTION_OMP}
+- -DWITH_MYFILE_MMAP:STRING=${WITH_MYFILE_MMAP}
+- -P ${CMAKE_CURRENT_SOURCE_DIR}/About-Linux.cmake
+- COMMENT "Creating the about file"
+- )
+- find_file(HG_CMD hg)
+-
+ endif (WIN32)
+
+- add_dependencies(AboutFile Debug Release MinSizeRel RelWithDebInfo)
+-
+- if (HG_CMD STREQUAL HG_CMD-NOTFOUND)
+- message(FATAL_ERROR "hg command not found!")
+- else (HG_CMD STREQUAL HG_CMD-NOTFOUND)
+- message(STATUS "hg command found: ${HG_CMD}")
+- endif (HG_CMD STREQUAL HG_CMD-NOTFOUND)
+-
+ endif (AUTOMATED_BUILD_SYSTEM)
+
+
+@@ -302,8 +274,6 @@
+ endif (OPTION_OMP)
+
+ install (FILES AUTHORS.txt DESTINATION ${CREDITSDIR})
+-install (FILES LICENSE.txt DESTINATION ${LICENCEDIR})
+-install (FILES AboutThisBuild.txt DESTINATION ${CREDITSDIR})
+
+ add_subdirectory (rtexif)
+ add_subdirectory (rtengine)
diff --git a/media-gfx/rawtherapee/metadata.xml b/media-gfx/rawtherapee/metadata.xml
new file mode 100644
index 000000000000..ce74d099b974
--- /dev/null
+++ b/media-gfx/rawtherapee/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>graphics</herd>
+ <maintainer>
+ <email>radhermit@gentoo.org</email>
+ <name>Tim Harder</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/media-gfx/rawtherapee/rawtherapee-4.0.4.ebuild b/media-gfx/rawtherapee/rawtherapee-4.0.4.ebuild
new file mode 100644
index 000000000000..f490767d127d
--- /dev/null
+++ b/media-gfx/rawtherapee/rawtherapee-4.0.4.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/rawtherapee/rawtherapee-4.0.4.ebuild,v 1.1 2011/10/28 19:55:01 radhermit Exp $
+
+EAPI="4"
+
+inherit cmake-utils
+
+DESCRIPTION="Digital photo editing tool focused on RAW image file manipulation and conversion"
+HOMEPAGE="http://www.rawtherapee.com/"
+SRC_URI="http://dev.gentoo.org/~radhermit/distfiles/${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/libsigc++:2
+ media-libs/tiff
+ media-libs/libpng
+ media-libs/libiptcdata
+ media-libs/lcms
+ sys-libs/zlib
+ virtual/jpeg"
+DEPEND="${RDEPEND}
+ app-arch/xz-utils
+ dev-util/pkgconfig
+ openmp? ( sys-devel/gcc[openmp] )"
+
+PATCHES=( "${FILESDIR}"/${P}-nohg.patch )
+
+pkg_setup() {
+ mycmakeargs=(
+ $(cmake-utils_use openmp OPTION_OMP)
+ $(cmake-utils_use_with bzip2 BZIP)
+ )
+}
+
+src_install() {
+ cmake-utils_src_install
+ use doc && dodoc doc/built/pdf/en/RawTherapeeManual_4.0.pdf
+}