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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
|
name: kodi-mir
version: "0.3"
summary: Kodi Media Center
description: |
Kodi, formerly known as XBMC Media Center, is an award winning free and
open source software media-player and entertainment hub for all your digital
media. Kodi is available for Linux, Mac OS X (Leopard, Tiger and Apple TV)
and Microsoft Windows, as well as the original Xbox game console. Created in
2003 by a group of like minded programmers, Kodi is a non-profit project run
and developed by volunteers located around the world. More than 50 software
developers have contributed to Kodi, and 100-plus translators have worked to
expand its reach, making it available in more than 30 languages.
confinement: devmode # start with devmode, then use "strict" to enforce system
# access only via declared interfaces
plugs:
mir-libs:
interface: content
target: mir-libs
default-provider: mir-libs:mir-libs
apps:
kodi:
command: bin/runner_kodi
plugs:
- mir
- network
- network-bind
- home
- opengl
- pulseaudio
- mount-observe
- optical-drive
parts:
kodi:
source: ./xbmc
plugin: cmake
configflags: [-DCMAKE_INSTALL_PREFIX=/, -DENABLE_MIR=1, -DENABLE_CEC=0, -DENABLE_VDPAU=0 -DCMAKE_BUILD_TYPE=Release, -DLIBDVDCSS_URL=download/libdvdcss-master.tar.gz, -DLIBDVDREAD_URL=download/libdvdread-master.tar.gz, -DLIBDVDNAV_URL=download/libdvdnav-master.tar.gz, -DFFMPEG_URL=download/ffmpeg-3.1.5-Krypton-Beta5-1.tar.gz, -DCROSSGUID_URL=download/crossguid-8f399e8bd4.tar.gz, ../src/project/cmake/]
build-packages:
- automake
- bison
- build-essential
- cmake
- curl
- cvs
- default-jre
- fp-compiler
- gawk
- gdc
- gettext
- git-core
- gperf
- libasound2-dev
- libass-dev
- libboost-dev
- libbluetooth-dev
- libbz2-dev
- libcap-dev
- libcdio-dev
- libcurl3
- libcurl4-openssl-dev
- libcpluff0-dev
- libcrossguid-dev
- libdbus-1-dev
- libdvdnav-dev
- libdvdread-dev
- libfontconfig1-dev
- libegl1-mesa-dev
- libfreetype6-dev
- libfribidi-dev
- libgif-dev
- libglew-dev
- libiso9660-dev
- libjasper-dev
- libjpeg-dev
- liblzo2-dev
- libmicrohttpd-dev
- libmpeg2-4-dev
- libmodplug-dev
- libmysqlclient-dev
- libnfs-dev
- libogg-dev
- libpcre3-dev
- libplist-dev
- libpng12-dev
#- libpng-dev
- libpulse-dev
- libsdl2-dev
- libsmbclient-dev
- libsqlite3-dev
- libssh-dev
- libssl-dev
- libtiff5-dev
- libtinyxml-dev
- libtool
- libudev-dev
- libusb-dev
- libva-dev
- libvdpau-dev
- libvorbis-dev
- libxml2-dev
- libmirclient-dev
- libxmu-dev
- libxrandr-dev
- libxrender-dev
- libxslt1-dev
- libxt-dev
- libyajl-dev
- mesa-utils
- nasm
- pmount
- python-dev
- python-imaging
- python-sqlite
- swig
- unzip
- uuid-dev
- yasm
- zip
- zlib1g-dev
- autopoint
- libltdl-dev
- libtag1-dev
- libxcb-shm0-dev
stage-packages:
- libasound2
- libass5
- libavahi-client3
- libavahi-common3
- libbluetooth3
- libbz2-1.0
- libc6
- libcdio13
- libcurl3
- libcrossguid0
- libdbus-1-3
- libdrm2
- libexpat1
- libfreetype6
- libfribidi0
- libgcc1
- libgl1-mesa-dri
- libgl1-mesa-glx
- libglew1.13
- libgmp10
- libgnutls30
- libjpeg8
- liblzma5
- liblzo2-2
- libmicrohttpd10
- libmpeg2-4
- libmysqlclient20
- libogg0
- libpcre3
- libpcrecpp0v5
- libpng12-0
- libpulse0
- libpython2.7
- libsdl2-2.0-0
- libsmbclient
- libsqlite3-0
- libssh-4
- libstdc++6
- libtag1v5
- libtiff5
- libtinyxml2.6.2v5
- libudev1
- libva-x11-1
- libva1
- libvorbis0a
- libvorbisenc2
- libvorbisfile3
- libx11-6
- libxext6
- libxml2
- libxrandr2
- libxslt1.1
- libyajl2
- zlib1g
runner-kodi:
source: bin
plugin: dump
organize:
runner_kodi: bin/runner_kodi
mir-libs-target:
source: mir
plugin: dump
snap: [mir-libs]
|