Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=120427e18c1af38733817106ca6cd16fd0d4ed19
commit 120427e18c1af38733817106ca6cd16fd0d4ed19 Author: crazy <[email protected]> Date: Mon Nov 16 00:11:09 2015 +0100 freshplayerplugin-0.3.3-1-x86_64 * New pacckage * ppapi2npapi wrapper so is possible to use pepperflash * for firefox and other browsers * replaces flashplugin diff --git a/source/xlib/freshplayerplugin/FrugalBuild b/source/xlib/freshplayerplugin/FrugalBuild new file mode 100644 index 0000000..96ff366 --- /dev/null +++ b/source/xlib/freshplayerplugin/FrugalBuild @@ -0,0 +1,36 @@ +# Compiling Time: 0.05 SBU +# Maintainer: crazy <[email protected]> + +pkgname=freshplayerplugin +pkgver=0.3.3 +pkgrel=1 +pkgdesc="ppapi2npapi compatibility layer." +depends=('libevent' 'gtk+3' 'ffmpeg' 'libgles' 'libpulse') ## jack .. but +makedepends=('ragel' 'x11-protos') +rodepends=('chromium-flash') +groups=('xlib') +_F_github_name="$pkgname" +_F_github_author="i-rinat" +_F_github_tag_v=y +Finclude cmake github +source=("${source[@]}" freshwrapper.conf) +archs=('i686' 'x86_64') +sha1sums=('195fe1c097ac896075d0d73e71f6d08df27f97e4' \ + '2f3349d466632cd25e743e9d404a137814a293ec') +_F_cmake_confopts+=" -DWITH_GTK=3" + +replaces=('flashplugin') +provides=('flashplugin') +conflicts=('flashplugin') + + +build() { + + CMake_make ## make install missing + Fmkdir usr/lib/mozilla/plugins + Ffile freshwrapper.conf /etc/freshwrapper.conf + Fcprel libfreshwrapper-flashplayer.so \ + /usr/lib/mozilla/plugins/libfreshwrapper-flashplayer.so +} + +# optimization OK diff --git a/source/xlib/freshplayerplugin/freshwrapper.conf b/source/xlib/freshplayerplugin/freshwrapper.conf new file mode 100644 index 0000000..512f6a3 --- /dev/null +++ b/source/xlib/freshplayerplugin/freshwrapper.conf @@ -0,0 +1,100 @@ +# Configuration options for FreshPlayerPlugin + +# This configuration file is optional. Wrapper will search for it first +# in ~/.config/freshwrapper.conf, then in /etc/freshwrapper.conf. +# If wrapper fails to find configuration, it will use default values, +# which you can find below + +# Audio buffer is used to continuously provide sound adapter with data. +# Values too low may lead to buffer underruns and stuttering. Values +# too high will lead to noticeable latency. Usually plugin selects size +# on its own, but you may override bounds here + +# lower bound for audio buffer size, in milliseconds +audio_buffer_min_ms = 20 + +# higher bound of audio buffer size, in milliseconds +audio_buffer_max_ms = 500 + +# output sound through JACK. If enabled, only JACK will be tried, and if +# your machine doesn't have it, there would be no sound, and no sync +audio_use_jack = 0 + +# whenever to automatically connect application ports to system ones. +# If you set this to one, no sound would be produces until you make +# connection some way +jack_autoconnect_ports = 1 + +# JACK server name. Omit the option to use default value +# +# jack_server_name = "default" + +# starts JACK server on demand +jack_autostart_server = 1 + +# Path to the Pepper Flash plugin. +# If the option is absent, freshwrapper will search for Pepper Flash in +# a number of location where it could be. Usually that's enough, but if +# not, you should manually enter the right path. Multiple paths could +# be specified, separated by colon. +pepperflash_path = "/usr/lib/chromium/PepperFlash/libpepflashplayer.so" + +# "Command-line" arguments for Flash +flash_command_line = "enable_hw_video_decode=1,enable_stagevideo_auto=1" + +# enable 3d and stage 3d +enable_3d = 1 + +# enable hardware-accelerated video decoding. Requires 3d to really work +enable_hwdec = 0 + +# when set to 1, limits output to warnings and errors only +quiet = 0 + +# When multiple monitors with different resolutions are used, size +# of fullscreen window can vary. But some Flash movies request these +# parameters once at startup and rely on them to be correct. By default, +# if zeros are used here, freshwrapper will select minimal width and +# height across all monitors. +fullscreen_width = 0 +fullscreen_height = 0 + +# Enables DNS query case randomization to partially protect against DNS +# poisoning attacks. It was reported that some Mikrotik routers do not +# support this trick. Set parameter to 0 if you have an affected model +randomize_dns_case = 0 + +# scaling factor (floating point value) used to convert screen pixels +# to device independent pixels. You may need it for displays with +# high DPI +device_scale = 1 + +# method org.freedesktop.ScreenSaver.SimulateUserActivity() in KDE 5 seems +# to have no effect unless GetSessionIdleTime() called afterwards. Set +# parameter to 1 to call latter +quirk_plasma5_screensaver = 0 + +# whenever to use windowed plugin mode +enable_windowed_mode = 1 + +# whenever XEmbed used in windowed mode (if browser advertises its support) +enable_xembed = 1 + +# if set to 1, fullscreen window will be kept always above browser, and hidden +# from taskbar and pager +tie_fullscreen_window_to_browser = 1 + +# enable using of VA-API for hardware accelerated video decoding +enable_vaapi = 1 + +# enable using of VDPAU for hardware accelerated video decoding +enable_vdpau = 1 + +# microseconds to wait after vsync event +vsync_afterwait_us = 0 + +# fullscreen transition delay, in milliseconds +fs_delay_ms = 300 + +# wait for vertical blank event before drawing on screen +enable_vsync = 1 _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
