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.7.0
This commit is contained in:
parent
fb1364ad1c
commit
c26ba3e80e
108
wine/PKGBUILD
108
wine/PKGBUILD
@ -3,14 +3,13 @@
|
||||
# maintainer: Giuseppe Calà <gcala[at]chakra-project[dot]org>
|
||||
|
||||
pkgname=wine
|
||||
pkgver=1.6
|
||||
pkgver=1.7.0
|
||||
pkgrel=1
|
||||
|
||||
_pkgbasever=${pkgver/rc/-rc}
|
||||
|
||||
source=(http://ibiblio.org/pub/linux/system/emulators/$pkgname/$pkgname-$_pkgbasever.tar.bz2
|
||||
30-win32-aliases.conf)
|
||||
md5sums=('47cf1e121d395e9c8ca1a4ab88f1e658'
|
||||
|
||||
md5sums=('24789490809ddb5db5286819b3fdfed5'
|
||||
'1ff4e467f59409272088d92173a0f801')
|
||||
|
||||
pkgdesc="A compatibility layer for running Windows programs"
|
||||
@ -22,61 +21,65 @@ license=(LGPL)
|
||||
install=wine.install
|
||||
|
||||
depends=(
|
||||
fontconfig lib32-fontconfig
|
||||
mesa lib32-mesa
|
||||
libglapi lib32-libglapi
|
||||
libxcursor lib32-libxcursor
|
||||
libxrandr lib32-libxrandr
|
||||
libxdamage lib32-libxdamage
|
||||
libxxf86dga lib32-libxxf86dga
|
||||
alsa-lib lib32-alsa-lib
|
||||
lcms lib32-lcms
|
||||
mpg123 lib32-mpg123
|
||||
openal lib32-openal
|
||||
libxml2 lib32-libxml2
|
||||
libxi lib32-libxi
|
||||
gettext lib32-gettext
|
||||
gstreamer0.10-base lib32-gstreamer0.10-base
|
||||
fontconfig lib32-fontconfig
|
||||
mesa lib32-mesa
|
||||
libglapi lib32-libglapi
|
||||
libxcursor lib32-libxcursor
|
||||
libxrandr lib32-libxrandr
|
||||
libxdamage lib32-libxdamage
|
||||
libxxf86dga lib32-libxxf86dga
|
||||
alsa-lib lib32-alsa-lib
|
||||
lcms lib32-lcms
|
||||
mpg123 lib32-mpg123
|
||||
openal lib32-openal
|
||||
libxml2 lib32-libxml2
|
||||
libxi lib32-libxi
|
||||
gettext lib32-gettext
|
||||
gstreamer0.10-base lib32-gstreamer0.10-base
|
||||
desktop-file-utils
|
||||
)
|
||||
|
||||
|
||||
|
||||
makedepends=(autoconf ncurses bison perl fontforge flex prelink
|
||||
'gcc>=4.5.0-2' 'gcc-multilib>=4.5.0-2'
|
||||
giflib lib32-giflib
|
||||
libxpm lib32-libxpm
|
||||
libpng lib32-libpng
|
||||
libxinerama lib32-libxinerama
|
||||
libxcomposite lib32-libxcomposite
|
||||
libxmu lib32-libxmu
|
||||
libxxf86vm lib32-libxxf86vm
|
||||
libxml2 lib32-libxml2
|
||||
libxslt lib32-libxslt
|
||||
libldap lib32-libldap
|
||||
lcms lib32-lcms
|
||||
mpg123 lib32-mpg123
|
||||
openal lib32-openal
|
||||
jack lib32-jack
|
||||
libcups lib32-libcups
|
||||
gnutls lib32-gnutls
|
||||
v4l-utils lib32-v4l-utils
|
||||
alsa-lib lib32-alsa-lib
|
||||
'gcc>=4.5.0-2' 'gcc-multilib>=4.5.0-2'
|
||||
giflib lib32-giflib
|
||||
libxpm lib32-libxpm
|
||||
libpng lib32-libpng
|
||||
libxinerama lib32-libxinerama
|
||||
libxcomposite lib32-libxcomposite
|
||||
libxmu lib32-libxmu
|
||||
libxxf86vm lib32-libxxf86vm
|
||||
libxml2 lib32-libxml2
|
||||
libxslt lib32-libxslt
|
||||
libldap lib32-libldap
|
||||
lcms lib32-lcms
|
||||
mpg123 lib32-mpg123
|
||||
openal lib32-openal
|
||||
jack lib32-jack
|
||||
libcups lib32-libcups
|
||||
gnutls lib32-gnutls
|
||||
v4l-utils lib32-v4l-utils
|
||||
alsa-lib lib32-alsa-lib
|
||||
oss
|
||||
samba
|
||||
opencl-headers
|
||||
)
|
||||
|
||||
optdepends=(
|
||||
giflib lib32-giflib
|
||||
libpng lib32-libpng
|
||||
libldap lib32-libldap
|
||||
jack lib32-jack
|
||||
libcups lib32-libcups
|
||||
gnutls lib32-gnutls
|
||||
v4l-utils lib32-v4l-utils
|
||||
oss cups
|
||||
giflib lib32-giflib
|
||||
libpng lib32-libpng
|
||||
libldap lib32-libldap
|
||||
jack lib32-jack
|
||||
libcups lib32-libcups
|
||||
gnutls lib32-gnutls
|
||||
v4l-utils lib32-v4l-utils
|
||||
oss cups
|
||||
samba
|
||||
)
|
||||
|
||||
|
||||
|
||||
build() {
|
||||
cd "$srcdir"
|
||||
|
||||
@ -96,7 +99,6 @@ build() {
|
||||
export CXXFLAGS="${CFLAGS/-D_FORTIFY_SOURCE=2/} -D_FORTIFY_SOURCE=0"
|
||||
|
||||
msg2 "Building Wine-64..."
|
||||
|
||||
mkdir $pkgname-64-build
|
||||
cd "$srcdir/$pkgname-64-build"
|
||||
../$pkgname/configure \
|
||||
@ -126,23 +128,25 @@ build() {
|
||||
--without-gstreamer \
|
||||
"${_wine32opts[@]}"
|
||||
|
||||
|
||||
# These additional flags solve FS#23277
|
||||
make CFLAGS+="-mstackrealign -mincoming-stack-boundary=2" CXXFLAGS+="-mstackrealign -mincoming-stack-boundary=2"
|
||||
}
|
||||
|
||||
|
||||
|
||||
package() {
|
||||
msg2 "Packaging Wine-32..."
|
||||
cd "$srcdir/$pkgname-32-build"
|
||||
|
||||
make prefix="$pkgdir/usr" \
|
||||
libdir="$pkgdir/usr/lib32" \
|
||||
dlldir="$pkgdir/usr/lib32/wine" install
|
||||
libdir="$pkgdir/usr/lib32" \
|
||||
dlldir="$pkgdir/usr/lib32/wine" install
|
||||
|
||||
msg2 "Packaging Wine-64..."
|
||||
cd "$srcdir/$pkgname-64-build"
|
||||
make prefix="$pkgdir/usr" \
|
||||
libdir="$pkgdir/usr/lib" \
|
||||
dlldir="$pkgdir/usr/lib/wine" install
|
||||
libdir="$pkgdir/usr/lib" \
|
||||
dlldir="$pkgdir/usr/lib/wine" install
|
||||
|
||||
# Font aliasing settings for Win32 applications
|
||||
install -d "$pkgdir"/etc/fonts/conf.{avail,d}
|
||||
|
Loading…
Reference in New Issue
Block a user