2009-10-12 23:39:15 +00:00
|
|
|
# Template file for 'adobe-flash-plugin'
|
|
|
|
pkgname=adobe-flash-plugin
|
2011-07-13 23:12:30 +00:00
|
|
|
_distver=071311
|
|
|
|
version=11.beta1.${_distver}
|
2010-10-24 10:03:31 +00:00
|
|
|
#revision=1
|
2009-11-17 19:11:51 +00:00
|
|
|
# The EULA file
|
|
|
|
_eula="http://www.adobe.com/products/eulas/pdfs/Reader_Player_WWEULA-Combined-20060724_1430.pdf"
|
|
|
|
_eulacksum=986c3ddacfee18946fbef7b76485922f8f36e61f790776ce82a87afff3008427
|
2009-10-12 23:39:15 +00:00
|
|
|
if [ "$xbps_machine" = "x86_64" ]; then
|
2009-12-20 21:06:38 +00:00
|
|
|
# There is no x86_64 version for 10.1beta yet.
|
2011-07-13 23:12:30 +00:00
|
|
|
_disttarball="http://download.macromedia.com/pub/labs/flashplatformruntimes/flashplayer11"
|
|
|
|
_disttarball="${_disttarball}/flashplayer11_b1_install_lin_64_${_distver}.tar.gz"
|
|
|
|
_distcksum=46dc0573bdfedc73edf2296be33fb9bfbb6e3238b54438f5b2d91d8ffe82b635
|
2009-10-12 23:39:15 +00:00
|
|
|
else
|
2009-11-17 19:11:51 +00:00
|
|
|
_disttarball="http://download.macromedia.com/pub/labs/flashplayer10"
|
2011-02-14 08:22:56 +00:00
|
|
|
_disttarball="${_disttarball}/flashplayer10_2_p3_32bit_linux_${_distver}.tar.gz"
|
2010-10-24 10:03:31 +00:00
|
|
|
_distcksum=9d821c3619a0a7f1f5769d6a7c57684d83a1c565896c354f9fcd7fb3f3620eec
|
2009-10-12 23:39:15 +00:00
|
|
|
fi
|
2009-11-17 19:11:51 +00:00
|
|
|
distfiles="${_eula} ${_disttarball}"
|
|
|
|
checksum="${_eulacksum} ${_distcksum}"
|
2009-10-12 23:39:15 +00:00
|
|
|
noextract=yes
|
|
|
|
build_style=custom-install
|
|
|
|
short_desc="Adobe Flash Player plugin"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
long_desc="
|
|
|
|
This is the Adobe Flash Player plugin for Netscape compatible browsers."
|
|
|
|
|
2010-05-12 05:37:44 +00:00
|
|
|
Add_dependency run libgcc
|
2010-01-11 16:30:28 +00:00
|
|
|
Add_dependency run glibc
|
2010-05-12 05:37:44 +00:00
|
|
|
Add_dependency run libstdc++
|
2010-01-11 16:30:28 +00:00
|
|
|
Add_dependency run libX11
|
|
|
|
Add_dependency run libXext
|
|
|
|
Add_dependency run libXt
|
|
|
|
Add_dependency run freetype
|
|
|
|
Add_dependency run fontconfig
|
2010-10-24 10:03:31 +00:00
|
|
|
Add_dependency run gdk-pixbuf
|
2010-01-11 16:30:28 +00:00
|
|
|
Add_dependency run gtk+
|
|
|
|
Add_dependency run atk
|
|
|
|
Add_dependency run pango
|
|
|
|
Add_dependency run cairo
|
|
|
|
Add_dependency run glib
|
|
|
|
Add_dependency run nss
|
|
|
|
Add_dependency run nspr
|
2010-05-12 05:37:44 +00:00
|
|
|
Add_dependency run libcurl
|
|
|
|
|
2010-01-11 16:30:28 +00:00
|
|
|
Add_dependency build libXext-devel
|
|
|
|
Add_dependency build libXt-devel
|
|
|
|
Add_dependency build gtk+-devel
|
|
|
|
Add_dependency build nss-devel
|
2010-05-12 05:37:44 +00:00
|
|
|
Add_dependency build libcurl-devel
|
2009-10-12 23:39:15 +00:00
|
|
|
|
|
|
|
do_install()
|
|
|
|
{
|
2011-07-13 23:12:30 +00:00
|
|
|
tar xfz "${XBPS_SRCDISTDIR}/$(basename ${_disttarball})"
|
2009-12-20 21:06:38 +00:00
|
|
|
if [ "${xbps_machine}" = "x86_64" ]; then
|
2011-07-13 23:12:30 +00:00
|
|
|
vinstall libflashplayer.so 755 usr/lib/mozilla/plugins
|
2009-12-20 21:06:38 +00:00
|
|
|
else
|
2011-07-13 23:12:30 +00:00
|
|
|
vinstall install_flash_player_10_linux/libflashplayer.so 755 \
|
|
|
|
usr/lib/mozilla/plugins
|
2009-12-20 21:06:38 +00:00
|
|
|
fi
|
2011-07-13 23:12:30 +00:00
|
|
|
vinstall "${XBPS_SRCDISTDIR}/$(basename ${_eula})" 644 \
|
|
|
|
usr/share/doc/${pkgname}
|
2009-10-12 23:39:15 +00:00
|
|
|
}
|