Project

General

Profile

Packaging » History » Revision 8

Revision 7 (Adam Sutton, 2012-12-02 23:57) → Revision 8/15 (Adam Sutton, 2013-12-30 17:43)

h1. Packaging 

 To be able to install TVHeadend permanently on your system, or distribute to others, its highly recommend that you build a package. 

 But before you can do this make sure you have read the basic build instructions [[Building|here]] 

 Different distributions will have different package formats, however TVHeadend comes with scripts to help build several common ones. 

 

 h2. Ubuntu / Debian 

 To build a deb package for the latest version of Ubuntu (Precise, at the time of writing) you can do the following: 

 > x86 32-bit 
 <pre> 
 $ ./Autobuild.sh -t precise-i386 
 </pre> 

 > x86 64-bit 
 <pre> 
 $ ./Autobuild.sh -t precise-amd64 
 </pre> 

 Note: Although the scripts are named precise (for Ubuntu 12.04) they will work just fine with most recent versions of Debian/Ubuntu. 

 Note: the generated deb will be in the directory above that containing Autobuild.sh (i.e. outside of the tvheadend directory). 

 Note: the -dbg package contains debug symbols, generally you won't need these. 

 h3. Configure Options 

 You can also pass specific configuration options to the configure script by setting the _AUTOBUILD_CONFIGURE_EXTRA_ environment variable. 

 <pre> 
 $ AUTOBUILD_CONFIGURE_EXTRA=--enable-bundle ./Autobuild.sh -t precise-amd64 
 </pre> 

 

 h2. Redhat/CentOS/Fedora 

 TODO: add info on building an RPM 

 h2. Gentoo 

 tvheadend is now available in portage so you can just install it like you usually do with other applications: 
 <pre> 
 $ emerge -av media-tv/tvheadend 
 </pre> 

 h2. ArchLinux 

 If you'd like to build the latest git master for Arch, then you can issue the following commands: 

 <pre> 
 $ yaourt -S tvheadend-git 
 $ systemctl enable tvheadend 
 $ systemctl start tvheadend 
 </pre> 

 h2. Package Maintainers 

 If you wish to become a package maintainer for your favourite distribution, please contact a member of the development [[Team|team]].