Created attachment 316351 [details, diff]
Patch for util/alevt/exp-gfx.c to make compilation work
The latest linuxtv-dvb-apps ebuild (126.96.36.19900223) does not build alevt, although an DVB capable version is included in the sources. I suppose to add a USE-Flag (e. g. "alevt" or "videotext" or so) that enables building it.
The code resides in util/alevt. I had to install media-libs/zvbi with USE="v4l" and patch exp-gfx.c (see attached patch), but after that, it built just fine (by simply starting make) and works!
Would be really cool if this was included in the official ebuild as there's no really good program to view videotext from DVB(-T) other than alevt, and media-video/alevt-1.6.2 does not include Support for DVB.
Created attachment 316443 [details, diff]
patch for alevt's exp-gfx.c
Created attachment 316445 [details, diff]
patch for alevt's Makefile
Created attachment 316447 [details]
ebuild with USE flag "alevt" added
Here's a modified ebuild that does have an "alevt" USE flag. When set, it builds and installs alevt. I'm really not sure if this is a clean or good way to do it. Please review the ebuild! At least, it works ;-)
Ps: Of course, if this ebuild makes it's way in the tree, it should block media-video/alevt when installes with USE="alevt". I Forgot to add this.
no conditional patching, pls. but looks fine.
+*linuxtv-dvb-apps-188.8.131.5200223-r1 (02 Jun 2013)
+ 02 Jun 2013; Michael Weber <email@example.com>
+ +linuxtv-dvb-apps-184.108.40.20600223-r1.ebuild, metadata.xml:
+ Add alevt videotext decoder support (bug 423687, thanks Tobias Leupold), add
+ perl DEPEND (bug 433155, thanks bay), rename scan to scan-dvb (bug 348371,
+ thanks Bill Prendergast), support LDFLAGS (bug 331095, thanks Olivier Huber
+ and thomasg).