diff options
author | Tim Harder <radhermit@gentoo.org> | 2012-06-30 16:48:49 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2012-06-30 16:48:49 +0000 |
commit | 418562f09173cfdac748c243dcf3ee2c3dde095c (patch) | |
tree | 8bb59da75ba016ba4da0592cddd03f727ef50c15 /media-gfx | |
parent | Version bump. (diff) | |
download | historical-418562f09173cfdac748c243dcf3ee2c3dde095c.tar.gz historical-418562f09173cfdac748c243dcf3ee2c3dde095c.tar.bz2 historical-418562f09173cfdac748c243dcf3ee2c3dde095c.zip |
Remove old.
Package-Manager: portage-2.2.0_alpha114/cvs/Linux x86_64
Diffstat (limited to 'media-gfx')
8 files changed, 16 insertions, 315 deletions
diff --git a/media-gfx/luminance-hdr/ChangeLog b/media-gfx/luminance-hdr/ChangeLog index 33d9cf682a0e..eceef0ad6e90 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.17 2012/06/30 16:45:44 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/luminance-hdr/ChangeLog,v 1.18 2012/06/30 16:48:49 radhermit Exp $ + + 30 Jun 2012; Tim Harder <radhermit@gentoo.org> -luminance-hdr-2.1.0.ebuild, + -files/luminance-hdr-2.1.0-libraw.patch, -luminance-hdr-2.2.0.ebuild, + -files/luminance-hdr-2.2.0-docs.patch, + -files/luminance-hdr-2.2.0-no-git.patch, + -files/luminance-hdr-2.2.0-openmp-automagic.patch: + Remove old. *luminance-hdr-2.3.0_beta1 (30 Jun 2012) diff --git a/media-gfx/luminance-hdr/Manifest b/media-gfx/luminance-hdr/Manifest index a79b9d849d12..cef2fb11a2c2 100644 --- a/media-gfx/luminance-hdr/Manifest +++ b/media-gfx/luminance-hdr/Manifest @@ -1,34 +1,26 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 -AUX luminance-hdr-2.1.0-libraw.patch 311 RMD160 4bc66c7604fe60aa6c8778658b07b7913ca90143 SHA1 e3b7d7a54816ea55a43c0423605e1006417ef37b SHA256 d3be7458713693382b64a6a1fa766c14bc16be2ff9c5a06567c0e5335581151c -AUX luminance-hdr-2.2.0-docs.patch 1017 RMD160 5e083d53b70dd59e7f4fcde784f508f90b1bce5a SHA1 613a324204cbf8accddfc1a342ffc2d632d15fd7 SHA256 07dc7e411fbffab2ce0515f4f39b5bd0407e4442ece3462c320f309010509e0d -AUX luminance-hdr-2.2.0-no-git.patch 2267 RMD160 426d6e2667f7d389d676ecbf7efa9d26152c7104 SHA1 34761383866c301a43d21ad1e6af29cf31f1cbf1 SHA256 2b60dfd7a0412e1b87c47315c19a5a5ba33088e105392ea07c1b511b75fc5191 -AUX luminance-hdr-2.2.0-openmp-automagic.patch 1736 RMD160 8a0e1527115ae6ff277c305af642f412393881bb SHA1 f7287e71547d2c21f24b09e4e9318895a56cd9eb SHA256 1f23a195963892a0e0cf4653737470fe234137c69c912302bd66b33735fefa7c AUX luminance-hdr-2.2.1-docs.patch 750 RMD160 be0641f1f257d0b098a2337bf5d9cc7341b7315f SHA1 386c2d5566b94c5fd12a0b984ee45fc121f37a1f SHA256 9d7ab37083944ad4faa813af51301ee896400b7bb38a07b7143a3a4ca08d511c AUX luminance-hdr-2.2.1-no-git.patch 2427 RMD160 5f6d6d263395d219b0fda23865319aa19864fe5e SHA1 47d8a0d13dbad6caf9f47cc16ab759a7e3b6babc SHA256 8c03e1ef4506067c3e40db3aade991fb1c9f9e170d3686d00eeb8bf7b9f006d5 AUX luminance-hdr-2.2.1-openmp-automagic.patch 1719 RMD160 c4a827066785631a76f66c615ecd760acc8055fe SHA1 c7093f6931b93d40cb0258189a3ed78329c1e791 SHA256 45c316653de319d61d47618598fa4e665508311efdf412d9e31ea817acb1e496 AUX luminance-hdr-2.3.0_beta1-no-git.patch 2361 RMD160 1740bbd2cbda287169ca69f4be1748bf316f8a35 SHA1 2cfffbc39918d0f469fbbd85448bad8e73bf0699 SHA256 fa49258af1f68972024309804309dec5783e7e04c9984471c14f353c780759ab -DIST luminance-hdr-2.1.0.tar.gz 4086574 RMD160 cb3191f41dd9a8e55c91895e6e60f643d7baa4fe SHA1 5bc3f58c3403565cf209c0ef30fc68d5b7c58fd7 SHA256 0b0f124ada6da62c379d6e4bd6fd150643115cb46f05c527c29113f475a5eeac -DIST luminance-hdr-2.2.0.tar.bz2 4024364 RMD160 05042de632163c82a14f889934a16f8352d699cd SHA1 7a81a38e944c89249c307497145e6d86164080f2 SHA256 55782b489498bb15911dcdb54bcbffb2604b746e664de809d3bc813a57e10014 DIST luminance-hdr-2.2.1.tar.bz2 3942721 RMD160 fe3c47d13ef3cc5c652209bf55f8b67976d0ac24 SHA1 da6cc78d597c0a2a10ad723dc0a561263c956ecf SHA256 e6f8439eb03455676eaebfe7b41bfcc3d3ac61d1fb296f12b28783292e75a903 DIST luminance-hdr-2.3.0.beta1.tar.bz2 4941042 RMD160 b838e7f2f07393f4edb397d9607eade94c309621 SHA1 26a940d79bc6056077579fb3e8021c8bd12395e8 SHA256 a1b2318e8093b6e1a7d498c863c6d32b7eb19dafa869f4077adc100b609bec63 DIST luminance-hdr_2.0.0.tar.gz 2450689 RMD160 679ada53c67c4c37853ac0153e8acb6fe0ed2df7 SHA1 7981cd1ac8b7e29343ce26288796ddc74cf23ca9 SHA256 6e6f6dadbe54d2c14e1c98c2dba928b3bc09ba4dbe5c63a071a32f5c372e16e8 EBUILD luminance-hdr-2.0.0.ebuild 1409 RMD160 117c2999d957444a1cc53552b9098497905030dd SHA1 5c8398206899e3bbaee89bc1a005cb52b4800691 SHA256 4db5cd2ce0c0d249022f4c050fb21d36ef45fb0a0b440fba248961a5cb77f467 -EBUILD luminance-hdr-2.1.0.ebuild 1636 RMD160 e3c9ed8fc853882ce6d2e26d78954fc94a89cebb SHA1 58c8ec79d4c30af3bc4712135a4f0023357eefbf SHA256 ec2c779645abf8ac79f700e1ac6892f1fcd7a180a9d339413969f355d0f3e3b5 -EBUILD luminance-hdr-2.2.0.ebuild 1676 RMD160 f1237aefabebcd59a58518cc7c917250e8b80eab SHA1 6aecb36f7d24df878e70d6db3bb8c9777ca11226 SHA256 be917a017fcb52e52bb9e32d6b3d4122353db3ea04b55efc1e2f17cc527a9bd3 EBUILD luminance-hdr-2.2.1.ebuild 1596 RMD160 b28ad08af95a131e48c96091a59abfa64366e841 SHA1 49938195689a80a96e96c23f3d2050154ed6fa89 SHA256 e3d116d879da8dce8c873b4b2b9b4904bc9a94155c911ae0bcc85e1a53fb8771 EBUILD luminance-hdr-2.3.0_beta1.ebuild 1693 RMD160 a2d224c6694d2a01ecf4f80ff8f14241b8efc002 SHA1 50b105033de0ae47fc269c0dfe1938352e63fadf SHA256 560fc67fc977ed93492a8b303b7ec807c6f88f2cd93ac400934cbb245a171298 -MISC ChangeLog 5754 RMD160 1dcb222016562c600d0860f08951e096322d94c4 SHA1 20c0e75f105f2526a0693f48dabe8b637585cc56 SHA256 7c122503632aa5bb5adc44945c06a275a3161b734ed8a20d69ef4fe858aef11a +MISC ChangeLog 6056 RMD160 5bbf79518397cdad988fc3e1fbb24f26b53e83e5 SHA1 9ebe3d59b19f90adaad5427bec3306c147f9b6f2 SHA256 efc1301b5bcf8a1947dea42b5eafd8bfbd320cfd0a8805369113523f74ccc3ac MISC metadata.xml 937 RMD160 188c7d5bcc2a1f029b36fb4644b45e0d4c42f5f7 SHA1 54bb4fd8c2ff64ddab7173aa25792d588f4977c5 SHA256 03752b3db20bdd5f73b81a4c7ac7a6173b7825c55aef76758cd48db98e778ef6 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iQEcBAEBCgAGBQJP7y0+AAoJEEqz6FtPBkyjQacH/iSKJ1gdjuG1ikM5hl+W/f9X -zG8r1sflMXcmusvY4R3TJjxaQLowSCxD+iqjFuc6zdZF09McZrKxoRWsgek4UOM4 -oMjs+dp97CzlyX9kumti+/Q4G6/ywfKl6llVWm2Iypbcc2z/BBjK+/AVOkPJLmdt -6cPtfIaTir1m4NQpX66/O0BklhHMMBLi0lMf8WAKlQhojNYOx4IN9u4v+mUvQSDJ -LhVBYbAe//6W2bJjdPpvsqyu1xrlv8IHh5ZaeBW+SzjlE09p5y83z8pIifbZyePx -fC59feU3VidSC0ILhXBgXc/BkaK75Q6YlGMhbuHQ4jjAQTCiLAoGPTSElF13hmk= -=R4Oe +iQEcBAEBCgAGBQJP7y32AAoJEEqz6FtPBkyjuZ4H/RM/AE1TEBD105iUaNDO5M12 +3tXbvdN17dnb6QmS6M0IY/1teZyfgFCpAaXH7EotEb6aSQpMgXGQdjlgWZLcQ6rO +aE5S/kZ3BvDzjqxT5KlvrZ5h5V2Jx+obNatULMU3jQlDtU1kM1J4h3pNr4EKxwwg +NJj8fpV03HxMKtNgtogJDx6i76HkxdyZlriCC+C0XuhwOkCP41WKBDtqL77ccBPe +etbr4huTti/bmOrZXpRzLRgGFvxjglyCD6CNuedxGmhZYGvL5Q390M6TugPxvciC +Qeq0EuAxJlQfXGqeYmHCgraLT5Js9PwvyrsPB8uin04NpmOhatD67ClUaiKcOjg= +=0LJW -----END PGP SIGNATURE----- diff --git a/media-gfx/luminance-hdr/files/luminance-hdr-2.1.0-libraw.patch b/media-gfx/luminance-hdr/files/luminance-hdr-2.1.0-libraw.patch deleted file mode 100644 index 8472a7422221..000000000000 --- a/media-gfx/luminance-hdr/files/luminance-hdr-2.1.0-libraw.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- luminance-hdr-2.1.0/src/Fileformat/pfsinraw.cpp.orig -+++ luminance-hdr-2.1.0/src/Fileformat/pfsinraw.cpp -@@ -94,7 +94,6 @@ - RawProcessor.set_progress_handler(cb, callback_data); - int ret; - -- OUT.filtering_mode = LIBRAW_FILTERING_AUTOMATIC; - OUT.output_bps = 16; - - //OUT.gamm[0] = 1/2.4; //sRGB diff --git a/media-gfx/luminance-hdr/files/luminance-hdr-2.2.0-docs.patch b/media-gfx/luminance-hdr/files/luminance-hdr-2.2.0-docs.patch deleted file mode 100644 index 4b4bb63b5a83..000000000000 --- a/media-gfx/luminance-hdr/files/luminance-hdr-2.2.0-docs.patch +++ /dev/null @@ -1,21 +0,0 @@ ---- luminance-hdr-2.2.0/CMakeLists.txt.orig -+++ luminance-hdr-2.2.0/CMakeLists.txt -@@ -564,16 +564,10 @@ -
- # make install directivies
- INSTALL(TARGETS luminance-hdr RUNTIME DESTINATION bin) # main exec
-- INSTALL(FILES ${LUMINANCE_QM} DESTINATION share/luminance/i18n) # i18n
-+ INSTALL(FILES ${LUMINANCE_QM} DESTINATION share/luminance-hdr/i18n) # i18n
- INSTALL(FILES ${CMAKE_SOURCE_DIR}/images/luminance-hdr.png DESTINATION share/icons/hicolor/48x48/apps) # icon
- INSTALL(FILES ${CMAKE_SOURCE_DIR}/luminance-hdr.desktop DESTINATION share/applications) #desktop entry
-- INSTALL(FILES
-- ${CMAKE_SOURCE_DIR}/AUTHORS
-- ${CMAKE_SOURCE_DIR}/README
-- ${CMAKE_SOURCE_DIR}/LICENSE
-- ${CMAKE_SOURCE_DIR}/Changelog
-- DESTINATION share/luminance) #info files
-- INSTALL(DIRECTORY ${CMAKE_SOURCE_DIR}/help DESTINATION share/luminance) # help directory
-+ INSTALL(DIRECTORY ${CMAKE_SOURCE_DIR}/help DESTINATION share/luminance-hdr) # help directory
-
- ELSEIF(WIN32)
-
diff --git a/media-gfx/luminance-hdr/files/luminance-hdr-2.2.0-no-git.patch b/media-gfx/luminance-hdr/files/luminance-hdr-2.2.0-no-git.patch deleted file mode 100644 index 627e0e88ad31..000000000000 --- a/media-gfx/luminance-hdr/files/luminance-hdr-2.2.0-no-git.patch +++ /dev/null @@ -1,72 +0,0 @@ ---- luminance-hdr-2.2.0.orig/CMakeLists.txt -+++ luminance-hdr-2.2.0/CMakeLists.txt -@@ -27,30 +27,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)
-- message(STATUS "Git not found")
-- FIND_FILE(GIT_EXECUTABLE git.exe
-- $ENV{CYGWIN_DIR}\\bin
-- $ENV{CYGWIN_DIR}
-- )
-- IF (EXISTS ${GIT_EXECUTABLE})
-- SET(GIT_FOUND 1)
-- ENDIF()
-- FIND_FILE(GIT_EXE git
-- $ENV{/usr/bin}
-- )
-- IF (EXISTS ${GIT_EXE})
-- SET(GIT_FOUND 1)
-- ENDIF()
--ENDIF()
--
--IF(GIT_FOUND)
-- include(GetGitRevisionDescription)
-- get_git_head_revision(GIT_REFSPEC GIT_SHA1)
--ENDIF()
--
- IF(WIN32)
- # Windows Section
- SET(OPENEXR_INCLUDE_DIR "${CMAKE_SOURCE_DIR}/../DEPs/include/OpenEXR")
-@@ -318,7 +294,6 @@ - src/UI/UMessageBox.h
- src/Viewers/Histogram.h
- src/Common/global.h
-- src/Common/GitSHA1.h
- src/Common/config.h
-
- # new viewer
-@@ -408,11 +383,8 @@ - src/TonemappingEngine/TonemapOperator.cpp
-
- src/main.cpp
-- ${CMAKE_CURRENT_BINARY_DIR}/src/Common/GitSHA1.cpp # for actual git version
- )
-
--CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/src/Common/GitSHA1.cpp.in" "${CMAKE_CURRENT_BINARY_DIR}/src/Common/GitSHA1.cpp" @ONLY)
--
- SET(LUMINANCE_HDR_MOC
- src/BatchHDR/BatchHDRDialog.h
- src/BatchTM/BatchTMDialog.h
---- luminance-hdr-2.2.0.orig/src/UI/UMessageBox.cpp -+++ luminance-hdr-2.2.0/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/files/luminance-hdr-2.2.0-openmp-automagic.patch b/media-gfx/luminance-hdr/files/luminance-hdr-2.2.0-openmp-automagic.patch deleted file mode 100644 index 20baab7316e7..000000000000 --- a/media-gfx/luminance-hdr/files/luminance-hdr-2.2.0-openmp-automagic.patch +++ /dev/null @@ -1,50 +0,0 @@ ---- luminance-hdr-2.2.0/CMakeLists.txt.orig -+++ luminance-hdr-2.2.0/CMakeLists.txt -@@ -2,6 +2,7 @@ - CMAKE_MINIMUM_REQUIRED(VERSION 2.6.0)
-
- OPTION(UPDATE_TRANSLATIONS "Update source translation translations/*.ts files (WARNING: make clean will delete the source .ts files! Danger!)")
-+OPTION(USE_OPENMP "Use openmp threading support." ON)
-
- set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/")
-
-@@ -141,24 +142,26 @@ - SET(LIBS ${LIBS} ${EXIV2_LIBRARIES})
-
- #OpenMP Support under Linux, Windows with MSVC & MacOS X with GCC >= 4.3
--IF(MSVC)
-+IF(USE_OPENMP)
-+ IF(MSVC)
-
-- FIND_PACKAGE(OpenMP REQUIRED)
-- SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}")
-- SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OpenMP_C_FLAGS}")
--
--ELSEIF(CMAKE_COMPILER_IS_GNUCC AND UNIX)
--
-- execute_process(COMMAND ${CMAKE_C_COMPILER} -dumpversion
-- OUTPUT_VARIABLE GCC_VERSION)
-- #MESSAGE(STATUS ${GCC_VERSION})
-- IF(GCC_VERSION VERSION_GREATER 4.3 OR GCC_VERSION VERSION_EQUAL 4.3)
-- message(STATUS "GCC >= 4.3")
- FIND_PACKAGE(OpenMP REQUIRED)
- SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}")
- SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OpenMP_C_FLAGS}")
-- endif()
-
-+ ELSEIF(CMAKE_COMPILER_IS_GNUCC AND UNIX)
-+
-+ execute_process(COMMAND ${CMAKE_C_COMPILER} -dumpversion
-+ OUTPUT_VARIABLE GCC_VERSION)
-+ #MESSAGE(STATUS ${GCC_VERSION})
-+ IF(GCC_VERSION VERSION_GREATER 4.3 OR GCC_VERSION VERSION_EQUAL 4.3)
-+ message(STATUS "GCC >= 4.3")
-+ FIND_PACKAGE(OpenMP REQUIRED)
-+ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}")
-+ SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OpenMP_C_FLAGS}")
-+ endif()
-+
-+ ENDIF()
- ENDIF()
- # END OpenMP Support
-
diff --git a/media-gfx/luminance-hdr/luminance-hdr-2.1.0.ebuild b/media-gfx/luminance-hdr/luminance-hdr-2.1.0.ebuild deleted file mode 100644 index ae352d1b4e00..000000000000 --- a/media-gfx/luminance-hdr/luminance-hdr-2.1.0.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# 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.1.0.ebuild,v 1.4 2012/02/14 09:41:29 radhermit Exp $ - -EAPI="4" - -LANGS="cs de es fr it pl ru tr" -inherit qt4-r2 toolchain-funcs - -OLD_PN="qtpfsgui" -MY_P="${P/_pre/-pre}" - -DESCRIPTION="Luminance HDR is a graphical user interface that provides a workflow for HDR imaging." -HOMEPAGE="http://qtpfsgui.sourceforge.net" -SRC_URI="mirror://sourceforge/${OLD_PN}/${MY_P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -IUSE="debug openmp" - -DEPEND=" - >=media-gfx/exiv2-0.14 - >=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 Changelog README TODO" - -pkg_setup() { - if use openmp ; then - tc-has-openmp || die "Please switch to an openmp compatible compiler" - fi -} - -src_prepare() { - qt4-r2_src_prepare - - # no insane CXXFLAGS - sed -i \ - -e '/^QMAKE_CXXFLAGS/d' \ - -e '/^QMAKE_CFLAGS/d' \ - project.pro || die - - if ! use openmp ; then - sed -i -e '/-fopenmp/d' project.pro || die - fi - - epatch "${FILESDIR}"/${P}-libraw.patch -} - -src_configure() { - lrelease project.pro || die - eqmake4 project.pro \ - PREFIX=/usr \ - ENABLE_DEBUG="$(use debug && echo YES || echo NO)" \ - DOCDIR=/usr/share/doc/${PF} -} - -src_install() { - qt4-r2_src_install - - for lang in ${LANGS} ; do - use linguas_${lang} || { rm "${D}"/usr/share/${PN}/i18n/lang_${lang}.qm || die ; } - done -} diff --git a/media-gfx/luminance-hdr/luminance-hdr-2.2.0.ebuild b/media-gfx/luminance-hdr/luminance-hdr-2.2.0.ebuild deleted file mode 100644 index 2c497c7e945b..000000000000 --- a/media-gfx/luminance-hdr/luminance-hdr-2.2.0.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# 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.2.0.ebuild,v 1.3 2012/02/23 05:24:57 radhermit Exp $ - -EAPI="4" - -inherit cmake-utils toolchain-funcs eutils - -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/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -LANGS=" cs de es fr fi hu id it pl ro ru tr" -IUSE="${LANGS// / linguas_} openmp" - -DEPEND=" - >=media-gfx/exiv2-0.14 - >=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} - -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}"/${P}-docs.patch - - # Fix openmp automagic support - epatch "${FILESDIR}"/${P}-openmp-automagic.patch - - # Respect user CFLAGS - sed -i -e "/-O3/d" CMakeLists.txt || die -} - -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 -} |