summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2012-05-01 14:11:36 +0000
committerTim Harder <radhermit@gentoo.org>2012-05-01 14:11:36 +0000
commite82492318cc7adc063b6420ca5fe73b2aaa24e15 (patch)
tree82fc900db39fd38728ad6027573e9ee049ea6081 /media-gfx/rawtherapee
parentBumping strongswan to 4.6.3 (diff)
downloadgentoo-2-e82492318cc7adc063b6420ca5fe73b2aaa24e15.tar.gz
gentoo-2-e82492318cc7adc063b6420ca5fe73b2aaa24e15.tar.bz2
gentoo-2-e82492318cc7adc063b6420ca5fe73b2aaa24e15.zip
Version bump (bug #401683).
(Portage version: 2.2.0_alpha101/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx/rawtherapee')
-rw-r--r--media-gfx/rawtherapee/ChangeLog10
-rw-r--r--media-gfx/rawtherapee/files/rawtherapee-4.0.8-nohg.patch62
-rw-r--r--media-gfx/rawtherapee/rawtherapee-4.0.8.ebuild55
3 files changed, 125 insertions, 2 deletions
diff --git a/media-gfx/rawtherapee/ChangeLog b/media-gfx/rawtherapee/ChangeLog
index 5a59a6bb435f..7817aca07ac3 100644
--- a/media-gfx/rawtherapee/ChangeLog
+++ b/media-gfx/rawtherapee/ChangeLog
@@ -1,6 +1,12 @@
# 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.4 2011/12/07 03:49:27 radhermit Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/rawtherapee/ChangeLog,v 1.5 2012/05/01 14:11:35 radhermit Exp $
+
+*rawtherapee-4.0.8 (01 May 2012)
+
+ 01 May 2012; Tim Harder <radhermit@gentoo.org> +rawtherapee-4.0.8.ebuild,
+ +files/rawtherapee-4.0.8-nohg.patch:
+ Version bump (bug #401683).
*rawtherapee-4.0.6 (07 Dec 2011)
diff --git a/media-gfx/rawtherapee/files/rawtherapee-4.0.8-nohg.patch b/media-gfx/rawtherapee/files/rawtherapee-4.0.8-nohg.patch
new file mode 100644
index 000000000000..95e2d3c94046
--- /dev/null
+++ b/media-gfx/rawtherapee/files/rawtherapee-4.0.8-nohg.patch
@@ -0,0 +1,62 @@
+--- rawtherapee-4.0.8/CMakeLists.txt
++++ rawtherapee-4.0.8/CMakeLists.txt
+@@ -255,36 +255,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)
+
+
+@@ -344,8 +316,7 @@
+ endif(USE_CLANG)
+
+ install (FILES AUTHORS.txt DESTINATION ${CREDITSDIR})
+ install (FILES LICENSE.txt DESTINATION ${LICENCEDIR})
+-install (FILES AboutThisBuild.txt DESTINATION ${CREDITSDIR})
+ install (FILES RELEASE_NOTES.txt DESTINATION ${CREDITSDIR} OPTIONAL)
+
+ add_subdirectory (rtexif)
+--- rawtherapee-4.0.8/rtgui/version.h
++++ rawtherapee-4.0.8/rtgui/version.h
+@@ -0,0 +1,11 @@
++// This file is automatically generated by the Makefile - DO NOT EDIT!
++// You can (should) also tell mercurial to ignore it.
++
++#ifndef _VERSION_
++#define _VERSION_
++
++#define VERSION "4.0.8"
++#define TAGDISTANCE 0
++#define CACHEFOLDERNAME "RawTherapee"
++
++#endif
diff --git a/media-gfx/rawtherapee/rawtherapee-4.0.8.ebuild b/media-gfx/rawtherapee/rawtherapee-4.0.8.ebuild
new file mode 100644
index 000000000000..fc55b7364b39
--- /dev/null
+++ b/media-gfx/rawtherapee/rawtherapee-4.0.8.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/rawtherapee/rawtherapee-4.0.8.ebuild,v 1.1 2012/05/01 14:11:35 radhermit Exp $
+
+EAPI="4"
+
+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/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
+ dev-util/pkgconfig"
+
+PATCHES=( "${FILESDIR}"/${P}-nohg.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
+}