[Lunar-commits] <moonbase> flash-plugin-beta: future flash plugin - multithreaded video
Zbigniew Luszpinski
zbiggy at lunar-linux.org
Sun Oct 30 10:37:05 CET 2011
commit 73a656f9ec933484b04abcc3769e9675e208449a
Author: Zbigniew Luszpinski <zbiggy at lunar-linux.org>
Date: Sun Oct 30 10:37:05 2011 +0100
flash-plugin-beta: future flash plugin - multithreaded video
---
web/flash-plugin-beta/BUILD | 31 +++++++++++++++++++++++++++++++
web/flash-plugin-beta/CONFLICTS | 1 +
web/flash-plugin-beta/DEPENDS | 5 +++++
web/flash-plugin-beta/DETAILS | 20 ++++++++++++++++++++
web/flash-plugin-beta/DETAILS.x86_64 | 20 ++++++++++++++++++++
web/flash-plugin-beta/PRE_BUILD | 4 ++++
6 files changed, 81 insertions(+), 0 deletions(-)
diff --git a/web/flash-plugin-beta/BUILD b/web/flash-plugin-beta/BUILD
new file mode 100644
index 0000000..ced3cbd
--- /dev/null
+++ b/web/flash-plugin-beta/BUILD
@@ -0,0 +1,31 @@
+(
+
+ # This only applies if you do not have kdelibs4/Qt4 installed.
+# if ! module_installed kdelibs4 ; then
+# rm -rf usr/lib/kde4 usr/share/kde4
+# fi &&
+
+ prepare_install &&
+ install -Dm755 libflashplayer.so /opt/lunar/plugins/libflashplayer.so &&
+# cp -af usr / &&
+
+# if [ -x /usr/bin/gtk-update-icon-cache -a -f /usr/share/icons/hicolor/index.theme ]; then
+# gtk-update-icon-cache -f /usr/share/icons/hicolor
+# fi &&
+
+ # Enable 3D acceleration using OpenGL
+ if ! grep -q OverrideGPUValidation /etc/adobe/mms.cfg 2>/dev/null ; then
+ # From http://www.nvnews.net/vbulletin/showthread.php?t=148409&page=7
+ mkdir -p /etc/adobe/ &&
+ echo "OverrideGPUValidation=true" >> /etc/adobe/mms.cfg
+ fi &&
+
+ if in_depends $MODULE libvdpau ; then
+ if ! grep -q EnableLinuxHWVideoDecode /etc/adobe/mms.cfg 2>/dev/null ; then
+ # From http://www.nvnews.net/vbulletin/showthread.php?t=148409&page=5
+ mkdir -p /etc/adobe/ &&
+ echo "EnableLinuxHWVideoDecode=1" >> /etc/adobe/mms.cfg
+ fi
+ fi
+
+) > $C_FIFO 2>&1
diff --git a/web/flash-plugin-beta/CONFLICTS b/web/flash-plugin-beta/CONFLICTS
new file mode 100644
index 0000000..1671300
--- /dev/null
+++ b/web/flash-plugin-beta/CONFLICTS
@@ -0,0 +1 @@
+conflicts flash-plugin-11
diff --git a/web/flash-plugin-beta/DEPENDS b/web/flash-plugin-beta/DEPENDS
new file mode 100644
index 0000000..e05fb64
--- /dev/null
+++ b/web/flash-plugin-beta/DEPENDS
@@ -0,0 +1,5 @@
+depends liberation-fonts
+depends nss
+depends curl
+
+optional_depends libvdpau "" "" "For GPU video acceleration, currently Geforce8 and later"
diff --git a/web/flash-plugin-beta/DETAILS b/web/flash-plugin-beta/DETAILS
new file mode 100644
index 0000000..526e370
--- /dev/null
+++ b/web/flash-plugin-beta/DETAILS
@@ -0,0 +1,20 @@
+ MODULE=flash-plugin-beta
+ VERSION=11.2.202.19
+ SOURCE=flashplayer11-2_p1_install_lin_32_102611.tar.gz
+ SOURCE_URL=http://download.macromedia.com/pub/labs/flashplatformruntimes/flashplayer11-2
+ SOURCE_VFY=sha1:93970860d608d6b1d3440ec78340f24e6906b9ee
+ WEB_SITE=http://www.adobe.com/products/flashplayer.html
+ ENTERED=20110305
+ UPDATED=20111030
+ SHORT="Version 11.2 of the Adobe Flash plugin for web browsers"
+
+cat << EOF
+Version 11.2 of the flash plugin.
+
+Configuration is in /etc/adobe/mms.cfg
+
+To show the version, run:
+ strings /opt/lunar/plugins/libflashplayer.so | grep FlashPlayer_
+ or visit the webpage:
+ http://www.adobe.com/software/flash/about/
+EOF
diff --git a/web/flash-plugin-beta/DETAILS.x86_64 b/web/flash-plugin-beta/DETAILS.x86_64
new file mode 100644
index 0000000..3139691
--- /dev/null
+++ b/web/flash-plugin-beta/DETAILS.x86_64
@@ -0,0 +1,20 @@
+ MODULE=flash-plugin-beta
+ VERSION=11.2.202.19
+ SOURCE=flashplayer11-2_p1_install_lin_64_102611.tar.gz
+ SOURCE_URL=http://download.macromedia.com/pub/labs/flashplatformruntimes/flashplayer11-2
+ SOURCE_VFY=sha1:11c6ebda4d168f94ebb305796363b6556e647a5d
+ WEB_SITE=http://www.adobe.com/products/flashplayer.html
+ ENTERED=20110305
+ UPDATED=20111030
+ SHORT="Version 11.2 of the Adobe Flash plugin for web browsers"
+
+cat << EOF
+Version 11.2 of the flash plugin.
+
+Configuration is in /etc/adobe/mms.cfg
+
+To show the version, run:
+ strings /opt/lunar/plugins/libflashplayer.so | grep FlashPlayer_
+ or visit the webpage:
+ http://www.adobe.com/software/flash/about/
+EOF
diff --git a/web/flash-plugin-beta/PRE_BUILD b/web/flash-plugin-beta/PRE_BUILD
new file mode 100644
index 0000000..3a98eeb
--- /dev/null
+++ b/web/flash-plugin-beta/PRE_BUILD
@@ -0,0 +1,4 @@
+mk_source_dir &&
+validate_source_dir &&
+cd $SOURCE_DIRECTORY &&
+unpack $SOURCE
More information about the Lunar-commits
mailing list