-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathio.gitlab.xboxdrv.yml
55 lines (50 loc) · 1.66 KB
/
io.gitlab.xboxdrv.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
app-id: io.gitlab.xboxdrv
runtime: org.freedesktop.Platform
runtime-version: '22.08'
sdk: org.freedesktop.Sdk
separate-locales: false
command: xboxdrv
finish-args:
- --share=ipc
- --device=all
- --socket=system-bus
cleanup:
- /include
- /lib/pkgconfig
- /lib/cmake
- /lib/debug
- /lib/python3.10
- /share
modules:
- shared-modules/libusb/libusb.json
- shared-modules/dbus-glib/dbus-glib.json
- name: boost
disabled: false
buildsystem: simple
build-commands:
- cd tools/build && bison -y -d -o src/engine/jamgram.cpp src/engine/jamgram.y
- ./bootstrap.sh --prefix=$FLATPAK_DEST --with-libraries=headers || cat bootstrap.log
- ./b2 install variant=release link=static,shared runtime-link=shared cxxflags="$CXXFLAGS" linkflags="$LDFLAGS"
-j $FLATPAK_BUILDER_N_JOBS
sources:
- type: archive
url: http://archive.ubuntu.com/ubuntu/pool/main/b/boost1.74/boost1.74_1.74.0.orig.tar.xz
sha256: 2467be4af625b5ae4b3c93fc7af196a09eba39c11a7338cd9e8b356fa44d2f45
- name: scons
cleanup: '*'
buildsystem: simple
build-commands:
- python -mpip install . --no-index --find-links=file://$PWD --prefix=$FLATPAK_DEST --no-build-isolation
sources:
- type: archive
url: http://archive.ubuntu.com/ubuntu/pool/universe/s/scons/scons_4.0.1+dfsg.orig.tar.xz
sha256: f4fd16ab994f759773d3eae1a50fe5882c007c7bc705151201d0b57d8f7d2e79
- name: xboxdrv
buildsystem: simple
build-commands:
- scons
- make install PREFIX=$FLATPAK_DEST
sources:
- type: git
url: https://gitlab.com/xboxdrv/xboxdrv.git
commit: 662952a6d860e15dc1868943f500e09e9fef6916