This repository has been archived by the owner on Jul 4, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcom.teamshiginima.ShiginimaLauncher.yaml
84 lines (84 loc) · 3.63 KB
/
com.teamshiginima.ShiginimaLauncher.yaml
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
app-id: com.teamshiginima.ShiginimaLauncher
branch: stable
runtime: org.freedesktop.Platform
runtime-version: '21.08'
sdk: org.freedesktop.Sdk
sdk-extensions:
- org.freedesktop.Sdk.Extension.openjdk17
command: wrapper.sh
finish-args:
- --share=network
- --socket=x11
- --share=ipc
- --device=dri
- --socket=pulseaudio
- --env=PATH=/app/jre/bin:/app/bin:/usr/bin
- --env=JAVA_HOME=/app/jre
- --persist=.minecraft
modules:
- name: launcher
buildsystem: simple
build-options:
env:
PATH: /app/bin:/usr/bin:/usr/lib/sdk/openjdk17/bin
build-commands:
- jar --extract --file "Shiginima Launcher SE.v4400.jar" "net/minecraft/launcher/ui/popups/profile/ProfileJavaPanel.class" "net/minecraft/launcher/game/MinecraftGameRunner.class"
- git apply fix_jvm_args.patch
- jar --update --file "Shiginima Launcher SE.v4400.jar" "net/minecraft/launcher/ui/popups/profile/ProfileJavaPanel.class" "net/minecraft/launcher/game/MinecraftGameRunner.class"
- install -Dm755 -t "${FLATPAK_DEST}/bin" "wrapper.sh"
- install -Dm644 "Shiginima Launcher SE.v4400.jar" "${FLATPAK_DEST}/share/com.teamshiginima.ShiginimaLauncher/launcher.jar"
- install -Dm644 -t "${FLATPAK_DEST}/share/applications" "com.teamshiginima.ShiginimaLauncher.desktop"
- install -Dm644 -t "${FLATPAK_DEST}/share/metainfo" "com.teamshiginima.ShiginimaLauncher.metainfo.xml"
- install -Dm644 "icon-256.png" "${FLATPAK_DEST}/share/icons/hicolor/256x256/apps/com.teamshiginima.ShiginimaLauncher.png"
- install -Dm644 "icon-128.png" "${FLATPAK_DEST}/share/icons/hicolor/128x128/apps/com.teamshiginima.ShiginimaLauncher.png"
- install -Dm644 "icon-64.png" "${FLATPAK_DEST}/share/icons/hicolor/64x64/apps/com.teamshiginima.ShiginimaLauncher.png"
- desktop-file-edit --set-key=Exec --set-value="${FLATPAK_DEST}/bin/wrapper.sh" "${FLATPAK_DEST}/share/applications/com.teamshiginima.ShiginimaLauncher.desktop"
- desktop-file-edit --set-icon=com.teamshiginima.ShiginimaLauncher "${FLATPAK_DEST}/share/applications/com.teamshiginima.ShiginimaLauncher.desktop"
sources:
- type: archive
url: https://web.archive.org/web/20201101050543/https://teamshiginima.com/update/ShiginimaSE_v4400.zip
sha256: a62e5272a29a926bc236ec2fa4f06d28600006751247039eb18f50fe95038a22
- type: file
path: fix_jvm_args.patch
- type: file
path: wrapper.sh
- type: file
path: com.teamshiginima.ShiginimaLauncher.desktop
- type: file
path: com.teamshiginima.ShiginimaLauncher.metainfo.xml
- type: file
path: icon-256.png
- type: file
path: icon-128.png
- type: file
path: icon-64.png
modules:
- name: openjdk
buildsystem: simple
build-commands:
- /usr/lib/sdk/openjdk17/install.sh
- name: libflite
cleanup:
- /bin
- /include
- /lib/*.a
buildsystem: simple
build-options:
no-debuginfo: true
cflags: -g0
strip: true
build-commands:
- echo -e "LEXES = cmulex\nLANGS = usenglish\nVOXES = cmu_us_kal16" > config/default.lv
- sed -i '/$(INSTALL) -m 755 $(BINDIR)\/flite_time $(DESTDIR)$(INSTALLBINDIR)/d' main/Makefile
- ./configure --prefix="${FLATPAK_DEST}" --with-audio=alsa --enable-shared
- make
- make install
sources:
- type: git
url: https://github.com/festvox/flite.git
commit: e0a3d2596f4fcb2b8babff5a6367b43a4ac2a664
- name: xrandr
sources:
- type: archive
url: https://www.x.org/archive/individual/app/xrandr-1.5.1.tar.gz
sha256: 7b99edb7970a1365eaf5bcaf552144e4dfc3ccf510c4abc08569849929fb366e