pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/luminance-hdr luminance-hdr: tests require gt...
details: https://anonhg.NetBSD.org/pkgsrc/rev/29f5d4d06623
branches: trunk
changeset: 372870:29f5d4d06623
user: markd <markd%pkgsrc.org@localhost>
date: Tue Dec 19 09:47:55 2017 +0000
description:
luminance-hdr: tests require gtest, so make optional
diffstat:
graphics/luminance-hdr/distinfo | 4 ++--
graphics/luminance-hdr/patches/patch-CMakeLists.txt | 19 ++++++++++++++++++-
2 files changed, 20 insertions(+), 3 deletions(-)
diffs (47 lines):
diff -r b751885965f0 -r 29f5d4d06623 graphics/luminance-hdr/distinfo
--- a/graphics/luminance-hdr/distinfo Tue Dec 19 09:42:48 2017 +0000
+++ b/graphics/luminance-hdr/distinfo Tue Dec 19 09:47:55 2017 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.2 2016/04/03 12:47:45 joerg Exp $
+$NetBSD: distinfo,v 1.3 2017/12/19 09:47:55 markd Exp $
SHA1 (luminance-hdr-2.4.0.tar.bz2) = 58e711531bd20be80b4761137c9c684b4b67000f
RMD160 (luminance-hdr-2.4.0.tar.bz2) = 41fbd29ececa8f8de89dccabd6b48a66cc870307
SHA512 (luminance-hdr-2.4.0.tar.bz2) = aa14a13d12ba382f5f8dcb79a57aa68864678db62f036ac2d8b8959da76f20b938481932a6fff3861eb6dbc5a1d4f06bc1f3e3ca9a6ce4f7a27a9db736aa8702
Size (luminance-hdr-2.4.0.tar.bz2) = 10507522 bytes
-SHA1 (patch-CMakeLists.txt) = 16492e3df08517fece3a03daf588a71f9296f4c3
+SHA1 (patch-CMakeLists.txt) = 786aa34e8ddbb8a313c915839d400231488a2ee6
SHA1 (patch-src_HelpBrowser_CMakeLists.txt) = 57277fd03e6c201fb6fadc3df169276c358460fa
SHA1 (patch-src_MainCli_commandline.cpp) = bbbe118f6712381e9324629d921d934d73e48da8
diff -r b751885965f0 -r 29f5d4d06623 graphics/luminance-hdr/patches/patch-CMakeLists.txt
--- a/graphics/luminance-hdr/patches/patch-CMakeLists.txt Tue Dec 19 09:42:48 2017 +0000
+++ b/graphics/luminance-hdr/patches/patch-CMakeLists.txt Tue Dec 19 09:47:55 2017 +0000
@@ -1,6 +1,7 @@
-$NetBSD: patch-CMakeLists.txt,v 1.1 2016/02/07 22:10:47 markd Exp $
+$NetBSD: patch-CMakeLists.txt,v 1.2 2017/12/19 09:47:55 markd Exp $
Fix build error with Qt >= 5.3.2
+tests require gtest, so make optional
--- CMakeLists.txt.orig 2015-09-10 04:26:44.095679440 +0000
+++ CMakeLists.txt
@@ -12,3 +13,19 @@
IF(WIN32)
find_package(Qt5WinExtras)
ENDIF()
+@@ -165,10 +166,12 @@ SET(LUMINANCE_HDR_H ${LUMINANCE_HDR_H}
+ SET(LUMINANCE_HDR_RCCS icons.qrc)
+ QT5_ADD_RESOURCES(LUMINANCE_HDR_RCCS_SRCS ${LUMINANCE_HDR_RCCS})
+
+-ENABLE_TESTING()
+-
+ ADD_SUBDIRECTORY(src)
+-ADD_SUBDIRECTORY(test)
++
++IF(ENABLE_UNIT_TEST)
++ ENABLE_TESTING()
++ ADD_SUBDIRECTORY(test)
++ENDIF(ENABLE_UNIT_TEST)
+
+ # translations
+ FILE(GLOB LUMINANCE_TS i18n/lang_*.ts)
Home |
Main Index |
Thread Index |
Old Index