From 353f7ade545f2a9c935400c479376315104961ca Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Wed, 30 Apr 2014 20:03:16 +0000
Subject: flashplugin: update to 11.2.202.356

---
 abs/extra/community/flashplugin/PKGBUILD           | 55 ----------------------
 .../community/flashplugin/flashplugin.install      | 14 ------
 abs/extra/community/flashplugin/mms.cfg            |  2 -
 abs/extra/flashplugin/PKGBUILD                     | 55 ++++++++++++++++++++++
 abs/extra/flashplugin/flashplugin.install          | 14 ++++++
 abs/extra/flashplugin/mms.cfg                      |  2 +
 6 files changed, 71 insertions(+), 71 deletions(-)
 delete mode 100644 abs/extra/community/flashplugin/PKGBUILD
 delete mode 100644 abs/extra/community/flashplugin/flashplugin.install
 delete mode 100644 abs/extra/community/flashplugin/mms.cfg
 create mode 100644 abs/extra/flashplugin/PKGBUILD
 create mode 100644 abs/extra/flashplugin/flashplugin.install
 create mode 100644 abs/extra/flashplugin/mms.cfg

diff --git a/abs/extra/community/flashplugin/PKGBUILD b/abs/extra/community/flashplugin/PKGBUILD
deleted file mode 100644
index 59f78f5..0000000
--- a/abs/extra/community/flashplugin/PKGBUILD
+++ /dev/null
@@ -1,55 +0,0 @@
-# $Id: PKGBUILD 161290 2012-06-08 23:27:45Z ibiru $
-# Maintainer : Ionut Biru <ibiru@archlinux.org>
-# Contributor: Andrea Scarpino <andrea@archlinux.org>
-
-pkgname=flashplugin
-_licensefile='PlatformClients_PC_WWEULA_Combined_20100108_1657.pdf'
-pkgver=11.2.202.236
-pkgrel=1
-pkgdesc='Adobe Flash Player'
-url='http://get.adobe.com/flashplayer'
-arch=('i686' 'x86_64')
-depends=('mozilla-common' 'libxt' 'libxpm' 'gtk2' 'nss' 'curl' 'hicolor-icon-theme')
-optdepends=('libvdpau: GPU acceleration on Nvidia card')
-provides=('flashplayer')
-license=('custom')
-options=(!strip)
-install=flashplugin.install
-backup=(etc/adobe/mms.cfg)
-
-if [ "$CARCH" = "i686" ]; then
-    source=("http://fpdownload.macromedia.com/get/flashplayer/pdc/$pkgver/install_flash_player_11_linux.i386.tar.gz"
-            "http://www.adobe.com/products/eulas/pdfs/${_licensefile}"
-            mms.cfg)
-    md5sums=('00b3dd02b9ac600272440ebadda724e1'
-             '94ca2aecb409abfe36494d1a7ec7591d'
-             'f34aae6279b40e0bd2abfb0d9963d7b8')
-elif [ "$CARCH" = "x86_64" ]; then
-    source=("http://fpdownload.macromedia.com/get/flashplayer/pdc/$pkgver/install_flash_player_11_linux.x86_64.tar.gz"
-            "http://www.adobe.com/products/eulas/pdfs/${_licensefile}"
-            mms.cfg)
-    md5sums=('f3cec2b9b38bd58f5e20f543d957bc17'
-             '94ca2aecb409abfe36494d1a7ec7591d'
-             'f34aae6279b40e0bd2abfb0d9963d7b8')
-fi
-
-package () {
-    install -Dm755 libflashplayer.so "$pkgdir/usr/lib/mozilla/plugins/libflashplayer.so"
-    if [ "$CARCH" = x86_64 ]; then
-        install -Dm755 usr/lib64/kde4/kcm_adobe_flash_player.so "$pkgdir/usr/lib/kde4/kcm_adobe_flash_player.so"
-    else
-        install -Dm755 usr/lib/kde4/kcm_adobe_flash_player.so "$pkgdir/usr/lib/kde4/kcm_adobe_flash_player.so"
-    fi
-    install -Dm755 usr/bin/flash-player-properties "$pkgdir/usr/bin/flash-player-properties"
-    for i in 16x16 22x22 24x24 32x32 48x48; do
-        install -Dm644 usr/share/icons/hicolor/$i/apps/flash-player-properties.png \
-            "$pkgdir/usr/share/icons/hicolor/$i/apps/flash-player-properties.png"
-    done
-    install -Dm644 usr/share/applications/flash-player-properties.desktop "$pkgdir/usr/share/applications/flash-player-properties.desktop"
-    install -Dm644 usr/share/kde4/services/kcm_adobe_flash_player.desktop "$pkgdir/usr/share/kde4/services/kcm_adobe_flash_player.desktop"
-    install -Dm644 "${_licensefile}" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.pdf"
-    install -Dm644 "$srcdir/mms.cfg" "$pkgdir/etc/adobe/mms.cfg"
-}
-md5sums=('f3cec2b9b38bd58f5e20f543d957bc17'
-         '94ca2aecb409abfe36494d1a7ec7591d'
-         'f34aae6279b40e0bd2abfb0d9963d7b8')
diff --git a/abs/extra/community/flashplugin/flashplugin.install b/abs/extra/community/flashplugin/flashplugin.install
deleted file mode 100644
index 8018fcb..0000000
--- a/abs/extra/community/flashplugin/flashplugin.install
+++ /dev/null
@@ -1,14 +0,0 @@
-post_install() {
-    gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
-    echo " >> "
-    echo " >> If you have an NVIDIA card that supports libvdpau or Broadcom Crystal HD chips,"
-    echo " >> uncomment EnableLinuxHWVideoDecode=1 from /etc/adobe/mms.cfg."
-    echo " >> If you run into problems, please contact nVidia or Broadcom along with your system config info / driver version."
-    echo " >> "
-}
-
-post_upgrade() {
-    if  [ "$(vercmp $2 10.2.152.27-2)" -lt 0 ]; then
-        post_install $1
-    fi
-}
diff --git a/abs/extra/community/flashplugin/mms.cfg b/abs/extra/community/flashplugin/mms.cfg
deleted file mode 100644
index 716525d..0000000
--- a/abs/extra/community/flashplugin/mms.cfg
+++ /dev/null
@@ -1,2 +0,0 @@
-#Hardware video decoding
-#EnableLinuxHWVideoDecode=1
diff --git a/abs/extra/flashplugin/PKGBUILD b/abs/extra/flashplugin/PKGBUILD
new file mode 100644
index 0000000..a4ef79c
--- /dev/null
+++ b/abs/extra/flashplugin/PKGBUILD
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer : Ionut Biru <ibiru@archlinux.org>
+# Contributor: Andrea Scarpino <andrea@archlinux.org>
+
+pkgname=flashplugin
+_licensefile='PlatformClients_PC_WWEULA_Combined_20100108_1657.pdf'
+pkgver=11.2.202.356
+pkgrel=1
+pkgdesc='Adobe Flash Player'
+url='http://get.adobe.com/flashplayer'
+arch=('i686' 'x86_64')
+depends=('mozilla-common' 'libxt' 'libxpm' 'gtk2' 'nss' 'curl' 'hicolor-icon-theme')
+optdepends=('libvdpau: GPU acceleration on Nvidia card')
+provides=('flashplayer')
+license=('custom')
+options=(!strip)
+install=flashplugin.install
+backup=(etc/adobe/mms.cfg)
+
+if [ "$CARCH" = "i686" ]; then
+    source=("http://fpdownload.macromedia.com/get/flashplayer/pdc/$pkgver/install_flash_player_11_linux.i386.tar.gz"
+            "http://www.adobe.com/products/eulas/pdfs/${_licensefile}"
+            mms.cfg)
+    md5sums=('8c197a50457c8266ca0e18fa28bd6acf'
+             '94ca2aecb409abfe36494d1a7ec7591d'
+             'f34aae6279b40e0bd2abfb0d9963d7b8')
+elif [ "$CARCH" = "x86_64" ]; then
+    source=("http://fpdownload.macromedia.com/get/flashplayer/pdc/$pkgver/install_flash_player_11_linux.x86_64.tar.gz"
+            "http://www.adobe.com/products/eulas/pdfs/${_licensefile}"
+            mms.cfg)
+    md5sums=('719258340ba34eda72495187b8148f75'
+             '94ca2aecb409abfe36494d1a7ec7591d'
+             'f34aae6279b40e0bd2abfb0d9963d7b8')
+fi
+
+package () {
+    install -Dm755 libflashplayer.so "$pkgdir/usr/lib/mozilla/plugins/libflashplayer.so"
+    if [ "$CARCH" = x86_64 ]; then
+        install -Dm755 usr/lib64/kde4/kcm_adobe_flash_player.so "$pkgdir/usr/lib/kde4/kcm_adobe_flash_player.so"
+    else
+        install -Dm755 usr/lib/kde4/kcm_adobe_flash_player.so "$pkgdir/usr/lib/kde4/kcm_adobe_flash_player.so"
+    fi
+    install -Dm755 usr/bin/flash-player-properties "$pkgdir/usr/bin/flash-player-properties"
+    for i in 16x16 22x22 24x24 32x32 48x48; do
+        install -Dm644 usr/share/icons/hicolor/$i/apps/flash-player-properties.png \
+            "$pkgdir/usr/share/icons/hicolor/$i/apps/flash-player-properties.png"
+    done
+    install -Dm644 usr/share/applications/flash-player-properties.desktop "$pkgdir/usr/share/applications/flash-player-properties.desktop"
+    install -Dm644 usr/share/kde4/services/kcm_adobe_flash_player.desktop "$pkgdir/usr/share/kde4/services/kcm_adobe_flash_player.desktop"
+    install -Dm644 "${_licensefile}" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.pdf"
+    install -Dm644 mms.cfg "$pkgdir/etc/adobe/mms.cfg"
+}
+md5sums=('719258340ba34eda72495187b8148f75'
+         '94ca2aecb409abfe36494d1a7ec7591d'
+         'f34aae6279b40e0bd2abfb0d9963d7b8')
diff --git a/abs/extra/flashplugin/flashplugin.install b/abs/extra/flashplugin/flashplugin.install
new file mode 100644
index 0000000..8018fcb
--- /dev/null
+++ b/abs/extra/flashplugin/flashplugin.install
@@ -0,0 +1,14 @@
+post_install() {
+    gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+    echo " >> "
+    echo " >> If you have an NVIDIA card that supports libvdpau or Broadcom Crystal HD chips,"
+    echo " >> uncomment EnableLinuxHWVideoDecode=1 from /etc/adobe/mms.cfg."
+    echo " >> If you run into problems, please contact nVidia or Broadcom along with your system config info / driver version."
+    echo " >> "
+}
+
+post_upgrade() {
+    if  [ "$(vercmp $2 10.2.152.27-2)" -lt 0 ]; then
+        post_install $1
+    fi
+}
diff --git a/abs/extra/flashplugin/mms.cfg b/abs/extra/flashplugin/mms.cfg
new file mode 100644
index 0000000..716525d
--- /dev/null
+++ b/abs/extra/flashplugin/mms.cfg
@@ -0,0 +1,2 @@
+#Hardware video decoding
+#EnableLinuxHWVideoDecode=1
-- 
cgit v0.12

