adobe-flash-plugin: update to 11 beta1 for x86_64.
This commit is contained in:
parent
254d01de11
commit
2edb5d3333
1 changed files with 11 additions and 26 deletions
|
@ -1,16 +1,16 @@
|
|||
# Template file for 'adobe-flash-plugin'
|
||||
pkgname=adobe-flash-plugin
|
||||
_distver=111710
|
||||
version=10.2p3_${_distver}
|
||||
_distver=071311
|
||||
version=11.beta1.${_distver}
|
||||
#revision=1
|
||||
# The EULA file
|
||||
_eula="http://www.adobe.com/products/eulas/pdfs/Reader_Player_WWEULA-Combined-20060724_1430.pdf"
|
||||
_eulacksum=986c3ddacfee18946fbef7b76485922f8f36e61f790776ce82a87afff3008427
|
||||
if [ "$xbps_machine" = "x86_64" ]; then
|
||||
# There is no x86_64 version for 10.1beta yet.
|
||||
_disttarball="http://download.macromedia.com/pub/labs/flashplayer10"
|
||||
_disttarball="${_disttarball}/flashplayer10_2_p3_64bit_linux_${_distver}.tar.gz"
|
||||
_distcksum=ef05f679f8977144621560587ffdf9bc81812e9941dea422e977070c9cd05ff0
|
||||
_disttarball="http://download.macromedia.com/pub/labs/flashplatformruntimes/flashplayer11"
|
||||
_disttarball="${_disttarball}/flashplayer11_b1_install_lin_64_${_distver}.tar.gz"
|
||||
_distcksum=46dc0573bdfedc73edf2296be33fb9bfbb6e3238b54438f5b2d91d8ffe82b635
|
||||
else
|
||||
_disttarball="http://download.macromedia.com/pub/labs/flashplayer10"
|
||||
_disttarball="${_disttarball}/flashplayer10_2_p3_32bit_linux_${_distver}.tar.gz"
|
||||
|
@ -43,36 +43,21 @@ Add_dependency run nss
|
|||
Add_dependency run nspr
|
||||
Add_dependency run libcurl
|
||||
|
||||
Add_dependency build libstdc++-devel
|
||||
Add_dependency build glibc-devel
|
||||
Add_dependency build libX11-devel
|
||||
Add_dependency build libXext-devel
|
||||
Add_dependency build libXt-devel
|
||||
Add_dependency build freetype-devel
|
||||
Add_dependency build fontconfig-devel
|
||||
Add_dependency build gdk-pixbuf-devel
|
||||
Add_dependency build gtk+-devel
|
||||
Add_dependency build atk-devel
|
||||
Add_dependency build pango-devel
|
||||
Add_dependency build cairo-devel
|
||||
Add_dependency build glib-devel
|
||||
Add_dependency build nss-devel
|
||||
Add_dependency build nspr-devel
|
||||
Add_dependency build libcurl-devel
|
||||
|
||||
do_install()
|
||||
{
|
||||
cd ${wrksrc} || retuyrn 1
|
||||
install -d ${DESTDIR}/usr/lib/mozilla/plugins \
|
||||
${DESTDIR}/usr/share/doc/${pkgname} || return 1
|
||||
tar xfz "${XBPS_SRCDISTDIR}/$(basename ${_disttarball})" || return 1
|
||||
tar xfz "${XBPS_SRCDISTDIR}/$(basename ${_disttarball})"
|
||||
if [ "${xbps_machine}" = "x86_64" ]; then
|
||||
install -m755 libflashplayer.so ${DESTDIR}/usr/lib/mozilla/plugins \
|
||||
|| return 1
|
||||
vinstall libflashplayer.so 755 usr/lib/mozilla/plugins
|
||||
else
|
||||
install -m755 install_flash_player_10_linux/libflashplayer.so \
|
||||
${DESTDIR}/usr/lib/mozilla/plugins || return 1
|
||||
vinstall install_flash_player_10_linux/libflashplayer.so 755 \
|
||||
usr/lib/mozilla/plugins
|
||||
fi
|
||||
install -m644 "${XBPS_SRCDISTDIR}/$(basename ${_eula})" \
|
||||
${DESTDIR}/usr/share/doc/${pkgname} || return 1
|
||||
vinstall "${XBPS_SRCDISTDIR}/$(basename ${_eula})" 644 \
|
||||
usr/share/doc/${pkgname}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue