-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy patheu.tiliado.NuvolaAdk.yml
169 lines (162 loc) · 5.45 KB
/
eu.tiliado.NuvolaAdk.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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
---
app-id: eu.tiliado.NuvolaAdk
# We need git, etc.
runtime: org.gnome.Sdk
runtime-version: '40'
sdk: org.gnome.Sdk
base: eu.tiliado.NuvolaCdk
base-extensions:
- eu.tiliado.NuvolaCdk.Debug
command: bash
finish-args:
# X11 + XShm access
- --share=ipc
- --socket=x11
# Wayland access
- --socket=wayland
# OpenGL access
- --device=dri
# Needs to talk to the network
- --share=network
# Play audio
- --socket=pulseaudio
# OpenSUSE & ALSA issue: tiliado/nuvolaruntime#376
- --env=ALSA_CONFIG_PATH=
# Needed for dconf to work
- --filesystem=xdg-run/dconf
- --filesystem=~/.config/dconf:ro
- --talk-name=ca.desrt.dconf
- --env=DCONF_USER_CONFIG_DIR=.config/dconf
# For nvidia driver version
- --filesystem=/sys/module/nvidia:ro
# Bumblebeed: https://github.com/tiliado/nuvolaruntime/issues/380
- --filesystem=/sys/module/i915:ro
- --filesystem=/sys/fs/cgroup/pids/system.slice:ro
# Network Manager for HTTP Remote control, Nuvola service only
- --system-talk-name=org.freedesktop.NetworkManager
# VA-API drivers
- --env=LIBVA_DRIVERS_PATH=/app/lib/dri:/usr/lib/dri
# VDPAU drivers
- --env=VDPAU_DRIVER_PATH=/app/lib/vdpau
# We want bash!
- --env=SHELL=/usr/bin/bash
# Session managers
- --talk-name=org.gnome.SessionManager
- --talk-name=org.xfce.SessionManager
# MPRIS
- --own-name=org.mpris.MediaPlayer2.*
# Unity launcher API
- --talk-name=com.canonical.Unity
# Notifications
- --talk-name=org.freedesktop.Notifications
# app indicators
- --talk-name=org.kde.StatusNotifierWatcher
# Media keys
- --talk-name=org.gnome.SettingsDaemon.MediaKeys
- --talk-name=org.gnome.SettingsDaemon
# Keep .bashrc, etc
- --persist=
# Temporary icons
- --filesystem=~/.local/share/icons/hicolor
# pkg config
- --env=PKG_CONFIG_PATH=/app/lib/pkgconfig:/usr/lib/pkgconfig
# Needed for various branding
- --own-name=eu.tiliado.*
modules:
- name: diorite
buildsystem: simple
x-keep:
- /app/{.ref,manifest.json}
- /app/lib/libdiorite*.so*
x-stage:
- /app/bin/diorite-testgen4
- /app/include/diorite-1.0/*
- /app/lib/pkgconfig/diorite*.pc
- /app/share/vala/vapi/diorite*.{vapi,deps}
sources:
- type: git
path: /home/fenryxo/dev/repo/diorite
branch: release-4.x
disable-shallow-clone: true
build-commands:
- python3 ./waf configure build install --prefix=/app --libdir=/app/lib --novaladoc --flatpak --no-vala-lint
- name: valacef
buildsystem: simple
x-stage:
- /app/include/valacef-1.0/*
- /app/lib/pkgconfig/valacef*.pc
- /app/share/vala/vapi/cefiumrendererextension.{vapi,deps}
- /app/share/vala/vapi/valacef*.{vapi,deps}
x-keep:
- /app/lib/libvalacef*.so
- /app/lib/valacef/*
- /app/share/valacef/*
sources:
- type: git
path: /home/fenryxo/dev/projects/valacef
branch: 75.3770.x
disable-shallow-clone: true
build-commands:
- ./waf configure build install --prefix=/app --libdir=/app/lib
- rm /app/bin/Cefium
- name: nuvola
buildsystem: simple
x-keep:
- /app/bin/nuvola*
- /app/lib/{libengineio,libnuvolaruntime*}.so
- /app/lib/nuvolaruntime/*
- /app/share/dbus-1/services/eu.tiliado.NuvolaAdk.service
- /app/share/icons/hicolor/*/apps/eu.tiliado.NuvolaAdk.*
- /app/share/nuvolaruntime/*
sources:
- type: git
path: /home/fenryxo/dev/repo/nuvola/nuvolaruntime
branch: release-4.x
disable-shallow-clone: true
- type: file
path: adk-branding.json
dest: branding
dest-filename: tiliado.json
build-commands:
- python3 ./waf configure --prefix=/app --libdir=/app/lib --branding=tiliado --no-vala-lint
- python3 ./waf build install
- rm /app/share/*/eu.tiliado.NuvolaAdk.appdata.xml
- rm /app/share/applications/eu.tiliado.NuvolaAdk.desktop
- rm /app/share/vala/vapi/{engineio,nuvolaruntime*}.{vapi,deps}
- rm -r /app/include/nuvolaruntime-1.0 /app/lib/pkgconfig/nuvolaruntime*.pc
- name: nuvolasdk
buildsystem: simple
build-options:
env:
PYTHON: /usr/bin/python3
build-commands:
- python3 -m pip install -v --prefix=/app .
x-keep:
- /app/bin/nuvolasdk
- /app/lib/python3.8/site-packages/nuvolasdk-*.dist-info/*
- /app/lib/python3.8/site-packages/nuvolasdk/*
sources:
- type: git
path: /home/fenryxo/dev/repo/nuvola/nuvolasdk
branch: master
disable-shallow-clone: true
- name: final
buildsystem: simple
x-keep:
- /app/bin/{bash,nano,node,rnano,scour,standard,xdg-*}
- /app/etc/udev/udev.conf
- /app/lib/{cef/*,libayatana*,libdbus*,libdee*,libdri2*,libpci*,libudev*,libunity*}
- /app/lib/node_modules/standard/*
- /app/lib/python3.8/site-packages/{Pillow,scour}-*.dist-info/*
- /app/lib/python3.8/site-packages/{PIL,scour}/*
- /app/libexec/udevd
- /app/share/{hwdata,javascript,nano}/*
- /app/share/runtime/locale/*/nano.mo
build-commands:
- rm /app/bin/{diorite-testgen4,vala*,vapi*}
- rm -r /app/include
- rm -r /app/lib/{pkgconfig,{lib,}vala{doc,}-*}
- rm -r /app/share/{graphviz,valadoc-*,vala,vala-*}
- rm -r /app/lib/python3.8/site-packages/{pyparsing,ply,CppHeaderParser}*
- rm -r /app/lib/{graphviz,libcdt,libcgraph,libgvc,libxdot,libpathplan,libgvp,liblab_gamut}*
- rm /app/lib/python3.8/site-packages/__pycache__/pyparsing.cpython-38.pyc