# Description: Paquet nécessaire pour certains plugins de Firefox # URL: http://xulfr.org/ # Maintainer: NuTyX core team # Packager: thierryn1 at hispeed dot ch # Depends on: hunspell, xorg-libxt, startup-notification, mime-types, libevent, libgnomeui, libidl, nss, gtk, python, dbus-glib, alsa-lib, libnotify # Run on: libidl,nss,gtk,python,dbus-glib,alsa-lib,libnotify name=xulrunner version=1.9.2.13 release=1 source=(http://releases.mozilla.org/pub/mozilla.org/firefox/releases/3.6.10/source/firefox-3.6.10.source.tar.bz2 \ http://nutyx.meticul.eu/files/patchs/$name/mozconfig \ http://nutyx.meticul.eu/files/patchs/$name/mozilla-pkgconfig.patch \ http://nutyx.meticul.eu/files/patchs/$name/mozilla-ps-pdf-simplify-operators.patch \ http://nutyx.meticul.eu/files/patchs/$name/xulrunner-version.patch \ http://nutyx.meticul.eu/files/patchs/$name/xulrunner-png14.patch ) build() { unset MAKEFLAGS unset CFLAGS unset CXXFLAGS export MOZ_CO_PROJECT="xulrunner" export XCFLAGS="$CFLAGS" cd mozilla-1.9.2 sed -e "s/#CFLAGS#/$CFLAGS/g" \ -e "s/#MAKEFLAGS#/$MAKEFLAGS/g" \ $SRC/mozconfig > .mozconfig patch -Np1 -i $SRC/mozilla-ps-pdf-simplify-operators.patch patch -Np1 -i $SRC/mozilla-pkgconfig.patch patch -Np1 -i $SRC/xulrunner-version.patch patch -Np0 -i $SRC/xulrunner-png14.patch PYTHON=python2 ./configure --disable-necko-wifi sed 's@stable@unstable@' \ -i xulrunner/installer/mozilla-js.pc.in echo "Requires: nspr" >>xulrunner/installer/libxul-embedding.pc.in make make DESTDIR=$PKG install install -d $PKG/etc/ld.so.conf.d echo "/usr/lib/$name-$version" > $PKG/etc/ld.so.conf.d/$name.conf chown -R root:root $PKG }