Project

General

Profile

Packaging » History » Version 8

Adam Sutton, 2013-12-30 17:43

1 1 Adam Sutton
h1. Packaging
2
3
To be able to install TVHeadend permanently on your system, or distribute to others, its highly recommend that you build a package.
4
5
But before you can do this make sure you have read the basic build instructions [[Building|here]]
6
7
Different distributions will have different package formats, however TVHeadend comes with scripts to help build several common ones.
8
9 2 Adam Sutton
h2. Ubuntu / Debian
10 1 Adam Sutton
11
To build a deb package for the latest version of Ubuntu (Precise, at the time of writing) you can do the following:
12
13
> x86 32-bit
14
<pre>
15 6 Adam Sutton
$ ./Autobuild.sh -t precise-i386
16 1 Adam Sutton
</pre>
17
18
> x86 64-bit
19
<pre>
20 6 Adam Sutton
$ ./Autobuild.sh -t precise-amd64
21 1 Adam Sutton
</pre>
22 2 Adam Sutton
23
Note: Although the scripts are named precise (for Ubuntu 12.04) they will work just fine with most recent versions of Debian/Ubuntu.
24 1 Adam Sutton
25 3 Adam Sutton
Note: the generated deb will be in the directory above that containing Autobuild.sh (i.e. outside of the tvheadend directory).
26
27 4 Adam Sutton
Note: the -dbg package contains debug symbols, generally you won't need these.
28
29 7 Adam Sutton
h3. Configure Options
30
31
You can also pass specific configuration options to the configure script by setting the _AUTOBUILD_CONFIGURE_EXTRA_ environment variable.
32
33
<pre>
34
$ AUTOBUILD_CONFIGURE_EXTRA=--enable-bundle ./Autobuild.sh -t precise-amd64
35
</pre>
36
37 1 Adam Sutton
h2. Redhat/CentOS/Fedora
38
39
TODO: add info on building an RPM
40
41
h2. Gentoo
42
43 5 John Törnblom
tvheadend is now available in portage so you can just install it like you usually do with other applications:
44
<pre>
45
$ emerge -av media-tv/tvheadend
46
</pre>
47 1 Adam Sutton
48 8 Adam Sutton
h2. ArchLinux
49
50
If you'd like to build the latest git master for Arch, then you can issue the following commands:
51
52
<pre>
53
$ yaourt -S tvheadend-git
54
$ systemctl enable tvheadend
55
$ systemctl start tvheadend
56
</pre>
57
58 1 Adam Sutton
h2. Package Maintainers
59
60
If you wish to become a package maintainer for your favourite distribution, please contact a member of the development [[Team|team]].