From eeeb54d99c2fd0444b17f780b15a14a3be47b826 Mon Sep 17 00:00:00 2001 From: Jammyjamjamman Date: Mon, 8 Apr 2019 21:17:40 +0100 Subject: [PATCH] Moved snap to repo root. --- mk/snap/README.md | 2 - mk/snap/snapcraft.yaml | 107 ----------------------------------------- 2 files changed, 109 deletions(-) delete mode 100644 mk/snap/README.md delete mode 100644 mk/snap/snapcraft.yaml diff --git a/mk/snap/README.md b/mk/snap/README.md deleted file mode 100644 index c6bce279a..000000000 --- a/mk/snap/README.md +++ /dev/null @@ -1,2 +0,0 @@ -# snap-packager -Glest Snapcraft Repo Creator diff --git a/mk/snap/snapcraft.yaml b/mk/snap/snapcraft.yaml deleted file mode 100644 index c7f3485a4..000000000 --- a/mk/snap/snapcraft.yaml +++ /dev/null @@ -1,107 +0,0 @@ -name: glest # you probably want to 'snapcraft register ' -# the base snap is the execution environment for this snap -version: '0.1' # just for humans, typically '1.2+git' or '1.3.2' -base: core18 -summary: Glest # 79 char long summary -description: | - Glest is a free real-time strategy game. - -grade: devel # must be 'stable' to release into candidate/stable channels -confinement: devmode # use 'strict' once you have the right plugs and slots - -apps: - glest: - command: glest - environment: - LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/pulseaudio - -parts: - glest: - plugin: cmake - configflags: - - "-DBUILD_MAP_EDITOR=OFF" - - "-DBUILD_MODEL_VIEWER=OFF" - - "-DINSTALL_DIR_BIN=/usr/bin/" - - "-DINSTALL_DIR_DATA=/share/glest/" - source-type: git - source: https://github.com/glest/glest-source.git - #source-type: local - #source: glest-source - build-packages: - - build-essential - - cmake - - libsdl2-dev - - libopenal-dev - - liblua5.3-dev - - libcurl4-dev - - libjpeg-dev - - libpng-dev - - libfreetype6-dev - - libwxgtk3.0-dev - - libcppunit-dev - - libfribidi-dev - - libftgl-dev - - libglew-dev - - libogg-dev - - libvorbis-dev - - libminiupnpc-dev - - libircclient-dev - - libvlc-dev - - libvlccore-dev - - libxml2-dev - - libx11-dev - - libgl1-mesa-dev - - libglu1-mesa-dev - - librtmp-dev - - libkrb5-dev - - libldap2-dev - - libidn11-dev - - libgnutls28-dev - - libnghttp2-dev - - libssh2-1-dev - - libpsl-dev - stage-packages: - - famfamfam-flag-png - - p7zip-full - - libcurl4 - - libfontconfig1 - - libfribidi0 - - libftgl2 - - libgcc1 - - libgl1-mesa-glx - - libgl1 - - libglew2.0 - - libglu1-mesa - - libircclient1 - - libjpeg8 - - liblua5.3-0 - - libminiupnpc10 - - libopenal1 - - libpng16-16 - - libsdl2-2.0-0 - - libstdc++6 - - libvorbisfile3 - - libwxbase3.0-0v5 - - libwxgtk3.0-0v5 - - libx11-6 - - libpulse0 - override-build: | - snapcraftctl build - for f in $SNAPCRAFT_PART_INSTALL/usr/bin/7z* - do - sed -i 's/\/usr/$SNAP\/usr/' $f - done - - glest-data: - plugin: cmake - configflags: - - "-DINSTALL_DIR_BIN=/usr/bin/" - - "-DINSTALL_DIR_DATA=/share/glest/" - - "-DINSTALL_DIR_DESKTOP=/share/applications/" - - "-DINSTALL_DIR_ICON=/share/glest/" - #source-type: local - #source: glest-data - source-type: git - source: https://github.com/glest/glest-data.git - -