summaryrefslogtreecommitdiff
path: root/community/freewrl/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/freewrl/PKGBUILD')
-rw-r--r--community/freewrl/PKGBUILD19
1 files changed, 8 insertions, 11 deletions
diff --git a/community/freewrl/PKGBUILD b/community/freewrl/PKGBUILD
index 4ff18322b..7c5d0583d 100644
--- a/community/freewrl/PKGBUILD
+++ b/community/freewrl/PKGBUILD
@@ -1,34 +1,31 @@
-# $Id: PKGBUILD 63566 2012-02-05 11:56:27Z ibiru $
+# $Id: PKGBUILD 73160 2012-07-02 14:55:08Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=freewrl
-pkgver=1.22.10
-pkgrel=8
+pkgver=1.22.13
+pkgrel=1
pkgdesc="VRML viewer"
arch=('i686' 'x86_64')
url="http://freewrl.sourceforge.net/"
license=('GPL')
depends=('java-runtime' 'libxaw' 'glew' 'freeglut' 'curl' 'freetype2' 'imlib2' 'sox'
'unzip' 'imagemagick' 'libxml2' 'ttf-bitstream-vera' 'lesstif' 'js')
-makedepends=('java-environment')
+makedepends=('java-environment' 'xulrunner')
options=(!libtool)
-source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2
- build-fix.patch)
-md5sums=('07fd8f193d14799ffb95a59a4887fc88'
- '52e4b6aacebcaf18cbec8975e0eb7fd8')
+source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2)
+md5sums=('7e432c7a9eb5d00497d34d93e2b4d420')
build() {
. /etc/profile.d/jre.sh
. /etc/profile.d/jdk.sh
cd $srcdir/$pkgname-$pkgver
- patch -p1 <$srcdir/build-fix.patch
export JAVASCRIPT_ENGINE_CFLAGS="-I/usr/include/js -DXP_UNIX -DJS_THREADSAFE $(pkg-config --cflags nspr)"
export JAVASCRIPT_ENGINE_LIBS="$(pkg-config --libs nspr) -lmozjs185"
./configure \
--prefix=/usr --with-fontsdir=/usr/share/fonts/TTF --enable-libeai \
- --enable-libcurl --with-expat=/usr --with-target=x11 --disable-plugin \
- --disable-mozilla-js --disable-xulrunner-js --disable-firefox-js \
+ --enable-libcurl --with-expat=/usr --with-target=x11 --enable-plugin \
+ --disable-mozilla-js --enable-xulrunner-js --disable-firefox-js \
--disable-seamonkey-js
make
}