forked from ports/contrib
wine-staging: initial commit, version 3.16
This commit is contained in:
parent
54b3f239aa
commit
de45289d60
5014
wine-staging/.footprint
Normal file
5014
wine-staging/.footprint
Normal file
File diff suppressed because it is too large
Load Diff
9
wine-staging/.signature
Normal file
9
wine-staging/.signature
Normal file
@ -0,0 +1,9 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF3/CzSkncyKxA4YzIRPQ0FTWx+LFZy2oXzATUDNIrRbq2V6CQkGaO3dPXMBxfhM5sXjvS+OCTIlM0frgmk0gI6g0=
|
||||
SHA256 (Pkgfile) = 3ba68d0840d98ce592e667650b0c63333643669196531e4a4ec7b6beba636f57
|
||||
SHA256 (.footprint) = 233a96b543952a40997ad64bd4b8e1bdc95d34e19cce3fe6e90b7ce309365337
|
||||
SHA256 (wine-3.16.tar.xz) = ad43bcf8f790c70a4d72e93c5bb818ed0d004c6a1fc6341d5d8fc7ab02a1a53c
|
||||
SHA256 (wine-staging-3.16.tar.gz) = b7955b90e4cb415179a5a44f0511455ab4c0adc273753167a92f5d6a49a684aa
|
||||
SHA256 (wine_gecko-2.47-x86.msi) = 3b8a361f5d63952d21caafd74e849a774994822fb96c5922b01d554f1677643a
|
||||
SHA256 (wine_gecko-2.47-x86_64.msi) = c565ea25e50ea953937d4ab01299e4306da4a556946327d253ea9b28357e4a7d
|
||||
SHA256 (wine-mono-4.7.3.msi) = d24a8017371c7e8224a1778bb43a113ed7ed9720efd9d0cda175d42db6106d3a
|
64
wine-staging/Pkgfile
Normal file
64
wine-staging/Pkgfile
Normal file
@ -0,0 +1,64 @@
|
||||
# Description: WINE with staging patches
|
||||
# URL: https://wiki.winehq.org/Wine-Staging
|
||||
# Maintainer: Matt Housh, jaeger at crux dot ninja
|
||||
# Depends on: fontconfig-32 freeglut-32 gnutls-32 lcms2-32 mpg123-32 openal-32 prelink xorg-libxcomposite-32 xorg-libxcursor-32 xorg-libxinerama-32 xorg-libxrandr-32 xorg-libxxf86dga-32
|
||||
|
||||
name=wine-staging
|
||||
version=3.16
|
||||
release=1
|
||||
source=(https://dl.winehq.org/wine/source/3.x/wine-$version.tar.xz \
|
||||
https://github.com/$name/$name/archive/v${version}/$name-$version.tar.gz \
|
||||
https://dl.winehq.org/wine/wine-gecko/2.47/wine_gecko-2.47-x86.msi \
|
||||
https://dl.winehq.org/wine/wine-gecko/2.47/wine_gecko-2.47-x86_64.msi \
|
||||
https://dl.winehq.org/wine/wine-mono/4.7.3/wine-mono-4.7.3.msi)
|
||||
|
||||
build() {
|
||||
# apply staging patches
|
||||
cd $name-$version
|
||||
./patches/patchinstall.sh DESTDIR=../wine-$version --all
|
||||
cd ..
|
||||
|
||||
install -d wine32 wine64
|
||||
|
||||
export CPPFLAGS="${CPPFLAGS/-D_FORTIFY_SOURCE=2/} -D_FORTIFY_SOURCE=0"
|
||||
|
||||
cd wine64
|
||||
|
||||
../wine-$version/configure \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib \
|
||||
--enable-win64
|
||||
|
||||
make depend
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
|
||||
cd ../wine32
|
||||
CFLAGS="${CFLAGS} -m32"
|
||||
CXXFLAGS="${CXXFLAGS} -m32"
|
||||
LDFLAGS="${LDFLAGS} -m32"
|
||||
export PKG_CONFIG_LIBDIR="/usr/lib32/pkgconfig"
|
||||
|
||||
../wine-$version/configure \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib32 \
|
||||
--x-includes=/usr/include/X11 \
|
||||
--x-libraries=/usr/lib32 \
|
||||
--cache-file=config.cache \
|
||||
--with-wine64=../wine64
|
||||
|
||||
make depend
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
|
||||
install -d $PKG/usr/share/wine/gecko
|
||||
install -d $PKG/usr/share/wine/mono
|
||||
|
||||
install -t $PKG/usr/share/wine/gecko/ \
|
||||
$SRC/wine_gecko-2.47-x86.msi \
|
||||
$SRC/wine_gecko-2.47-x86_64.msi
|
||||
|
||||
install $SRC/wine-mono-4.7.3.msi $PKG/usr/share/wine/mono/
|
||||
|
||||
rm -r $PKG/usr/share/man/??.UTF-8
|
||||
}
|
25
wine-staging/README
Normal file
25
wine-staging/README
Normal file
@ -0,0 +1,25 @@
|
||||
Note that wine compiles twice for 32bit and 64bit use and as such
|
||||
requires compat-32 ports tree to be enabled to work.
|
||||
|
||||
You could edit wine to only compile 64bit only but then you can
|
||||
only run PE64 bit binaries.
|
||||
|
||||
You enable compat-32 by.
|
||||
|
||||
mv /etc/ports/compat-32.rsync.inactive /etc/ports/compat-32.rsync
|
||||
|
||||
$EDITOR /etc/prt-get.conf
|
||||
|
||||
And uncomment:
|
||||
|
||||
prtdir /usr/ports/compat-32
|
||||
|
||||
Also be sure to enable:
|
||||
|
||||
runscripts yes
|
||||
|
||||
To speed up building wine multiple times also:
|
||||
|
||||
prt-get depinst ccache
|
||||
|
||||
And configure ccache https://crux.nu/Wiki/HowToSpeedUpBuildingPackages#ccache
|
Loading…
x
Reference in New Issue
Block a user