vdr ebuild source modifications

I needed to change lirc defaults in lirc.c (REPEATLIMIT 10, REPEATDELAY 600, KEYPRESSDELAY 150) in vdr source code. I just installed vdr 1.4.0 from ebuild and changing source code before compile is a little bit more complicated than when installing from plain source.

First get the ebuild source and unpack:


# ebuild /usr/portage/media-video/vdr/vdr-1.4.0.ebuild fetch
# ebuild /usr/portage/media-video/vdr/vdr-1.4.0.ebuild unpack
(will be unpacked to /var/tmp/portage/vdr-1.4.0)

Change what you want in /var/tmp/portage/vdr-1.4.0/work/ and compile, install and merge:


# ebuild /usr/portage/media-video/vdr/vdr-1.4.0.ebuild compile
# ebuild /usr/portage/media-video/vdr/vdr-1.4.0.ebuild install
# ebuild /usr/portage/media-video/vdr/vdr-1.4.0.ebuild qmerge

That’s it.

Vastaa

Sähköpostiosoitettasi ei julkaista.