Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Heptazhou committed Apr 3, 2024
1 parent fc64f4e commit dd48625
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 39 deletions.
8 changes: 4 additions & 4 deletions .SRCINFO
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pkgbase = wine-wow64
pkgbase = wine64
pkgdesc = A compatibility layer for running Windows programs
pkgver = 9.5
pkgrel = 1
Expand Down Expand Up @@ -37,8 +37,6 @@ pkgbase = wine-wow64
depends = v4l-utils
depends = desktop-file-utils
depends = libgphoto2
depends = libxkbcommon
depends = wayland
optdepends = alsa-lib
optdepends = cups
optdepends = dosbox
Expand All @@ -47,6 +45,8 @@ pkgbase = wine-wow64
provides = wine=9.5
conflicts = wine
options = staticlibs
options = strip
options = !debug
options = !lto
backup = usr/lib/binfmt.d/wine.conf
source = https://dl.winehq.org/wine/source/9.x/wine-9.5.tar.xz
Expand All @@ -56,4 +56,4 @@ pkgbase = wine-wow64
b2sums = 45db34fb35a679dc191b4119603eba37b8008326bd4f7d6bd422fbbb2a74b675bdbc9f0cc6995ed0c564cf088b7ecd9fbe2d06d42ff8a4464828f3c4f188075b
b2sums = e9de76a32493c601ab32bde28a2c8f8aded12978057159dd9bf35eefbf82f2389a4d5e30170218956101331cf3e7452ae82ad0db6aad623651b0cc2174a61588

pkgname = wine-wow64
pkgname = wine64
70 changes: 35 additions & 35 deletions PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Maintainer: Heptazhou <zhou at 0h7z dot com>

# Maintainer: Daniele Basso <d dot bass05 at proton dot me>

## useful links:
Expand All @@ -6,7 +8,7 @@
# https://gitlab.winehq.org/wine/wine-staging
# https://github.com/wine-staging/wine-staging

pkgname="wine-wow64"
pkgname=wine64 # wine-wow64
pkgver=9.5
_pkgver="${pkgver/rc/-rc}"
pkgrel=1
Expand All @@ -16,38 +18,34 @@ license=(LGPL)
arch=(x86_64)

depends=(
alsa-plugins #lib32-alsa-plugins
fontconfig #lib32-fontconfig
freetype2 #lib32-freetype2
gettext #lib32-gettext
gst-plugins-base-libs #lib32-gst-plugins-base-libs
libpulse #lib32-libpulse
libxcomposite #lib32-libxcomposite
libxcursor #lib32-libxcursor
libxi #lib32-libxi
libxinerama #lib32-libxinerama
libxrandr #lib32-libxrandr
opencl-icd-loader #lib32-opencl-icd-loader
pcsclite #lib32-pcsclite
sdl2 #lib32-sdl2
v4l-utils #lib32-v4l-utils
alsa-plugins
fontconfig
freetype2
gettext
gst-plugins-base-libs
libpulse
libxcomposite
libxcursor
libxi
libxinerama
libxrandr
opencl-icd-loader
pcsclite
sdl2
v4l-utils
desktop-file-utils
libgphoto2

# with-wayland
libxkbcommon
wayland
)
_spacehogs=(
samba
sane
)
makedepends=(
libcups #lib32-libcups
libxxf86vm #lib32-libxxf86vm
mesa #lib32-mesa
mesa-libgl #lib32-mesa-libgl
vulkan-icd-loader #lib32-vulkan-icd-loader
libcups
libxxf86vm
mesa
mesa-libgl
vulkan-icd-loader
autoconf
bison
flex
Expand All @@ -59,7 +57,7 @@ makedepends=(
"${_spacehogs[@]}"
)
optdepends=(
alsa-lib #lib32-alsa-lib
alsa-lib
cups
dosbox

Expand All @@ -72,25 +70,27 @@ conflicts=("wine")
install="wine.install"
backup=("usr/lib/binfmt.d/wine.conf")

options=(staticlibs !lto)
options=(staticlibs strip !debug !lto)

source=(
"https://dl.winehq.org/wine/source/${pkgver::1}.x/wine-$_pkgver.tar.xz"
"30-win32-aliases.conf"
"wine-binfmt.conf"
)
b2sums=('c14ebf02f0f5b91bc2b2517ff3630f22c6af7fdc827c5d024d809a383a65446284a5349c8109835112f5353f361088f4f32de1a3d04299fbf39deacbc0e8e8bf'
'45db34fb35a679dc191b4119603eba37b8008326bd4f7d6bd422fbbb2a74b675bdbc9f0cc6995ed0c564cf088b7ecd9fbe2d06d42ff8a4464828f3c4f188075b'
'e9de76a32493c601ab32bde28a2c8f8aded12978057159dd9bf35eefbf82f2389a4d5e30170218956101331cf3e7452ae82ad0db6aad623651b0cc2174a61588')
b2sums=(
"c14ebf02f0f5b91bc2b2517ff3630f22c6af7fdc827c5d024d809a383a65446284a5349c8109835112f5353f361088f4f32de1a3d04299fbf39deacbc0e8e8bf"
"45db34fb35a679dc191b4119603eba37b8008326bd4f7d6bd422fbbb2a74b675bdbc9f0cc6995ed0c564cf088b7ecd9fbe2d06d42ff8a4464828f3c4f188075b"
"e9de76a32493c601ab32bde28a2c8f8aded12978057159dd9bf35eefbf82f2389a4d5e30170218956101331cf3e7452ae82ad0db6aad623651b0cc2174a61588"
)

build() {
cd "wine-$_pkgver"
./configure \
--disable-tests \
--prefix=/usr \
--libdir=/usr/lib \
--with-wayland \
--enable-archs=x86_64,i386
\
--enable-archs=x86_64
make
}

Expand All @@ -100,14 +100,14 @@ package() {
libdir="$pkgdir"/usr/lib \
dlldir="$pkgdir"/usr/lib/wine install

ln -sf /usr/bin/wine "$pkgdir"/usr/bin/wine64
ln -s "$pkgdir"/usr/bin/wine{64,} -r

# Font aliasing settings for Win32 applications
install -Dm644 "$srcdir"/30-win32-aliases.conf -t "$pkgdir"/usr/share/fontconfig/conf.avail/
install -d "$pkgdir"/usr/share/fontconfig/conf.default
ln -s ../conf.avail/30-win32-aliases.conf "$pkgdir"/usr/share/fontconfig/conf.default/30-win32-aliases.conf

x86_64-w64-mingw32-strip --strip-unneeded "$pkgdir"/usr/lib/wine/x86_64-windows/*.dll

install -Dm644 "$srcdir"/wine-binfmt.conf "$pkgdir"/usr/lib/binfmt.d/wine.conf
}

# vim:set ts=8 sts=2 sw=2 et:

0 comments on commit dd48625

Please sign in to comment.