summaryrefslogtreecommitdiff
path: root/repo/wine/wine.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2023-02-02 14:10:02 +0000
committerdavidovski <david@davidovski.xyz>2023-02-02 14:10:02 +0000
commitf29d569cd33a73da5ad675f43a34ad53c5cc9bc6 (patch)
tree76fe6267f8307e7630fc6f53ff99a9767ad40de0 /repo/wine/wine.xibuild
parent05d004dfe0c9a9d898fac8a4a0292ca2a74ca391 (diff)
Work
Diffstat (limited to 'repo/wine/wine.xibuild')
-rw-r--r--repo/wine/wine.xibuild64
1 files changed, 0 insertions, 64 deletions
diff --git a/repo/wine/wine.xibuild b/repo/wine/wine.xibuild
deleted file mode 100644
index 88c16ef..0000000
--- a/repo/wine/wine.xibuild
+++ /dev/null
@@ -1,64 +0,0 @@
-#!/bin/sh
-
-NAME="wine"
-DESC="A compatibility layer for running Windows programs"
-
-MAKEDEPS=" alsa-lib autoconf automake bison cups dbus flex fontconfig freetype giflib gnutls gstreamer gst-plugins-base krb5 libgphoto2 libpcap libusb libxcomposite libxcursor libxdamage libxi libxinerama libxrandr libxrender mesa mingw-w64-gcc mpg123 ncurses openal-soft opencl sane sdl2 udisks2 v4l-utils vkd3d vulkan-loader"
-
-PKG_VER=7.18
-SOURCE="https://dl.winehq.org/wine/source/7.x/wine-$PKG_VER.tar.xz"
-
-ADDITIONAL="
-rpath.patch
-"
-
-prepare() {
- apply_patches
- # fix opencl header detection
- sed 's|OpenCL/opencl.h|CL/opencl.h|g' -i configure*
-}
-
-build() {
- ./configure \
- --prefix=/usr \
- --libdir=/usr/lib \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --with-dbus \
- --without-ldap \
- --with-mingw \
- --with-x \
- --with-vulkan \
- --enable-win64
- make LDFLAGS="$LDFLAGS $_no_pie" tools/winedump/winedump
- make
-}
-
-check() {
- xvfb-run make test
-}
-
-package() {
- make DESTDIR="$PKG_DEST" install
-
- install -Dm755 tools/wineapploader \
- "$PKG_DEST"/usr/bin/wineapploader
-
- local file
- for file in msiexec notepad regedit regsvr32 wineboot \
- winecfg wineconsole winefile winemine winepath
- do
- rm "$PKG_DEST"/usr/bin/$file
- ln -sf /usr/bin/wineapploader "$PKG_DEST"/usr/bin/$file
- done
-
- case "$CARCH" in
- x86_64)
- x86_64-w64-mingw32-strip --strip-unneeded "$PKG_DEST"/usr/lib/wine/x86_64-windows/*.dll
- ;;
- x86)
- i686-w64-mingw32-strip --strip-unneeded "$PKG_DEST"/usr/lib/wine/i386-windows/*.dll
- ;;
- esac
-}
-