commit c17f0d1c4cc0e8474651b3cc6f6db2c84d7d2333
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Tue Aug 23 14:29:21 2022 +0100
Update to 0.8.6
.gitignore | 1 +
lightspark-0.8.5-ffmpeg45.patch | 232 ----------------------------------------
lightspark-0.8.5-gcc48.patch | 108 -------------------
lightspark.spec | 38 +++----
sources | 2 +-
5 files changed, 14 insertions(+), 367 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 56ed96a..82f600f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,4 @@ lightspark-0.7.2-20140219git.tar.bz2
/lightspark-0.8.2.tar.gz
/lightspark-0.8.3.tar.gz
/lightspark-0.8.5.tar.gz
+/lightspark-0.8.6.tar.gz
diff --git a/lightspark.spec b/lightspark.spec
index 9e17ab3..a9c87df 100644
--- a/lightspark.spec
+++ b/lightspark.spec
@@ -5,11 +5,9 @@
%global commit_short %(c=%{commit}; echo ${c:0:7})
%global date 20170422
-%undefine __cmake_in_source_build
-
Name: lightspark
-Version: 0.8.5
-Release: 7%{?git_snapshot:.%{date}git%{commit_short}}%{?dist}
+Version: 0.8.6
+Release: 1%{?git_snapshot:.%{date}git%{commit_short}}%{?dist}
Summary: An alternative Flash Player implementation
License: LGPLv3+
URL:
http://lightspark.github.io/
@@ -19,19 +17,10 @@ Source0:
https://github.com/lightspark/lightspark/archive/%{commit}.tar.g
Source0:
https://github.com/lightspark/lightspark/archive/%{version}/%{name}-%{ver...
%endif
-# Fix build on EL7 (gcc4.8)
-#
https://github.com/lightspark/lightspark/commit/4d81b0977433f52d944d89a3c...
-Patch0: lightspark-0.8.5-gcc48.patch
-# Fix build against ffmpeg 4.5
-#
https://github.com/lightspark/lightspark/commit/50297fc5f79cd88aebf7ef86a...
-#
https://github.com/lightspark/lightspark/commit/e525ae0c317e79b2eabe9d4e6...
-Patch1: lightspark-0.8.5-ffmpeg45.patch
-
-BuildRequires: cmake3
+BuildRequires: cmake
BuildRequires: desktop-file-utils
BuildRequires: ffmpeg-devel
BuildRequires: gcc-c++
-BuildRequires: gettext
BuildRequires: glew-devel >= 1.5.4
BuildRequires: gtkglext-devel
BuildRequires: libcurl-devel
@@ -40,7 +29,6 @@ BuildRequires: libjpeg-turbo-devel
BuildRequires: librtmp-devel
BuildRequires: nasm
BuildRequires: ncurses-devel
-BuildRequires: pcre-devel
BuildRequires: SDL2-devel
BuildRequires: SDL2_mixer-devel
BuildRequires: xz-devel
@@ -57,7 +45,6 @@ Lightspark features:
modern hardware. Designed from scratch after the official Flash
documentation was released.
-
%package mozilla-plugin
Summary: Mozilla compatible plugin for %{name}
Requires: mozilla-filesystem
@@ -71,36 +58,31 @@ install gnash ( without gnash-plugin ).
%package chromium-plugin
Summary: Chromium compatible plugin for %{name}
-Requires: chromium
Requires: %{name} = %{version}-%{release}
%description chromium-plugin
This is the Chromium compatible plugin for %{name}.
-
%prep
%if 0%{?git_snapshot}
%setup -q -n %{name}-%{commit}
%else
%setup -q -n %{name}-%{version}
-%patch0 -p1 -b .gcc48
-%patch1 -p1 -b .ffmpeg45
%endif
%build
-%cmake3 \
+%cmake \
-DPLUGIN_DIRECTORY="%{_libdir}/mozilla/plugins" \
-DPPAPI_PLUGIN_DIRECTORY="%{_libdir}/chromium-browser/PepperFlash/" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
%{?with_tightspark: -DCOMPILE_TIGHTSPARK=1}
-%cmake3_build
+%cmake_build
%install
-%cmake3_install
-%find_lang %{name}
+%cmake_install
%if %{with tightspark}
pushd %{buildroot}%{_datadir}/man/man1
@@ -114,7 +96,7 @@ rm %{buildroot}%{_libdir}/%{name}/lib%{name}.so
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
-%files -f %{name}.lang
+%files
%license COPYING COPYING.LESSER
%doc ChangeLog
%config(noreplace) %{_sysconfdir}/xdg/lightspark.conf
@@ -132,11 +114,15 @@ desktop-file-validate
%{buildroot}%{_datadir}/applications/%{name}.desktop
%files chromium-plugin
%license COPYING COPYING.LESSER
+%dir %{_libdir}/chromium-browser/
+%dir %{_libdir}/chromium-browser/PepperFlash/
%{_libdir}/chromium-browser/PepperFlash/libpepflashplayer.so
%{_libdir}/chromium-browser/PepperFlash/manifest.json
-
%changelog
+* Tue Aug 23 2022 Leigh Scott <leigh123linux(a)gmail.com> - 0.8.6-1
+- Update to 0.8.6
+
* Sun Aug 07 2022 RPM Fusion Release Engineering <sergiomb(a)rpmfusion.org> -
0.8.5-7
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild and ffmpeg
5.1
diff --git a/sources b/sources
index 467ebc4..fa50ff7 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (lightspark-0.8.5.tar.gz) =
79e78925f9132b2c6044e4abf326d768c8d45509f85d9123e3dd172b2769772567223676fa7c8ea4d08bc541e9aa7a2b2d5a1062ff9f3a6274234af8798ee11b
+SHA512 (lightspark-0.8.6.tar.gz) =
fbe568141c59ae660b62a7d1c38fae8039bd258c4822492b77274422789e9ea7f10805c9c0a9f54c91e437ce4605cc2bf4fca9d2879bbf1f2f3053d47b19f850