[packages/uavs3d] - updated to 1.2
qboosh
qboosh at pld-linux.org
Thu Nov 19 05:59:18 CET 2026
commit a7fcc174780191f7686b5f3a6f8c7e379478361a
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Thu Nov 19 05:59:13 2026 +0100
- updated to 1.2
uavs3d-x86.patch | 35 +++++++++++------------------------
uavs3d.spec | 11 ++++++-----
2 files changed, 17 insertions(+), 29 deletions(-)
---
diff --git a/uavs3d.spec b/uavs3d.spec
index 4dd8c43..5e637d6 100644
--- a/uavs3d.spec
+++ b/uavs3d.spec
@@ -1,16 +1,17 @@
Summary: AVS3 decoder library
Summary(pl.UTF-8): Biblioteka dekodera AVS3
Name: uavs3d
-Version: 1.1
+Version: 1.2
Release: 1
License: BSD
Group: Libraries
#Source0Download: https://github.com/uavs3/uavs3d/releases
-Source0: https://github.com/uavs3/uavs3d/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: a22d9d4f1da4d1e2d0b19a25754505c3
+Source0: https://github.com/uavs3/uavs3d/archive/%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 9007861d686f389eb8796c85e30bcf5f
Patch0: %{name}-x86.patch
URL: https://github.com/uavs3/uavs3d
-BuildRequires: cmake >= 2.8
+BuildRequires: cmake >= 3.1
+BuildRequires: gcc >= 5:3.2
BuildRequires: rpmbuild(macros) >= 1.605
BuildRequires: sed >= 4.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -63,7 +64,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc COPYING README.md
-%attr(755,root,root) %{_libdir}/libuavs3d.so
+%{_libdir}/libuavs3d.so
%files devel
%defattr(644,root,root,755)
diff --git a/uavs3d-x86.patch b/uavs3d-x86.patch
index a4d4843..7841a1c 100644
--- a/uavs3d-x86.patch
+++ b/uavs3d-x86.patch
@@ -1,24 +1,11 @@
---- uavs3d-1.1/source/decore/sse/sse.h.orig 2020-07-04 06:13:58.000000000 +0200
-+++ uavs3d-1.1/source/decore/sse/sse.h 2021-04-29 06:35:05.881365090 +0200
-@@ -45,11 +45,17 @@
-
- #include "modules.h"
-
--#ifdef _WIN32
-+#if (defined(_WIN32) && !defined(_WIN64)) || defined(__i386__)
-
--#ifndef _WIN64
--#define _mm_extract_epi64(a, i) (a.m128i_i64[i])
--#endif
-+#include <stdint.h>
-+static inline int64_t _mm_extract_epi64(__m128i a, const int imm8) {
-+ return imm8 ? ((int64_t)_mm_extract_epi16(a, 7) << 48) |
-+ ((int64_t)_mm_extract_epi16(a, 6) << 32) |
-+ (_mm_extract_epi16(a, 5) << 16) | _mm_extract_epi16(a, 4)
-+ : ((int64_t)_mm_extract_epi16(a, 3) << 48) |
-+ ((int64_t)_mm_extract_epi16(a, 2) << 32) |
-+ (_mm_extract_epi16(a, 1) << 16) | _mm_extract_epi16(a, 0);
-+}
-
- #endif
-
+--- uavs3d-1.2/source/CMakeLists.txt.orig 2026-11-19 05:55:33.381884024 +0100
++++ uavs3d-1.2/source/CMakeLists.txt 2026-11-19 05:55:37.668527468 +0100
+@@ -11,7 +11,7 @@ if("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL
+ message(FATAL_ERROR
+ " Unexpected pointer size ${CMAKE_SIZEOF_VOID_P} for ${CMAKE_SYSTEM_PROCESSOR}\n")
+ endif()
+-elseif("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "i386" OR
++elseif("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "i[3456]86" OR
+ "${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "x86")
+ set(UAVS3D_TARGET_CPU "x86")
+ elseif("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "aarch64" OR
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/uavs3d.git/commitdiff/a7fcc174780191f7686b5f3a6f8c7e379478361a
More information about the pld-cvs-commit
mailing list