adobe-flash-plugin: update to 11.0.1.152.
This commit is contained in:
parent
880b49ece5
commit
f6c5ee85d9
1 changed files with 25 additions and 18 deletions
|
@ -1,20 +1,16 @@
|
|||
# Template file for 'adobe-flash-plugin'
|
||||
pkgname=adobe-flash-plugin
|
||||
_distver=080811
|
||||
version=11.beta2.${_distver}
|
||||
#revision=1
|
||||
version=11.0.1.152
|
||||
# The EULA file
|
||||
_eula="http://www.adobe.com/products/eulas/pdfs/Reader_Player_WWEULA-Combined-20060724_1430.pdf"
|
||||
_eulacksum=986c3ddacfee18946fbef7b76485922f8f36e61f790776ce82a87afff3008427
|
||||
_eula="http://www.adobe.com/products/eulas/pdfs/PlatformClients_PC_WWEULA_Combined_20100108_1657.pdf"
|
||||
_eulacksum=3cb0a5f4576be735abcff7189ed18eda17c70b762c3a78a3379b6f44395fbc10
|
||||
if [ "$xbps_machine" = "x86_64" ]; then
|
||||
# There is no x86_64 version for 10.1beta yet.
|
||||
_disttarball="http://download.macromedia.com/pub/labs/flashplatformruntimes/flashplayer11"
|
||||
_disttarball="${_disttarball}/flashplayer11_b2_install_lin_64_${_distver}.tar.gz"
|
||||
_distcksum=5b2d8c3744031adad49121c959f2e899cbca2e91592c6773b1ba61d0ff2bafd1
|
||||
_disttarball="http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_11_linux.x86_64.tar.gz"
|
||||
_distcksum=5756a4ac9811e0362da2b0c208a458b417883e9f9c3773c70e61c935609b64dc
|
||||
else
|
||||
_disttarball="http://download.macromedia.com/pub/labs/flashplatformruntimes/flashplayer11"
|
||||
_disttarball="${_disttarball}/flashplayer11_b2_install_lin_32_${_distver}.tar.gz"
|
||||
_distcksum=9d821c3619a0a7f1f5769d6a7c57684d83a1c565896c354f9fcd7fb3f3620eec
|
||||
_disttarball="http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_11_linux.i386.tar.gz"
|
||||
_distcksum=3532ee49eda0845597084a805e11985f9fd9c5f7b5b72f592ceb18529da918c1
|
||||
fi
|
||||
distfiles="${_eula} ${_disttarball}"
|
||||
checksum="${_eulacksum} ${_distcksum}"
|
||||
|
@ -25,6 +21,8 @@ maintainer="Juan RP <xtraeme@gmail.com>"
|
|||
long_desc="
|
||||
This is the Adobe Flash Player plugin for Netscape compatible browsers."
|
||||
|
||||
gtk_iconcache_dirs="/usr/share/icons/hicolor"
|
||||
|
||||
Add_dependency run libgcc
|
||||
Add_dependency run glibc
|
||||
Add_dependency run libstdc++
|
||||
|
@ -43,6 +41,9 @@ Add_dependency run nss
|
|||
Add_dependency run nspr
|
||||
Add_dependency run libcurl
|
||||
|
||||
Add_dependency run hicolor-icon-theme
|
||||
Add_dependency run desktop-file-utils
|
||||
|
||||
Add_dependency build libXext-devel
|
||||
Add_dependency build libXt-devel
|
||||
Add_dependency build gtk+-devel
|
||||
|
@ -52,12 +53,18 @@ Add_dependency build libcurl-devel
|
|||
do_install()
|
||||
{
|
||||
tar xfz "${XBPS_SRCDISTDIR}/$(basename ${_disttarball})"
|
||||
if [ "${xbps_machine}" = "x86_64" ]; then
|
||||
vinstall libflashplayer.so 755 usr/lib/mozilla/plugins
|
||||
else
|
||||
vinstall install_flash_player_10_linux/libflashplayer.so 755 \
|
||||
usr/lib/mozilla/plugins
|
||||
fi
|
||||
|
||||
vinstall libflashplayer.so 755 usr/lib/mozilla/plugins
|
||||
#vinstall usr/lib/kde4/kcm_adobe_flash_player.so 755 usr/lib/kde4
|
||||
vinstall usr/bin/flash-player-properties 755 usr/bin
|
||||
for i in 16x16 22x22 24x24 32x32 48x48; do
|
||||
vinstall usr/share/icons/hicolor/${i}/apps/flash-player-properties.png \
|
||||
644 usr/share/icons/hicolor/${i}/apps
|
||||
done
|
||||
vinstall usr/share/applications/flash-player-properties.desktop 644 \
|
||||
usr/share/applications
|
||||
vinstall usr/share/kde4/services/kcm_adobe_flash_player.desktop 644 \
|
||||
usr/share/kde4/services
|
||||
vinstall "${XBPS_SRCDISTDIR}/$(basename ${_eula})" 644 \
|
||||
usr/share/doc/${pkgname}
|
||||
usr/share/doc/${pkgname} LICENSE.pdf
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue