mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-06 03:07:13 +08:00
Move to /extra
This commit is contained in:
parent
14cee93ac5
commit
af18b0cc2e
@ -1,39 +0,0 @@
|
||||
# maintainer abveritas@chakra-project.org
|
||||
|
||||
pkgname=flashplugin
|
||||
_licensefile='PlatformClients_PC_WWEULA_Combined_20100108_1657.pdf'
|
||||
pkgver=11.2.202.275
|
||||
pkgrel=1
|
||||
pkgdesc='Adobe Flash Player'
|
||||
url='http://labs.adobe.com/technologies/flashplatformruntimes/flashplayer11/'
|
||||
arch=('x86_64')
|
||||
depends=('mozilla-common' 'libxt' 'libxpm' 'gtk2' 'nss' 'curl')
|
||||
optdepends=('libvdpau: GPU acceleration on Nvidia card')
|
||||
conflicts=('flashplugin')
|
||||
provides=('flashplayer' 'flashplugin')
|
||||
license=('custom')
|
||||
options=(!strip)
|
||||
install='flashplugin.install'
|
||||
backup=('etc/adobe/mms.cfg')
|
||||
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=('d0a35620a3e54f6fa9e4c64b7c3d095f'
|
||||
'94ca2aecb409abfe36494d1a7ec7591d'
|
||||
'dcd4454dc4aa8116b4d7a6c3ba159ea4')
|
||||
|
||||
package () {
|
||||
cd ${srcdir}
|
||||
install -Dm755 libflashplayer.so "${pkgdir}/usr/lib/mozilla/plugins/libflashplayer.so"
|
||||
install -Dm755 usr/lib64/kde4/kcm_adobe_flash_player.so "${pkgdir}/usr/lib/kde4/kcm_adobe_flash_player.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 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"
|
||||
}
|
@ -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
|
||||
}
|
@ -1,3 +0,0 @@
|
||||
#Hardware video decoding
|
||||
EnableLinuxHWVideoDecode=0
|
||||
|
Loading…
Reference in New Issue
Block a user