GENTOO Vdr installation

From VDR Wiki

Jump to: navigation, search

VDR-Installation and Configuration

[edit] Basics

For VDR not necessary, but for the biggest part of the available plugins one should include the Portage-Tree of gentoo.de.

The VDR-Ebuild gets configured by USE-flags.

These Flags are set in /etc/make.conf. Either edit it directly or use the program ufed.

For selecting the type of remote there are the USE-flags lirc and rcu. In most cases lirc is the method of choice.

Who would like to use the newest version of vdr available as ebuild should add

media-video/vdr ~x86

to /etc/portage/package.keywords. This can also be accomplished by prefixing the call to emerge by ACCEPT_KEYWORDS="~x86" but this is deprecated in favor of package.keywords.

Now we can start using emerge and let us show with the parameter --pretend (-p) what emerge would install. In case we would like to install VDR with lirc-support, we enter this command:

USE="lirc" emerge -pv vdr

The output should look like this:

tricorder root # USE="lirc" emerge -pv vdr

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] media-tv/linuxtv-dvb-1.1.1-r1  319 kB
[ebuild   R   ] media-video/vdr-1.3.36  -aio -bigpatch -jumpplay +lirc -lnbsharing
  -rcu -sourcecaps -vfat 501 kB

Total size of downloads: 821 kB

Here we can see that the drivers in version 1.1.1-r1 and VDR in version 1.3.36 (in the meantime perhaps newer versions) would be installed. The drivers for the DVB-card are a must and as such as dependency directly installed (only under Kernel 2.4 - Kernel 2.6 has drivers with it). This is one of the big advantages of the Portage-System of Gentoo.

[edit] Installation

To now do real things we start and skip the parameter --pretend (-p) and wait for the things to happen now.

USE="lirc" emerge vdr

After a short while VDR with lirc-support and drivers is installed.

Now a

/etc/init.d/vdr start

should start VDR in a standard-Configuration. When lirc-support is included, VDR detects this and starts with learning keys. For this we only have to follow the OSD-messages. How the keys are assigned is a decision on each own.

VDR should now be ready to use. To start it at system start the startscript has to be added to runlevel default:

rc-update add vdr default

Now installation can progress with one of the numerous plugins if one whishes to. Kategorie:Gentoo en:GENTOO_Vdr_installation

Personal tools
Participate