You are not logged in.

#1 2005-12-28 17:59:03

postlogic
Member
Registered: 2005-02-24
Posts: 410
Website

Wine 0.9.4 with WoW patches applied

Here's a simple PKGBUILD using the patches for 0.9.4 to fix some bugs in World Of Warcraft:

pkgrel=1
pkgdesc="Emulator of the Windows 3.x and Win32 APIs"
url="http://www.winehq.com"
depends=('x-server' 'libjpeg' 'libungif' 'alsa-lib' 'glut' 'arts' 'openldap' 'libxslt' 'lcms')
makedepends=('alsa-lib')
install=wine.install
source=(http://ibiblio.org/pub/linux/system/emulators/wine/wine-$pkgver.tar.bz2 [url]http://polynomial-c.homelinux.net/pub/gentoo/portage/app-emulation/wine/files/wine-0.9.4-wow_fixes.patch)[/url]
md5sums=('73205d83a5612a43441a8532683c0434' '15bbfc8b6e205406c16d99fa39b05cd4')

build() {
  cd $startdir/src/$pkgname-$pkgver
 
  patch -Np0 -i ../wine-0.9.4-wow_fixes.patch || return 1
  
  ./configure --prefix=/usr --sysconfdir=/etc --enable-opengl --with-x
  make depend
  make || return 1
  make prefix=$startdir/pkg/usr install
  # conflicts with textutils
  rm -f $startdir/pkg/usr/bin/expand
  mkdir -p $startdir/pkg/etc/wine
  mkdir -p $startdir/pkg/etc/profile.d
  #cp -r $startdir/src/$pkgname-$pkgver/documentation/samples $startdir/pkg/etc/wine
}

It's basically the package found in the ABS, but with an additional line. Nice to have, though :-p Atleast if you want to play WoW using the latest Wine. (patch found in the gentoo wiki)[/code]

Offline

Board footer

Powered by FluxBB