diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-gfx/rawtherapee | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-gfx/rawtherapee')
-rw-r--r-- | media-gfx/rawtherapee/Manifest | 6 | ||||
-rw-r--r-- | media-gfx/rawtherapee/files/rawtherapee-4.0.9-desktop.patch | 9 | ||||
-rw-r--r-- | media-gfx/rawtherapee/files/rawtherapee-4.0.9-no-hg.patch | 60 | ||||
-rw-r--r-- | media-gfx/rawtherapee/metadata.xml | 5 | ||||
-rw-r--r-- | media-gfx/rawtherapee/rawtherapee-4.0.10.ebuild | 55 | ||||
-rw-r--r-- | media-gfx/rawtherapee/rawtherapee-4.0.11.ebuild | 55 | ||||
-rw-r--r-- | media-gfx/rawtherapee/rawtherapee-4.0.12.ebuild | 50 | ||||
-rw-r--r-- | media-gfx/rawtherapee/rawtherapee-4.0.9-r1.ebuild | 58 | ||||
-rw-r--r-- | media-gfx/rawtherapee/rawtherapee-4.1.ebuild | 51 | ||||
-rw-r--r-- | media-gfx/rawtherapee/rawtherapee-4.2.ebuild | 52 |
10 files changed, 401 insertions, 0 deletions
diff --git a/media-gfx/rawtherapee/Manifest b/media-gfx/rawtherapee/Manifest new file mode 100644 index 000000000000..7ed0bc1264ad --- /dev/null +++ b/media-gfx/rawtherapee/Manifest @@ -0,0 +1,6 @@ +DIST rawtherapee-4.0.10.tar.xz 11823324 SHA256 4f80a00b0fe0a69c8cc09fda155aa81cf47dccb516c6c6b249875f3c456d7ac5 SHA512 8e8e94cc50130297137d4d4f8ea057b9d954192fd698c327c88591b5ff1e0c66de5e2a1e1ba0c2b223a3633efa26f06b2ba2004dded3b72d025d8a18fef43481 WHIRLPOOL 6cc3b75fdaf9fcc1af7e2f3a96d56a9a467abb4fb531e32665e22ecbb7526b20905314e5c574b8944a76d02d6f83eea2960298b3f0f7bb7420b34efb66fbb47a +DIST rawtherapee-4.0.11.tar.xz 14913984 SHA256 8f6f35339c9ec5865641fc4cef060f2cbd32be60054700775951148a26de36f6 SHA512 c31b1c3ef50806d25cdd211d3296b62a1e5fcac66ae0225aa92eaf25ec6470cb946651396b52bb64b247c1be093d2745f0b78bbd5257d61d7b87d53f0bcbac40 WHIRLPOOL a1ea6c442a9e2e75e42a430d5690c1484c37f4f01215a1df34064396772446966eb886312d613cc98b9f398db06324fabb1583d677b184503bb9f86f1141addd +DIST rawtherapee-4.0.12.tar.xz 15063860 SHA256 6ef923f4a0e39ee487fd50b4e528db3f8ca7e27613284e309b0625cdb86a03d9 SHA512 acb7225565b58f556d0c3fc0257ccb8297fe113a8ea3fec31372514434ae4e6cf99b956bbf4d6a5bb9eaca94553ee44815d981f20ec049bdc93e33bdfb86ef1e WHIRLPOOL 9de7831dba2190ab5422280aa553581e1bffa5a831929f8a5c13cb9e8ba5746117f4b5797a3f5da0921cd2ad61ebd7b27863e02eb28e186d0a63d74e55564d2b +DIST rawtherapee-4.0.9.tar.xz 40201920 SHA256 4ad49b5d3aae9a178b1cfa5efca653982f0a52763ddd37f89500e8fedfb187d2 SHA512 885414f0becfaa174b6e0d5689259e88cccf779d25bb92e1015fdb562c57eb70621e952681309aa66f05295b249ba39cca9c73459e6c0ad3266c57389e3c9ab9 WHIRLPOOL cb74a9079c513ac7feb5f9cdd09b9f3474462228023b5a529cf779014476401ad2a2ea24489699c6caa5051ea332ded028407a9f50e4744b504ec41e1e137cfe +DIST rawtherapee-4.1.tar.xz 7670916 SHA256 0a36fe407daca95a06f2d3ee28ec91c9c0c95d62a91214bd67a97fd854938307 SHA512 77f9b6e055c4c2944373dc2abb059da10daace2c503b8f783fe4775161fdcd2b1bacf144065983402eedbd336f65a6a7976008924731e724e9268f39506e8b1b WHIRLPOOL 7fdd4d5b8ca8ce0ebd477ae19a62c11aac37a1f6c8fccddc8fe8688370aaf7003dc76d0ef539877828be98aefcc91a81cf0dc2a97a640a746bafc8eb22451700 +DIST rawtherapee-4.2.tar.xz 7787664 SHA256 fa4c13e8842df096b19d2dabaed5a61f5f9d4547f7b4f0dc6b77f80bdec16479 SHA512 feec61aeb84804cf01ff03fa9d7309f0eb3c04c43818c8397cc6f3ee762aca19484bce7594414d2141248b9740bdd4269fd86f76dcf391c61d4647fa169d48f6 WHIRLPOOL 56cc3e95ae7484cb91cd6c5fd32504b3fbfb17b9d50a38fa490300ff1b096e80a1d5060db3619c34f8b214dd413bfaab57a9748f5a365a87d257e75c753f307a 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/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/metadata.xml b/media-gfx/rawtherapee/metadata.xml new file mode 100644 index 000000000000..e770d1bc9a96 --- /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>graphics</herd> +</pkgmetadata> diff --git a/media-gfx/rawtherapee/rawtherapee-4.0.10.ebuild b/media-gfx/rawtherapee/rawtherapee-4.0.10.ebuild new file mode 100644 index 000000000000..f1e18730f0be --- /dev/null +++ b/media-gfx/rawtherapee/rawtherapee-4.0.10.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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/libcanberra[gtk] + media-libs/tiff + media-libs/libpng + media-libs/libiptcdata + media-libs/lcms:2 + sci-libs/fftw:3.0 + sys-libs/zlib + virtual/jpeg" +DEPEND="${RDEPEND} + app-arch/xz-utils + virtual/pkgconfig" + +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/RawTherapeeManual_en.pdf +} diff --git a/media-gfx/rawtherapee/rawtherapee-4.0.11.ebuild b/media-gfx/rawtherapee/rawtherapee-4.0.11.ebuild new file mode 100644 index 000000000000..387994a28c7d --- /dev/null +++ b/media-gfx/rawtherapee/rawtherapee-4.0.11.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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/libcanberra[gtk] + media-libs/tiff + media-libs/libpng + media-libs/libiptcdata + media-libs/lcms:2 + sci-libs/fftw:3.0 + sys-libs/zlib + virtual/jpeg" +DEPEND="${RDEPEND} + app-arch/xz-utils + virtual/pkgconfig" + +pkg_pretend() { + 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/RawTherapeeManual_en.pdf +} diff --git a/media-gfx/rawtherapee/rawtherapee-4.0.12.ebuild b/media-gfx/rawtherapee/rawtherapee-4.0.12.ebuild new file mode 100644 index 000000000000..32c253fd8b49 --- /dev/null +++ b/media-gfx/rawtherapee/rawtherapee-4.0.12.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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.com/shared/source/${P}.tar.xz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="bzip2 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/libcanberra[gtk] + media-libs/tiff + media-libs/libpng + media-libs/libiptcdata + media-libs/lcms:2 + sci-libs/fftw:3.0 + sys-libs/zlib + virtual/jpeg" +DEPEND="${RDEPEND} + app-arch/xz-utils + virtual/pkgconfig" + +pkg_pretend() { + 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 +} 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..575a28dae36a --- /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 +# $Id$ + +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 +} diff --git a/media-gfx/rawtherapee/rawtherapee-4.1.ebuild b/media-gfx/rawtherapee/rawtherapee-4.1.ebuild new file mode 100644 index 000000000000..9a609147b5ab --- /dev/null +++ b/media-gfx/rawtherapee/rawtherapee-4.1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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.com/shared/source/${P}.tar.xz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="bzip2 openmp" + +RDEPEND="bzip2? ( app-arch/bzip2 ) + >=x11-libs/gtk+-2.24.18:2 + >=dev-cpp/gtkmm-2.12:2.4 + >=dev-cpp/glibmm-2.16:2 + dev-libs/expat + dev-libs/libsigc++:2 + media-libs/libcanberra[gtk] + media-libs/tiff + media-libs/libpng + media-libs/libiptcdata + media-libs/lcms:2 + sci-libs/fftw:3.0 + sys-libs/zlib + virtual/jpeg" +DEPEND="${RDEPEND} + app-arch/xz-utils + virtual/pkgconfig" + +pkg_pretend() { + 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 +} diff --git a/media-gfx/rawtherapee/rawtherapee-4.2.ebuild b/media-gfx/rawtherapee/rawtherapee-4.2.ebuild new file mode 100644 index 000000000000..6ae07a579609 --- /dev/null +++ b/media-gfx/rawtherapee/rawtherapee-4.2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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.com/shared/source/${P}.tar.xz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="bzip2 openmp" + +RDEPEND="bzip2? ( app-arch/bzip2 ) + >=x11-libs/gtk+-2.24.18:2 + >=dev-cpp/gtkmm-2.12:2.4 + >=dev-cpp/glibmm-2.16:2 + dev-libs/expat + dev-libs/libsigc++:2 + media-libs/libcanberra[gtk] + media-libs/tiff + media-libs/libpng + media-libs/libiptcdata + media-libs/lcms:2 + sci-libs/fftw:3.0 + sys-libs/zlib + virtual/jpeg" +DEPEND="${RDEPEND} + app-arch/xz-utils + virtual/pkgconfig" + +pkg_pretend() { + 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} + -DCACHE_NAME_SUFFIX="" + ) + cmake-utils_src_configure +} |