Last active
December 20, 2018 22:31
-
-
Save simos/f2bcf21b0ef6e9235fb605ecc7b99146 to your computer and use it in GitHub Desktop.
GNOME Boxes Snapcraft configuration (WIP)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: gnome-boxes | |
base: core18 # the base snap is the execution environment for this snap | |
version: '3.33.1' | |
summary: A simple GNOME 3 application to access remote or virtual systems. | |
description: | | |
GNOME Boxes is an application | |
of the GNOME Desktop Environment, | |
used to access remote or virtual systems. | |
Boxes uses the QEMU, KVM, and | |
libvirt virtualisation technologies. | |
grade: stable | |
confinement: strict | |
slots: | |
dbus-boxes: | |
interface: dbus | |
bus: session | |
name: org.gnome.Boxes | |
apps: | |
gnome-boxes: | |
# command: desktop-launch org.gnome.Boxes | |
command: desktop-launch $SNAP/usr/local/bin/gnome-boxes | |
plugs: | |
- home | |
- network | |
- opengl | |
- unity7 | |
- x11 | |
environment: | |
GSETTINGS_SCHEMA_DIR: $SNAP/usr/share/glib-2.0/schemas | |
LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$SNAP/usr/local/lib/x86_64-linux-gnu/gnome-boxes:$SNAP/usr/lib/x86_64-linux-gnu/tracker-2.0 | |
parts: | |
boxes: | |
source: https://gitlab.gnome.org/GNOME/gnome-boxes | |
source-type: git | |
source-tag: 'v3.31.1' | |
plugin: meson | |
build-packages: | |
- build-essential | |
- valac | |
- libarchive-dev | |
- gettext | |
- cmake | |
- libgtk-3-dev | |
- libgtk-vnc-2.0-dev | |
- libosinfo-1.0-dev | |
- libsecret-1-dev | |
- libsoup2.4-dev | |
- libusb-1.0-0-dev | |
- libvirt-glib-1.0-dev | |
- libspice-client-gtk-3.0-dev | |
- libtracker-sparql-2.0-dev | |
- libwebkit2gtk-4.0-dev | |
- libgudev-1.0-dev | |
- libgovirt-dev | |
- freerdp2-dev | |
- gobject-introspection | |
- libgirepository1.0-dev | |
- itstool | |
stage-packages: | |
- libarchive13 | |
- libasn1-8-heimdal | |
- libasyncns0 | |
- libbrotli1 | |
- libcacard0 | |
- libcurl3-gnutls | |
- libenchant1c2a | |
- libflac8 | |
- libfreerdp2-2 | |
- libgovirt2 | |
- libgssapi3-heimdal | |
- libgstreamer1.0-0 | |
- libgstreamer-gl1.0-0 | |
- libgstreamer-plugins-base1.0-0 | |
- libgtk-vnc-2.0-0 | |
- libgudev-1.0-0 | |
- libgvnc-1.0-0 | |
- libharfbuzz-icu0 | |
- libhcrypto4-heimdal | |
- libheimbase1-heimdal | |
- libheimntlm0-heimdal | |
- libhx509-5-heimdal | |
- libhyphen0 | |
- libjavascriptcoregtk-4.0-18 | |
- libkrb5-26-heimdal | |
- libldap-2.4-2 | |
- libnghttp2-14 | |
- libnotify4 | |
- libnspr4 | |
- libnss3 | |
- libnuma1 | |
- libogg0 | |
- libogg-dbg | |
- libopus0 | |
- liborc-0.4-0 | |
- libosinfo-1.0-0 | |
- libphodav-2.0-0 | |
- libpsl5 | |
- libpulse0 | |
- libpulse-mainloop-glib0 | |
- libroken18-heimdal | |
- librtmp1 | |
- libsasl2-2 | |
- libsecret-1-0 | |
- libsndfile1 | |
- libspice-client-glib-2.0-8 | |
- libspice-client-gtk-3.0-5 | |
- libstemmer0d | |
- libtracker-sparql-2.0-0 | |
- libusb-1.0-0 | |
- libusbredirhost1 | |
- libusbredirparser1 | |
- libvirt0 | |
- libvirt-glib-1.0-0 | |
- libvorbis0a | |
- libvorbisenc2 | |
- libwebkit2gtk-4.0-37 | |
- libwebp6 | |
- libwebpdemux2 | |
- libwind0-heimdal | |
- libwinpr2-2 | |
- libwoff1 | |
- libxkbfile1 | |
- libxslt1.1 | |
- libyajl2 | |
override-build: | | |
snapcraftctl build | |
glib-compile-schemas ${SNAPCRAFT_PART_INSTALL}/usr/share/glib-2.0/schemas | |
after: | |
- desktop-gtk3 | |
desktop-gtk3: | |
source: https://github.com/ubuntu/snapcraft-desktop-helpers.git | |
source-subdir: gtk | |
plugin: make | |
make-parameters: ["FLAVOR=gtk3"] | |
build-packages: | |
- build-essential | |
- libgtk-3-dev | |
stage-packages: | |
- libxkbcommon0 # XKB_CONFIG_ROOT | |
- ttf-ubuntu-font-family | |
- dmz-cursor-theme | |
- light-themes | |
- adwaita-icon-theme | |
- gnome-themes-standard | |
- shared-mime-info | |
- libgtk-3-0 | |
- libgdk-pixbuf2.0-0 | |
- libglib2.0-bin | |
- libgtk-3-bin | |
- unity-gtk3-module | |
- libappindicator3-1 | |
- locales-all | |
- xdg-user-dirs | |
- ibus-gtk3 | |
- libibus-1.0-5 | |
- fcitx-frontend-gtk3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment