Projects
Essentials
flash-player
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 5
View file
flash-player.changes
Changed
@@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Wed Dec 14 15:25:03 UTC 2016 - sor.alexei@meowr.ru + +- Separate PPAPI plugin into flash-player-ppapi: merged package + creates issues for freshplayerplugin. + +------------------------------------------------------------------- Tue Dec 13 16:17:00 UTC 2016 - sor.alexei@meowr.ru - Update to version 24.0.0.186:
View file
flash-player.spec
Changed
@@ -43,9 +43,6 @@ Requires: libasound2%{?_isa} Requires: libcurl4%{?_isa} Provides: flash-plugin = %{version} -# chromium-pepper-flash was last used in openSUSE Leap 42.2. -Provides: chromium-pepper-flash = %{version} -Obsoletes: chromium-pepper-flash < %{version} # netscape-plugins was last used in SUSE Linux 8.1. Provides: netscape-plugins = %{version} Obsoletes: netscape-plugins < %{version} @@ -55,6 +52,18 @@ This package contains Adobe's Flash Plugin for the supported Web browsers in addition to a standalone flash player application. +%package ppapi +Summary: Adobe Flash PPAPI Plugin +Group: Productivity/Networking/Web/Browsers +Provides: flash-ppapi-plugin = %{version} +# chromium-pepper-flash was last used in openSUSE Leap 42.2. +Provides: chromium-pepper-flash = %{version} +Obsoletes: chromium-pepper-flash < %{version} + +%description ppapi +This package contains Adobe's Flash Plugin for the PPAPI supporting +Web browsers, like Chromium. + %package gnome Summary: Adobe Flash Plugin and Standalone Player Settings Group: Productivity/Networking/Web/Browsers @@ -105,14 +114,6 @@ %post %desktop_database_post - -CHROMIUM_CONFIG='%{_sysconfdir}/default/chromium' -if [ -f "$CHROMIUM_CONFIG" ]; then - # Add the PPAPI Flash Player path to the Chromium config file. - if [[ $(cat "$CHROMIUM_CONFIG") != *ppapi*path* ]]; then - sed -i '/CHROMIUM_FLAGS/s|"$| --ppapi-flash-path=%{_libdir}/chromium/PepperFlash/libpepflashplayer.so"|' "$CHROMIUM_CONFIG" - fi -fi %ifarch %ix86 # This is an ugly hack: flash-player hard-requires SSE2. rpm nor # zypp can limit installation to SSE2 equipped systems only. We @@ -120,7 +121,6 @@ # or install and deliberately break it. We do the second here # (boo#856386). if ( ! grep -q '^flags.*sse2' /proc/cpuinfo ); then - rm -f %{_libdir}/chromium/PepperFlash/libpepflashplayer.so rm -f %{_libdir}/browser-plugins/libflashplayer.so rm -f %{_bindir}/flashplayer echo "Flash Player requires a CPU with SSE2. It cannot work on your system." >&2 @@ -131,6 +131,16 @@ %postun %desktop_database_postun +%post ppapi +CHROMIUM_CONFIG='%{_sysconfdir}/default/chromium' +if [ -f "$CHROMIUM_CONFIG" ]; then + # Add the PPAPI Flash Player path to the Chromium config file. + if [[ $(cat "$CHROMIUM_CONFIG") != *ppapi*path* ]]; then + sed -i '/CHROMIUM_FLAGS/s|"$| --ppapi-flash-path=%{_libdir}/chromium/PepperFlash/libpepflashplayer.so"|' "$CHROMIUM_CONFIG" + fi +fi + +%postun ppapi CHROMIUM_CONFIG='%{_sysconfdir}/default/chromium' # Remove the PPAPI Flash Player path from the Chromium config file. if [ -f "$CHROMIUM_CONFIG" ]; then @@ -149,13 +159,17 @@ %defattr(-,root,root) %doc LGPL/ license.pdf readme.txt %{_bindir}/flashplayer -%dir %{_libdir}/chromium/ -%{_libdir}/chromium/PepperFlash/ %dir %{_libdir}/browser-plugins/ %{_libdir}/browser-plugins/libflashplayer.so %{_datadir}/applications/flashplayer.desktop %{_datadir}/pixmaps/flashplayer.png +%files ppapi +%defattr(-,root,root) +%doc LGPL/ license.pdf readme.txt +%dir %{_libdir}/chromium/ +%{_libdir}/chromium/PepperFlash/ + %files gnome %defattr(-,root,root) %{_bindir}/flash-player-properties
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.