Skip to content

Commit

Permalink
initial snap script
Browse files Browse the repository at this point in the history
  • Loading branch information
diemmarkus committed Sep 4, 2018
1 parent a2ab368 commit 27d71ab
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 5 deletions.
8 changes: 7 additions & 1 deletion .gitignore
Expand Up @@ -34,4 +34,10 @@ repository.zip
/x64
/nomacsCore.dir
/installer/*.msi

.vscode
#snaps
*.snap
parts/
prime/
stage/
snap/.snapcraft/
34 changes: 30 additions & 4 deletions snap/snapcraft.yaml
@@ -1,18 +1,44 @@

name: nomacs-nightly
name: nomacs-image-lounge
version: '3.11+git'
summary: nomacs is a free, open source image viewer.
description: |
You can use it for viewing all common image formats
including RAW and psd images. nomacs is licensed
under the GNU General Public License v3 and
available for Windows, Linux, FreeBSD, Mac, and OS/2.
icon: ./ImageLounge/nomacs.svg

grade: devel # must be 'stable' to release into candidate/stable channels
confinement: devmode # use 'strict' once you have the right plugs and slots

parts:
my-part:
nomacs:
# See 'snapcraft plugins'
plugin: nil

plugin: python
stage-packages:
- libc6
build-packages:
- debhelper
- cdbs
- qt5-qmake
- qttools5-dev-tools
- qt5-default
- qttools5-dev
- libqt5svg5-dev
- qt5-image-formats-plugins
- libexiv2-dev
- libraw-dev
- libopencv-dev
- cmake
- libtiff-dev
- libquazip-dev
- libwebp-dev
- git
- g++
- libzip-dev
plugin: cmake
configflags:
- ./../../../ImageLounge
- -DCMAKE_BUILD_TYPE=Release
- -DENABLE_QUAZIP=OFF # fixme

0 comments on commit 27d71ab

Please sign in to comment.