[Lunar-commits] <moonbase> flash-plugin-11: new flash v11 - 3D flash and OpenGL rendering
Zbigniew Luszpinski
zbiggy at lunar-linux.org
Sat Mar 5 01:32:07 CET 2011
commit 5938664ee27558d01869bf1889a39468279bbddc
Author: Zbigniew Luszpinski <zbiggy at lunar-linux.org>
Date: Sat Mar 5 01:32:07 2011 +0100
flash-plugin-11: new flash v11 - 3D flash and OpenGL rendering
---
web/flash-plugin-10/CONFLICTS | 1 +
web/flash-plugin-11/BUILD | 42 +++++++++++++++++++++++++++++++++++++++++
web/flash-plugin-11/CONFLICTS | 1 +
web/flash-plugin-11/DEPENDS | 4 +++
web/flash-plugin-11/DETAILS | 13 ++++++++++++
web/flash-plugin-11/PRE_BUILD | 4 +++
6 files changed, 65 insertions(+), 0 deletions(-)
diff --git a/web/flash-plugin-10/CONFLICTS b/web/flash-plugin-10/CONFLICTS
new file mode 100644
index 0000000..1671300
--- /dev/null
+++ b/web/flash-plugin-10/CONFLICTS
@@ -0,0 +1 @@
+conflicts flash-plugin-11
diff --git a/web/flash-plugin-11/BUILD b/web/flash-plugin-11/BUILD
new file mode 100644
index 0000000..e75b794
--- /dev/null
+++ b/web/flash-plugin-11/BUILD
@@ -0,0 +1,42 @@
+(
+
+ prepare_install &&
+ mkdir -p /opt/lunar/plugins &&
+ install -m755 libflashplayer.so /opt/lunar/plugins/ &&
+
+ if [ -d /usr/bin ]; then
+ install -m755 usr/bin/* /usr/bin
+ fi &&
+
+ if [ -d /usr/lib/kde4 ]; then
+ install -m755 usr/lib/kde4/* /usr/lib/kde4
+ fi &&
+
+ if [ -d /usr/share/applications ]; then
+ install -m644 usr/share/applications/* /usr/share/applications
+ fi &&
+
+ if [ -d /usr/share/icons/hicolor ]; then
+ cp -af usr/share/icons/hicolor/* /usr/share/icons/hicolor
+ fi &&
+
+ if [ -d /usr/share/kde4/services ]; then
+ install -m644 usr/share/kde4/services/* /usr/share/kde4/services
+ 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-11/CONFLICTS b/web/flash-plugin-11/CONFLICTS
new file mode 100644
index 0000000..5088d15
--- /dev/null
+++ b/web/flash-plugin-11/CONFLICTS
@@ -0,0 +1 @@
+conflicts flash-plugin-10
diff --git a/web/flash-plugin-11/DEPENDS b/web/flash-plugin-11/DEPENDS
new file mode 100644
index 0000000..e9dc2ff
--- /dev/null
+++ b/web/flash-plugin-11/DEPENDS
@@ -0,0 +1,4 @@
+depends liberation-fonts
+depends nss
+depends curl
+optional_depends libvdpau "" "" "For GPU video acceleration, currently Geforce8 and later"
diff --git a/web/flash-plugin-11/DETAILS b/web/flash-plugin-11/DETAILS
new file mode 100644
index 0000000..8690840
--- /dev/null
+++ b/web/flash-plugin-11/DETAILS
@@ -0,0 +1,13 @@
+ MODULE=flash-plugin-11
+ VERSION=11.0.0.58
+ SOURCE=flashplayer_inc_debug_lin_022711.tar.gz
+ SOURCE_URL=http://download.macromedia.com/pub/labs/flashplatformruntimes/incubator
+ SOURCE_VFY=sha1:0c123b7c7b4b5c44be972e30fa1288f0e6ff6a64
+ WEB_SITE=http://labs.adobe.com/downloads/flashplatformruntimes_incubator.html
+ ENTERED=20110305
+ UPDATED=20110305
+ SHORT="Beta Version 11 of the Adobe Flash plugin for web browsers"
+CLEAR_CACHE=off
+cat << EOF
+Beta Version 11 of the flash plugin.
+EOF
diff --git a/web/flash-plugin-11/PRE_BUILD b/web/flash-plugin-11/PRE_BUILD
new file mode 100644
index 0000000..3a98eeb
--- /dev/null
+++ b/web/flash-plugin-11/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