2009-12-21 22:07:47 +00:00
|
|
|
# Template build file for 'xulrunner'.
|
|
|
|
pkgname=xulrunner
|
2010-01-22 01:03:18 +00:00
|
|
|
_xulver=1.9.2
|
2011-03-08 15:28:13 +00:00
|
|
|
_xulpatchver=15
|
2010-10-29 10:04:40 +00:00
|
|
|
_ffver=3.6.${_xulpatchver}
|
2010-01-22 01:03:18 +00:00
|
|
|
# Current xulrunner version is available at $wrksrc/config/milestone.txt
|
2010-03-25 10:50:17 +00:00
|
|
|
if [ -n "${_xulpatchver}" ]; then
|
|
|
|
version=${_xulver}.${_xulpatchver}
|
|
|
|
else
|
|
|
|
version=${_xulver}
|
|
|
|
fi
|
2010-10-29 10:04:40 +00:00
|
|
|
#revision=1
|
2009-12-21 22:07:47 +00:00
|
|
|
wrksrc=mozilla-${_xulver}
|
|
|
|
distfiles="${MOZILLA_SITE}/firefox/releases/${_ffver}/source/firefox-${_ffver}.source.tar.bz2"
|
|
|
|
build_style=gnu_configure
|
|
|
|
configure_args="--enable-application=xulrunner --enable-libxul
|
|
|
|
--disable-crashreporter --disable-tests --disable-debug --enable-dbus
|
|
|
|
--enable-startup-notification --enable-canvas --enable-svg
|
|
|
|
--disable-mochitest --enable-strip --enable-pango --enable-optimize
|
|
|
|
--disable-embedding-tests --disable-installer --disable-oji
|
|
|
|
--disable-javaxpcom --disable-necko-wifi --disable-updater
|
|
|
|
--disable-gnomevfs --disable-gnomeui --disable-dbm --with-pthreads
|
|
|
|
--with-system-zlib --with-system-bz2 --enable-system-cairo
|
|
|
|
--with-system-png --with-system-jpeg --with-system-sqlite
|
|
|
|
--with-system-nspr --with-system-nss --enable-safe-browsing"
|
|
|
|
short_desc="XML User Interface Language runtime environment"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-03-08 15:28:13 +00:00
|
|
|
checksum=405aa411a8ddb456017564522cbb486850e34fe14485b1c31fa93fc5c750870f
|
2009-12-21 22:07:47 +00:00
|
|
|
long_desc="
|
|
|
|
XULRunner is a runtime environment for applications using the
|
|
|
|
XML User Interface Language, XUL. It is the successor of the Gecko
|
|
|
|
runtime environment"
|
|
|
|
|
|
|
|
subpackages="$pkgname-devel"
|
2010-01-11 16:18:40 +00:00
|
|
|
Add_dependency run libgcc
|
2010-10-29 09:18:57 +00:00
|
|
|
Add_dependency run glibc
|
|
|
|
Add_dependency run libstdc++
|
2010-01-11 16:18:40 +00:00
|
|
|
Add_dependency run jpeg
|
|
|
|
Add_dependency run libpng
|
|
|
|
Add_dependency run cairo
|
|
|
|
Add_dependency run freetype
|
|
|
|
Add_dependency run fontconfig
|
|
|
|
Add_dependency run libXrender
|
|
|
|
Add_dependency run libX11
|
|
|
|
Add_dependency run zlib
|
|
|
|
Add_dependency run nspr
|
|
|
|
Add_dependency run dbus-libs
|
|
|
|
Add_dependency run glib
|
|
|
|
Add_dependency run pango
|
|
|
|
Add_dependency run atk
|
|
|
|
Add_dependency run libXt
|
2010-01-22 01:03:18 +00:00
|
|
|
Add_dependency run libXext
|
2010-10-24 09:53:15 +00:00
|
|
|
Add_dependency run gdk-pixbuf
|
2009-12-21 22:07:47 +00:00
|
|
|
Add_dependency run gtk+
|
|
|
|
Add_dependency run alsa-lib
|
|
|
|
Add_dependency run sqlite
|
|
|
|
Add_dependency run libIDL
|
|
|
|
Add_dependency run nss
|
|
|
|
Add_dependency run dbus-glib
|
|
|
|
Add_dependency run startup-notification
|
2010-06-23 08:41:30 +00:00
|
|
|
Add_dependency run pixman
|
|
|
|
|
2009-12-21 22:07:47 +00:00
|
|
|
Add_dependency build zip
|
|
|
|
Add_dependency build python
|
|
|
|
Add_dependency build bison
|
2010-01-11 16:18:40 +00:00
|
|
|
Add_dependency build jpeg-devel
|
|
|
|
Add_dependency build libpng-devel
|
|
|
|
Add_dependency build cairo-devel
|
|
|
|
Add_dependency build freetype-devel
|
|
|
|
Add_dependency build fontconfig-devel
|
|
|
|
Add_dependency build libXrender-devel
|
|
|
|
Add_dependency build libX11-devel
|
|
|
|
Add_dependency build zlib-devel
|
|
|
|
Add_dependency build nspr-devel
|
|
|
|
Add_dependency build dbus-devel
|
|
|
|
Add_dependency build glib-devel
|
|
|
|
Add_dependency build pango-devel
|
|
|
|
Add_dependency build atk-devel
|
|
|
|
Add_dependency build libXt-devel
|
2010-01-22 01:03:18 +00:00
|
|
|
Add_dependency build libXext-devel
|
2010-10-24 09:53:15 +00:00
|
|
|
Add_dependency build gdk-pixbuf-devel
|
2009-12-21 22:07:47 +00:00
|
|
|
Add_dependency build gtk+-devel
|
2010-06-23 08:41:30 +00:00
|
|
|
Add_dependency build pixman-devel
|
2009-12-21 22:07:47 +00:00
|
|
|
Add_dependency build alsa-lib-devel
|
|
|
|
Add_dependency build sqlite-devel
|
|
|
|
Add_dependency build libIDL-devel
|
|
|
|
Add_dependency build nss-devel
|
|
|
|
Add_dependency build dbus-glib-devel
|
|
|
|
Add_dependency build startup-notification-devel
|
2010-05-07 12:23:08 +00:00
|
|
|
|
|
|
|
pre_configure()
|
|
|
|
{
|
2010-12-13 01:12:07 +00:00
|
|
|
# Detect python-2.7
|
|
|
|
sed -i -e "s|python2.5|python2.7|g" ${wrksrc}/configure
|
2010-05-07 12:23:08 +00:00
|
|
|
}
|
2010-01-13 14:22:00 +00:00
|
|
|
|
|
|
|
post_install()
|
|
|
|
{
|
|
|
|
# Remove libsqlite3, provided by sqlite.
|
|
|
|
rm -f ${DESTDIR}/usr/lib/${pkgname}-${_xulver}/libsqlite3.so
|
2010-04-13 13:02:40 +00:00
|
|
|
rm -f ${DESTDIR}/usr/lib/pkgconfig/mozilla-nss.pc
|
2010-01-13 14:22:00 +00:00
|
|
|
}
|