2013-04-30 05:13:21 +08:00
|
|
|
pkgname=flashplugin
|
|
|
|
_licensefile='PlatformClients_PC_WWEULA_Combined_20100108_1657.pdf'
|
2014-11-27 03:58:55 +08:00
|
|
|
pkgver=11.2.202.424
|
2014-07-10 03:41:54 +08:00
|
|
|
pkgrel=1
|
2013-04-30 05:13:21 +08:00
|
|
|
pkgdesc='Adobe Flash Player'
|
|
|
|
url='http://labs.adobe.com/technologies/flashplatformruntimes/flashplayer11/'
|
|
|
|
arch=('x86_64')
|
2013-11-11 02:40:09 +08:00
|
|
|
depends=('mozilla-common' 'libxt' 'libxpm' 'gtk2' 'nss' 'curl')
|
2013-04-30 05:13:21 +08:00
|
|
|
optdepends=('libvdpau: GPU acceleration on Nvidia card')
|
|
|
|
provides=('flashplayer')
|
|
|
|
license=('custom')
|
|
|
|
options=(!strip)
|
|
|
|
install='flashplugin.install'
|
2014-05-14 23:27:54 +08:00
|
|
|
backup=('etc/adobe/mms.cfg')
|
2013-11-14 06:15:43 +08:00
|
|
|
source=("flashplugin-${pkgver}::http://fpdownload.macromedia.com/get/flashplayer/pdc/$pkgver/install_flash_player_11_linux.x86_64.tar.gz"
|
2013-04-30 05:13:21 +08:00
|
|
|
"http://www.adobe.com/products/eulas/pdfs/${_licensefile}"
|
2014-06-12 08:37:32 +08:00
|
|
|
'mms.cfg' 'kcm.patch')
|
2014-11-27 03:58:55 +08:00
|
|
|
md5sums=('191d3b5dcec03e7eb4c66750e28af1aa'
|
2013-04-30 05:13:21 +08:00
|
|
|
'94ca2aecb409abfe36494d1a7ec7591d'
|
2014-06-12 08:37:32 +08:00
|
|
|
'f34aae6279b40e0bd2abfb0d9963d7b8'
|
|
|
|
'798f7d43ed8c0a35e984e51f61b6a1e6')
|
|
|
|
prepare() {
|
|
|
|
patch -Np1 ${srcdir}/usr/share/kde4/services/kcm_adobe_flash_player.desktop kcm.patch
|
|
|
|
}
|
2013-04-30 05:13:21 +08:00
|
|
|
|
|
|
|
package () {
|
|
|
|
cd ${srcdir}
|
2013-04-30 06:38:05 +08:00
|
|
|
|
2014-05-14 23:27:54 +08:00
|
|
|
msg "Plugin installation"
|
2013-11-11 02:40:09 +08:00
|
|
|
install -Dm755 libflashplayer.so "${pkgdir}/usr/lib/mozilla/plugins/libflashplayer.so"
|
|
|
|
install -Dm644 "${_licensefile}" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.pdf"
|
2013-12-21 17:08:57 +08:00
|
|
|
install -Dm644 mms.cfg "${pkgdir}/etc/adobe/mms.cfg"
|
2013-11-11 02:40:09 +08:00
|
|
|
install -Dm755 usr/bin/flash-player-properties "${pkgdir}/usr/bin/flash-player-properties"
|
|
|
|
install -Dm644 usr/share/applications/flash-player-properties.desktop "${pkgdir}/usr/share/applications/flash-player-properties.desktop"
|
2013-05-01 02:50:59 +08:00
|
|
|
for i in 16x16 22x22 24x24 32x32 48x48; do
|
|
|
|
install -Dm644 usr/share/icons/hicolor/${i}/apps/flash-player-properties.png \
|
2013-11-11 02:40:09 +08:00
|
|
|
"${pkgdir}/usr/share/icons/hicolor/${i}/apps/flash-player-properties.png"
|
2013-05-01 02:50:59 +08:00
|
|
|
done
|
2013-05-01 01:12:37 +08:00
|
|
|
|
2014-05-14 23:27:54 +08:00
|
|
|
msg 'KCM install in /usr'
|
2013-04-30 06:38:05 +08:00
|
|
|
install -Dm755 usr/lib64/kde4/kcm_adobe_flash_player.so "${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"
|
2013-04-30 05:13:21 +08:00
|
|
|
}
|
2014-05-14 23:27:54 +08:00
|
|
|
|