Drop Drop Minor in APIVER
This commit is contained in:
parent
7381e30c28
commit
1747099b34
28
Drop-PROJECT_VER_MINOR-in-APIVER.patch
Normal file
28
Drop-PROJECT_VER_MINOR-in-APIVER.patch
Normal file
@ -0,0 +1,28 @@
|
||||
From 79e357efa8a0a4d60ab8bb9e8d189f12ac4627d1 Mon Sep 17 00:00:00 2001
|
||||
From: Nicolas Chauvet <kwizart@gmail.com>
|
||||
Date: Fri, 28 Feb 2020 14:54:47 +0100
|
||||
Subject: [PATCH] Drop PROJECT_VER_MINOR in APIVER
|
||||
|
||||
This will change SONAME to libfreenect.so.0 instead of 0.6
|
||||
|
||||
Signed-off-by: Nicolas Chauvet <kwizart@gmail.com>
|
||||
---
|
||||
CMakeLists.txt | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index e71ea97..37d6e94 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -51,7 +51,7 @@ set (PROJECT_VER_PATCH 1)
|
||||
set (PROJECT_VER
|
||||
"${PROJECT_VER_MAJOR}.${PROJECT_VER_MINOR}.${PROJECT_VER_PATCH}")
|
||||
set (PROJECT_APIVER
|
||||
- "${PROJECT_VER_MAJOR}.${PROJECT_VER_MINOR}")
|
||||
+ "${PROJECT_VER_MAJOR}")
|
||||
|
||||
OPTION(BUILD_REDIST_PACKAGE "Build libfreenect in a legally-redistributable manner (only affects audio)" ON)
|
||||
OPTION(BUILD_EXAMPLES "Build example programs" ON)
|
||||
--
|
||||
2.24.1
|
||||
|
@ -24,6 +24,7 @@ Patch4: secarch.patch
|
||||
# Fix the installation path for python libs
|
||||
Patch7: %{name}-0.5.5-py3.patch
|
||||
Patch10: libfreenect-opencv4.patch
|
||||
Patch11: Drop-PROJECT_VER_MINOR-in-APIVER.patch
|
||||
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: cmake
|
||||
@ -108,6 +109,7 @@ rm -rf platform/windows
|
||||
%patch4 -p1 -b .secarch
|
||||
%patch7 -p1 -b .py3
|
||||
%patch10 -p1 -b .cv4
|
||||
%patch11 -p1 -b .drop
|
||||
|
||||
%build
|
||||
mkdir build
|
||||
@ -191,6 +193,7 @@ mv %{buildroot}%{_libdir}/OpenNI2-FreenectDriver %{buildroot}%{_libdir}/openni2/
|
||||
%changelog
|
||||
* Fri Feb 28 2020 Nicolas Chauvet <kwizart@gmail.com> - 0.6.0-1
|
||||
- Update to 0.6.0
|
||||
- Drop Minor in APIVER (SONAME change)
|
||||
|
||||
* Wed Feb 19 2020 Leigh Scott <leigh123linux@gmail.com> - 0.5.7-15
|
||||
- Rebuilt for OpenCV 4.2
|
||||
|
Loading…
Reference in New Issue
Block a user