summaryrefslogtreecommitdiffstats
path: root/abs/extra/community/flashplugin
diff options
context:
space:
mode:
authorCecil <knoppmyth@gmail.com>2011-07-05 05:41:46 (GMT)
committerCecil <knoppmyth@gmail.com>2011-07-05 05:41:46 (GMT)
commit582c1d203716334f82667e58009682317c3fbe32 (patch)
tree586c76f179366ad8d30bd53df9a950006ea11bc3 /abs/extra/community/flashplugin
parentd5aa0faaa679be890c07682f7db510a0d0736918 (diff)
downloadlinhes_pkgbuild-582c1d203716334f82667e58009682317c3fbe32.zip
linhes_pkgbuild-582c1d203716334f82667e58009682317c3fbe32.tar.gz
linhes_pkgbuild-582c1d203716334f82667e58009682317c3fbe32.tar.bz2
flashplugin:Bumped to latest.
Diffstat (limited to 'abs/extra/community/flashplugin')
-rw-r--r--abs/extra/community/flashplugin/PKGBUILD34
-rw-r--r--abs/extra/community/flashplugin/__changelog2
-rw-r--r--abs/extra/community/flashplugin/flashplugin.install1
3 files changed, 18 insertions, 19 deletions
diff --git a/abs/extra/community/flashplugin/PKGBUILD b/abs/extra/community/flashplugin/PKGBUILD
index c7d785d..7420bea 100644
--- a/abs/extra/community/flashplugin/PKGBUILD
+++ b/abs/extra/community/flashplugin/PKGBUILD
@@ -3,15 +3,13 @@
pkgname=flashplugin
_licensefile='Reader_Player_AIR_WWEULA-Combined-20080204_1313.pdf'
-pkgver=10.2.152.27
-_pkgver64=10.0.45.2
-pkgrel=5
+pkgver=10.3.181.34
+pkgrel=1
pkgdesc='Adobe Flash Player'
url='http://get.adobe.com/flashplayer'
arch=('i686') # 'x86_64')
-depends=('mozilla-common' 'libxt' 'gtk2' 'nss' 'curl')
+depends=('mozilla-common' 'libxt' 'gtk2' 'nss' 'curl' 'hicolor-icon-theme')
optdepends=('libvdpau: GPU acceleration on Nvidia card')
-replaces=('flashplugin-beta')
provides=('flashplayer')
license=('custom')
options=(!strip)
@@ -20,17 +18,19 @@ backup=(etc/adobe/mms.cfg)
source=('http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_10_linux.tar.gz'
"http://www.adobe.com/products/eulas/pdfs/${_licensefile}"
mms.cfg)
-#[ "${CARCH}" = "x86_64" ] && source[0]="http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-${_pkgver64}.linux-${CARCH}.so.tar.gz"
-#[ "${CARCH}" = "x86_64" ] && md5sums[0]='4a4561e456612a6751653b58342d53df'
-
-build() {
- install -d -m755 ${pkgdir}/usr/lib/mozilla/plugins/
- install -d -m755 ${pkgdir}/usr/share/licenses/${pkgname}/
- install -d -m755 ${pkgdir}/etc/adobe
- install -m755 ${srcdir}/install_flash_player_10_linux/libflashplayer.so ${pkgdir}/usr/lib/mozilla/plugins/
- install -m644 "${_licensefile}" ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.pdf
- install -m644 ${srcdir}/mms.cfg ${pkgdir}/etc/adobe/mms.cfg
-}
-md5sums=('e9fc57403796a4992474e4f25857ca14'
+md5sums=('26770108412158b710e633b06a71ca25'
'1636037610ee2aa35c5fb736a697b7e0'
'f34aae6279b40e0bd2abfb0d9963d7b8')
+
+package () {
+ cd ${srcdir}
+ install -Dm755 libflashplayer.so "${pkgdir}/usr/lib/mozilla/plugins/libflashplayer.so"
+ 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 "${_licensefile}" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.pdf"
+ install -Dm644 ${srcdir}/mms.cfg "${pkgdir}/etc/adobe/mms.cfg"
+}
diff --git a/abs/extra/community/flashplugin/__changelog b/abs/extra/community/flashplugin/__changelog
deleted file mode 100644
index 514d92d..0000000
--- a/abs/extra/community/flashplugin/__changelog
+++ /dev/null
@@ -1,2 +0,0 @@
-2/18/11 - chw - Correct path for libflashplugin.so (didn't have install_flash_player_10_linx dir).
-
diff --git a/abs/extra/community/flashplugin/flashplugin.install b/abs/extra/community/flashplugin/flashplugin.install
index 0cc1e2f..8018fcb 100644
--- a/abs/extra/community/flashplugin/flashplugin.install
+++ b/abs/extra/community/flashplugin/flashplugin.install
@@ -1,4 +1,5 @@
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."