Tvheadend build scripts and tools for packaging
Shell Python

License MIT

Tvheadend - auto builds

Looking for tvheadend builds?

Regular user? Download and enjoy the official pre-built tvheadend packages. We make the auto builds on the following operating systems and architectures:

  • Docker Hub build farm
  • Intel x86_64 architecture
  • Ubuntu 14.04.2 'Trusty' --> Produces all of our 'ubuntu' APT debs

They have been reported to work on all of these Linux distributions:

  • Ubuntu 14.04 - 'Trusty'
  • Ubuntu 14.10 - 'Utopic'
  • Ubuntu 15.04 - 'Vivid'
  • Mint Linux 17 - 'Qiuana' (not confirmed)
  • Mint Linux 17.1 - 'Rebecca' or 'Cinnamon'
  • Debian 8.0 - 'Jessie'

NOT Supported / Don't work:

  • Intel i386 architecture
  • Debian 7.0 - 'Wheezy' (oldstable)


You should download the pkgs marked as Ubuntu Apt Repository for 4.x, from here:

Not supported?

Missing linux distro? Missing architecture? ---> See here.

Reference example: Ubuntu builds

Build chain for Ubuntu .deb binary pkgs of Tvheadend server

This is the Reference Guide for package maintainers, it starts here:

Docker Images

Docker images are available at:

They are always updated with the latest versions of tvheadend coming from this tvheadend-build auto-builds system.

Authoring packages for other Distros

There are now packages for ubuntu. But what about Debian, openSUSE, Fedora, CentOS, Arch and whatever other distros ? You must follow / tweak the reference example to suit your needs:

For this example, we use the centos distribution. We assume you are also a user of centos who is familiar with it's package manager.

  • Copy the whole folder, from ubuntu/ --> centos/ etc.

    • git clone
    • cd tvheadend-build && cp -rf ubuntu centos
  • In the new folder, find the dependancies base image deps/Dockerfile

    • Change the 1st line:
      • FROM: ubuntu-debootstrap:14.04 ---> a decent minimal official docker base image of centos or debian etc. whatever.
    • Change the apt-get install ---> commands specific to your distro's package manager e.g. yum.
  • In the remaining folders: master/, unstable, testing and stable/ open the Dockerfile:

    • Change the 1st line:
      • FROM: dreamcat4/ ---> FROM: yourDockerUsername/
    • Change the line, which builds a .deb file, to build an rpm instead.
      • Try to keep all the same ./configure args such as ----enable-libffmpeg_static etc.
    • At bottom, we run a script to upload the /out files to a bintray repo:
      • You will need modify that script upload-to-bintray also.

Follow all the the other steps in the Ubuntu guide - it is mostly the same. Just with different repo names, username, and so on.

  • Commit changes to git.
  • Push the new centos folder up to github.

Cross-compiling for ARM

Dockerhub is an x86_64 build farm. So to use Dockerhub for compiling Tvheadend for other architectures means cross compiling on intel host.

You must follow / tweak the reference example to suit your needs:

Some useful links for cross-compiling:


We are interested in any maintainer(s) who wishes to set up the following:

  • RPM auto builds for Centos, Fedora, etc
  • ARM builds for Rpi2, Odroid-C1, etc

Note: We can only justifty supporting platforms which are sufficiently popular at this time. Meaning that the overall user demand should clearly exceed the cost of setting up, running & maintaining a reliable automated builds system.

Also: we can only support build targets which will compile on the Docker Hub server farm. Those are exclusively Intel x86_64 linux machines.

You will be provided with sufficient support for setting up your build target, in conjunction with the maintainer's reference guide. A working knowledge of GIT and Docker is beneficial. But more relevant is your experience with the target architecture. And a commitment to providing the results as a public builds, to be shared for all.

You can establish contact in any of the following ways: