mirror of
https://gitdl.cn/https://github.com/chakralinux/lib32.git
synced 2025-01-23 17:33:34 +08:00
updated wine to version 1.5.28
This commit is contained in:
parent
8e46312d8b
commit
7b5ed3a4c3
20
wine/30-win32-aliases.conf
Normal file
20
wine/30-win32-aliases.conf
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||||
|
<fontconfig>
|
||||||
|
<alias binding="same">
|
||||||
|
<family>MS Shell Dlg</family>
|
||||||
|
<accept><family>Microsoft Sans Serif</family></accept>
|
||||||
|
<default><family>sans-serif</family></default>
|
||||||
|
</alias>
|
||||||
|
<alias binding="same">
|
||||||
|
<family>MS Shell Dlg 2</family>
|
||||||
|
<accept><family>Tahoma</family></accept>
|
||||||
|
<default><family>sans-serif</family></default>
|
||||||
|
</alias>
|
||||||
|
|
||||||
|
<alias binding="same">
|
||||||
|
<family>MS Sans Serif</family>
|
||||||
|
<prefer><family>Microsoft Sans Serif</family></prefer>
|
||||||
|
<default><family>sans-serif</family></default>
|
||||||
|
</alias>
|
||||||
|
</fontconfig>
|
@ -3,13 +3,15 @@
|
|||||||
# maintainer (x86_64): Anke Boersma <abveritas[at]chakra-project[dot]org>
|
# maintainer (x86_64): Anke Boersma <abveritas[at]chakra-project[dot]org>
|
||||||
|
|
||||||
pkgname=wine
|
pkgname=wine
|
||||||
pkgver=1.5.26
|
pkgver=1.5.28
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
|
|
||||||
_pkgbasever=${pkgver/rc/-rc}
|
_pkgbasever=${pkgver/rc/-rc}
|
||||||
|
|
||||||
source=(http://ibiblio.org/pub/linux/system/emulators/$pkgname/$pkgname-$_pkgbasever.tar.bz2)
|
source=(http://ibiblio.org/pub/linux/system/emulators/$pkgname/$pkgname-$_pkgbasever.tar.bz2
|
||||||
md5sums=('a2672a60ddc3ead0e8341d5173543be4')
|
30-win32-aliases.conf)
|
||||||
|
md5sums=('a5b94becaf41a3e7f6d3d85a57a2f8d4'
|
||||||
|
'1ff4e467f59409272088d92173a0f801')
|
||||||
|
|
||||||
pkgdesc="A compatibility layer for running Windows programs"
|
pkgdesc="A compatibility layer for running Windows programs"
|
||||||
url="http://www.winehq.com"
|
url="http://www.winehq.com"
|
||||||
@ -80,6 +82,10 @@ build() {
|
|||||||
# Allow ccache to work
|
# Allow ccache to work
|
||||||
mv $pkgname-$_pkgbasever $pkgname
|
mv $pkgname-$_pkgbasever $pkgname
|
||||||
|
|
||||||
|
# ncurses fix
|
||||||
|
sed -i 's|libncurses|libncursesw|g' "$srcdir/$pkgname/configure"
|
||||||
|
sed -i 's|lncurses|lncursesw|g' "$srcdir/$pkgname/configure"
|
||||||
|
|
||||||
# Get rid of old build dirs
|
# Get rid of old build dirs
|
||||||
rm -rf $pkgname-{32,64}-build
|
rm -rf $pkgname-{32,64}-build
|
||||||
mkdir $pkgname-32-build
|
mkdir $pkgname-32-build
|
||||||
@ -133,5 +139,10 @@ package() {
|
|||||||
make prefix="$pkgdir/usr" \
|
make prefix="$pkgdir/usr" \
|
||||||
libdir="$pkgdir/usr/lib" \
|
libdir="$pkgdir/usr/lib" \
|
||||||
dlldir="$pkgdir/usr/lib/wine" install
|
dlldir="$pkgdir/usr/lib/wine" install
|
||||||
|
|
||||||
|
# Font aliasing settings for Win32 applications
|
||||||
|
install -d "$pkgdir"/etc/fonts/conf.{avail,d}
|
||||||
|
install -m644 "$srcdir/30-win32-aliases.conf" "$pkgdir/etc/fonts/conf.avail"
|
||||||
|
ln -s ../conf.avail/30-win32-aliases.conf "$pkgdir/etc/fonts/conf.d/30-win32-aliases.conf"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user