-
Notifications
You must be signed in to change notification settings - Fork 0
/
com.fightcade.Fightcade.Wine.yml
80 lines (72 loc) · 2.1 KB
/
com.fightcade.Fightcade.Wine.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
id: com.fightcade.Fightcade.Wine
runtime: com.fightcade.Fightcade
runtime-version: stable
sdk: org.freedesktop.Sdk//21.08
sdk-extensions:
- org.freedesktop.Sdk.Compat.i386
- org.freedesktop.Sdk.Extension.toolchain-i386
- org.freedesktop.Sdk.Extension.mingw-w64
build-extension: true
separate-locales: false
appstream-compose: false
build-options:
prefix: /app/wine
append-path: /usr/lib/sdk/toolchain-i386/bin:/usr/lib/sdk/mingw-w64/bin
cleanup:
- '*.a'
- '*.la'
- /include
- /share/man
- /bin/function_grep.pl
- /bin/widl
- /bin/winecpp
- /bin/winedump
- /bin/wineg++
- /bin/winegcc
- /bin/winemaker
- /bin/wmc
- /bin/wrc
- /bin/winebuild
- /lib/wine/*.def
- /lib32/wine/*.def
modules:
- name: wine
build-options:
config-opts:
- --enable-win64
libdir: /app/wine/lib
config-opts: &wine-config-opts
- --disable-win16
- --without-ldap
- --without-cups
- --without-gphoto
- --without-gsm
- --with-faudio
make-install-args: &wine-make-install-args
- LDCONFIG=/bin/true
- UPDATE_DESKTOP_DATABASE=/bin/true
- INSTALL_PROGRAM_FLAGS=-s
sources: &wine-sources
- type: archive
url: https://dl.winehq.org/wine/source/8.0/wine-8.0.1.tar.xz
sha256: 22035f3836b4f9c3b1940ad90f9b9e3c1be09234236d2a80d893180535c75b7d
- name: wine-32bit
build-options:
libdir: /app/wine/lib32
ldflags: -L/app/lib32 -Wl,-z,relro,-z,now -Wl,--as-needed
ldflags-override: true
env:
CC: i686-unknown-linux-gnu-gcc
CXX: i686-unknown-linux-gnu-g++
prepend-pkg-config-path: /app/lib32/pkgconfig:/usr/lib/i386-linux-gnu/pkgconfig
config-opts: *wine-config-opts
make-install-args: *wine-make-install-args
sources: *wine-sources
- name: metadata
buildsystem: simple
build-commands:
- install -Dm644 ${FLATPAK_ID}.metainfo.xml -t ${FLATPAK_DEST}/share/metainfo
- appstream-compose --basename=${FLATPAK_ID} --prefix=${FLATPAK_DEST} --origin=flatpak ${FLATPAK_ID}
sources:
- type: file
path: com.fightcade.Fightcade.Wine.metainfo.xml