Commit ee14453d authored by Jeff Huang's avatar Jeff Huang 🤔

[skip-ci] flashplugin: update to 31.0.0.148

parent 02ed5be7
Pipeline #1763 skipped
pkgname=flashplugin
pkgver=31.0.0.122
pkgver=31.0.0.148
pkgrel=1
pkgdesc='Adobe Flash Player'
url='https://get.adobe.com/flashplayer/'
......@@ -13,14 +13,9 @@ options=(!strip)
install='flashplugin.install'
backup=('etc/adobe/mms.cfg')
source=("flash_player_npapi_linux_$pkgver.x86_64.tar.gz::https://fpdownload.adobe.com/get/flashplayer/pdc/$pkgver/flash_player_npapi_linux.x86_64.tar.gz"
'mms.cfg' 'kcm.patch')
md5sums=('471ead8a7bb4a9841489aea94c3b624f'
'f34aae6279b40e0bd2abfb0d9963d7b8'
'798f7d43ed8c0a35e984e51f61b6a1e6')
prepare() {
patch -Np1 ${srcdir}/usr/share/kde4/services/kcm_adobe_flash_player.desktop kcm.patch
}
'mms.cfg')
md5sums=('60670fe9b32446fdbd93756e3525628e'
'f34aae6279b40e0bd2abfb0d9963d7b8')
package () {
cd ${srcdir}
......@@ -35,9 +30,4 @@ package () {
install -Dm644 usr/share/icons/hicolor/${i}/apps/flash-player-properties.png \
"${pkgdir}/usr/share/icons/hicolor/${i}/apps/flash-player-properties.png"
done
msg 'KCM install in /usr'
install -Dm755 usr/lib64/kde4/kcm_adobe_flash_player.so "${pkgdir}/usr/lib/kde4/kcm_adobe_flash_player.so"
chrpath -d "$pkgdir/usr/lib/kde4/kcm_adobe_flash_player.so"
install -Dm644 usr/share/kde4/services/kcm_adobe_flash_player.desktop "${pkgdir}/usr/share/kde4/services/kcm_adobe_flash_player.desktop"
}
post_install() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
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 -U 3 -B -d -t -r -- old/kcm_adobe_flash_player.desktop new/kcm_adobe_flash_player.desktop
--- old/kcm_adobe_flash_player.desktop 2014-05-28 07:54:24.000000000 +0800
+++ new/kcm_adobe_flash_player.desktop 2014-06-12 08:31:54.234504563 +0800
@@ -8,7 +8,7 @@
X-KDE-Library=kcm_adobe_flash_player
X-KDE-ParentApp=kcontrol
-X-KDE-System-Settings-Parent-Category=personal
+X-KDE-System-Settings-Parent-Category=network-and-connectivity
X-KDE-Weight=10
Name=Adobe Flash Player
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment