-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy patheu.tiliado.NuvolaCdk.yml
736 lines (707 loc) · 24.6 KB
/
eu.tiliado.NuvolaCdk.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
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
---
app-id: eu.tiliado.NuvolaCdk
runtime: org.gnome.Sdk
runtime-version: '40'
sdk: org.gnome.Sdk
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
# Session managers
- --talk-name=org.gnome.SessionManager
- --talk-name=org.xfce.SessionManager
# 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
# Tiliado
- --own-name=eu.tiliado.*
# 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
modules:
# ======= Node JS =======
- name: nodejs
# needed by: standardjs
buildsystem: simple
build-commands:
- ./configure --prefix=/app && time make -j2 install
x-keep:
- /app/bin/node
x-stage:
- /app/bin/npm
- /app/lib/node_modules/npm/bin/*
- /app/lib/node_modules/npm/lib/*
- /app/lib/node_modules/npm/node_modules/*
- /app/lib/node_modules/npm/package.json
sources:
- type: archive
url: https://nodejs.org/dist/latest/node-v16.6.0.tar.xz
sha256: '5c5714a08b0881f37b57ab1f1b4801a1af316a2aea17faedc9c2d43247c7b9d9'
x-update:
ignore: true
url: https://nodejs.org/dist/latest/
url-pattern: node-v$pure_version\.tar\.xz
post-install:
- rm -r /app/bin/npx /app/include/node /app/share/{doc,man,systemtap}
- rm -r /app/lib/node_modules/npm/{man,docs,tap-snapshots}
- rm -r /app/lib/node_modules/npm/{.[^.]*,*.md,LICENSE}
- name: standardjs
# needed by: nuvolasdk
buildsystem: simple
x-keep:
- /app/bin/standard
- /app/lib/node_modules/standard/*
sources:
- type: archive
path: standard-16.0.1-bundle.tar.xz
sha256: '42214d69b5fce57aafd26df4b70ce2d5df5ff15a75c389149417200a9290835e'
dest: standard
- type: script
dest-filename: standardjs.sh
commands:
- 'exec node /app/lib/node_modules/standard/bin/cmd.js "$@"'
build-commands:
- rm -rf standard/node_modules/*/{docs,test,*.md,.[^.]*,example,__tests__,*.markdown}
- rm -rf standard/node_modules/*/{src/__tests__,Makefile}
- mkdir -p /app/lib/node_modules
- cp -r standard /app/lib/node_modules/
- cp standardjs.sh /app/bin/standard
- chmod a+x /app/bin/standard
# Nuvola deps
- name: python3-pyparsing
# needed by: ?
buildsystem: simple
build-options:
env:
PYTHON: /usr/bin/python3
build-commands:
- python3 -m pip install -v --prefix=/app .
x-keep:
- /app/lib/python3.8/site-packages/pyparsing-*.dist-info/*
- /app/lib/python3.8/site-packages/__pycache__/pyparsing.*.pyc
- /app/lib/python3.8/site-packages/pyparsing.py
sources:
- type: archive
url: 'https://files.pythonhosted.org/packages/c1/47/dfc9c342c9842bbe0036c7f763d2d6686bcf5eb1808ba3e170afdb282210/pyparsing-2.4.7.tar.gz'
sha256: 'c203ec8783bf771a155b207279b9bccb8dea02d8f0c9e5f8ead507bc3246ecc1'
x-update:
type: pypi
project: pyparsing
- name: engineio
# needed by: nuvola
x-keep:
- /app/share/javascript/engine.io-client/engine.io.js
sources:
- type: archive
'x-watch': 'https://github.com/socketio/engine.io-client/releases#/archive/%version3%.tar.gz'
url: 'https://github.com/socketio/engine.io-client/archive/3.1.0.tar.gz'
sha256: '866629b467d17cca87015118aaef668d9705420d117ace337a5d35c3cc2a0a34'
- type: file
path: engineio.configure
dest-filename: configure
- name: unitjs
# needed by: nuvola
buildsystem: simple
x-keep:
- /app/share/javascript/unitjs/unit.js
sources:
- type: archive
url: 'https://github.com/unitjs/unit.js/archive/v2.0.0.tar.gz'
sha256: '1421f528356d0b6e3ccb5372640f83cd0e5ca1b479fa785da603c1f3849c1fa2'
build-commands:
- mkdir -pv /app/share/javascript/unitjs
- cp -v browser/dist/unit.js /app/share/javascript/unitjs
# ======= Python =======
- name: python3-scour
# needed by: nuvola
buildsystem: simple
build-options:
env:
PYTHON: /usr/bin/python3
build-commands:
- python3 -m pip install -v --prefix=/app .
x-keep:
- /app/bin/scour
- /app/lib/python3.8/site-packages/scour-*.dist-info/*
- /app/lib/python3.8/site-packages/scour/*
sources:
- type: archive
url: 'https://files.pythonhosted.org/packages/75/19/f519ef8aa2f379935a44212c5744e2b3a46173bf04e0110fb7f4af4028c9/scour-0.38.2.tar.gz'
sha256: '6881ec26660c130c5ecd996ac6f6b03939dd574198f50773f2508b81a68e0daf'
x-update:
type: pypi
project: scour
- name: python3-ply
# needed by: python3-cppheaderparser?
buildsystem: simple
build-options:
env:
PYTHON: /usr/bin/python3
build-commands:
- python3 -m pip install -v --prefix=/app .
x-keep:
- /app/lib/python3.8/site-packages/ply-*.dist-info/*
- /app/lib/python3.8/site-packages/ply/*
sources:
- type: archive
url: 'https://files.pythonhosted.org/packages/e5/69/882ee5c9d017149285cab114ebeab373308ef0f874fcdac9beb90e0ac4da/ply-3.11.tar.gz'
sha256: '00c7c1aaa88358b9c765b6d3000c6eec0ba42abca5351b095321aef446081da3'
x-update:
type: pypi
project: ply
- name: python3-cppheaderparser
# needed by: valacef?
buildsystem: simple
build-options:
env:
PYTHON: /usr/bin/python3
build-commands:
- python3 -m pip install -v --prefix=/app .
x-keep:
- /app/lib/python3.8/site-packages/CppHeaderParser-*.dist-info/*
- /app/lib/python3.8/site-packages/CppHeaderParser/*
sources:
- type: archive
url: 'https://files.pythonhosted.org/packages/3c/ba/d8d168a4b54cae66eaf13d1d9197ca9349c94653815e061f79e7eed86c01/CppHeaderParser-2.7.4.tar.gz'
sha256: '382b30416d95b0a5e8502b214810dcac2a56432917e2651447d3abe253e3cc42'
x-update:
type: pypi
project: CppHeaderParser
- name: python3-pillow
# needed-by: nuvolasdk
buildsystem: simple
build-options:
env:
PYTHON: /usr/bin/python3
build-commands:
- python3 -m pip install -v --prefix=/app .
x-keep:
- /app/lib/python3.8/site-packages/Pillow-*.dist-info/*
- /app/lib/python3.8/site-packages/PIL/*
sources:
- type: archive
url: https://files.pythonhosted.org/packages/8f/7d/1e9c2d8989c209edfd10f878da1af956059a1caab498e5bc34fa11b83f71/Pillow-8.3.1.tar.gz
sha256: '2cac53839bfc5cece8fdbe7f084d5e3ee61e1303cccc86511d351adcb9e2c792'
x-update:
type: pypi
project: Pillow
- name: graphviz
# needed by: vala
config-opts:
- --disable-static
- --enable-sharp=no
- --enable-swig=no
- --enable-sharp=no
- --enable-d=no
- --enable-go=no
- --enable-guile=no
- --enable-io=no
- --enable-java=no
- --enable-javascript=no
- --enable-lua=no
- --enable-ocaml=no
- --enable-perl=no
- --enable-php=no
- --enable-python=no
- --enable-python2=no
- --enable-python3=no
- --enable-r=no
- --enable-ruby=no
- --enable-tcl=no
- --with-tclsh=no
- --with-webp=no
- --with-poppler=no
- --with-ghostscript=no
- --with-visio=no
- --with-lasi=no
- --with-gtk=no
- --with-gtkgl=no
- --with-gtkglext=no
- --with-gts=no
- --with-ann=no
- --with-glade=no
- --with-qt=no
- --with-ming=no
- --with-libgd=no
- --with-glut=no
- --with-smyrna=no
- --with-ortho=no
- --with-digcola=no
- --with-ipsepcola=no
# https://www.mail-archive.com/[email protected]/msg04663.html
- PS2PDF=true
x-stage:
- /app/include/graphviz/*
- /app/lib/pkgconfig/libcdt.pc
- /app/lib/pkgconfig/libcgraph.pc
- /app/lib/pkgconfig/libgvc.pc
- /app/lib/pkgconfig/libgvpr.pc
- /app/lib/pkgconfig/liblab_gamut.pc
- /app/lib/pkgconfig/libpathplan.pc
- /app/lib/pkgconfig/libxdot.pc
x-keep:
- /app/lib/graphviz/config6
- /app/lib/graphviz/libgvplugin_core.so*
- /app/lib/graphviz/libgvplugin_dot_layout.so*
- /app/lib/graphviz/libgvplugin_neato_layout.so*
- /app/lib/graphviz/libgvplugin_pango.so*
- /app/lib/graphviz/libgvplugin_rsvg.so*
- /app/lib/graphviz/libgvplugin_xlib.so*
- /app/lib/libcdt.so*
- /app/lib/libcgraph.so*
- /app/lib/libgvc.so*
- /app/lib/libgvpr.so*
- /app/lib/liblab_gamut.so*
- /app/lib/libpathplan.so*
- /app/lib/libxdot.so*
- /app/share/graphviz/*
sources:
- type: archive
url: https://www2.graphviz.org/Packages/stable/portable_source/graphviz-2.44.1.tar.gz
sha256: '8e1b34763254935243ccdb83c6ce108f531876d7a5dfd443f255e6418b8ea313'
x-update:
url: https://www2.graphviz.org/Packages/stable/portable_source/
url-pattern: graphviz-$version\.tar\.gz
post-install:
- rm /app/bin/{acyclic,circo,dijkstra,dot*,edgepaint,fdp,bcomps,ccomps,cluster,tred,twopi}
- rm /app/bin/{unflatten,gc,gml2gv,graphml2gv,gv2gml,gv2gxl,gvcolor,gvgen,gvmap*,gvpack,gvpr}
- rm /app/bin/{gxl2dot,gxl2gv,mm2gv,neato,nop,osage,patchwork,sfdp,vimdot,sccmap,lneato,prune}
- rm -r /app/share/{man,graphviz/doc}
- shopt -s globstar && rm /app/**/*.la
- name: vala
# needed by: Nuvola CDK - valadoc is not included in GNOME SDK
x-keep:
- /app/bin/vala*
- /app/bin/vapigen*
- /app/include/vala-*/*
- /app/lib/libvala-*.so*
- /app/lib/libvaladoc-*.so*
- /app/lib/pkgconfig/libvala-*.pc
- /app/lib/pkgconfig/valadoc-*.pc
- /app/lib/pkgconfig/vapigen-*.pc
- /app/lib/pkgconfig/vapigen.pc
- /app/lib/vala-*/gen-introspect-*
- /app/lib/vala-*/libvalaccodegen.so
- /app/lib/valadoc-*/doclets/*/libdoclet.so
- /app/share/vala/Makefile.vapigen
- /app/share/vala/vapi/libvala-*.vapi
- /app/share/vala-*/*
- /app/share/valadoc-*/*
sources:
- type: archive
url: https://download.gnome.org/sources/vala/0.52/vala-0.52.4.tar.xz
sha256: 'ecde520e5160e659ee699f8b1cdc96065edbd44bbd08eb48ef5f2506751fdf31'
x-update:
type: gnome
project: vala
- type: patch
path: vala-ignore-deprecated-symbols.patch
post-install:
- rm -r /app/share/{aclocal,devhelp,man,vala/vapi/valadoc*}
- rm -r /app/include/valadoc-0.52
- shopt -s globstar && rm /app/**/*.la
- name: libdri2
# needed by: Nuvola
config-opts:
- --disable-static
x-keep:
- /app/include/X11/extensions/dri2.h
- /app/lib/libdri2.so*
- /app/lib/pkgconfig/dri2.pc
sources:
- type: git
url: 'https://github.com/robclark/libdri2.git'
post-install:
- rm /app/lib/libdri2.la
# Misc
- name: nano
# needed by: Nuvola CDK
config-opts:
- --enable-utf8
x-keep:
- /app/bin/nano
- /app/bin/rnano
- /app/share/nano/*
- /app/share/runtime/locale/*
sources:
- type: archive
url: https://www.nano-editor.org/dist/v5/nano-5.8.tar.xz
sha256: 'e43b63db2f78336e2aa123e8d015dbabc1720a15361714bfd4b1bb4e5e87768c'
x-update:
url: https://www.nano-editor.org/download.php
url-pattern: /dist/v[^/]+/nano-$version\.tar\.xz
post-install:
- rm -r /app/share/{man,info,doc}
# ======= Ubuntu area =======
- name: gnome-common
# needed by: libdbusmenu
x-stage:
- /app/bin/gnome-autogen.sh
- /app/share/aclocal/*.m4
sources:
- type: archive
url: 'https://download.gnome.org/sources/gnome-common/3.18/gnome-common-3.18.0.tar.xz'
sha256: '22569e370ae755e04527b76328befc4c73b62bfd4a572499fde116b8318af8cf'
x-update:
type: gnome
project: gnome-common
- name: intltool
# needed by: libdbusmenu
x-stage:
- /app/bin/intltool*
- /app/share/aclocal/intltool.m4
- /app/share/intltool/Makefile.in.in
sources:
- type: archive
url: 'https://download.gnome.org/sources/intltool/0.40/intltool-0.40.6.tar.bz2'
sha256: '4d1e5f8561f09c958e303d4faa885079a5e173a61d28437d0013ff5efc9e3b64'
x-update:
type: gnome
project: intltool
archive: tar.bz2
post-install:
- rm -r /app/share/man
- name: libdbusmenu
# needed by: libappindicator
config-opts:
- --enable-gtk-doc=no
- --disable-dumper
- --disable-static
build-options:
cflags: -Wno-error
x-stage:
- /app/lib/girepository-1.0/Dbusmenu*-0.4.typelib
x-keep:
- /app/include/libdbusmenu-*-0.4/*
- /app/lib/libdbusmenu-glib.so*
- /app/lib/libdbusmenu-gtk3.so*
- /app/lib/pkgconfig/dbusmenu-glib-0.4.pc
- /app/lib/pkgconfig/dbusmenu-gtk3-0.4.pc
- /app/share/vala/vapi/Dbusmenu*-0.4.vapi
sources:
- type: archive
url: https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/libdbusmenu/16.04.1+18.10.20180917-0ubuntu6/libdbusmenu_16.04.1+18.10.20180917.orig.tar.gz
sha256: '9be5dc0f2657a9eb76b02d2cdfafa4490652c70bcdfafba5574c505afd2bbe79'
x-update:
type: ubuntu
project: libdbusmenu
- type: patch
path: dbusmenu-gi-path.patch
post-install:
- rm /app/lib/{libdbusmenu-*.la,libdbusmenu-jsonloader.so*,pkgconfig/dbusmenu-jsonloader-0.4.pc}
- rm -r /app/libexec/dbusmenu* /app/share/{libdbusmenu,doc,gir-1.0/Dbusmenu*-0.4.gir}
- name: mate-common
# needed by: libayatana-ido
x-stage:
- /app/bin/mate-*
- /app/share/aclocal/mate-*.m4
- /app/share/mate-common/data/*.make
sources:
- type: archive
url: https://github.com/mate-desktop/mate-common/releases/download/v1.24.2/mate-common-1.24.2.tar.xz
sha256: '71d2013f5743c71e10e04f3c2205d3bb8db1ddb26954a4197801cb5b3c152b6b'
x-update:
type: github
project: mate-desktop/mate-common
post-install:
- rm -r /app/share/man
- name: libayatana-ido
# needed by: libindicator
no-parallel-make: true
config-opts:
- --disable-static
- --disable-gtk-doc
- --disable-tests
- --with-gtk=3
build-options:
cflags: -Wno-error
x-stage:
- /app/lib/girepository-1.0/AyatanaIdo3-0.4.typelib
x-keep:
- /app/include/libayatana-ido3-0.4/*
- /app/lib/libayatana-ido3-0.4.so*
- /app/lib/pkgconfig/libayatana-ido3-0.4.pc
- /app/share/vala/vapi/AyatanaIdo3-0.4.vapi
sources:
- type: archive
url: https://github.com/AyatanaIndicators/ayatana-ido/archive/refs/tags/0.8.2.tar.gz
sha256: '4d5cb5df9ab5b8e5fbe47caf077aa001d167bad5ee80df825b910d83904ac777'
x-update:
type: github
project: AyatanaIndicators/ayatana-ido
releases: false
post-install:
- rm /app/lib/*.la /app/share/gir-1.0/AyatanaIdo3-0.4.gir
- name: libindicator
# needed by: libappindicator
config-opts:
- --disable-static
- --disable-gtk-doc
- --disable-tests
- --with-gtk=3
build-options:
cflags: -Wno-error
x-keep:
- /app/include/libayatana-indicator3-0.4/*
- /app/lib/libayatana-indicator3.so*
- /app/lib/pkgconfig/ayatana-indicator3-0.4.pc
sources:
- type: archive
url: https://github.com/AyatanaIndicators/libayatana-indicator/archive/refs/tags/0.8.4.tar.gz
sha256: '9cc29454932c2d35f0a08f7c97f04eccc43ef363825369b84b8e31f4168e8ce6'
x-update:
type: github
project: AyatanaIndicators/libayatana-indicator
releases: false
- type: patch
path: libayatana-indicator-0.6.2.patch
post-install:
- rm -r /app/lib/*.la /app/libexec/ayatana-* /app/share/libayatana-indicator
- name: dbus-glib
# needed by: libappindicator
build-options:
cflags: -Wno-error
x-stage:
- /app/include/dbus-1.0/*
- /app/lib/pkgconfig/dbus-glib-1.pc
x-keep:
- /app/lib/libdbus-glib-1.so*
sources:
- type: archive
url: 'https://dbus.freedesktop.org/releases/dbus-glib/dbus-glib-0.112.tar.gz'
sha256: '7d550dccdfcd286e33895501829ed971eeb65c614e73aadb4a08aeef719b143a'
x-update:
url: https://dbus.freedesktop.org/releases/dbus-glib/
url-pattern: dbus-glib-$pure_version\.tar\.gz
post-install:
- rm -r /app/lib/*.{la,a} /app/bin/dbus-binding-tool /app/libexec/dbus-bash-completion-helper
- rm -r /app/share/{gtk-doc,man} /app/etc/bash_completion.d
- name: libappindicator
# needed by: Nuvola
config-opts:
- --disable-static
- --disable-mono-test
- --disable-gtk-doc
- --disable-tests
- --with-gtk=3
build-options:
cflags: -Wno-error
x-stage:
- /app/lib/girepository-1.0/AyatanaAppIndicator3-0.1.typelib
x-keep:
- /app/include/libayatana-appindicator3-0.1/*
- /app/lib/libayatana-appindicator3.so*
- /app/lib/pkgconfig/ayatana-appindicator3-0.1.pc
- /app/share/vala/vapi/ayatana-appindicator3-0.1.*
sources:
- type: archive
url: https://github.com/AyatanaIndicators/libayatana-appindicator/archive/refs/tags/0.5.5.tar.gz
sha256: '55e47e94f54e6f2f13bcc06ab20530ad0a1412282a8775331af41788b59ee331'
x-update:
type: github
project: AyatanaIndicators/libayatana-appindicator
releases: false
post-install:
- rm /app/lib/*.la /app/share/gir-1.0/AyatanaAppIndicator3-0.1.gir
- name: libdee
# needed by: libunity
config-opts:
- --enable-introspection=no
- --disable-static
- --enable-tests=no
- --with-pygi-overrides-dir=./dummy
build-options:
cflags: -Wno-error
x-keep:
- /app/include/dee-1.0/*
- /app/lib/libdee-1.0.so*
- /app/lib/pkgconfig/dee-1.0.pc
- /app/share/vala/vapi/dee-1.0.*
sources:
- type: archive
url: https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/dee/1.2.7+17.10.20170616-6ubuntu1/dee_1.2.7+17.10.20170616.orig.tar.gz
sha256: 'e63f979a7a5012a7786786f8081a9279256ab28ece6e557c6ce5bf87535ae899'
x-update:
type: ubuntu
project: dee
post-install:
- rm /app/bin/dee-tool
- rm /app/lib/{libdee-1.0.la,pkgconfig/dee-icu-1.0.pc}
- name: libunity
# needed by: Nuvola
config-opts:
- --disable-static
- --enable-introspection=no
- --with-pygi-overrides-dir=./dummy
x-keep:
- /app/include/unity/*
- /app/lib/libunity.so*
- /app/lib/libunity/libunity-protocol-private.so*
- /app/lib/pkgconfig/unity.pc
- /app/lib/pkgconfig/unity-protocol-private.pc
- /app/share/vala/vapi/unity.*
sources:
- type: archive
url: https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/libunity/7.1.4+19.04.20190319-2/libunity_7.1.4+19.04.20190319.orig.tar.gz
sha256: '56ecb380d74bf74caba193d9e8ad6b0c85ccf9eeb461bc9731c2b8636e1f1492'
x-update:
type: ubuntu
project: libunity
- type: patch
path: libunity_7.1.4_8.patch
post-install:
- rm /app/bin/{libunity-tool,unity-scope-loader}
- rm /app/lib/{*.la,*/*.la,libunity-extras.so*,pkgconfig/unity-extras.pc}
- rm -r /app/share/{unity-scopes,vala/vapi/unity-*,unity/client-*.json,gir-1.0/Unity*-7.0.gir,glib-2.0/schemas/*}
# ======= CEF Deps =======
- name: udev
# needed by: cef
config-opts:
- --disable-hwdb
- --disable-logging
- --disable-gudev
- --disable-introspection
- --disable-keymap
- --disable-mtd_probe
- --with-systemdsystemunitdir=/app/lib/systemd/
x-keep:
- /app/etc/udev/udev.conf
- /app/lib/libudev.so*
- /app/lib/pkgconfig/libudev.pc
- /app/libexec/udevd
sources:
- type: archive
url: 'https://www.kernel.org/pub/linux/utils/kernel/hotplug/udev-175.tar.xz'
sha256: '6e7c7330a8f7a1d118e33338941381faa005759921caa241535d6930bb12140f'
x-update:
url: https://www.kernel.org/pub/linux/utils/kernel/hotplug/
url-pattern: udev-(?P<version>\d+)\.tar\.xz
- type: patch
path: udev-sysmacros.patch
- type: script
dest-filename: autogen.sh
commands:
- 'autoreconf -vfi'
post-install:
- sed -i 's|${exec_prefix}|/app|g' /app/share/pkgconfig/udev.pc
- rm -r /app/include/libudev.h /app/share/{pkgconfig,gtk-doc,doc}
- rm -r /app/{sbin,share/man}
- rm -r /app/lib/{*.la,systemd}
- rm -r /app/libexec/{accelerometer,ata_id,cdrom_id,collect,firmware,rules.d,scsi_id,v4l_id}
- name: flatpak-xdg-open-shim
# needed by: cef
x-keep:
- /app/bin/xdg-email
- /app/bin/xdg-open
sources:
- type: git
url: https://github.com/mattdangerw/flatpak-xdg-open-shim.git
- name: pciutils
# needed by: cef
buildsystem: simple
config-opts:
- --disable-static
- --disable-gtk-doc
- --disable-coverage
- --disable-introspection
x-keep:
- /app/lib/libpci.so*
- /app/lib/pkgconfig/libpci.pc
- /app/share/hwdata/pci.ids
sources:
- type: archive
url: https://www.kernel.org/pub/software/utils/pciutils/pciutils-3.7.0.tar.xz
sha256: '9d40b97be8b6a2cdf96aead5a61881d1f7e4e0da9544a9bac4fba1ae9dcd40eb'
x-update:
url: https://www.kernel.org/pub/software/utils/pciutils/
url-pattern: pciutils-$version\.tar\.xz
build-commands:
- >
make OPT="${CFLAGS} -fPIC -DPIC" ZLIB=no SHARED=no PREFIX=/app
SHAREDIR=/app/share/hwdata MANDIR=/app/share/man SBINDIR=/app/bin lib/libpci.a
- cp lib/libpci.a .
- make clean
- >
make OPT="${CFLAGS}" ZLIB=no SHARED=yes PREFIX=/app SBINDIR=/app/bin
SHAREDIR=/app/share/hwdata MANDIR=/app/share/man all
- >
make SHARED=yes PREFIX=/app SBINDIR=/app/bin SHAREDIR=/app/share/hwdata MANDIR=/app/share/man
install install-lib
post-install:
- rm /app/bin/{lspci,setpci,update-pciids}
- rm -rf /app/share/man /app/include/pci
# ======= Changes often ==========
- name: cef
# needed by: nuvola
buildsystem: simple
build-options:
cflags: '-O2 -g -Wno-attributes'
cxxflags: '-O2 -g -Wno-attributes'
x-keep:
- /app/include/cef/*
- /app/lib/cef/*
sources:
- type: archive
path: 'cef_binary_75.0.0-3770-valacef.2028+ge8289a9+chromium-75.0.3770.100_linux64.tar.bz2'
sha256: 'd6cf4b3088b56f5207b27545b0d1ac6935bf131c3f715dd1c5e24743973ed5bf'
build-commands:
- 'mkdir -pv build'
- 'cd build && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ..'
- 'cd build && make libcef_dll_wrapper'
- 'mkdir -pv /app/include/cef'
- 'cp -r include /app/include/cef'
- 'mkdir -pv /app/lib/cef'
- 'cp -rv Release/* /app/lib/cef'
- 'cp -v build/libcef_dll_wrapper/libcef_dll_wrapper.a /app/lib/cef/libcef_dll_wrapper'
- 'mkdir -pv /app/share/cef'
- 'cp -r Resources/* /app/lib/cef'
# ======= Finish =======
- name: final
buildsystem: simple
x-keep:
- /app/bin/bash
build-commands:
- ln -s /usr/bin/bash /app/bin/bash
- rm -r /app/bin/{npm,mate-*,intltool*,gnome-autogen.sh}
- rm -r /app/lib/{node_modules/npm,girepository-1.0}
- rm -r /app/share/aclocal/*.m4 /app/share/mate-common/data/*.make /app/share/intltool
- rm -r /app/include/{dbus-1.0,graphviz}
- rm /app/lib/pkgconfig/{dbus-glib*,libcdt,libcgraph,libgvc,libgvpr,liblab_gamut,libpathplan,libxdot}.pc