diff options
author | Tim Harder <radhermit@gentoo.org> | 2012-06-04 10:33:20 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2012-06-04 10:33:20 +0000 |
commit | 5207d0cc8e066c7257b9f2973ee642fe57008daf (patch) | |
tree | 51196481914d32626e5c806f2d42c662ff97fba7 /media-gfx | |
parent | Stable for amd64, wrt bug #418637 (diff) | |
download | gentoo-2-5207d0cc8e066c7257b9f2973ee642fe57008daf.tar.gz gentoo-2-5207d0cc8e066c7257b9f2973ee642fe57008daf.tar.bz2 gentoo-2-5207d0cc8e066c7257b9f2973ee642fe57008daf.zip |
Version bump.
(Portage version: 2.2.0_alpha109/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/rawtherapee/ChangeLog | 8 | ||||
-rw-r--r-- | media-gfx/rawtherapee/files/rawtherapee-4.0.9-no-hg.patch | 60 | ||||
-rw-r--r-- | media-gfx/rawtherapee/rawtherapee-4.0.9.ebuild | 56 |
3 files changed, 123 insertions, 1 deletions
diff --git a/media-gfx/rawtherapee/ChangeLog b/media-gfx/rawtherapee/ChangeLog index 2741cb9b51b2..febd33ecadfa 100644 --- a/media-gfx/rawtherapee/ChangeLog +++ b/media-gfx/rawtherapee/ChangeLog @@ -1,6 +1,12 @@ # 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.7 2012/05/05 07:00:21 jdhore Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/rawtherapee/ChangeLog,v 1.8 2012/06/04 10:33:20 radhermit Exp $ + +*rawtherapee-4.0.9 (04 Jun 2012) + + 04 Jun 2012; Tim Harder <radhermit@gentoo.org> +rawtherapee-4.0.9.ebuild, + +files/rawtherapee-4.0.9-no-hg.patch: + Version bump. 05 May 2012; Jeff Horelick <jdhore@gentoo.org> rawtherapee-4.0.6.ebuild, rawtherapee-4.0.8.ebuild: diff --git a/media-gfx/rawtherapee/files/rawtherapee-4.0.9-no-hg.patch b/media-gfx/rawtherapee/files/rawtherapee-4.0.9-no-hg.patch new file mode 100644 index 000000000000..18009e80a9a0 --- /dev/null +++ b/media-gfx/rawtherapee/files/rawtherapee-4.0.9-no-hg.patch @@ -0,0 +1,60 @@ +--- rawtherapee-4.0.9/CMakeLists.txt ++++ rawtherapee-4.0.9/CMakeLists.txt +@@ -257,35 +257,7 @@ + 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}/AboutThisBuild.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) + +@@ -352,7 +324,6 @@ + + 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.9/rtgui/version.h ++++ rawtherapee-4.0.9/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.9" ++#define TAGDISTANCE 0 ++#define CACHEFOLDERNAME "RawTherapee" ++ ++#endif diff --git a/media-gfx/rawtherapee/rawtherapee-4.0.9.ebuild b/media-gfx/rawtherapee/rawtherapee-4.0.9.ebuild new file mode 100644 index 000000000000..7dc6f6fd84f4 --- /dev/null +++ b/media-gfx/rawtherapee/rawtherapee-4.0.9.ebuild @@ -0,0 +1,56 @@ +# 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.9.ebuild,v 1.1 2012/06/04 10:33:20 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/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 ) + +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 +} |