summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2012-06-30 16:45:44 +0000
committerTim Harder <radhermit@gentoo.org>2012-06-30 16:45:44 +0000
commitc78b937a154d1c26fff2babb260cd102a445faa2 (patch)
tree422df6d22d51319449db35ffdc91328a8fbdd1bb /media-gfx/luminance-hdr
parentMask =media-gfx/luminance-hdr-2.3.0* development releases. (diff)
downloadgentoo-2-c78b937a154d1c26fff2babb260cd102a445faa2.tar.gz
gentoo-2-c78b937a154d1c26fff2babb260cd102a445faa2.tar.bz2
gentoo-2-c78b937a154d1c26fff2babb260cd102a445faa2.zip
Version bump.
(Portage version: 2.2.0_alpha114/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx/luminance-hdr')
-rw-r--r--media-gfx/luminance-hdr/ChangeLog9
-rw-r--r--media-gfx/luminance-hdr/files/luminance-hdr-2.3.0_beta1-no-git.patch65
-rw-r--r--media-gfx/luminance-hdr/luminance-hdr-2.3.0_beta1.ebuild70
3 files changed, 143 insertions, 1 deletions
diff --git a/media-gfx/luminance-hdr/ChangeLog b/media-gfx/luminance-hdr/ChangeLog
index 6d867f17b342..33d9cf682a0e 100644
--- a/media-gfx/luminance-hdr/ChangeLog
+++ b/media-gfx/luminance-hdr/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-gfx/luminance-hdr
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/luminance-hdr/ChangeLog,v 1.16 2012/03/13 07:58:17 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/luminance-hdr/ChangeLog,v 1.17 2012/06/30 16:45:44 radhermit Exp $
+
+*luminance-hdr-2.3.0_beta1 (30 Jun 2012)
+
+ 30 Jun 2012; Tim Harder <radhermit@gentoo.org>
+ +luminance-hdr-2.3.0_beta1.ebuild,
+ +files/luminance-hdr-2.3.0_beta1-no-git.patch:
+ Version bump.
*luminance-hdr-2.2.1 (13 Mar 2012)
diff --git a/media-gfx/luminance-hdr/files/luminance-hdr-2.3.0_beta1-no-git.patch b/media-gfx/luminance-hdr/files/luminance-hdr-2.3.0_beta1-no-git.patch
new file mode 100644
index 000000000000..040cc8d82a76
--- /dev/null
+++ b/media-gfx/luminance-hdr/files/luminance-hdr-2.3.0_beta1-no-git.patch
@@ -0,0 +1,65 @@
+--- luminance-hdr-2.3.0.beta1/CMakeLists.txt
++++ luminance-hdr-2.3.0.beta1/CMakeLists.txt
+@@ -36,26 +36,6 @@
+
+ set(LIBS ${LIBS} ${QT_QTCORE_LIBRARIES} ${QT_QTGUI_LIBRARIES} ${QT_QTWEBKIT_LIBRARIES} ${QT_QTXML_LIBRARIES} ${QT_QTSQL_LIBRARIES})
+
+-FIND_PACKAGE(Git)
+-#FIND_PACKAGE(Git QUIET)
+-IF(NOT GIT_FOUND)
+- FIND_FILE(GIT_EXECUTABLE git.exe
+- $ENV{CYGWIN_DIR}\\bin
+- $ENV{CYGWIN_DIR}
+- )
+- IF (EXISTS ${GIT_EXECUTABLE})
+- SET(GIT_FOUND 1)
+- ENDIF()
+-ENDIF()
+-
+-IF(GIT_FOUND)
+- include(GetGitRevisionDescription)
+- get_git_head_revision(GIT_REFSPEC GIT_SHA1)
+- message(STATUS "Git found")
+-ELSE()
+- message(STATUS "Git not found")
+-ENDIF()
+-
+ IF(WIN32)
+ # Windows Section
+
+--- luminance-hdr-2.3.0.beta1/src/Common/CMakeLists.txt
++++ luminance-hdr-2.3.0.beta1/src/Common/CMakeLists.txt
+@@ -1,4 +1,3 @@
+-CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/GitSHA1.cpp.in ${CMAKE_CURRENT_BINARY_DIR}/GitSHA1.cpp @ONLY)
+ CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/global.hxx.in ${CMAKE_CURRENT_BINARY_DIR}/global.hxx @ONLY)
+
+ SET(FILES_UI
+@@ -25,8 +24,7 @@
+ QT4_WRAP_UI(FILES_UI_H ${FILES_UI})
+
+ ADD_LIBRARY(common ${FILES_H} ${FILES_CPP} ${FILES_MOC} ${FILES_HXX} ${FILES_UI_H}
+-${CMAKE_CURRENT_BINARY_DIR}/global.hxx
+-${CMAKE_CURRENT_BINARY_DIR}/GitSHA1.cpp)
++${CMAKE_CURRENT_BINARY_DIR}/global.hxx)
+
+ SET(FILES_TO_TRANSLATE ${FILES_TO_TRANSLATE} ${FILES_CPP} ${FILES_H} ${FILES_UI} ${FILES_HXX} PARENT_SCOPE)
+ SET(LUMINANCE_MODULES_GUI ${LUMINANCE_MODULES_GUI} common PARENT_SCOPE)
+--- luminance-hdr-2.3.0.beta1/src/UI/UMessageBox.cpp
++++ luminance-hdr-2.3.0.beta1/src/UI/UMessageBox.cpp
+@@ -28,7 +28,6 @@
+
+ #include "UI/UMessageBox.h"
+
+-#include "Common/GitSHA1.h"
+ #include "Common/config.h"
+ #include "Common/archs.h"
+ #include "ui_about.h"
+@@ -78,7 +77,7 @@
+ ui.authorsBox->setOpenExternalLinks(true);
+ ui.thanksToBox->setOpenExternalLinks(true);
+ ui.GPLbox->setTextInteractionFlags(Qt::TextSelectableByMouse);
+- ui.label_version->setText(ui.label_version->text().append(QString(LUMINANCEVERSION)).append(" [Build ").append(QString(g_GIT_SHA1).left(6)).append("]"));
++ ui.label_version->setText(ui.label_version->text().append(QString(LUMINANCEVERSION)));
+
+ bool license_file_not_found=true;
+ QString docDir = QCoreApplication::applicationDirPath();
diff --git a/media-gfx/luminance-hdr/luminance-hdr-2.3.0_beta1.ebuild b/media-gfx/luminance-hdr/luminance-hdr-2.3.0_beta1.ebuild
new file mode 100644
index 000000000000..2b2110f56aba
--- /dev/null
+++ b/media-gfx/luminance-hdr/luminance-hdr-2.3.0_beta1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/luminance-hdr/luminance-hdr-2.3.0_beta1.ebuild,v 1.1 2012/06/30 16:45:44 radhermit Exp $
+
+EAPI="4"
+
+inherit cmake-utils toolchain-funcs eutils
+
+MY_P=${P/_/.}
+DESCRIPTION="Luminance HDR is a graphical user interface that provides a workflow for HDR imaging."
+HOMEPAGE="http://qtpfsgui.sourceforge.net"
+SRC_URI="mirror://sourceforge/qtpfsgui/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+LANGS=" cs de es fi fr hu id it pl ro ru tr"
+IUSE="${LANGS// / linguas_} openmp"
+
+DEPEND="
+ >=media-gfx/exiv2-0.14
+ media-libs/lcms:0
+ media-libs/libpng
+ >=media-libs/libraw-0.13.4
+ >=media-libs/openexr-1.2.2-r2
+ >=media-libs/tiff-3.8.2-r2
+ sci-libs/fftw:3.0
+ sci-libs/gsl
+ virtual/jpeg
+ x11-libs/qt-core:4
+ x11-libs/qt-gui:4
+ x11-libs/qt-sql:4
+ x11-libs/qt-webkit:4"
+RDEPEND="${DEPEND}"
+
+DOCS=( AUTHORS BUGS Changelog README TODO )
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ if use openmp ; then
+ tc-has-openmp || die "Please switch to an openmp compatible compiler"
+ fi
+}
+
+src_prepare() {
+ # Don't try to define the git version of the release
+ epatch "${FILESDIR}"/${P}-no-git.patch
+
+ # Don't install extra docs and fix install dir
+ epatch "${FILESDIR}"/${PN}-2.2.1-docs.patch
+
+ # Fix openmp automagic support
+ epatch "${FILESDIR}"/${PN}-2.2.1-openmp-automagic.patch
+}
+
+src_configure() {
+ mycmakeargs=(
+ $(cmake-utils_use_use openmp OPENMP)
+ )
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ for lang in ${LANGS} ; do
+ use linguas_${lang} || { rm "${D}"/usr/share/${PN}/i18n/lang_${lang}.qm || die ; }
+ done
+}