blob: 5e217d3b1a0730eb458e998158b14d7a47d1adae (
plain)
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
|
--- How to build a Kodi Debian package ---
There are two available build methods:
1.) debuild / debhelper
Requirements: debhelper, devscripts, all Kodi build deps
sudo apt-get install debhelper devscripts
sudo apt-get build-dep kodi (if you have one of our repos/ppas added, else read docs/README.Linux.md or docs/README.Ubuntu.md)
Result: Debian package for your host distribution and architecture only
Recommended for local installs
Example Usage: ./mk-debian-package.sh
2.) pdebuild / pbuilder
Requirements: pbuilder, devscripts, proper pbuilder environment
For a comprehensive example how to setup pbuilder read:
https://wiki.ubuntu.com/PbuilderHowto
Result: Debian package for arbitrary Debian based distributions and architectures.
Recommended for hosting your own apt repository or (clean room) compile testing for various distributions
Example Usage:
RELEASEV=16 \
DISTS=-"unstable" \
ARCHS="i386 amd64" \
BUILDER="pdebuild" \
PDEBUILD_OPTS="--debbuildopts \"-j4\"" \
PBUILDER_BASE="/home/$USER/xbmc-packaging/pbuilder" \
DPUT_TARGET="local" \
./mk-debian-package.sh
|