diff --git a/srcpkgs/xulrunner-devel b/srcpkgs/xulrunner-devel new file mode 120000 index 0000000000..fdbd534f92 --- /dev/null +++ b/srcpkgs/xulrunner-devel @@ -0,0 +1 @@ +xulrunner \ No newline at end of file diff --git a/srcpkgs/xulrunner/depends b/srcpkgs/xulrunner/depends new file mode 100644 index 0000000000..ede626b552 --- /dev/null +++ b/srcpkgs/xulrunner/depends @@ -0,0 +1,2 @@ +abi_depends=">=1.9.1" +api_depends="${abi_depends}" diff --git a/srcpkgs/xulrunner/patches/xulrunner-version.patch b/srcpkgs/xulrunner/patches/xulrunner-version.patch new file mode 100644 index 0000000000..0a7e097046 --- /dev/null +++ b/srcpkgs/xulrunner/patches/xulrunner-version.patch @@ -0,0 +1,11 @@ +--- xulrunner/installer/Makefile.in.ver 2007-12-14 09:51:34.000000000 +0100 ++++ xulrunner/installer/Makefile.in 2007-12-14 09:52:03.000000000 +0100 +@@ -44,6 +44,8 @@ VPATH = @srcdir@ + + include $(DEPTH)/config/autoconf.mk + ++MOZ_APP_VERSION="1.9.1" ++ + NO_PKG_FILES = \ + xulrunner-config \ + regchrome* \ diff --git a/srcpkgs/xulrunner/template b/srcpkgs/xulrunner/template new file mode 100644 index 0000000000..7f2a5976dc --- /dev/null +++ b/srcpkgs/xulrunner/template @@ -0,0 +1,48 @@ +# Template build file for 'xulrunner'. +pkgname=xulrunner +_xulver=1.9.1 +_ffver=3.5.6 +version=${_xulver}.6 +wrksrc=mozilla-${_xulver} +distfiles="${MOZILLA_SITE}/firefox/releases/${_ffver}/source/firefox-${_ffver}.source.tar.bz2" +build_style=gnu_configure +LDFLAGS="-Wl,-R/usr/lib/${pkgname}-${_xulver}" +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 " +checksum=60462020c1935702cf87928a886778b3b52e73b0121a8264630b72d370ea3fd1 +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" +Add_dependency run libstdc++ +Add_dependency run gtk+ +Add_dependency run alsa-lib +Add_dependency run sqlite +Add_dependency run libIDL +Add_dependency run nss +Add_dependency run libnotify +Add_dependency run dbus-glib +Add_dependency run startup-notification +Add_dependency build zip +Add_dependency build python +Add_dependency build bison +Add_dependency build gtk+-devel +Add_dependency build alsa-lib-devel +Add_dependency build sqlite-devel +Add_dependency build libIDL-devel +Add_dependency build nss-devel +Add_dependency build libnotify-devel +Add_dependency build dbus-glib-devel +Add_dependency build startup-notification-devel diff --git a/srcpkgs/xulrunner/xulrunner-devel.template b/srcpkgs/xulrunner/xulrunner-devel.template new file mode 100644 index 0000000000..da03a0d5f5 --- /dev/null +++ b/srcpkgs/xulrunner/xulrunner-devel.template @@ -0,0 +1,24 @@ +# Template file for 'xulrunner-devel'. +# +short_desc="${short_desc} (development files)" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run gtk+-devel +Add_dependency run dbus-glib-devel +Add_dependency run libIDL-devel +Add_dependency run sqlite-devel +Add_dependency run nss-devel +Add_dependency run startup-notification-devel +Add_dependency run alsa-lib-devel +Add_dependency run xulrunner + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/xulrunner-devel-* ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/share ${DESTDIR}/usr +}