diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2013-04-26 10:52:42 +0200 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2013-04-26 10:52:42 +0200 |
commit | 127dc69a077301eaf514a49a1c8f883584396e1c (patch) | |
tree | a48e082ea38a50dee109bbfe7d977b5a81c3c4a1 /extra/js | |
parent | b820811488f4e50bbff8e8e84af774adc79375d9 (diff) | |
parent | a247f0004e94d32b5fe69a5123e1c6684d8cf096 (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts:
community/apvlv/PKGBUILD
community/audit/PKGBUILD
community/cinnamon-control-center/PKGBUILD
community/dia/PKGBUILD
community/gedit-plugins/PKGBUILD
community/giggle/PKGBUILD
community/gitg/PKGBUILD
community/gmic/PKGBUILD
community/gnome-applets/PKGBUILD
community/gnome-panel/PKGBUILD
community/gnome-screensaver/PKGBUILD
community/gtranslator/PKGBUILD
community/metacity/PKGBUILD
community/zeitgeist-datahub/PKGBUILD
core/glib2/PKGBUILD
core/perl/PKGBUILD
extra/anjuta-extras/PKGBUILD
extra/anjuta/PKGBUILD
extra/atkmm/PKGBUILD
extra/brltty/PKGBUILD
extra/cheese/PKGBUILD
extra/clutter/PKGBUILD
extra/cogl/PKGBUILD
extra/devhelp/PKGBUILD
extra/empathy/PKGBUILD
extra/eog/PKGBUILD
extra/epiphany/PKGBUILD
extra/evince/PKGBUILD
extra/evolution/PKGBUILD
extra/fontconfig/PKGBUILD
extra/gcr/PKGBUILD
extra/gdl/PKGBUILD
extra/gedit/PKGBUILD
extra/gjs/PKGBUILD
extra/glade/PKGBUILD
extra/glib-networking/PKGBUILD
extra/gnome-calculator/PKGBUILD
extra/gnome-contacts/PKGBUILD
extra/gnome-control-center/PKGBUILD
extra/gnome-desktop/PKGBUILD
extra/gnome-disk-utility/PKGBUILD
extra/gnome-documents/PKGBUILD
extra/gnome-font-viewer/PKGBUILD
extra/gnome-games/PKGBUILD
extra/gnome-power-manager/PKGBUILD
extra/gnome-screenshot/PKGBUILD
extra/gnome-session/PKGBUILD
extra/gnome-terminal/PKGBUILD
extra/gobject-introspection/PKGBUILD
extra/grilo-plugins/PKGBUILD
extra/gssdp/PKGBUILD
extra/gthumb/PKGBUILD
extra/gtkmm3/PKGBUILD
extra/gtksourceview3/PKGBUILD
extra/gucharmap/PKGBUILD
extra/gupnp-av/PKGBUILD
extra/gupnp-dlna/PKGBUILD
extra/gupnp-igd/PKGBUILD
extra/gupnp/PKGBUILD
extra/gvfs/PKGBUILD
extra/js/PKGBUILD
extra/kdeadmin/PKGBUILD
extra/libchamplain/PKGBUILD
extra/libgee/PKGBUILD
extra/libgweather/PKGBUILD
extra/liboauth/PKGBUILD
extra/libpeas/PKGBUILD
extra/librsvg/PKGBUILD
extra/libsocialweb/PKGBUILD
extra/libsoup/PKGBUILD
extra/mash/PKGBUILD
extra/modemmanager/PKGBUILD
extra/mutter/PKGBUILD
extra/mysql/PKGBUILD
extra/nautilus-sendto/PKGBUILD
extra/nautilus/PKGBUILD
extra/network-manager-applet/PKGBUILD
extra/notification-daemon/PKGBUILD
extra/p11-kit/PKGBUILD
extra/pango/PKGBUILD
extra/pangomm/PKGBUILD
extra/polkit/PKGBUILD
extra/pygobject/PKGBUILD
extra/qtwebkit/PKGBUILD
extra/rest/PKGBUILD
extra/rhythmbox/PKGBUILD
extra/rygel/PKGBUILD
extra/totem-plparser/PKGBUILD
extra/totem/PKGBUILD
extra/vala/PKGBUILD
extra/vinagre/PKGBUILD
extra/vte3/PKGBUILD
extra/webkitgtk/PKGBUILD
extra/yelp/PKGBUILD
extra/zeitgeist/PKGBUILD
libre/rp-pppoe-libre/PKGBUILD
pcr/python-sfml2/PKGBUILD
pcr/python2-sfml2/PKGBUILD
Diffstat (limited to 'extra/js')
-rw-r--r-- | extra/js/PKGBUILD | 58 | ||||
-rw-r--r-- | extra/js/js185-destdir.patch | 15 |
2 files changed, 24 insertions, 49 deletions
diff --git a/extra/js/PKGBUILD b/extra/js/PKGBUILD index f880577c3..fc35a4f22 100644 --- a/extra/js/PKGBUILD +++ b/extra/js/PKGBUILD @@ -1,47 +1,37 @@ -# $Id: PKGBUILD 132237 2011-07-21 21:43:04Z ibiru $ +# $Id: PKGBUILD 183636 2013-04-25 18:14:18Z ioni $ # Maintainer: Ionut Biru <ibiru@archlinux.org> + pkgname=js -pkgver=1.8.5 -pkgrel=3.2 +pkgver=17.0.0 +pkgrel=1 pkgdesc="JavaScript interpreter and libraries" -arch=(i686 x86_64 'mips64el') -url="https://developer.mozilla.org/En/SpiderMonkey/1.8.5" -license=('GPL2') -depends=('nspr' 'gcc-libs') -makedepends=('python2' 'zip') -replaces=('spidermonkey') -conflicts=('spidermonkey') -source=(http://ftp.mozilla.org/pub/mozilla.org/js/js185-1.0.0.tar.gz - js185-destdir.patch) -md5sums=('a4574365938222adca0a6bd33329cb32' - '364834a8391888642c53d78c3a949d94') -build() { - cd "$srcdir/$pkgname-$pkgver/js/src" - - if [ "$CARCH" = "mips64el" ]; then - # Force disabling JIT. - sed -ri 's/#define ENABLE_(JIT|ASSEMBLER) 1/#define ENABLE_\1 0/' \ - assembler/wtf/Platform.h - sed -ri 's/ENABLE_(JIT|ASSEMBLER)=1/ENABLE_\1=0/' Makefile.{in,ref} - extraconf="--disable-methodjit --disable-tracejit" - fi +arch=(i686 x86_64 mips64el) +url="https://developer.mozilla.org/En/SpiderMonkey/17" +license=(MPL) +depends=(nspr gcc-libs libffi readline) +makedepends=(python2 zip) +options=(!staticlibs) +source=(http://ftp.mozilla.org/pub/mozilla.org/js/mozjs$pkgver.tar.gz) +md5sums=('20b6f8f1140ef6e47daa3b16965c9202') - patch -Np0 -i $srcdir/js185-destdir.patch - - ./configure --prefix=/usr --with-system-nspr \ - --enable-threadsafe $extraconf +build() { + unset CPPFLAGS + cd mozjs$pkgver/js/src + ./configure --prefix=/usr --with-system-nspr --with-system-ffi \ + --enable-readline --enable-threadsafe make } +check() { + cd mozjs$pkgver/js/src + make check +} + package() { - cd "$srcdir/$pkgname-$pkgver/js/src" + cd mozjs$pkgver/js/src make DESTDIR="$pkgdir" install - - install -m 0755 shell/js ${pkgdir}/usr/bin - - #cleanup - rm -f "${pkgdir}/usr/lib/libmozjs185-1.0.a" + find "$pkgdir"/usr/{lib/pkgconfig,include} -type f -exec chmod -x {} + } # vim:set ts=2 sw=2 et: diff --git a/extra/js/js185-destdir.patch b/extra/js/js185-destdir.patch deleted file mode 100644 index 87b7b53b3..000000000 --- a/extra/js/js185-destdir.patch +++ /dev/null @@ -1,15 +0,0 @@ -#https://bugzilla.mozilla.org/show_bug.cgi?id=628723 - ---- Makefile.in.old 2011-04-10 04:21:19.918608008 -0700 -+++ Makefile.in 2011-04-10 04:21:58.088607992 -0700 -@@ -888,8 +888,8 @@ - ifeq (,$(HOST_BIN_SUFFIX)) - mv -f $(SHLIB_ANY_VER) $(SHLIB_EXACT_VER) - @[ ! -h $(SHLIB_ABI_VER) ] || rm -f $(SHLIB_ABI_VER) -- ln -s $(SHLIB_EXACT_VER) $(SHLIB_ABI_VER) -- ln -s $(SHLIB_ABI_VER) $(SHLIB_ANY_VER) -+ ln -s $(notdir $(SHLIB_EXACT_VER)) $(SHLIB_ABI_VER) -+ ln -s $(notdir $(SHLIB_ABI_VER)) $(SHLIB_ANY_VER) - endif - endif - ifneq (,$(IMPORT_LIBRARY)) |