This repository has been archived by the owner on Sep 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.yml
107 lines (100 loc) · 3.62 KB
/
package.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
name : wine
version : '8.16'
release : 160
source :
- https://dl.winehq.org/wine/source/8.x/wine-8.16.tar.xz : 168266375eef23394a3147e84b41b4297fb80363db0a07921a5ed087a9c3f3fd
license : LGPL-2.1-or-later
component : virt
homepage : https://www.winehq.org/
summary : Wine is a compatibility layer for Windows applications
description: |
Wine (originally an acronym for "Wine Is Not an Emulator") is a compatibility layer capable of running Windows applications on several POSIX-compliant operating systems, such as Linux, Mac OSX, & BSD. Instead of simulating internal Windows logic like a virtual machine or emulator, Wine translates Windows API calls into POSIX calls on-the-fly, eliminating the performance and memory penalties of other methods and allowing you to cleanly integrate Windows applications into your desktop.
builddeps :
- pkgconfig32(OpenCL)
- pkgconfig32(alsa)
- pkgconfig32(dbus-1)
- pkgconfig32(d3d)
- pkgconfig32(glu)
- pkgconfig32(gtk+-3.0)
- pkgconfig32(gstreamer-plugins-base-1.0)
- pkgconfig32(ice)
- pkgconfig32(krb5)
- pkgconfig32(libgphoto2)
- pkgconfig32(libpcap)
- pkgconfig32(libpcsclite)
- pkgconfig32(libpulse)
- pkgconfig32(libtiff-4)
- pkgconfig32(libturbojpeg)
- pkgconfig32(libusb-1.0)
- pkgconfig32(libv4l1)
- pkgconfig32(ncursesw)
- pkgconfig32(ocl-icd)
- pkgconfig32(odbc)
- pkgconfig32(sdl2)
- pkgconfig32(libvkd3d)
- pkgconfig32(vulkan)
- pkgconfig32(xi)
- pkgconfig32(xinerama)
- pkgconfig32(xshmfence)
- pkgconfig32(xxf86vm)
- cups-32bit-devel
- glibc-32bit-devel
- libgcc-32bit
- libpth-32bit-devel
- mingw-w64-32bit
patterns :
- 32bit :
- /usr/bin/wine
- /usr/share/applications/wine.desktop
rundeps :
- 32bit :
- freetype2-32bit
- harfbuzz-32bit
- gstreamer-1.0-plugins-base-32bit
- kerberos-32bit
- libcap2-32bit
- libgcrypt-32bit
- libgnutls-32bit
- libpng15-32bit
- libtiff-32bit
- libtxc_dxtn-32bit
- libxcursor-32bit
- libxrandr-32bit
- mesalib-32bit
- ncurses-32bit
- sdl2-32bit
- vulkan-32bit
- libpng15
environment: |
export PATH=/usr/share/mingw-w64/bin:$PATH
setup : |
%patch -p1 < $pkgfiles/0001-Do-not-hijack-file-associations.patch
# Get 64-bit done first.
mkdir wine64 && pushd wine64
../configure %CONFOPTS% \
--enable-win64 \
--with-x
popd
# 32-bit now
mkdir wine32 && pushd wine32
PKG_CONFIG_PATH=/usr/lib32/pkgconfig:/usr/share/pkgconfig:/usr/lib64/pkgconfig ../configure %CONFOPTS% \
--with-wine64=../wine64 \
--libdir=/usr/lib32 \
--with-x
popd
build : |
%make -C wine64
%make -C wine32
install : |
%make_install -C wine32
%make_install -C wine64
rm -f $installdir/usr/lib*/wine/*/*.a
i686-w64-mingw32-strip $installdir/usr/lib32/wine/i386-windows/*
x86_64-w64-mingw32-strip $installdir/usr/lib64/wine/x86_64-windows/*
install -Dm00644 $pkgfiles/wine64.desktop $installdir/usr/share/applications/wine64.desktop
# Note: systemd-binfmt must be (re)started for this to work
install -Dm00644 $pkgfiles/wine.binfmt $installdir/%libdir%/binfmt.d/wine.conf
# Font aliasing settings for Win32 applications
install -dm00755 $installdir/usr/share/fonts/conf.d
install -Dm00644 $pkgfiles/30-win32-aliases.conf -t $installdir/usr/share/fontconfig/conf.avail
ln -s /usr/share/fontconfig/conf.avail/30-win32-aliases.conf $installdir/usr/share/fonts/conf.d/30-win32-aliases.conf