forked from LibreCAD/LibreCAD_3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsnapcraft.yaml
70 lines (66 loc) · 2.31 KB
/
snapcraft.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
name: librecad
version: '0.0.9'
grade: stable
base: core20
confinement: devmode
summary: "librecad: is a cad"
description: |
it really is.
environment:
LD_LIBRARY_PATH: $SNAP/usr/local/lib/:$SNAP/usr/lib/x86_64-linux-gnu/:$SNAP/usr/lib64/:$LD_LIBRARY_PATH
apps:
librecad:
command: usr/bin/librecad
extensions:
- kde-neon
parts:
librecad:
plugin: cmake
build-snaps:
- kde-frameworks-5-core18-sdk
- kde-frameworks-5-core18
source: .
build-packages:
- qttools5-dev
- qttools5-dev-tools
- libqt5opengl5-dev
- liblua5.2-dev
- git
- g++
- libcairo2-dev
- libpango-1.0-0
- libpango1.0-dev
- libboost-dev
- libboost-log-dev
- libboost-program-options-dev
- libqt5svg5-dev
- libgtest-dev
- libeigen3-dev
- libcurl4-gnutls-dev
- libgtk-3-dev
- libglew-dev
- rapidjson-dev
- libbz2-dev
- libglfw3-dev
- libglm-dev
- cmake
stage-packages:
- libboost-dev
- libboost-log-dev
- libboost-program-options-dev
- libglew2.1
cmake-parameters:
- "-DCMAKE_INSTALL_PREFIX=/usr"
- "-DBUILD_SHARED_LIBS=ON"
#For 18.04
#configflags:
# - "-DCMAKE_INSTALL_PREFIX=/usr"
# - "-DBUILD_SHARED_LIBS=On"
libdxfrw:
plugin: cmake
source: /home/runner/libdxfrw
cmake-parameters:
- "-DBUILD_SHARED_LIBS=ON"
#For 18.04
#configflags:
# - "-DBUILD_SHARED_LIBS=On"