From c2aa20003497649f8ade5ca694f0c8fbe8e495c8 Mon Sep 17 00:00:00 2001 From: alemuntoni Date: Tue, 15 Dec 2020 17:46:47 +0100 Subject: [PATCH] update noversion snap script --- .../Linux/resources/snap/snap_noversion.yaml | 42 ++++--------------- 1 file changed, 9 insertions(+), 33 deletions(-) diff --git a/scripts/Linux/resources/snap/snap_noversion.yaml b/scripts/Linux/resources/snap/snap_noversion.yaml index 3c8b0d5d2..014fd9b3b 100644 --- a/scripts/Linux/resources/snap/snap_noversion.yaml +++ b/scripts/Linux/resources/snap/snap_noversion.yaml @@ -16,41 +16,14 @@ confinement: strict apps: meshlab: - command: desktop-launch $SNAP/AppRun - plugs: [home, x11, mir, opengl, removable-media] + command: AppRun + extensions: [kde-neon] + plugs: [home, opengl, removable-media] desktop: usr/share/applications/meshlab.desktop parts: - desktop-qt5: - build-packages: - - build-essential - - qtbase5-dev - - dpkg-dev - make-parameters: - - FLAVOR=qt5 - plugin: make - source: https://github.com/ubuntu/snapcraft-desktop-helpers.git - source-subdir: qt - stage-packages: - - libxkbcommon0 - - ttf-ubuntu-font-family - - dmz-cursor-theme - - light-themes - - adwaita-icon-theme - - gnome-themes-standard - - shared-mime-info - - libqt5gui5 - - libqt5qml5 - - libgdk-pixbuf2.0-0 - - libqt5svg5 - - try: - - appmenu-qt5 - - locales-all - - xdg-user-dirs - - fcitx-frontend-qt5 meshlab: - after: [desktop-qt5] plugin: qmake qt-version: qt5 source: https://github.com/cnr-isti-vclab/meshlab.git @@ -69,15 +42,18 @@ parts: - libqhull-dev - patchelf - rsync + - libqt5opengl5-dev stage-packages: - lib3ds-1-3 - libgomp1 - libopenctm1 - libqhull7 - - libglew-dev - - libqt5opengl5-dev - - qtdeclarative5-dev - libqt5gui5 + - qtwayland5 + - libglu1-mesa + - libopengl0 + - libqt5opengl5 + - libqt5xml5 override-build: | sh scripts/Linux/1_build.sh sh scripts/Linux/resources/make_bundle.sh