You are not logged in.
Is anyone else having trouble compiling the AUR wesnoth -tinygui package?
Offline
Seems like the -Werror compiler flag is causing problems.
PKGBUILD (updated to 1.6.1 as a bonus ):
_pkgname=wesnoth
pkgname=wesnoth-tinygui
pkgver=1.6.1
pkgrel=1
pkgdesc="A turn-based strategy game on a fantasy world. Optimized for Netbooks (configure options tinygui,lowmem,lite,tools/editor/server disabled)"
arch=(i686 x86_64)
license=('GPL')
url="http://www.wesnoth.org/"
depends=('sdl_ttf' 'sdl_net' 'sdl_mixer' 'sdl_image' 'libvorbis' 'fribidi' 'freetype2' 'gcc-libs' 'boost' 'python>=2.6' 'pango')
makedepends=('imagemagick')
provides=('wesnoth')
conflicts=('wesnoth')
source=(http://downloads.sourceforge.net/sourceforge/$_pkgname/$_pkgname-$pkgver.tar.bz2)
md5sums=('6777ec9bfb44b1553a4b7dd2d12c0713')
build() {
cd $startdir/src/$_pkgname-$pkgver
./configure --prefix=/usr --localstatedir=/var --disable-tools --disable-editor --disable-server --enable-tinygui --enable-lowmem || return 1
sed -i 's/-Werror//g' po/Makefile
sed -i 's/-Werror//g' Makefile
sed -i 's/-Werror//g' src/Makefile
sed -i 's/-Werror//g' icons/Makefile
sed -i 's/-Werror//g' m4/Makefile
sed -i 's/-Werror//g' doc/Makefile
sed -i 's/-Werror//g' doc/manual/Makefile
sed -i 's/-Werror//g' doc/man/Makefile
make || return 1
make DESTDIR=$startdir/pkg install
}
Last edited by schuay (2009-07-02 20:51:20)
Offline
Awesome, thanks! I'll give this another shot.
Offline