This repository has been archived by the owner on Apr 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
/
net.pcsx2.PCSX2.yml
128 lines (128 loc) · 4.05 KB
/
net.pcsx2.PCSX2.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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
app-id: net.pcsx2.PCSX2
runtime: org.kde.Platform
sdk: org.kde.Sdk
runtime-version: '6.5'
command: pcsx2-qt
sdk-extensions:
- org.freedesktop.Sdk.Extension.llvm16
finish-args:
- --device=all
- --share=network
- --share=ipc
- --socket=fallback-x11
- --socket=wayland
- --socket=pulseaudio
- --filesystem=host:ro
- --talk-name=org.freedesktop.ScreenSaver
modules:
- name: libaio
no-autogen: true
make-install-args:
- prefix=${FLATPAK_DEST}
sources:
- type: git
url: https://pagure.io/libaio.git
tag: libaio-0.3.113
commit: 1b18bfafc6a2f7b9fa2c6be77a95afed8b7be448
x-checker-data:
type: git
tag-pattern: ^libaio-([\d.]+)$
cleanup:
- /include
- /lib/*.a
- name: soundtouch
buildsystem: cmake-ninja
sources:
- type: git
url: https://codeberg.org/soundtouch/soundtouch.git
tag: 2.3.2
commit: 29fba832a7920a04eab956b3990c50e13d8c93f9
x-checker-data:
type: git
tag-pattern: ^([\d.]+)$
cleanup:
- /bin
- /include
- /lib/cmake
- /lib/pkgconfig
- /share/doc
- /lib/*.a
- name: png++
disabled: true
buildsystem: autotools
make-install-args:
- prefix=${FLATPAK_DEST}
sources:
- type: archive
url: https://download.savannah.nongnu.org/releases/pngpp/png++-0.2.10.tar.gz
sha256: 998af216ab16ebb88543fbaa2dbb9175855e944775b66f2996fc945c8444eee1
- name: libpcap
buildsystem: cmake-ninja
sources:
- type: git
url: https://github.com/the-tcpdump-group/libpcap.git
tag: libpcap-1.10.4
commit: 104271ba4a14de6743e43bcf87536786d8fddea4
x-checker-data:
type: git
tag-pattern: ^libpcap-([\d.]+)$
cleanup:
- /bin
- /include
- /share/man
- /lib/pkgconfig
- /lib/*.a
- name: pcsx2
buildsystem: cmake-ninja
builddir: true
config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DQT_BUILD=ON
- -DCUBEB_API=ON
- -DX11_API=ON
- -DWAYLAND_API=ON
- -DENABLE_SETCAP=OFF
- -DUSE_SYSTEM_SDL2=ON
- -DUSE_SYSTEM_ZSTD=OFF
- -DDISABLE_ADVANCE_SIMD=TRUE
##############################################################
- -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON
- -DCMAKE_C_COMPILER=/usr/lib/sdk/llvm16/bin/clang
- -DCMAKE_CXX_COMPILER=/usr/lib/sdk/llvm16/bin/clang++
- -DCMAKE_EXE_LINKER_FLAGS_INIT=-fuse-ld=/usr/lib/sdk/llvm16/bin/ld.lld
- -DCMAKE_MODULE_LINKER_FLAGS_INIT=-fuse-ld=/usr/lib/sdk/llvm16/bin/ld.lld
- -DCMAKE_SHARED_LINKER_FLAGS_INIT=-fuse-ld=/usr/lib/sdk/llvm16/bin/ld.lld
cleanup:
- /share/pixmaps
- /share/man
- /share/doc
post-install:
- cp -r bin/pcsx2-qt ../bin/* ${FLATPAK_DEST}/bin
- rm ${FLATPAK_DEST}/bin/portable.ini
- install -Dm644 ../bin/resources/icons/AppIconLarge.png ${FLATPAK_DEST}/share/icons/hicolor/256x256/apps/net.pcsx2.PCSX2.png
- install -Dm644 ../net.pcsx2.PCSX2.metainfo.xml ${FLATPAK_DEST}/share/metainfo/net.pcsx2.PCSX2.metainfo.xml
- install -Dm644 ../.github/workflows/scripts/linux/pcsx2-qt.desktop ${FLATPAK_DEST}/share/applications/net.pcsx2.PCSX2.desktop
- desktop-file-edit --set-key=Icon --set-value=net.pcsx2.PCSX2 ${FLATPAK_DEST}/share/applications/net.pcsx2.PCSX2.desktop
sources:
- type: git
url: https://github.com/PCSX2/pcsx2.git
tag: v1.7.4666
commit: d38ad1df94a073f2891992cd47b80ed3418fc3bc
x-checker-data:
type: git
tag-pattern: ^v([\d.]+)$
- type: file
path: net.pcsx2.PCSX2.metainfo.xml
- name: pcsx2_patches
buildsystem: simple
build-commands:
- cd patches/ && zip -r ../patches.zip *
- install -Dm644 patches.zip ${FLATPAK_DEST}/bin/resources/patches.zip
sources:
- type: git
url: https://github.com/PCSX2/pcsx2_patches.git
tag: latest
commit: 74e2185f000c20ffcb548bad12b7514ac759a327
x-checker-data:
type: git
tag-pattern: (latest)