-
Notifications
You must be signed in to change notification settings - Fork 9
/
com.jetbrains.CLion.yml
119 lines (110 loc) · 3.68 KB
/
com.jetbrains.CLion.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
app-id: com.jetbrains.CLion
command: clion
runtime: org.freedesktop.Sdk
runtime-version: '24.08'
sdk: org.freedesktop.Sdk
separate-locales: false
tags:
- proprietary
finish-args:
- --allow=devel
- --device=all
- --env=CLION_PROPERTIES=/app/bin/idea.properties
- --filesystem=host
- --filesystem=xdg-run/docker
- --filesystem=xdg-run/keyring
- --filesystem=xdg-run/podman
- --share=ipc
- --share=network
- --socket=gpg-agent
- --socket=ssh-auth
- --socket=x11
- --talk-name=com.canonical.AppMenu.Registrar
- --talk-name=org.freedesktop.Flatpak
- --talk-name=org.freedesktop.Notifications
- --talk-name=org.freedesktop.secrets
- --talk-name=org.gnome.keyring.SystemPrompter
add-extensions:
org.freedesktop.Sdk.Compat.i386:
directory: lib/i386-linux-gnu
version: '24.08'
modules:
- name: jetbrains-flatpak-wrapper
buildsystem: meson
config-opts:
- -Deditor_binary=/app/extra/clion/bin/clion
- -Deditor_title=IntelliJ CLion
- -Dprogram_name=clion
sources:
- type: git
url: https://github.com/Lctrs/jetbrains-flatpak-wrapper.git
commit: 5a054811ab2144ceaf343169b240a70eeb4dfb47
- shared-modules/libsecret/libsecret.json
- name: rsync
cleanup:
- /share/man
config-opts:
- --disable-debug
- --disable-md2man
- --disable-xxhash
- --prefix=${FLATPAK_DEST}
- --with-included-popt
- --with-included-zlib
sources:
- type: archive
url: https://download.samba.org/pub/rsync/src/rsync-3.3.0.tar.gz
sha256: 7399e9a6708c32d678a72a63219e96f23be0be2336e50fd1348498d07041df90
x-checker-data:
project-id: 4217
stable-only: true
type: anitya
url-template: https://download.samba.org/pub/rsync/src/rsync-$version.tar.gz
# -----------------------------------------------------------------------------------------------
#
# -----------------------------------------------------------------------------------------------
- name: clion
buildsystem: simple
build-commands:
- install -D apply_extra /app/bin/apply_extra
- install -D -m644 -t ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/ ${FLATPAK_ID}.svg
- install -D -m644 -t ${FLATPAK_DEST}/share/applications/ ${FLATPAK_ID}.desktop
- install -D -m644 -t ${FLATPAK_DEST}/share/metainfo/ ${FLATPAK_ID}.appdata.xml
- cat idea.properties | tee -a ${FLATPAK_DEST}/bin/idea.properties
- mkdir -p /app/lib/i386-linux-gnu /app/lib/debug/lib/i386-linux-gnu
sources:
- type: script
dest-filename: apply_extra
commands:
- mkdir clion/
- tar -xzf clion.tar.gz --directory=clion/ --strip-components=1
- rm clion.tar.gz
- type: file
path: com.jetbrains.CLion.appdata.xml
- type: file
path: com.jetbrains.CLion.desktop
- type: file
path: com.jetbrains.CLion.svg
- type: file
path: idea.properties
- type: extra-data
filename: clion.tar.gz
sha256: 054eff2dcdb7779b97d940b5425ae7c56bfafd657367e3a749275ef6a0a40368
size: 1542840165
url: https://download.jetbrains.com/cpp/CLion-2024.3.1.1.tar.gz
only-arches:
- x86_64
x-checker-data:
type: jetbrains
code: CL
is-main-source: true
- type: extra-data
filename: clion.tar.gz
sha256: dacd54a45145ed65b2c40520706432449e4bc3ff2bb23be6cb1fb4c73d9db223
size: 1537694185
url: https://download.jetbrains.com/cpp/CLion-2024.3.1.1-aarch64.tar.gz
only-arches:
- aarch64
x-checker-data:
type: jetbrains
code: CL
is-main-source: true