Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37764550
en ru br
ALT Linux repos
S:0.3.2-alt1.1

Group :: System/Libraries
RPM: libopenshot

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: libopenshot-0.3.0-entityfx-e2k.patch
Download


commit 7cdc06c0bb55f0944261c4a0858f2ecb5f524ada
Author:  EntityFX <artem.solopiy@gmail.com>
Date:    Tue Jun 1 15:34:08 2021 +0300
Subject: Added initial support of Elbrus 2000 architecture
(rebased onto 0.3.0)
diff -Naur libopenshot-0.3.0-orig/CMakeLists.txt libopenshot-0.3.0/CMakeLists.txt
--- libopenshot-0.3.0-orig/CMakeLists.txt	2022-12-02 01:04:03.000000000 +0300
+++ libopenshot-0.3.0/CMakeLists.txt	2022-12-05 13:21:30.250835238 +0300
@@ -97,7 +97,8 @@
 #### Work around a GCC < 9 bug with handling of _Pragma() in macros
 #### See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55578
 if ((${CMAKE_CXX_COMPILER_ID} STREQUAL "GNU") AND
-    (${CMAKE_CXX_COMPILER_VERSION} VERSION_LESS "9.0.0"))
+    (${CMAKE_CXX_COMPILER_VERSION} VERSION_LESS "9.0.0") AND
+    (NOT ${CMAKE_SYSTEM_PROCESSOR} STREQUAL "e2k"))
         set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -no-integrated-cpp")
 endif()
 
@@ -135,7 +136,11 @@
 ### Process subdirectories
 ###
 add_subdirectory(src)
-add_subdirectory(examples)
+
+if (NOT ${CMAKE_SYSTEM_PROCESSOR} STREQUAL "e2k")
+  add_subdirectory(examples)
+endif()
+
 add_subdirectory(bindings)
 
 ###
@@ -245,7 +250,9 @@
     list(APPEND CTEST_OPTIONS "-VV")
   endif()
   list(APPEND CTEST_OPTIONS "--output-on-failure")
-  add_subdirectory(tests)
+  if (NOT ${CMAKE_SYSTEM_PROCESSOR} STREQUAL "e2k")
+    add_subdirectory(tests)
+  endif()
 endif()
 add_feature_info("Unit tests" ${BUILD_TESTING} "Compile unit tests for library functions")
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin