You are not logged in.
Offline
Offline
I tried to build from source but here is what I got when pacman ran make:
checking for dlopen in -ldl... yes
./configure: line 3747: syntax error near unexpected token `newline'
./configure: line 3747: ` yes:no:'
make[2]: Entering directory `/home/sven/setup/chromium2/src/Chromium-0.9/support/openal/linux'
make[2]: *** No targets specified and no makefile found. Stop.
make[2]: Leaving directory `/home/sven/setup/chromium2/src/Chromium-0.9/support/openal/linux'
make[1]: *** [linux] Error 2
make[1]: Leaving directory `/home/sven/setup/chromium2/src/Chromium-0.9/support/openal'
make: *** [support/openal/] Error 2
==> ERROR: Build Failed. Aborting...
and because the rpm version worked fine, I suppose I have all the dependencies needed for normal operation. Just there seems to be something odd with the source code that needs to be fixed or patched. I also installed openal package but that did not get rid of that error.
EDIT: I also made a package for the needed libglpng and retried to make and still no luck - the same error is printed out.
Offline
Here are the codes I managed to finish this far:
PKGBULD:
pkgname=chromium
pkgver=0.9.12
pkgrel=1
pkgdesc="A 2D shooter"
url="http://www.reptilelabour.com/software/chromium/"
license=""
depends=('libglpng' 'openal' 'sdl')
makedepends=()
conflicts=()
replaces=()
backup=()
install=chromium.install
source=(http://www.reptilelabour.com/software/files/chromium/$pkgname-src-$pkgver.tar.gz
http://www.reptilelabour.com/software/files/chromium/$pkgname-data-$pkgver.tar.gz )
md5sums=()
build() {
cd $startdir/src/Chromium-0.9
./configure
make || return 1
make DESTDIR=$startdir/pkg install
#data to place
mkdir $startdir/pkg/usr/games/chromium/data
cp -ax $startdir/src/Chromium-0.9/data/* $startdir/pkg/usr/games/chromium/data
}
chromium.install
post_install() {
export CHROMIUM_DATA = /usr/games/chromium/data
}
op=$1
shift
$op $*
and libglpng PKGBUILD:
pkgname=libglpng
pkgver=1.45
pkgrel=1
pkgdesc="Binding PNG graphics files to an OpenGL texture"
url="http://www.wyatt100.freeserve.co.uk/download.htm"
license=""
depends=()
makedepends=()
conflicts=()
replaces=()
backup=()
install=
source=(http://www.wyatt100.freeserve.co.uk/glpng.zip)
md5sums=()
build() {
cd $startdir/src/src
mv Makefile.LINUX Makefile
make || return 1
mkdir -p $startdir/pkg/usr/lib
cp $startdir/src/lib/libglpng.a $startdir/pkg/usr/lib
}
Offline