Commit 8ab1ba4c authored by abveritas's avatar abveritas

flashplugin 32bit update to 10.2

parent 7c396c22
......@@ -9,25 +9,33 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=flashplugin
_licensefile='Reader_Player_AIR_WWEULA-Combined-20080204_1313.pdf'
pkgver=10.1.102.65
pkgver=10.2.152.27
_pkgver64=10.0.45.2
pkgrel=1
pkgdesc='Adobe Flash Player'
url='http://get.adobe.com/flashplayer'
arch=('i686' 'x86_64')
arch=('i686') # 'x86_64')
depends=('mozilla-common' 'libxt' 'gtk2' 'nss' 'curl')
optdepends=('libvdpau: GPU acceleration on Nvidia card')
replaces=('flashplugin-beta')
provides=('flashplayer')
license=('custom')
options=(!strip)
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}")
md5sums=('f628237fc297db061a582c42b639871a'
'1636037610ee2aa35c5fb736a697b7e0')
[ "${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'
"http://www.adobe.com/products/eulas/pdfs/${_licensefile}"
mms.cfg)
md5sums=('e9fc57403796a4992474e4f25857ca14'
'1636037610ee2aa35c5fb736a697b7e0'
'f34aae6279b40e0bd2abfb0d9963d7b8')
#[ "${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/ || return 1
install -m755 ${srcdir}/libflashplayer.so ${pkgdir}/usr/lib/mozilla/plugins/ || return 1
install -d -m755 ${pkgdir}/usr/share/licenses/${pkgname}/ || return 1
install -m644 "${_licensefile}" ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.pdf || return 1
}
\ No newline at end of file
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}/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
}
post_install() {
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)" -lt 0 ]; then
post_install $1
fi
}
\ No newline at end of file
#Hardware video decoding
#EnableLinuxHWVideoDecode=1
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