--- app-id: eu.tiliado.NuvolaCdk runtime: org.gnome.Sdk runtime-version: '3.38' 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 && 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/lfs-dev@lists.linuxfromscratch.org/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 disabled: true 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.50 - shopt -s globstar && rm /app/**/*.la - name: vala-git # 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: git url: https://gitlab.gnome.org/GNOME/vala.git branch: master disable-shallow-clone: true - 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.* - 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: ignore: true url: https://www.kernel.org/pub/linux/utils/kernel/hotplug/ url-pattern: udev-(?P\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' # QtWebEngine - name: python3-shiboken2 disabled: true buildsystem: simple build-options: env: PYTHON: /usr/bin/python3 no-debuginfo: true # ImportError: shiboken2.abi3.so: object file has no loadable segments build-commands: - python3 -m pip install -v --prefix=/app *.whl - shopt -s globstar && rm /app/lib/python3.8/site-packages/**/*.cpython-36.pyc x-keep: - /app/lib/python3.8/site-packages/shiboken2-*.dist-info/* - /app/lib/python3.8/site-packages/shiboken2/* sources: - type: file url: https://files.pythonhosted.org/packages/8a/30/49df7f3dce1e9c5a8a93f08380c2c1a3ca8ae609d1b7f351aad8e80944e2/shiboken2-5.15.1-5.15.1-cp35.cp36.cp37.cp38.cp39-abi3-manylinux1_x86_64.whl sha256: '71f563daabc3a363ccc27a843cfb452f01ebaeb24e5e46704964ffa4c7dc98d9' - name: python3-pyside2 disabled: true buildsystem: simple build-options: env: PYTHON: /usr/bin/python3 no-debuginfo: true # ImportError: QtWidgets.abi3.so: object file has no loadable segments build-commands: - python3 -m pip install -v --prefix=/app *.whl - rm /app/bin/pyside2* - shopt -s globstar && rm /app/lib/python3.8/site-packages/**/*.cpython-36.pyc - rm /app/lib/python3.8/site-packages/PySide2/scripts/__pycache__/__init__.cpython-38.pyc x-keep: - /app/lib/python3.8/site-packages/PySide2-*.dist-info/* - /app/lib/python3.8/site-packages/PySide2/* sources: - type: file url: https://files.pythonhosted.org/packages/07/b6/811abaf0972a268942ebf3ed89e58ddf612c2c3c530a12f0560af0ab916b/PySide2-5.15.1-5.15.1-cp35.cp36.cp37.cp38.cp39-abi3-manylinux1_x86_64.whl sha256: '76f0e0875ed9eb526a98b9e8dedac033a25cdcf7a51eb366451a0202b140d8d4' - name: python3-sortedcontainers buildsystem: simple build-options: env: PYTHON: /usr/bin/python3 build-commands: - python3 -m pip install -v --prefix=/app *.whl x-keep: - /app/lib/python3.8/site-packages/sortedcontainers-*.dist-info/* - /app/lib/python3.8/site-packages/sortedcontainers/* sources: - type: file url: https://files.pythonhosted.org/packages/23/8c/22a47a4bf8c5289e4ed946d2b0e4df62bca385b9599cc1e46878f2e2529c/sortedcontainers-2.2.2-py2.py3-none-any.whl sha256: 'c633ebde8580f241f274c1f8994a665c0e54a17724fecd0cae2f079e09c36d3f' - name: python3-sniffio buildsystem: simple build-options: env: PYTHON: /usr/bin/python3 build-commands: - python3 -m pip install -v --prefix=/app *.whl - rm /app/lib/python3.8/site-packages/sniffio/_tests/__pycache__/__init__.cpython-38.pyc x-keep: - /app/lib/python3.8/site-packages/sniffio-*.dist-info/* - /app/lib/python3.8/site-packages/sniffio/* sources: - type: file url: https://files.pythonhosted.org/packages/b3/82/4bd4b7d9c0d1dc0fbfbc2a1e00138e7f3ab85bc239358fe9b78aa2ab586d/sniffio-1.1.0-py3-none-any.whl sha256: '20ed6d5b46f8ae136d00b9dcb807615d83ed82ceea6b2058cecb696765246da5' - name: python3-idna buildsystem: simple build-options: env: PYTHON: /usr/bin/python3 build-commands: - python3 -m pip install -v --prefix=/app *.whl x-keep: - /app/lib/python3.8/site-packages/idna-*.dist-info/* - /app/lib/python3.8/site-packages/idna/* sources: - type: file url: https://files.pythonhosted.org/packages/a2/38/928ddce2273eaa564f6f50de919327bf3a00f091b5baba8dfa9460f3a8a8/idna-2.10-py2.py3-none-any.whl sha256: 'b97d804b1e9b523befed77c48dacec60e6dcb0b5391d57af6a65a312a90648c0' - name: python3-attrs buildsystem: simple build-options: env: PYTHON: /usr/bin/python3 build-commands: - python3 -m pip install -v --prefix=/app *.whl x-keep: - /app/lib/python3.8/site-packages/attrs-*.dist-info/* - /app/lib/python3.8/site-packages/attr/* sources: - type: file url: https://files.pythonhosted.org/packages/14/df/479736ae1ef59842f512548bacefad1abed705e400212acba43f9b0fa556/attrs-20.2.0-py2.py3-none-any.whl sha256: 'fce7fc47dfc976152e82d53ff92fa0407700c21acd20886a13777a0d20e655dc' - name: python3-async-generator buildsystem: simple build-options: env: PYTHON: /usr/bin/python3 build-commands: - python3 -m pip install -v --prefix=/app *.whl - rm /app/lib/python3.8/site-packages/async_generator/_tests/__pycache__/__init__.cpython-38.pyc x-keep: - /app/lib/python3.8/site-packages/async_generator-*.dist-info/* - /app/lib/python3.8/site-packages/async_generator/* sources: - type: file url: https://files.pythonhosted.org/packages/71/52/39d20e03abd0ac9159c162ec24b93fbcaa111e8400308f2465432495ca2b/async_generator-1.10-py3-none-any.whl sha256: '01c7bf666359b4967d2cda0000cc2e4af16a0ae098cbffcb8472fb9e8ad6585b' - name: python3-outcome buildsystem: simple build-options: env: PYTHON: /usr/bin/python3 build-commands: - python3 -m pip install -v --prefix=/app *.whl x-keep: - /app/lib/python3.8/site-packages/outcome-*.dist-info/* - /app/lib/python3.8/site-packages/outcome/* sources: - type: file url: https://files.pythonhosted.org/packages/ff/c7/c4ac99243794a6159ae9335bb26b021e104215390e12e95e40d51007c79b/outcome-1.0.1-py2.py3-none-any.whl sha256: 'ee46c5ce42780cde85d55a61819d0e6b8cb490f1dbd749ba75ff2629771dcd2d' - name: python3-trio buildsystem: simple build-options: env: PYTHON: /usr/bin/python3 build-commands: - python3 -m pip install -v --prefix=/app *.whl - shopt -s globstar && rm /app/lib/python3.8/site-packages/trio/**/__init__.cpython-38.pyc x-keep: - /app/lib/python3.8/site-packages/trio-*.dist-info/* - /app/lib/python3.8/site-packages/trio/* sources: - type: file url: https://files.pythonhosted.org/packages/c6/92/46157361bc005fa4a4d190b44ed60377f695dc38d53fc339631eb97fe78a/trio-0.17.0-py3-none-any.whl sha256: 'fc70c74e8736d1105b3c05cc2e49b30c58755733740f9c51ae6d88a4d6d0a291' - name: python3-PyOpenGL buildsystem: simple build-options: env: PYTHON: /usr/bin/python3 build-commands: - python3 -m pip install -v --prefix=/app *.whl - shopt -s globstar && rm /app/lib/python3.8/site-packages/OpenGL/**/__init__.cpython-38.pyc x-keep: - /app/lib/python3.8/site-packages/PyOpenGL-*.dist-info/* - /app/lib/python3.8/site-packages/OpenGL/* sources: - type: file url: https://files.pythonhosted.org/packages/47/9a/8d9364533ebcaa13621994a63dcc6a6051e27671ae5e1715dac4af18cac2/PyOpenGL-3.1.5-py3-none-any.whl sha256: '36b4ac28220e4bfa29e5557525ad2967ca74558a94bccea48864fc742b18db11' - name: python3-PyOpenGL-accelerate 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/PyOpenGL_accelerate-*.dist-info/* - /app/lib/python3.8/site-packages/OpenGL_accelerate/* sources: - type: archive url: https://files.pythonhosted.org/packages/a2/3c/f42a62b7784c04b20f8b88d6c8ad04f4f20b0767b721102418aad94d8389/PyOpenGL-accelerate-3.1.5.tar.gz sha256: '12e5518b0216a478527c7ce5ddce623c3d0517adeb87226da767772e8b7f2f06' - name: python3-pycparser 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/pycparser-*.dist-info/* - /app/lib/python3.8/site-packages/pycparser/* sources: - type: archive url: https://files.pythonhosted.org/packages/0f/86/e19659527668d70be91d0369aeaa055b4eb396b0f387a4f92293a20035bd/pycparser-2.20.tar.gz sha256: '2d475327684562c3a96cc71adf7dc8c4f0565175cf86b6d7a404ff4c771f15f0' - name: python3-cffi 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/cffi-*.dist-info/* - /app/lib/python3.8/site-packages/cffi/* - /app/lib/python3.8/site-packages/_cffi_backend.cpython-38-x86_64-linux-gnu.so sources: - type: archive url: https://files.pythonhosted.org/packages/cb/ae/380e33d621ae301770358eb11a896a34c34f30db188847a561e8e39ee866/cffi-1.14.3.tar.gz sha256: 'f92f789e4f9241cd262ad7a555ca2c648a98178a953af117ef7fad46aa1d5591' - name: python3-vulkan 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/vulkan-*.dist-info/* - /app/lib/python3.8/site-packages/vulkan/* sources: - type: archive url: https://files.pythonhosted.org/packages/82/2b/4ffb67f251cba6a39a0899b1a0042f2d31d8b8f57aa5d0707ba2bf36fce3/vulkan-1.1.99.1.tar.gz sha256: '4befc458dceac21a9664f628a228283812094cadaed5dbbc1cb2abb532523b7f' - name: python3-pywayland 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/pywayland-*.dist-info/* - /app/lib/python3.8/site-packages/pywayland/* - /app/bin/pywayland-scanner sources: - type: archive url: https://files.pythonhosted.org/packages/8b/4f/d15e4e89d9a8e09e22000f4c3d3d8f58325fb6a7f4b7113a2d1325569efa/pywayland-0.4.4.tar.gz sha256: '25511a96fd01e7d18af89cd4a6da17d0372fb6e1fe985c147ccb53f8c90eb1cd' x-update: type: pypi project: pywayland ignore: true - name: python3-shiboken2-custom buildsystem: simple build-options: env: PYTHON: /usr/bin/python3 no-debuginfo: true # ImportError: shiboken2.abi3.so: object file has no loadable segments build-commands: - python3 -m pip install -v --prefix=/app *.whl x-keep: - /app/lib/python3.8/site-packages/shiboken2-*.dist-info/* - /app/lib/python3.8/site-packages/shiboken2/* sources: - type: file url: https://dl.tiliado.eu/qt/shiboken2-5.15.2-5.15.2-cp38-cp38-linux_x86_64.whl sha256: '843b686a0800158f82d686fdd5071d5253ff9d72a266b08f7d6b40bb8eb42160' - name: python3-pyside2-custom buildsystem: simple build-options: env: PYTHON: /usr/bin/python3 no-debuginfo: true # ImportError: QtWidgets.abi3.so: object file has no loadable segments build-commands: - python3 -m pip install -v --prefix=/app *.whl - rm /app/bin/pyside2* - rm /app/lib/python3.8/site-packages/PySide2/scripts/__pycache__/__init__.cpython-38.pyc x-keep: - /app/lib/python3.8/site-packages/PySide2-*.dist-info/* - /app/lib/python3.8/site-packages/PySide2/* sources: - type: file path: /home/fenryxo/dev/projects/nuvolaplayer/qt/PySide2-5.15.2-5.15.2-cp38-cp38-linux_x86_64.whl sha256: '16acc823557c4cbaf60e91645de24583a13d99000aab98dd1ed7ff45ea0f98f3' # ======= 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