Merge branch 'master' of github.com:archlinuxarm/PKGBUILDs

This commit is contained in:
Stephen Oliver 2012-02-05 13:37:32 -05:00
commit ed6d03e8cf
3 changed files with 28 additions and 8 deletions

View file

@ -9,7 +9,7 @@
pkgname=nodejs
pkgver=0.6.10
pkgrel=1
plugrel=1
plugrel=3
pkgdesc='Evented I/O for V8 javascript'
arch=('i686' 'x86_64' 'arm')
url='http://nodejs.org/'
@ -35,10 +35,30 @@ build() {
sed -i "s/python/&2/" configure
export PYTHON=python2
# we're going to attept to make use of this example
# https://github.com/joyent/node/issues/2131#issuecomment-3208846
# https://gist.github.com/1574158
# pathing scons
sed -i "s/python/&2/" tools/scons/scons.py
msg 'Selecting pre-compile of v8'
# move up to v8
cd deps/v8
# run the scons script directly...
if [ "$CARCH" == "arm" ]; then
msg 'patching for armv5te' ;
patch -p1 deps/v8/SConstruct < ../nodejs-armv5t.patch ;
msg 'pre-compiling v8 for v5'
# we need to override the arch (last one will be used) because
# v8 thinks armv5te can use unaligned.. the kirkwood can't!
CCFLAGS="$CCFLAGS -march=armv5t" ;
export CCFLAGS ;
../../tools/scons/scons.py arch=arm armeabi=soft mode=release snapshot=off
fi
if [ "$CARCH" == "armv7h" ]; then
msg 'pre-compiling v8 for v7'
../../tools/scons/scons.py arch=arm armeabi=hard mode=release snapshot=off vfp3=on
fi
# go back to the node source directory
cd ../../
./configure \
--prefix=/usr

View file

@ -10,7 +10,7 @@
plugrel=1
pkgname=snd
pkgver=12.5
pkgver=12.7
pkgrel=1
pkgdesc="An advanced sound editor"
arch=('i686' 'x86_64')
@ -22,7 +22,7 @@ makedepends=('ladspa' 'wavpack' 'flac' 'speex' 'libxpm'
optdepends=('ladspa' 'wavpack' 'flac' 'speex'
'timidity++' 'mpg123' 'vorbis-tools')
source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz")
md5sums=('53bed2048fe9287f9a0e6a6d63536729')
md5sums=('5edb4ee488c3406c9aa582c5f11a4492')
build() {
cd "$srcdir/$pkgname-$pkgver"

View file

@ -7,8 +7,8 @@
plugrel=1
pkgname=xine-lib
pkgver=1.2.0
pkgrel=2
pkgver=1.2.1
pkgrel=1
pkgdesc="A multimedia playback engine"
arch=('i686' 'x86_64')
url="http://www.xine-project.org"
@ -35,7 +35,7 @@ optdepends=('imagemagick: for using the imagemagick plugin' \
'gnome-vfs: for using the gnome-vfs plugin')
options=('!libtool')
source=(http://downloads.sourceforge.net/sourceforge/xine/${pkgname}-${pkgver}.tar.xz)
sha1sums=('5d5385f2a0c3bb7beaba1079cd9b62c4c92a301d')
sha1sums=('ebb2648456504ff4ce08c34de258d3125832bb94')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"