forked from flathub/net.redeclipse.RedEclipse
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnet.redeclipse.RedEclipse.yml
More file actions
58 lines (57 loc) · 2.33 KB
/
net.redeclipse.RedEclipse.yml
File metadata and controls
58 lines (57 loc) · 2.33 KB
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
id: net.redeclipse.RedEclipse
runtime: org.freedesktop.Platform
runtime-version: '25.08'
sdk: org.freedesktop.Sdk
command: redeclipse
finish-args:
- --device=all
- --share=ipc
- --share=network
- --socket=fallback-x11
- --socket=wayland
- --socket=pulseaudio
- --persist=.redeclipse
modules:
- shared-modules/SDL2/SDL2_image.json
- name: redeclipse
no-autogen: true
no-make-install: true
build-options:
cflags: -O3 -fomit-frame-pointer
cflags-override: true
cxxflags: -O3 -fomit-frame-pointer -ffast-math -fno-finite-math-only
cxxflags-override: true
config-opts:
- -DWANT_DISCORD=0
- -DWANT_STEAM=0
subdir: src
sources:
- type: archive
url: https://github.com/redeclipse/base/releases/download/v2.0.0/redeclipse_2.0.0_nix.tar.bz2
sha256: b15c14214e4b86c232828b39d3531fa9217b41bc695892f10166aef746387190
x-checker-data:
type: anitya
project-id: 8261
stable-only: true
url-template: https://github.com/redeclipse/base/releases/download/v$version/redeclipse_$version_nix.tar.bz2
is-main-source: true
- type: file
path: net.redeclipse.RedEclipse.appdata.xml
- type: file
path: redeclipse.sh
- type: file
path: redeclipse_server.sh
- type: file
path: genkey.sh
post-install:
- install -Dm755 ../redeclipse.sh /app/bin/redeclipse
- install -Dm755 ../redeclipse_server.sh /app/bin/redeclipse_server
- install -Dm755 ../genkey.sh /app/bin/genkey
- install -Dm755 redeclipse_linux /app/share/redeclipse/redeclipse
- install -Dm755 redeclipse_server_linux /app/share/redeclipse/redeclipse_server
- install -Dm755 genkey_linux /app/share/redeclipse/genkey
- cp -a ../config ../data /app/share/redeclipse
- install -Dm644 ../net.redeclipse.RedEclipse.appdata.xml /app/share/appdata/net.redeclipse.RedEclipse.appdata.xml
- install -Dm644 ../src/install/nix/redeclipse.desktop.am /app/share/applications/net.redeclipse.RedEclipse.desktop
- install -Dm644 ../src/install/nix/redeclipse_x128.png /app/share/icons/hicolor/128x128/apps/net.redeclipse.RedEclipse.png
- desktop-file-edit --set-icon=net.redeclipse.RedEclipse --set-key=Exec --set-value=redeclipse /app/share/applications/net.redeclipse.RedEclipse.desktop