mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 21:23:51 -09:00
package/lensfun: bump version to git commit 268821c024
Last release dates back to Jul 2023 with >3000 commits since then:
https://github.com/lensfun/lensfun/issues/2634
Removed patch which is included in this version.
Renamed CMake option PYTHON to INSTALL_PYTHON_MODULE:
Upstream renamed PYTHON to PYTHONINTERP_FOUND with commit
824b9d36c1
and later guarded the python code with a new CMake option
INSTALL_PYTHON_MODULE which we now use.
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
1d6a0cab45
commit
e16546abbc
@@ -1,29 +0,0 @@
|
||||
From 011de2e85813ff496a85404b30891352555de077 Mon Sep 17 00:00:00 2001
|
||||
From: Jonas <git@jonas-ott.de>
|
||||
Date: Fri, 17 Feb 2023 18:26:01 +0100
|
||||
Subject: [PATCH] cmake: use FindPython3 (#1983)
|
||||
|
||||
@jonas-ott Thank you for contributing!
|
||||
|
||||
Upstream: https://github.com/lensfun/lensfun/commit/011de2e85813ff496a85404b30891352555de077
|
||||
|
||||
[Bernd: partial backport to version 0.3.4]
|
||||
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
|
||||
---
|
||||
CMakeLists.txt | 4 ++--
|
||||
apps/CMakeLists.txt | 55 +++++++++++++++++++++-----------------------
|
||||
tests/CMakeLists.txt | 4 ++--
|
||||
3 files changed, 30 insertions(+), 33 deletions(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 5ccb9976d..7bb7a6878 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -1,5 +1,5 @@
|
||||
-# require at least cmake 2.8.12
|
||||
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12 FATAL_ERROR )
|
||||
+# require at least cmake 3.12
|
||||
+CMAKE_MINIMUM_REQUIRED(VERSION 3.12 FATAL_ERROR)
|
||||
|
||||
# path for helper modules
|
||||
set(CMAKE_MODULE_PATH "${CMAKE_MODULE_PATH}" "${CMAKE_SOURCE_DIR}/cmake/modules")
|
||||
@@ -1,4 +1,4 @@
|
||||
# Locally calculated
|
||||
sha256 dafb39c08ef24a0e2abd00d05d7341b1bf1f0c38bfcd5a4c69cf5f0ecb6db112 lensfun-0.3.4.tar.gz
|
||||
sha256 656fb82a0501616b4024854fc716f004cf07d28443ee09fcf436afb6722da561 lensfun-268821c02495c0ffff8332417f0d59bdbefa545d.tar.gz
|
||||
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 docs/gpl-3.0.txt
|
||||
sha256 a853c2ffec17057872340eee242ae4d96cbf2b520ae27d903e1b2fef1a5f9d1c docs/lgpl-3.0.txt
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LENSFUN_VERSION = 0.3.4
|
||||
LENSFUN_SITE = $(call github,lensfun,lensfun,v$(LENSFUN_VERSION))
|
||||
LENSFUN_VERSION = 268821c02495c0ffff8332417f0d59bdbefa545d
|
||||
LENSFUN_SITE = $(call github,lensfun,lensfun,$(LENSFUN_VERSION))
|
||||
LENSFUN_LICENSE = LGPL-3.0+ (libraries), GPL-3.0+ (programs)
|
||||
LENSFUN_LICENSE_FILES = docs/gpl-3.0.txt docs/lgpl-3.0.txt
|
||||
LENSFUN_INSTALL_STAGING = YES
|
||||
@@ -42,6 +42,8 @@ endif
|
||||
|
||||
# Don't install helper scripts (which require python3 and gksudo).
|
||||
# Don't run setup.py on the host.
|
||||
LENSFUN_CONF_OPTS += -DINSTALL_HELPER_SCRIPTS=OFF -DPYTHON=OFF
|
||||
LENSFUN_CONF_OPTS += \
|
||||
-DINSTALL_HELPER_SCRIPTS=OFF \
|
||||
-DINSTALL_PYTHON_MODULE=OFF
|
||||
|
||||
$(eval $(cmake-package))
|
||||
|
||||
Reference in New Issue
Block a user