-
Notifications
You must be signed in to change notification settings - Fork 6
/
io.github.glaumar.QRookie.yml
99 lines (92 loc) · 3.26 KB
/
io.github.glaumar.QRookie.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
app-id: io.github.glaumar.QRookie
runtime: org.kde.Platform
runtime-version: "6.6"
sdk: org.kde.Sdk
sdk-extensions:
- org.freedesktop.Sdk.Extension.openjdk21
command: QRookie
finish-args:
- --socket=wayland
- --socket=fallback-x11
- --device=all
- --share=network
- --share=ipc
- --persist=.android
- --env=PATH=/app/jre/bin:/app/bin:/usr/bin
cleanup:
- "*.a"
- /include
modules:
- name: p7zip
buildsystem: simple
build-commands:
- install -pDm 0755 7za -t "/app/bin/"
sources:
- type: archive
url: https://github.com/p7zip-project/p7zip/releases/download/v17.05/linux-cmake-p7zip.zip
sha256: ac5240801ef208b7e7018a353c0d699526f5a0367fb8be89ce89a7b2cafb7d4e
- name: openjdk
buildsystem: simple
build-commands:
- /usr/lib/sdk/openjdk21/install.sh
- name: android-tools
buildsystem: simple
build-commands:
- install -pDm 0755 adb -t "/app/bin/"
sources:
- type: archive
url: https://dl.google.com/android/repository/platform-tools_r34.0.0-linux.zip
sha256: 8137c2834dea05cb64c1a8bc041ea00fcd43e3a8a29429ad4f25b8ee51efebf6
- name: android-apktool
buildsystem: simple
build-commands:
- install -Dm0644 apktool_2.9.3.jar "/app/share/android-apktool/apktool.jar"
# https://superuser.com/questions/1435437/how-to-get-around-this-error-when-untarring-an-archive-tar-cannot-change-owner
- tar xf apktool-install-linux-r04-brut1.tar.bz2 --no-same-owner
- sed -i 's/libdir=.*progdir/libdir="\/app\/share\/'android-apktool'/' apktool
- install -pDm 0755 apktool -t "/app/bin/"
sources:
- type: file
url: https://github.com/iBotPeaches/Apktool/releases/download/v2.9.3/apktool_2.9.3.jar
sha256: 7956eb04194300ce0d0a84ad18771eebc94b89fb8d1ddcce8ea4c056818646f4
- type: file
url: http://connortumbleson.com/apktool/googlecode/apktool-install-linux-r04-brut1.tar.bz2
sha256: cffa5c0a46bab9c66da02cc5db651c3a8321bee98580815e44c802d62a696dfa
- name: android-sdk-build-tools
buildsystem: simple
build-options:
env:
target: "/opt/android-sdk/build-tools/android-14"
build-commands:
# https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=android-sdk-build-tools
- mkdir -p "/app/$target"
- cp -r * "/app/$target"
- chmod +Xr -R "/app/$target"
# Add symlinks to binaries to app/bin/
- mkdir -p "/app/bin/"
- find . -maxdepth 1 -type f -executable -printf "%f\n" | xargs -n 1 -I _ ln -s "/app/$target/_" "/app/bin/_"
sources:
- type: archive
url: https://dl.google.com/android/repository/build-tools_r34-linux.zip
sha256: e858c4b60069d0431051b225d384413b1643e1289b00a4825aed347f25bd510f
- name: qcoro
buildsystem: cmake-ninja
sources:
- type: archive
url: https://github.com/danvratil/qcoro/archive/refs/tags/v0.10.0.tar.gz
sha256: b7c8f00273ad27d85814bf4ec93eb6922c75656800a61d11854d36355a4a1aec
- name: qrookie
buildsystem: cmake-ninja
sources:
- type: dir
path: .
skip:
- CMakeLists.txt.user
- build
- build-flatpak
- .flatpak-builder
- .VSCodeCounter
- .flatpak
- QRookie.flatpak
- export
- repo