commit 8c380e801705d00956b2534b9b18c034cc5ecd36
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Wed Jan 29 21:56:56 2025 +0000
fix cmake issue
31b18a959ab5f1822e2bd86a9e8527c2f95e706f.patch | 20 ++++++++++++++++++++
732f11b80142b53d7f843dae17021016551046d6.patch | 18 ++++++++++++++++++
lightspark.spec | 6 ++++--
3 files changed, 42 insertions(+), 2 deletions(-)
---
diff --git a/31b18a959ab5f1822e2bd86a9e8527c2f95e706f.patch
b/31b18a959ab5f1822e2bd86a9e8527c2f95e706f.patch
new file mode 100644
index 0000000..15bbb44
--- /dev/null
+++ b/31b18a959ab5f1822e2bd86a9e8527c2f95e706f.patch
@@ -0,0 +1,20 @@
+From 31b18a959ab5f1822e2bd86a9e8527c2f95e706f Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Ludger=20Kr=C3=A4mer?= <dbluelle(a)onlinehome.de>
+Date: Fri, 15 Nov 2024 17:44:48 +0100
+Subject: [PATCH] add dummy file for nasm detection
+
+this is a try to fix compilation with gcc in github actions
+---
+ conf/CMakeASM-NASMLinkerInformation.cmake | 3 +++
+ 1 file changed, 3 insertions(+)
+ create mode 100644 conf/CMakeASM-NASMLinkerInformation.cmake
+
+diff --git a/conf/CMakeASM-NASMLinkerInformation.cmake
b/conf/CMakeASM-NASMLinkerInformation.cmake
+new file mode 100644
+index 0000000000..05f89421a1
+--- /dev/null
++++ b/conf/CMakeASM-NASMLinkerInformation.cmake
+@@ -0,0 +1,3 @@
++# support for the nasm assembler
++
++INCLUDE(CMakeASMLinkerInformation)
diff --git a/732f11b80142b53d7f843dae17021016551046d6.patch
b/732f11b80142b53d7f843dae17021016551046d6.patch
new file mode 100644
index 0000000..193b03b
--- /dev/null
+++ b/732f11b80142b53d7f843dae17021016551046d6.patch
@@ -0,0 +1,18 @@
+From 732f11b80142b53d7f843dae17021016551046d6 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Ludger=20Kr=C3=A4mer?= <dbluelle(a)onlinehome.de>
+Date: Fri, 15 Nov 2024 17:47:45 +0100
+Subject: [PATCH] next try to fix github actions
+
+---
+ conf/CMakeASM-NASMLinkerInformation.cmake | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/conf/CMakeASM-NASMLinkerInformation.cmake
b/conf/CMakeASM-NASMLinkerInformation.cmake
+index 05f89421a1..c1cdd30917 100644
+--- a/conf/CMakeASM-NASMLinkerInformation.cmake
++++ b/conf/CMakeASM-NASMLinkerInformation.cmake
+@@ -1,3 +1,3 @@
+ # support for the nasm assembler
+
+-INCLUDE(CMakeASMLinkerInformation)
++#INCLUDE(CMakeASMLinkerInformation)
diff --git a/lightspark.spec b/lightspark.spec
index bf8d67c..1449ca7 100644
--- a/lightspark.spec
+++ b/lightspark.spec
@@ -16,6 +16,8 @@ Source0:
https://github.com/lightspark/lightspark/archive/%{commit}.tar.g
%else
Source0:
https://github.com/lightspark/lightspark/archive/%{version}/%{name}-%{ver...
%endif
+Patch0:
https://github.com/lightspark/lightspark/commit/31b18a959ab5f1822e2bd86a9...
+Patch1:
https://github.com/lightspark/lightspark/commit/732f11b80142b53d7f843dae1...
BuildRequires: cmake
BuildRequires: desktop-file-utils
@@ -64,9 +66,9 @@ This is the Chromium compatible plugin for %{name}.
%prep
%if 0%{?git_snapshot}
-%setup -q -n %{name}-%{commit}
+%autosetup -p1 -n %{name}-%{commit}
%else
-%setup -q -n %{name}-%{version}
+%autosetup -p1 -n %{name}-%{version}
%endif