ChangeLog

# ChangeLog for media-tv/mythtv
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/ChangeLog,v 1.251 2008/08/14 17:54:26 antarus Exp $

14 Aug 2008; -mythtv-0.22_alpha18144.ebuild:
Remove ebuild with improper EAPI. Only ebuilds with EAPI=0 or EAPI=1 are
allowed in gentoo-x86.

*mythtv-0.22_alpha18144 (13 Aug 2008)

13 Aug 2008; Doug Goldstein
-mythtv-0.22_alpha17449.ebuild, +mythtv-0.22_alpha18144.ebuild:
add newer MythTV 0.22/trunk version using EAPI=2 for Qt 4.4 USE depends

*mythtv-0.21_p18116 (12 Aug 2008)

12 Aug 2008; Doug Goldstein
+mythtv-0.21_p18116.ebuild:
newer 0.21.x version from upstream. fixes DVD/CD mounting issues. Fixes
jobsqueue error. fixes empty database creation

27 Jul 2008; Carsten Lohrke
mythtv-0.20.2_p15634.ebuild:
QA: Get rid of deprecated qt_min_version().

*mythtv-0.22_alpha17733 (07 Jul 2008)
*mythtv-0.21_p17722 (07 Jul 2008)

07 Jul 2008; Doug Goldstein
-mythtv-0.20.2_p14972.ebuild, -mythtv-0.21_p16867.ebuild,
-mythtv-0.21_p16926.ebuild, -mythtv-0.21_p16944.ebuild,
-mythtv-0.21_p17100.ebuild, -mythtv-0.21_p17435.ebuild,
mythtv-0.21_p17637.ebuild, +mythtv-0.21_p17722.ebuild,
-mythtv-0.22_alpha17132.ebuild, mythtv-0.22_alpha17449.ebuild,
+mythtv-0.22_alpha17733.ebuild:
add new 0.21 and 0.22 series versions. Remove old 0.20 and 0.21 versions.
Add libdvdcss depend on USE=dvd (bug #231072).

*mythtv-0.21_p17637 (28 Jun 2008)

28 Jun 2008; Doug Goldstein
+mythtv-0.21_p17637.ebuild:
bump to newer upstream. Fix DVD audio/video issues. Updates to DVD path
handling

26 Jun 2008; Doug Goldstein mythtv-0.21_p16867.ebuild,
mythtv-0.21_p16926.ebuild, mythtv-0.21_p16944.ebuild,
mythtv-0.21_p17100.ebuild, mythtv-0.21_p17435.ebuild,
mythtv-0.22_alpha17132.ebuild, mythtv-0.22_alpha17449.ebuild:
remove libdvdnav depend per bug #223765 and dvd USE flag as a result

*mythtv-0.22_alpha17449 (10 Jun 2008)

10 Jun 2008; Doug Goldstein
-mythtv-0.22_alpha16929.ebuild, +mythtv-0.22_alpha17449.ebuild:
update to newer trunk revision. sync ebuild features to 0.21

03 Jun 2008; Doug Goldstein mythtv-0.21_p17435.ebuild:
change XvMC elog message. bug #224723

03 Jun 2008; Jeroen Roovers mythtv-0.21_p17435.ebuild:
Fix syntax error (bug #224699).

02 Jun 2008; Doug Goldstein mythtv-0.21_p17435.ebuild:
missing * from x11-libs/qt-3. bug #224649

*mythtv-0.21_p17435 (02 Jun 2008)

02 Jun 2008; Doug Goldstein
+mythtv-0.21_p17435.ebuild:
upstream revision bump. Remove OpenGL XvMC and OpenGL video support after
discussions with upstream and how other distros are packaging MythTV.
Support for those features is known to be an issue. Most users don't want
it anyway since they have worse performance unless you've got a specific
Quatro card. Additionally, we're always using XvMCW and requiring users to
configure their XvMC provider via eselect-xvmc, based on patch from Rick
Harris on bug #220857

29 May 2008; Ali Polatel mythtv-0.21_p16867.ebuild,
mythtv-0.21_p16926.ebuild, mythtv-0.21_p16944.ebuild,
mythtv-0.21_p17100.ebuild, mythtv-0.22_alpha16929.ebuild,
mythtv-0.22_alpha17132.ebuild:
python_mod_optimize is ROOT aware. Fixed python_mod_cleanup.

*mythtv-0.22_alpha17132 (23 Apr 2008)
*mythtv-0.21_p17100 (23 Apr 2008)

23 Apr 2008; Doug Goldstein
+mythtv-0.21_p17100.ebuild, +mythtv-0.22_alpha17132.ebuild:
bump to newer upstream revisions

*mythtv-0.21_p16944 (04 Apr 2008)

04 Apr 2008; Doug Goldstein mythtv-0.21_p16867.ebuild,
mythtv-0.21_p16926.ebuild, +mythtv-0.21_p16944.ebuild:
fix JobQueue timing and missing &&. Add --disable-xvmcw

*mythtv-0.22_alpha16929 (03 Apr 2008)

03 Apr 2008; Doug Goldstein
-mythtv-0.22_alpha16870.ebuild, +mythtv-0.22_alpha16929.ebuild:
newer trunk bump. fix bug #216102

*mythtv-0.21_p16926 (03 Apr 2008)

03 Apr 2008; Doug Goldstein
+mythtv-0.21_p16926.ebuild:
reverts EIT fixes since they were bad. fix more internal DVD fixes. fix
glXGetProcAddressARB issue which was bug #206827

03 Apr 2008; Doug Goldstein
mythtv-0.20.2_p14972.ebuild, mythtv-0.20.2_p15634.ebuild,
mythtv-0.21_p16867.ebuild:
raise libavc1394 depend due to missing defines

01 Apr 2008; Doug Goldstein mythtv-0.21_p16867.ebuild,
mythtv-0.22_alpha16870.ebuild:
remove dbox2, hdhomerun, and iptv USE flags since the build system seems
to build their support anyway

01 Apr 2008; Doug Goldstein mythtv-0.21_p16867.ebuild,
mythtv-0.22_alpha16870.ebuild:
remove ivtv depend and USE since MythTV no longer builds against ivtv
header but the in kernel v4l. remove dead vorbis USE

01 Apr 2008; Doug Goldstein
mythtv-0.22_alpha16870.ebuild:
remove USE=aac since it uses ffmpeg's built in support now instead of
libfaad2

*mythtv-0.22_alpha16870 (01 Apr 2008)

01 Apr 2008; Doug Goldstein
-mythtv-0.22_alpha16791.ebuild, +mythtv-0.22_alpha16870.ebuild:
fix CVE-2007-6036 and update to newest trunk

*mythtv-0.21_p16867 (01 Apr 2008)

01 Apr 2008; Doug Goldstein
-mythtv-0.21_p16483.ebuild, -mythtv-0.21_p16658.ebuild,
-mythtv-0.21_p16812.ebuild, +mythtv-0.21_p16867.ebuild:
fix CVE-2007-6036. Fix internal DVD player issues. Fix ffmpeg header
location issue. Fix EIT encoding.

*mythtv-0.21_p16812 (28 Mar 2008)

28 Mar 2008; Doug Goldstein
+mythtv-0.21_p16812.ebuild:
various DVD, Xinerama and playback pausing fixes

*mythtv-0.22_alpha16791 (25 Mar 2008)

25 Mar 2008; Doug Goldstein
-mythtv-0.22_alpha16508.ebuild, +mythtv-0.22_alpha16791.ebuild:
switch trunk builds to qt4

18 Mar 2008; Doug Goldstein mythtv-0.21_p16658.ebuild:
Add aac support via faad2

*mythtv-0.21_p16658 (18 Mar 2008)

18 Mar 2008; Doug Goldstein
-mythtv-0.21_p16468.ebuild, +mythtv-0.21_p16658.ebuild:
rev bump. UPnP fixes. StorageGroups DB upgrade fix. Text alignment in
Recording Options window.

*mythtv-0.22_alpha16508 (11 Mar 2008)

11 Mar 2008; Doug Goldstein
+mythtv-0.22_alpha16508.ebuild:
add 0.22 trunk build for testing

*mythtv-0.21_p16483 (10 Mar 2008)

10 Mar 2008; Doug Goldstein
+mythtv-0.21_p16483.ebuild:
fix resolution changes in DVD menu

*mythtv-0.21_p16468 (09 Mar 2008)

09 Mar 2008; Doug Goldstein
-mythtv-0.21_beta16340.ebuild, -mythtv-0.21_beta16401.ebuild,
-mythtv-0.21_beta16407.ebuild, +mythtv-0.21_p16468.ebuild:
0.21 release

*mythtv-0.21_beta16407 (06 Mar 2008)

06 Mar 2008; Doug Klima -mythtv-0.21_beta16309.ebuild,
+mythtv-0.21_beta16407.ebuild:
0.21 beta bump

*mythtv-0.21_beta16401 (05 Mar 2008)

05 Mar 2008; Doug Klima +mythtv-0.21_beta16401.ebuild:
newer 0.21 beta ebuild

03 Mar 2008; Doug Klima -mythtv-0.20.2_p14814.ebuild,
-mythtv-0.20.2_p15332.ebuild, -mythtv-0.20.2_p15477.ebuild,
mythtv-0.20.2_p15634.ebuild:
stablize last 0.20.x release. remove older versions

03 Mar 2008; Doug Klima mythtv-0.21_beta16340.ebuild:
newer XMLTV depend

*mythtv-0.21_beta16340 (03 Mar 2008)

03 Mar 2008; Doug Klima -mythtv-0.21_beta16171.ebuild,
-mythtv-0.21_beta16210.ebuild, +mythtv-0.21_beta16340.ebuild:
bump to latest beta

27 Feb 2008; Doug Klima mythtv-0.21_beta16309.ebuild:
opengl-xvmc explicitly requires 100.x.y series of NVIDIA drivers

*mythtv-0.21_beta16309 (27 Feb 2008)

27 Feb 2008; Doug Klima mythtv-0.21_beta16210.ebuild,
+mythtv-0.21_beta16309.ebuild:
Add new opengl-video and opengl-xvmc USE flags. Support python bindings.
Clean up configure command line construction and alphabetize for ease. Bump
to latest 0.21 version

*mythtv-0.21_beta16210 (23 Feb 2008)

23 Feb 2008; Doug Klima +mythtv-0.21_beta16210.ebuild:
new beta version. tweaked the usage of many USE flags as well as removed
stale ones and added new ones

*mythtv-0.21_beta16171 (20 Feb 2008)

20 Feb 2008; Doug Klima
-files/mythtv-trunk-mcpu-march-2.patch,
-files/mythtv-trunk-mcpu-march.patch, +mythtv-0.21_beta16171.ebuild,
-mythtv-0.21_pre15635.ebuild, -mythtv-0.21_pre15666.ebuild,
-mythtv-0.21_pre15718.ebuild:
MythTV 0.21 beta build. Remove previous trunk builds

15 Feb 2008; Samuli Suominen
mythtv-0.20.2_p14814.ebuild, mythtv-0.20.2_p14972.ebuild,
mythtv-0.20.2_p15332.ebuild, mythtv-0.20.2_p15477.ebuild,
mythtv-0.20.2_p15634.ebuild, mythtv-0.21_pre15635.ebuild,
mythtv-0.21_pre15666.ebuild, mythtv-0.21_pre15718.ebuild:
Remove libdts references.

*mythtv-0.21_pre15718 (01 Feb 2008)

01 Feb 2008; Doug Klima +mythtv-0.21_pre15718.ebuild:
newer trunk revision. using EAPI=1 now

*mythtv-0.21_pre15666 (29 Jan 2008)

29 Jan 2008; Doug Klima -mythtv-0.21_pre15447.ebuild,
-mythtv-0.21_pre15567.ebuild, +mythtv-0.21_pre15666.ebuild:
remove older trunks and provide newer trunk

*mythtv-0.20.2_p15634 (28 Jan 2008)

28 Jan 2008; Doug Klima +mythtv-0.20.2_p15634.ebuild:
fix mem leak and prog jumping when at last recording

28 Jan 2008; Doug Klima mythtv-0.21_pre15567.ebuild:
configfiles was put inside contrib

24 Jan 2008; Doug Klima mythtv-0.20.2_p15332.ebuild,
mythtv-0.20.2_p15477.ebuild, mythtv-0.21_pre15447.ebuild,
mythtv-0.21_pre15567.ebuild:
change order of params to to eqmake3. bug #207308

*mythtv-0.21_pre15567 (24 Jan 2008)
*mythtv-0.20.2_p15477 (24 Jan 2008)

24 Jan 2008; Doug Klima +mythtv-0.20.2_p15477.ebuild,
-mythtv-0.21_pre15362.ebuild, +mythtv-0.21_pre15567.ebuild:
upstream merged --as-needed fixes from ticket #2402 for 0.20.2. new trunk
(0.21) revision.

22 Jan 2008; Doug Klima mythtv-0.20.2_p15332.ebuild,
mythtv-0.21_pre15447.ebuild:
use eqmake3 function since it's not available

15 Jan 2008; Steve Dibb mythtv-0.21_pre15447.ebuild:
Fix perl bindings configuration

15 Jan 2008; Steve Dibb mythtv-0.21_pre15447.ebuild:
Add ivtv configuration flag

*mythtv-0.21_pre15447 (15 Jan 2008)

15 Jan 2008; Doug Klima -mythtv-0.21_pre15014.ebuild,
+mythtv-0.21_pre15447.ebuild:
upgrade to newer trunk build

*mythtv-0.21_pre15362 (07 Jan 2008)

07 Jan 2008; Doug Klima -mythtv-0.21_pre14666.ebuild,
+mythtv-0.21_pre15362.ebuild:
newer trunk (0.21) ebuild

*mythtv-0.20.2_p15332 (07 Jan 2008)

07 Jan 2008; Doug Klima mythtv-0.20.2_p14972.ebuild,
+mythtv-0.20.2_p15332.ebuild:
stablize newer revision. add newer revision for MythEvent redirecting fix

07 Jan 2008; Doug Klima -mythtv-0.20.2_p14324.ebuild,
-mythtv-0.20.2_p14498.ebuild, -mythtv-0.20.2_p14668.ebuild,
-mythtv-0.20.2_p14680.ebuild:
remove older versions

05 Dec 2007; Doug Klima metadata.xml:
Add documentation for USE flags

*mythtv-0.20.2_p14972 (01 Dec 2007)

01 Dec 2007; Doug Klima +mythtv-0.20.2_p14972.ebuild:
Fixes crashers in network control. Additional Firewire vendor/device IDs.
ATSC EIT fixes

*mythtv-0.21_p15014 (01 Dec 2007)

01 Dec 2007; Doug Klima metadata.xml,
mythtv-0.20.2_p14814.ebuild, +mythtv-0.21_p15014.ebuild:
stable bump to a newer 0.20. bump trunk to new revision.

27 Nov 2007; Matthias Schwarzott
mythtv-0.20.2_p14324.ebuild, mythtv-0.20.2_p14498.ebuild,
mythtv-0.20.2_p14668.ebuild, mythtv-0.21_pre14513.ebuild,
mythtv-0.21_pre14666.ebuild:
Fixed quoting.

*mythtv-0.20.2_p14814 (14 Nov 2007)

14 Nov 2007; Doug Klima +mythtv-0.20.2_p14814.ebuild:
upstream fixes for OSDTypeText segfault. MythSocket select() loop wake ups.
1088 scaling. smart channel selector names

15 Oct 2007; Doug Goldstein
-mythtv-0.20.1_p13344.ebuild, -mythtv-0.20.1_p14146.ebuild:
remove old versions

*mythtv-0.20.2_p14680 (15 Oct 2007)

15 Oct 2007; Doug Goldstein
-mythtv-0.20.2_p14472-r1.ebuild, +mythtv-0.20.2_p14680.ebuild:
fix C++ scope error from upstream

*mythtv-0.21_pre14666 (12 Oct 2007)
*mythtv-0.20.2_p14668 (12 Oct 2007)

12 Oct 2007; Doug Goldstein
+mythtv-0.20.2_p14668.ebuild, -mythtv-0.21_pre14480-r1.ebuild,
+mythtv-0.21_pre14666.ebuild:
fix bug #195582. bump trunk as well

27 Sep 2007; Doug Goldstein
mythtv-0.21_pre14513.ebuild:
fix libdca/libdts depends

*mythtv-0.21_pre14513 (21 Sep 2007)

21 Sep 2007; Doug Goldstein
-mythtv-0.21_pre14450.ebuild, -mythtv-0.21_pre14480.ebuild,
+mythtv-0.21_pre14513.ebuild:
upstream rev bumps. Fix libdca/libdts handling. Remove USE=dvd depend on libdts

*mythtv-0.20.2_p14498 (21 Sep 2007)

21 Sep 2007; Doug Goldstein
-mythtv-0.20.2_p14472.ebuild, +mythtv-0.20.2_p14498.ebuild:
upstream rev bump to fix new/report issues. fix USE=dvd depends not to
require libdts

*mythtv-0.21_pre14480-r1 (20 Sep 2007)
*mythtv-0.20.2_p14472-r1 (20 Sep 2007)

20 Sep 2007; Steve Dibb
+mythtv-0.20.2_p14472-r1.ebuild, +mythtv-0.21_pre14480-r1.ebuild:
Add perl deps for contrib files

*mythtv-0.21_pre14480 (11 Sep 2007)
*mythtv-0.20.2_p14472 (11 Sep 2007)

11 Sep 2007; Doug Goldstein
-mythtv-0.20.2_p14357.ebuild, -mythtv-0.20.2_p14430.ebuild,
+mythtv-0.20.2_p14472.ebuild, -mythtv-0.21_pre14358.ebuild,
+mythtv-0.21_pre14480.ebuild:
new 0.20 rev for xmltv fixes. new 0.21 for upstream trunk fixes. remove old
versions

*mythtv-0.21_pre14450 (07 Sep 2007)

07 Sep 2007; Doug Goldstein
-mythtv-0.21_pre14346.ebuild, +mythtv-0.21_pre14450.ebuild:
upstream trunk fixes. major item being channel scanner fixes

*mythtv-0.20.2_p14430 (06 Sep 2007)

06 Sep 2007; Doug Goldstein
-mythtv-0.20.2_p14404.ebuild, +mythtv-0.20.2_p14430.ebuild:
new/repeat tag fixes. remove Z2L as valid grabber since they're gone for good.

06 Sep 2007; Doug Goldstein
+mythtv-0.20.2_p14404.ebuild:
upstream fixes. firewire inputs handling mainly

29 Aug 2007; Doug Goldstein
mythtv-0.20.2_p14324.ebuild:
stable 0.20.2 for Schedules Direct support needed by Sept 1

*mythtv-0.21_pre14358 (29 Aug 2007)
*mythtv-0.20.2_p14357 (29 Aug 2007)

29 Aug 2007; Doug Goldstein
-mythtv-0.20.2_p14348.ebuild, +mythtv-0.20.2_p14357.ebuild,
-mythtv-0.21_pre14327.ebuild, +mythtv-0.21_pre14358.ebuild:
DVD player fixes. trac #3805

28 Aug 2007; Doug Goldstein
mythtv-0.20.2_p14348.ebuild, mythtv-0.21_pre14346.ebuild:
opengl is always required, USE flag is for opengl vsnc. updated
use.local.desc to reflect, made virtual/opengl virtual/glu always required

*mythtv-0.21_pre14346 (28 Aug 2007)
*mythtv-0.20.2_p14348 (28 Aug 2007)

28 Aug 2007; Doug Goldstein
-mythtv-0.20.1_p13783.ebuild, -mythtv-0.20.2_p14282.ebuild,
-mythtv-0.20.2_p14307.ebuild, +mythtv-0.20.2_p14348.ebuild,
-mythtv-0.21_pre14278.ebuild, +mythtv-0.21_pre14346.ebuild:
0.20.x and 0.21 bump. Fixes race condition on SMP machines. Cleans up
themes. Fixes quotes in Schedules Direct usernames, changes username length.

*mythtv-0.20.2_p14324 (27 Aug 2007)

27 Aug 2007; Doug Goldstein
+mythtv-0.20.2_p14324.ebuild:
Schedule's Direct recommended run time fix

*mythtv-0.21_pre14327 (27 Aug 2007)

27 Aug 2007; Doug Goldstein
mythtv-0.20.2_p14307.ebuild, -mythtv-0.21_pre14153.ebuild,
-mythtv-0.21_pre14251.ebuild, +mythtv-0.21_pre14327.ebuild:
compile 6200ch with -std=gnu99 for bug #190091. trunk bump. remove old trunks

*mythtv-0.20.2_p14307 (27 Aug 2007)

27 Aug 2007; Doug Goldstein
+mythtv-0.20.2_p14307.ebuild:
bump. fix mythfilldatabase and vanishing icons

24 Aug 2007; Doug Goldstein
mythtv-0.20.2_p14282.ebuild, mythtv-0.21_pre14278.ebuild:
Add directv USE flag to install d10control. Add to trunk builds.

*mythtv-0.21_pre14278 (24 Aug 2007)

24 Aug 2007; Doug Goldstein
+mythtv-0.21_pre14278.ebuild:
latest Schedules Direct fixes

*mythtv-0.20.2_p14282 (24 Aug 2007)

24 Aug 2007; Doug Goldstein
-mythtv-0.20.1_p14276.ebuild, +mythtv-0.20.2_p14282.ebuild:
bump to 0.20.2 with VERSION and LIBVERSION

24 Aug 2007; Doug Goldstein
mythtv-0.20.1_p14276.ebuild:
using XvMCNVIDIA directly doesn't work. dvds are jittery. back to XvMCW

*mythtv-0.20.1_p14276 (24 Aug 2007)

24 Aug 2007; Doug Goldstein
-mythtv-0.20.1_p14260.ebuild, +mythtv-0.20.1_p14276.ebuild:
another MythTV 0.20.2 pre-release. fix bug #179052. switch from XvMCW to
nVidia XvMC, i810 XvMC, and VIA XvMC

*mythtv-0.20.1_p14260 (22 Aug 2007)

22 Aug 2007; Doug Goldstein
+mythtv-0.20.1_p14260.ebuild:
MythTV 0.20.2 pre-release. masked, requires plugins rebuild due to ABI
break. contains fix for bug #167963. contains Schedules Direct support

*mythtv-0.21_pre14251 (22 Aug 2007)

22 Aug 2007; Doug Goldstein
-mythtv-0.21_pre13285.ebuild, -mythtv-0.21_pre13775.ebuild,
-mythtv-0.21_pre14241.ebuild, +mythtv-0.21_pre14251.ebuild:
remove old trunk build. bump trunk for segfault fix. upnp fixes too.

22 Aug 2007; Doug Goldstein
mythtv-0.20.1_p14146.ebuild, mythtv-0.21_pre14153.ebuild,
mythtv-0.21_pre14241.ebuild:
recursively copy contrib directory. Always build red_eye changer. build
6200ch, sa3250ch and firewire_tester when USE=ieee1394

21 Aug 2007; Doug Goldstein
mythtv-0.21_pre14153.ebuild, mythtv-0.21_pre14241.ebuild:
add pkg_info and pkg_config functions to trunk ebuilds

*mythtv-0.21_pre14241 (21 Aug 2007)

21 Aug 2007; Doug Goldstein
+mythtv-0.21_pre14241.ebuild:
bump trunk revision. contains Schedule's Direct support

10 Aug 2007; Doug Goldstein
mythtv-0.20.1_p14146.ebuild:
new stable. required for MySQL 5.0.42 and higher.

08 Aug 2007; Doug Goldstein
mythtv-0.21_pre14153.ebuild:
comment out march patch.

*mythtv-0.21_pre14153 (07 Aug 2007)

07 Aug 2007; Doug Goldstein
+mythtv-0.21_pre14153.ebuild:
newer trunk revision

*mythtv-0.20.1_p14146 (06 Aug 2007)

06 Aug 2007; Doug Goldstein
+mythtv-0.20.1_p14146.ebuild:
rev bump. Major change is change over to using svn to checkout the sources
since there are binary changes now. fixes bug #183268

31 Jul 2007; Doug Goldstein
mythtv-0.20.1_p13344.ebuild, mythtv-0.20.1_p13783.ebuild,
mythtv-0.21_pre13285.ebuild, mythtv-0.21_pre13775.ebuild:
nvidia-legacy-drivers has merged with nvidia-drivers

02 Jul 2007; Doug Goldstein
files/mythtv-trunk-mcpu-march-2.patch:
Fix bug #183701 by Viktor Avramov

*mythtv-0.20.1_p13783 (29 Jun 2007)

29 Jun 2007; Doug Goldstein
+mythtv-0.20.1_p13783.ebuild:
upstream fixes

28 Jun 2007; Doug Goldstein
+files/mythtv-trunk-mcpu-march-2.patch, mythtv-0.21_pre13775.ebuild:
refresh march/mcpu patch

*mythtv-0.21_pre13775 (28 Jun 2007)

28 Jun 2007; Doug Goldstein
-mythtv-0.20_p11626.ebuild, -mythtv-0.20_p12172.ebuild,
-mythtv-0.20_p12325.ebuild, -mythtv-0.20_p12884.ebuild,
-mythtv-0.20_p12963.ebuild, -mythtv-0.20_p13053.ebuild,
-mythtv-0.20_p13110.ebuild, -mythtv-0.21_pre12945.ebuild,
+mythtv-0.21_pre13775.ebuild:
remove old versions in favor of latest stable. added new trunk based ebuild
which fixes bug #182048

12 Jun 2007; Doug Goldstein
files/mythbackend-0.18.2.rc:
de-bashify by Matthias Schwarzott

12 Jun 2007; Doug Goldstein
mythtv-0.20.1_p13344.ebuild:
Stable on amd64, ppc, x86

17 May 2007; Doug Goldstein mythtv-0.20_p11626.ebuild,
mythtv-0.20_p12172.ebuild, mythtv-0.20_p12325.ebuild,
mythtv-0.20_p12884.ebuild, mythtv-0.20_p12963.ebuild,
mythtv-0.20_p13053.ebuild, mythtv-0.20_p13110.ebuild,
mythtv-0.20.1_p13344.ebuild, mythtv-0.21_pre12945.ebuild,
mythtv-0.21_pre13285.ebuild:
udev & static dev seem to switch between tty and uucp group for serial
devices. add MythTV to both

15 May 2007; Doug Goldstein
files/mythbackend-0.18.2.rc:
use mysql is proper, not need. bug #178659

10 May 2007; Doug Goldstein
files/mythbackend-0.18.2.rc:
initscript change need mysql since mythbackend requires mysql. add LCDd and
lircd to use even though the backend doesn't use it but we want to make sure
they are running for the frontend which should start up after the backend.

*mythtv-0.20.1_p13344 (26 Apr 2007)

26 Apr 2007; Doug Goldstein
-mythtv-0.20_p13271.ebuild, -mythtv-0.20_p13288.ebuild,
+mythtv-0.20.1_p13344.ebuild:
Upstream introduced a binary change so plugins need to be recompiled. Just
going with 0.20.1 based versions to force the update.

23 Apr 2007; Doug Goldstein
-mythtv-0.20_p12288.ebuild, -mythtv-0.20_p12288-r1.ebuild,
-mythtv-0.20_p12376.ebuild, -mythtv-0.20_p12599.ebuild,
-mythtv-0.20_p12783.ebuild, -mythtv-0.20_p12801.ebuild,
-mythtv-0.20_p12825.ebuild:
Remove old builds

20 Apr 2007; Steve Dibb ChangeLog:
Stable on amd64, ppc, x86

*mythtv-0.20_p13288 (20 Apr 2007)

20 Apr 2007; Doug Goldstein
+mythtv-0.20_p13288.ebuild, -mythtv-0.19_p10505.ebuild:
upstream bump. remove old version

*mythtv-0.21_pre13285 (19 Apr 2007)
*mythtv-0.20_p13271 (19 Apr 2007)

19 Apr 2007; Doug Goldstein
+mythtv-0.20_p13271.ebuild, +mythtv-0.21_pre13285.ebuild:
bump to latest upstream fixes branch and trunk

*mythtv-0.20_p13110 (23 Mar 2007)

23 Mar 2007; Doug Goldstein
+mythtv-0.20_p13110.ebuild:
upstream fixes for crash in mythcommflag. Incorrect maxepisode count
expiring of episodes. Fixes for CDROM tray and no disc present.

19 Mar 2007; Doug Goldstein
mythtv-0.21_pre12945.ebuild:
Upstream removed building backend and frontend only support to spite Gentoo
users. Remove options that were consolidated into 'iptv'. Patch mcpu to march.

19 Mar 2007; Doug Goldstein mythtv-0.20_p12963.ebuild,
mythtv-0.20_p13053.ebuild, mythtv-0.21_pre12945.ebuild:
Fix logrotate file, clean up logging defaults and messages

*mythtv-0.21_pre12945 (19 Mar 2007)

19 Mar 2007; Doug Goldstein
+mythtv-0.21_pre12945.ebuild:
Added a SVN trunk ebuild (svn revision 12945) to test out the new capability
of the eclass to support such ebuilds

*mythtv-0.20_p13053 (18 Mar 2007)

18 Mar 2007; Doug Goldstein
+mythtv-0.20_p13053.ebuild:
Upstream fixes. Escape key hit at password prompt. Skip ahead sometimes
returning to beginning.

*mythtv-0.20_p12963 (10 Mar 2007)

10 Mar 2007; Doug Goldstein +files/mythtv.logrotate.d,
+mythtv-0.20_p12963.ebuild:
upstream fixes. adding logrotate script

*mythtv-0.20_p12884 (01 Mar 2007)

01 Mar 2007; Doug Goldstein
+mythtv-0.20_p12884.ebuild:
Fixing bug #168248 and bug #159342

*mythtv-0.20_p12825 (21 Feb 2007)

21 Feb 2007; Doug Goldstein
+mythtv-0.20_p12825.ebuild:
upstream fix for bug #162552

*mythtv-0.20_p12801 (16 Feb 2007)

16 Feb 2007; +mythtv-0.20_p12801.ebuild:
Upstream fix for CD/DVD mounting, eject, and detection.

*mythtv-0.20_p12783 (14 Feb 2007)

14 Feb 2007; Doug Goldstein
+mythtv-0.20_p12783.ebuild:
upstream fixes for the scheduler and HDHomeRun

*mythtv-0.20_p12599 (05 Feb 2007)

05 Feb 2007; Doug Goldstein
+mythtv-0.20_p12599.ebuild:
Merge in some more upstream fixes

*mythtv-0.20_p12376 (09 Jan 2007)

09 Jan 2007; Doug Goldstein
+mythtv-0.20_p12376.ebuild:
some more upstream fixes. this time for mythrecode

05 Jan 2007; Diego Pettenò
mythtv-0.19_p10505.ebuild, mythtv-0.20_p11626.ebuild,
mythtv-0.20_p12172.ebuild, mythtv-0.20_p12288.ebuild,
mythtv-0.20_p12288-r1.ebuild, mythtv-0.20_p12325.ebuild:
Remove debug.eclass usage.

*mythtv-0.20_p12325 (26 Dec 2006)

26 Dec 2006; Doug Goldstein
+mythtv-0.20_p12325.ebuild:
Fixes for UPnP from upstream

24 Dec 2006; Doug Goldstein
-files/mythtv-0.20-vsync.patch, -mythtv-0.20_p11244.ebuild,
-mythtv-0.20_p11281.ebuild, -mythtv-0.20_p11444.ebuild:
Dump some old versions

23 Dec 2006; Doug Goldstein mythtv-0.20_p11626.ebuild,
mythtv-0.20_p12172.ebuild:
Marking some stable versions for amd64, ppc, and x86 since the current
stable ones won't compile with the new stable X.org bits

*mythtv-0.20_p12288-r1 (20 Dec 2006)

20 Dec 2006; Doug Goldstein
+mythtv-0.20_p12288-r1.ebuild:
Adding USE=autostart for the auto loading mythfrontend scripts

20 Dec 2006; Doug Goldstein mythtv-0.20_p12288.ebuild:
Tweak CONFIG_PROTECT so it happens the first time around

*mythtv-0.20_p12288 (18 Dec 2006)

18 Dec 2006; Doug Goldstein
+mythtv-0.20_p12288.ebuild:
Convinced upstream to backport some more UPnP fixes

*mythtv-0.20_p12172 (18 Dec 2006)

18 Dec 2006; Doug Goldstein files/runmythfe,
files/xinitrc, +mythtv-0.20_p12172.ebuild:
Upstream fixes for bug #157457. Fixed bug #154729.

23 Nov 2006; Francesco Riosa mythtv-0.19_p10505.ebuild,
mythtv-0.20_p11244.ebuild, mythtv-0.20_p11281.ebuild,
mythtv-0.20_p11444.ebuild, mythtv-0.20_p11626.ebuild:
dev-db/mysql => virtual/mysql

*mythtv-0.20_p11626 (05 Nov 2006)

05 Nov 2006; Doug Goldstein +files/bash_profile,
+files/xinitrc, +mythtv-0.20_p11626.ebuild:
rev bump. Change the mythtv user to be loginable. Added my MythFrontend
autostart scripts to mythtv user. Added configfiles to be installed.

05 Oct 2006; Steve Dibb mythtv-0.20_p11444.ebuild:
Add ivtv USE flag

*mythtv-0.20_p11444 (06 Oct 2006)

06 Oct 2006; Doug Goldstein
files/mythbackend-0.18.2.rc, +mythtv-0.20_p11444.ebuild:
Rev bump from upstream that fixes some of the following bugs and some that I
fixed. bugs #144640, #149340, #149341, #149601, #149848

05 Oct 2006; Chris Gianelloni
mythtv-0.19_p10505.ebuild:
Removing references to media-video/nvidia-glx since it is no longer in the
tree.

30 Sep 2006; Steve Dibb mythtv-0.19_p10505.ebuild,
mythtv-0.20_p11244.ebuild, mythtv-0.20_p11281.ebuild:
Fix warnings, wrt bug 149329

*mythtv-0.20_p11281 (25 Sep 2006)

25 Sep 2006; Doug Goldstein
+mythtv-0.20_p11281.ebuild:
svn snapshot bump for v4l2 fixes for ivtv-0.8. Additional fixes.

22 Sep 2006; Steve Dibb mythtv-0.20_p11244.ebuild:
Remove ivtv USE flag

*mythtv-0.20_p11244 (20 Sep 2006)

20 Sep 2006; Doug Goldstein
+files/mythtv-0.20-vsync.patch, -mythtv-0.20_p11163.ebuild,
+mythtv-0.20_p11244.ebuild:
rev bump to pull in new upstream fixes. Fix OpenGL assumptions that calls
exist.

19 Sep 2006; Steve Dibb mythtv-0.20_p11163.ebuild:
Add new use flags, cosmetic changes

16 Sep 2006; Doug Goldstein
+files/mythtv-0.20-as-needed.patch, mythtv-0.20_p11163.ebuild:
As-needed fixes

15 Sep 2006; Doug Goldstein
-mythtv-0.19_p9163-r1.ebuild, mythtv-0.20_p11163.ebuild:
Broken the d/l link. Removed old version

14 Sep 2006; Joshua Jackson mythtv-0.19_p10505.ebuild:
Stable x86; as per Cardoe's nagging

14 Sep 2006; Doug Goldstein
mythtv-0.19_p9163-r1.ebuild, mythtv-0.19_p10505.ebuild,
mythtv-0.20_p11163.ebuild:
Chutt is being very particular about the URL

13 Sep 2006; Doug Goldstein mythtv-0.19_p10505.ebuild:
Stable on amd64 & ppc. (my arches)

*mythtv-0.20_p11163 (13 Sep 2006)

13 Sep 2006; Doug Goldstein
-mythtv-0.20_p11154.ebuild, +mythtv-0.20_p11163.ebuild:
Pull down latest fixes while I continue to work on the ebuild

13 Sep 2006; Doug Goldstein
mythtv-0.19_p9163-r1.ebuild, mythtv-0.19_p10505.ebuild,
mythtv-0.20_p11154.ebuild:
Update to new OSL download links. Remove utf8 USE flag check on mysql.
Fixed typos. Change to x11-drivers/nvidia-drivers to be default

*mythtv-0.20_p11154 (12 Sep 2006)

12 Sep 2006; Doug Goldstein
+mythtv-0.20_p11154.ebuild:
Revision Bump. Removed Monolithic X support. Message clean ups as a result.
Added support for calling xvmc-pro directly.

04 Sep 2006; Doug Goldstein
mythtv-0.19_p9163-r1.ebuild:
tweak depends to specify specific lcdproc version since a new one will be
coming out.

*mythtv-0.19_p10505 (15 Jul 2006)

15 Jul 2006; Doug Goldstein -mythtv-0.19_p10281.ebuild,
+mythtv-0.19_p10505.ebuild:
Bumped patchset to include some more fixes. Also in line with mythweb
patchset release.

07 Jul 2006; Kristopher Kersey
mythtv-0.19_p9163-r1.ebuild, mythtv-0.19_p10281.ebuild:
Added RDEPEND for new x11-drivers/nvidia-drivers or
x11-drivers/nvidia-legacy-drivers.

23 Jun 2006; Doug Goldstein mythtv-0.19_p10281.ebuild:
Add msg about XvMC USE flag.

*mythtv-0.19_p10281 (23 Jun 2006)

23 Jun 2006; Doug Goldstein
+mythtv-0.19_p10281.ebuild:
new 0.19-fixes snapshot in testing

14 Jun 2006; Doug Goldstein
mythtv-0.19_p9163-r1.ebuild:
Apparently someone decided it's a good idea to get rid of the games group

13 Jun 2006; Doug Goldstein
mythtv-0.19_p9163-r1.ebuild:
cleaning up pkg_setup()

08 Jun 2006; Jeremy Huddleston
mythtv-0.19_p9163-r1.ebuild:
Added to ~ppc64.

04 Jun 2006; Luca Barbato
mythtv-0.19_p9163-r1.ebuild:
oggvorbis -> vorbis

23 May 2006; Doug Goldstein
mythtv-0.19_p9163-r1.ebuild:
enabling aRts on compile fix

23 May 2006; Doug Goldstein
-files/mythtv-0.18.1-cputypes-configure.patch, -files/0.18-mythbackend.rc,
-files/mythtv-0.18.1-cc-on-mute.patch,
-files/mythtv-0.18.1-opengl-fix.patch,
-files/mythtv-0.18.1-x86_64-configure.patch, -files/0.18-mythbackend.conf,
-mythtv-0.18.1-r1.ebuild, -mythtv-0.19_p9163.ebuild,
mythtv-0.19_p9163-r1.ebuild:
Marking stable per bug #123066

28 Apr 2006; Alec Warner
files/digest-mythtv-0.18.1-r1, Manifest:
Fixing SHA256 digest, pass four

18 Mar 2006; Matthias Schwarzott
mythtv-0.18.1-r1.ebuild, mythtv-0.19_p9163.ebuild,
mythtv-0.19_p9163-r1.ebuild:
libdvb no longer implicitly provide media-tv/linuxtv-dvb-headers

16 Mar 2006; Herbie Hopkins
+files/mythtv-0.19-libdir.patch, mythtv-0.19_p9163-r1.ebuild:
Add patch to solve multilib-strict issues, bug 126144 (also in upstream svn)

14 Mar 2006; Doug Goldstein
mythtv-0.19_p9163-r1.ebuild:
Marking stable on ppc and x86

10 Mar 2006; Doug Goldstein
mythtv-0.19_p9163-r1.ebuild:
forgot to delete a line

*mythtv-0.19_p9163-r1 (10 Mar 2006)

10 Mar 2006; Doug Goldstein -mythtv-0.18.1-r2.ebuild,
-mythtv-0.19.ebuild, -mythtv-0.19-r1.ebuild, +mythtv-0.19_p9163-r1.ebuild:
USE flag tweaks, some more error msgs based on configuration, fine tune some
depends, install contrib directory

*mythtv-0.19_p9163 (27 Feb 2006)

27 Feb 2006; Doug Goldstein
-mythtv-0.19_pre8642.ebuild, +mythtv-0.19_p9163.ebuild:
Added support for backendonly. Updated patchset ot fix LiveTV, mythtrancode
issues, and some other broken goodness from the release.

*mythtv-0.19-r1 (22 Feb 2006)

22 Feb 2006; Doug Goldstein
-files/mythtv-0.19_pre8554-chanutil-schar.patch,
-files/mythtv-0.19_pre8554-freetype.patch,
-files/mythtv-0.19_pre8554-xrandr.patch, +mythtv-0.19-r1.ebuild:
rev bump for SVN 9094. All the fixes since the release

17 Feb 2006; Doug Goldstein mythtv-0.19.ebuild:
MythTV needs Qt with OpenGL support always.

17 Feb 2006; Doug Goldstein mythtv-0.19.ebuild:
Forgot to add MythTV user to video and audio groups because I left out a
variable.

12 Feb 2006; Doug Goldstein mythtv-0.19.ebuild:
Added PDEPEND on mythtv-themes

*mythtv-0.19 (12 Feb 2006)

12 Feb 2006; Doug Goldstein +mythtv-0.19.ebuild:
rev bump from pre ebuild

11 Jan 2006; Doug Goldstein
mythtv-0.19_pre8554.ebuild:
Add native DVD support

11 Jan 2006; Doug Goldstein
+files/mythtv-0.19_pre8554-chanutil-schar.patch,
+files/mythtv-0.19_pre8554-freetype.patch, mythtv-0.19_pre8554.ebuild:
added some patches that I sent upstream

*mythtv-0.19_pre8554 (11 Jan 2006)

11 Jan 2006; Doug Goldstein
+files/mythtv-0.19_pre8554-xrandr.patch, -mythtv-0.18.2_pre7882.ebuild,
+mythtv-0.19_pre8554.ebuild:
Provide 0.19 snapshot. This will fix a bunch of people's problems

09 Jan 2006; Caleb Tennis mythtv-0.18.1-r1.ebuild,
mythtv-0.18.1-r2.ebuild, mythtv-0.18.2_pre7882.ebuild:
fix qmake call to include QMAKE=...

*mythtv-0.18.2_pre7882 (26 Dec 2005)

26 Dec 2005; Doug Goldstein
+files/mythbackend-0.18.2.conf, +files/mythbackend-0.18.2.rc,
+mythtv-0.18.2_pre7882.ebuild:
latest available snapshot of 0-18-fixes branch. mythtv is Rev 7882.
Includes additional patches to fix:
bug #101009
bug #101308
bug #105521
bug #110100
bug #113419
bug #115760

06 Sep 2005; Doug Goldstein mythtv-0.18.1-r1.ebuild,
mythtv-0.18.1-r2.ebuild:
oggvorbis USE to vorbis USE, bug #94254

12 Aug 2005; Doug Goldstein
+files/mythtv-0.18.1-cc-on-mute.patch, mythtv-0.18.1-r2.ebuild:
Fix up CPU types. bug #94696.

28 Jul 2005; Caleb Tennis mythtv-0.18.1-r1.ebuild,
mythtv-0.18.1-r2.ebuild:
Fix qt dep per bug #100235

27 Jul 2005; Pieter Van den Abeele
mythtv-0.18.1-r1.ebuild:
Stable mask for mythtv. -r2 needs some further testing.

01 Jul 2005; Caleb Tennis mythtv-0.18.1-r1.ebuild,
mythtv-0.18.1-r2.ebuild:
Fix qmake dir per bug #97535

29 Jun 2005; Doug Goldstein
-files/mythtv-0.17-qt334-dst-fix.patch, -files/mythbackend.conf,
-files/mythbackend.rc6, -mythtv-0.17-r1.ebuild:
remove the old version

21 Jun 2005; Herbie Hopkins mythtv-0.18.1-r1.ebuild:
Backport multilib fixes and amd64 configure patch from -r2. Mark stable on
amd64.

29 Jun 2005; Doug Goldstein +files/runmythfe,
mythtv-0.18.1-r2.ebuild:
Add crontab script for keeping mythfrontend going

21 Jun 2005; Doug Goldstein mythtv-0.18.1-r2.ebuild:
fixed firewire deps

06 Jun 2005; Doug Goldstein mythtv-0.18.1-r1.ebuild,
mythtv-0.18.1-r2.ebuild:
clean the amd64 stank off. fix frontendonly. fix xv usage.

01 Jun 2005; Herbie Hopkins
+files/mythtv-0.18.1-x86_64-configure.patch, mythtv-0.18.1-r2.ebuild:
Fixed bug 94664, support amd64 --arch options. Fixed multilib-strict issue.

01 Jun 2005; Doug Goldstein mythtv-0.18.1-r1.ebuild:
explictly add --disable-firewire because the test fails for someone

31 May 2005; David Holm mythtv-0.18.1-r2.ebuild:
Added to ~ppc.

30 May 2005; Doug Goldstein
-files/mythtv-0.16-cx88.patch, files/mythfilldatabase.cron,
-mythtv-0.16.ebuild:
remove 0.16 series

*mythtv-0.18.1-r2 (30 May 2005)

30 May 2005; Doug Goldstein -mythtv-0.18-r2.ebuild,
-mythtv-0.18.1.ebuild, mythtv-0.18.1-r1.ebuild, +mythtv-0.18.1-r2.ebuild:
remove old ebuilds.
move firewire stuff from mythtv-0.18.1-r1 to -r2.
mark -r1 stable on x86

30 May 2005; Doug Goldstein mythtv-0.18.1-r1.ebuild:
Firewire support!!! Hoorah!

29 May 2005; Doug Goldstein mythtv-0.18.1-r1.ebuild:
Changed build to use some of the user's CFLAGS, stripping out all the
dangerous stuff.

28 May 2005; Carsten Lohrke mythtv-0.17-r1.ebuild:
stable on x86

*mythtv-0.18.1-r1 (23 May 2005)

23 May 2005; Doug Goldstein
+files/mythtv-0.18.1-opengl-fix.patch, +mythtv-0.18.1-r1.ebuild:
OpenGL compile fix.

22 May 2005; Doug Goldstein files/0.18-mythbackend.rc:
Fix warning msg for users running MythTV as root.
Fix pidfile problem for non-root users

*mythtv-0.18.1 (16 May 2005)

16 May 2005; Doug Goldstein +mythtv-0.18.1.ebuild:
rev bump

*mythtv-0.18-r2 (16 May 2005)

16 May 2005; Doug Goldstein +mythtv-0.18-r2.ebuild:
force the new init script on the masses
clean up some bugs... close some more bugs
move closer to stable x86

14 May 2005; Doug Goldstein
files/0.18-mythbackend.conf, files/0.18-mythbackend.rc:
Fixed up init scripts

*mythtv-0.18-r1 (11 May 2005)

11 May 2005; +files/0.18-mythbackend.conf,
+files/0.18-mythbackend.rc, +mythtv-0.18-r1.ebuild:
rewrite the ebuild to get rid of the breakage of distcc/ccache and other
breakage MMX support is back CFLAGS are now picked by mythtv everything
should be happy

10 May 2005; Herbie Hopkins mythtv-0.18.ebuild:
Fixed bug #90185.

06 May 2005; Jeremy Huddleston mythtv-0.16.ebuild:
Update 0.16 ebuild to depend on
27 Apr 2005; Jeremy Huddleston mythtv-0.18.ebuild:
PDEPEND on myththemes.

18 Apr 2005; Jeremy Huddleston
-mythtv-0.17.ebuild, mythtv-0.17-r1.ebuild:
Stable amd64.

*mythtv-0.18 (18 Apr 2005)

18 Apr 2005; Jeremy Huddleston
+mythtv-0.18.ebuild:
Version bump.

*mythtv-0.17-r1 (06 Apr 2005)

06 Apr 2005; Jeremy Huddleston
+files/mythtv-0.17-qt334-dst-fix.patch, mythtv-0.17.ebuild,
+mythtv-0.17-r1.ebuild:
Version bump for daylight savings time bugfix with qt-3.3.4. Use proper
toolchain compiler. Removed ieee1394 support since it requires a package not
yet in portage. This closes bugs #81767 and #87947.

26 Mar 2005; Doug Goldstein mythtv-0.17.ebuild:
remove install of depreciated mysql.txt. added msgs for ieee1394 and nvidia
USE flags (bug #81767)

02 Mar 2005; Jeremy Huddleston
files/mythbackend.conf, files/mythbackend.rc6:
Use bash builtins for testing. Added MYTH_NICE option.

28 Feb 2005; Doug Goldstein mythtv-0.17.ebuild:
added some notices about ieee1394 and cle266 USE flags

12 Feb 2005; Doug Goldstein mythtv-0.17.ebuild:
filter some more problematic CFLAGS

11 Feb 2005; Doug Goldstein mythtv-0.17.ebuild:
small fix

*mythtv-0.17 (11 Feb 2005)

11 Feb 2005; Doug Goldstein
-mythtv-0.16.20050115-r1.ebuild, -mythtv-0.16.20050115.ebuild,
+mythtv-0.17.ebuild:
revision bump
lots of fixes to ebuild to support new features, get rid of broken ones
deal with situations better..

*mythtv-0.16.20050115-r1 (10 Feb 2005)

10 Feb 2005; Doug Goldstein
+mythtv-0.16.20050115-r1.ebuild, mythtv-0.16.20050115.ebuild:
oss is required so make it manditory.
fixed bug #81372 as per suggestions from Mike Trowbridge

*mythtv-0.16.20050115 (18 Jan 2005)

18 Jan 2005; Doug Goldstein metadata.xml,
-files/gcc-3.4-fix.patch, -files/mythtv-0.15-directfb.patch,
-files/tvformat.fix.0.13.diff, -mythtv-0.13-r1.ebuild,
-mythtv-0.14-r1.ebuild, -mythtv-0.15.1-r1.ebuild, -mythtv-0.15.1.ebuild,
+mythtv-0.16.20050115.ebuild:
rev dump to CVS snapshot for bug fixes and feature updates since upstream
won't release and won't suppport current stable merge changes from eclass
remove old revs fix up ebuild add XrandX extension since Gentoo X.org always
has it

04 Dec 2004; Brian Jackson mythtv-0.16.ebuild:
I can't find any of the other media-tv guys, and it's been fairly bug free
(except 69251 which is fixed by this), so marrking as x86

18 Sep 2004; Daniel Ahlberg mythtv-0.16.ebuild:
Check if neither X or directfb are in USE, closing #64289.

18 Sep 2004; Doug Goldstein mythtv-0.15.1-r1.ebuild,
mythtv-0.16.ebuild:
correct path of DVB headers

13 Sep 2004; Daniel Ahlberg mythtv-0.16.ebuild:
Added patch from CVS to fix cx88 related crashes.

12 Sep 2004; Daniel Ahlberg mythtv-0.16.ebuild:
Make compilation distcc friendly, closing #63672.

10 Sep 2004; Daniel Ahlberg files/mythbackend.conf,
files/mythbackend.rc6:
Added option to specify verbose level for mythbackend. Closing #56114.

*mythtv-0.16 (10 Sep 2004)

10 Sep 2004; Daniel Ahlberg mythtv-0.16.ebuild:
Version bump. I've re-done some of the ebuild layout and added a myth
eclass to save some code.

14 Jul 2004; Daniel Ahlberg mythtv-0.15.1-r1.ebuild:
Added debug support and missing use flags to IUSE.

13 Jul 2004; Daniel Ahlberg mythtv-0.15.1-r1.ebuild:
Added QMAKESPEC, closing #56426.

11 Jul 2004; Chris Bainbridge mythtv-0.15.1-r1.ebuild:
add inherit gcc

09 Jul 2004; Chris Bainbridge mythtv-0.15.1-r1.ebuild:
Add X to IUSE

*mythtv-0.15.1-r1 (07 Jul 2004)

07 Jul 2004; Chris Bainbridge mythtv-0.15.1-r1.ebuild:
fix gcc 3.4 compile bug #56101

04 Jul 2004; Chris Bainbridge :
Support QT-embedded and fix typos (bug #53403)

28 Jun 2004; Daniel Goller mythtv-0.15.1.ebuild:
Added patch to allow compilation on gcc-3.4.0 conditionally
Patch thanks to Herbie Hopkins
Closes bug #52819

07 Jun 2004; Aron Griffis mythtv-0.13-r1.ebuild,
mythtv-0.14-r1.ebuild, mythtv-0.15.1.ebuild:
Fix use invocation

02 Jun 2004; Daniel Ahlberg mythtv-0.15.1.ebuild:
+ Added check for OpenGL implementation, closing #52722.
+ Added directfb patch by Scott Alfer from #52154.
+ Depend on either wget (for DataDirect) or xmltv.

*mythtv-0.15.1 (01 Jun 2004)

01 Jun 2004; Daniel Ahlberg mythtv-0.11.ebuild,
mythtv-0.12.ebuild, mythtv-0.15.1.ebuild:
Version bump and ebuilds cleanup.

27 Apr 2004; Aron Griffis mythtv-0.13-r1.ebuild:
Add inherit eutils

26 Apr 2004; Aron Griffis mythtv-0.11.ebuild,
mythtv-0.14-r1.ebuild:
Add die following econf for bug 48950

26 Apr 2004; Aron Griffis mythtv-0.12.ebuild,
mythtv-0.13-r1.ebuild:
Add die following econf for bug 48950

10 Mar 2004; Max Kalika mythtv-0.14-r1.ebuild:
Fix bugs #40964 and #42943 by filtering -fPIC and -fforce-addr.

17 Feb 2004; Daniel Ahlberg mythtv-0.14-r1.ebuild:
Fix CFLAGS and defines so that it can be compiled on amd64. Closing #37578.

*mythtv-0.14-r1 (06 Feb 2004)

06 Feb 2004; Max Kalika mythtv-0.14-r1.ebuild,
mythtv-0.14.ebuild:
Re-enable DVB support. Add DirectFB, artsc, and cle266 (via hardware MPEG
decoder) support.

*mythtv-0.14 (02 Feb 2004)

02 Feb 2004; Daniel Ahlberg mythtv-0.14.ebuild:
Version bump

15 Jan 2004; Max Kalika mythtv-0.13-r1.ebuild,
mythtv-0.13.ebuild:
Bump to stable x86.

*mythtv-0.13-r1 (14 Dec 2003)

14 Dec 2003; Daniel Ahlberg mythtv-0.13-r1.ebuild:
Apply upstream patch to fix recordings on analog bttv cards.

*mythtv-0.13 (11 Dec 2003)

11 Dec 2003; Daniel Ahlberg mythtv-0.13.ebuild:
Version bump.

04 Dec 2003; Michael Sterrett mythtv-0.10.ebuild:
clean old version per max

28 Oct 2003; Max Kalika mythtv-0.12.ebuild:
Disable DVB for now. Extend CPU detection. Fix potential portage bug in
pkg_setup().

*mythtv-0.12 (19 Oct 2003)

19 Oct 2003; Max Kalika mythtv-0.12.ebuild:
Bump to version 0.12. Add support for alsa, dvb, lcd, lirc, xvmc. Add Qt
mysql support check.

16 Sep 2003; Max Kalika mythtv-0.10.ebuild,
mythtv-0.11.ebuild:
Bump to stable.

*mythtv-0.11 (18 Aug 2003)

18 Aug 2003; Max Kalika mythtv-0.11.ebuild:
Bump version to 0.11.

07 Aug 2003; Max Kalika mythtv-0.10.ebuild:
Block media-tv/mythfrontend.

21 Jul 2003; Max Kalika mythtv-0.10.ebuild:
Correct and simplify the compile process.

14 Jul 2003; Nick Hadaway mythtv-0.10.ebuild:
Locked dependancy of xmltv to 0.5.14 as 0.5.15 is incompatible
with the 0.10 release as reported on the upstream homepage.

03 Jul 2003; Max Kalika mythtv-0.8.ebuild:
Set KEYWORDS to ~x86.

02 Jul 2003; Max Kalika files/mythfilldatabase.cron:
Remove --update and --no-delete from the sample cron file.

01 Jul 2003; Max Kalika files/mythbackend.conf,
files/mythbackend.rc6:
Fix up mythbackend start up script: reset permissions on pid and log
directories, change MYTH_NOWARN to MYTH_WARN and reverse the functionality,
other cleanups.

*mythtv-0.10 (01 Jul 2003)

01 Jul 2003; Max Kalika mythtv-0.10.ebuild,
files/mythbackend.conf:
Bump version to 0.10. Drop all patches -- just move config to /etc/mythtv and
link to /usr/share/mythtv. Change xmltv depend to >= 0.5.14. Move
/usr/share/mythtv/setup to /usr/bin/mythsetup and add note on pkg_postinst().
Drop permission change of /var/{log,run}/mythtv -- do it as part of the rc
script. Change startup script config file to start mythbackend as root --
will still warn about root not being part of the video group and gives the
user an option to change to a non-root user; helps with hanging mythbackend
on startup as reported on #10533. Add a note about the importance of upgrading
the database.

22 Jun 2003; Max Kalika mythtv-0.9.1-r2.ebuild:
Rename patch to mythtv-0.9-gentoo.patch. Depend on >=sys-apps/sed-4. Die
if sed fails. Clean up some other dependencies.

*mythtv-0.9.1-r2 (18 Jun 2003)

18 Jun 2003; Max Kalika mythtv-0.9.1-r2.ebuild,
Move to media-tv. Drop the mysql dependency.

*mythtv-0.9.1 (13 Jun 2003)

13 Jun 2003; Max Kalika mythtv-0.9.1.ebuild,
mythtv-gentoo.patch:
Bump to 0.9.1. Drop the sed fix for config file in /etc/mythtv and use
a patch instead which also fixes another file. This allows mythgallery
to show up on the main mythfrontend screen.

*mythtv-0.9 (09 Jun 2003)

09 Jun 2003; Max Kalika mythtv-0.9.ebuild:
Bump to 0.9. Make all sed operations inline. Add a sed fix to use config
file in /etc/mythtv instead of /usr/etc/mythtv. Run qmake as in all other
Myth projects to generate a valid Makefile. Change emake to make because
parallel builds do not seem to work. Install keys.txt and HOWTO docs.
Install all html doc files. Drop obsolete einfo comment. Other cleanups.

*mythtv-0.8 (28 Apr 2003)

28 Apr 2003; Max Kalika mythtv-0.8.ebuild:
Initial import.

Manifest

AUX bash_profile 63 RMD160 71ed6a00c824f8d2704b65371e54adb85ca6d861 SHA1 cd4bc03298d30fadb759d1a2463e930441c5a5e7 SHA256 9a753f699d07b5f481374d13ea3f2b2439a22f3a9a49b6280cc8d9eebf0b2ca9
AUX mythbackend-0.18.2.conf 1430 RMD160 f966c40618592cae62a2e4345bb4cd5847ec0de6 SHA1 2a3cb59593c4fd1ba431b4ebe70b91782a418a02 SHA256 0b6d0514d410bdcbeaebded48488926fc2941edaeee518794d9884693a4eb9db
AUX mythbackend-0.18.2.rc 1128 RMD160 0297452b3d9fe09479c737d136a73171a35eb643 SHA1 df4fe1ca7750c3ed27c9f5bbeb28dcebb36f9b1d SHA256 be994a8b6690e830820e82316f4ccce5b7f84ce68213de75e3740818227f6f3c
AUX mythfilldatabase.cron 73 RMD160 ce57516fe3ac3f339ebaad6b88c85366d4dbbc5b SHA1 7ae24184f931336f317eaefaa7c27a8e4531e0ee SHA256 fc5a3b094fd403e9076fbb1903e826ddc97bd579cb0ba7ef6fc11940099fca3d
AUX mythtv-0.20-as-needed.patch 4260 RMD160 a81bbadba9a09647ee10a6ba994db855ab72ba09 SHA1 a54c4b405616581b34aa899902619159cb38362f SHA256 cdf55c4847f2f27699947dd863568e638218cfe170bab47647b68997bcf9cfc2
AUX mythtv.logrotate.d 434 RMD160 c76842df30c1e9cc772f57dd3a3532c017d4176d SHA1 f5e772659b2616a55ca7326f65d8917352029b51 SHA256 a9032f190b28c3778340799be668779638ee09cf85e8febc669443f3aaf3578c
AUX runmythfe 186 RMD160 e4b5bfeaecbf541e6cc45b6a9c0e5c048e3fccd0 SHA1 f5ec9dfd4781b28c0af8745c282ce242141590d8 SHA256 bebc665f37b21193be2f259cb8daf6863dfd4336e4e1424a7a989d6b679964fe
AUX xinitrc 240 RMD160 9c0c1030aa65c8fd3f20501f45757515a9208a61 SHA1 11795aa8be5bd668d91acdd61aa80d5cc8af5cac SHA256 770990183ce8df60bf3bcbc3a334558155aedd0a80357556261fb938b4254e94
EBUILD mythtv-0.20.2_p15634.ebuild 10064 RMD160 ac8a64b41e79e4519ba75673a05ad4fc461ce28a SHA1 57431882e431c75730e19dc9863513ddf6c58c5a SHA256 ff4e909b064b937be7708e086a9da3a5b76ae65d225382b73a79642835ca06b2
EBUILD mythtv-0.21_p17637.ebuild 9110 RMD160 1b29b3a3daebce60442915511e821c9b51b79e42 SHA1 fbe985358a1ba2a65912c706d669c89c693bdf03 SHA256 bd3ad3e72e28ea18f32ed9743e86e248c0d80914c6db24044271875bae276b9f
EBUILD mythtv-0.21_p17722.ebuild 9110 RMD160 72c429c627978caaa913205808be2ae8e0663de7 SHA1 1893115799a48d23b3588d819a3c045e1aff50b5 SHA256 dbd31ee332d20de9c4aed587a9d8b562b02a544e8aac7a1e1dc1780ede546e7f
EBUILD mythtv-0.21_p18116.ebuild 9110 RMD160 60fa91849fe9dd69515519e9e47d7447f659a357 SHA1 642363205b18ef8032100080e0d5c325113f0fd3 SHA256 d5da9576f1e1e4201dc2506ab5fd0cd470ea4cd1a733fa0742d296ed8f759150
EBUILD mythtv-0.22_alpha17733.ebuild 8739 RMD160 f6d22341422457e3b0d7792149492cc1614687e6 SHA1 a5f01e29624ccd030b0be44f76ad03f09d92ca4e SHA256 0cc8f71772e58a7dfeaf1b86d2a24ff74d3bd5e067f45c9d4831586102772cd5
MISC ChangeLog 48910 RMD160 ad27d473d03d8a02a5d8c5837382380ca027eed9 SHA1 5506553eb3c39daf7c462a981f34239983fe0792 SHA256 eb746905ae39ac5f034df08f7193e3bee68f4eab9c86348f3ce898db9b613a2d
MISC metadata.xml 4714 RMD160 c65d058e83e36342d6a49b63a6e9609e11242b66 SHA1 0de80f93ca1adfede5783d30a45953ec4cd27c9b SHA256 7501a841c218dd17bee56aeefcfc60194241b3a5468898850c5bedf5dafd28e5

files

metadata.xml




media-tv

cardoe@gentoo.org


When combined with the xvmc USE flag, enables
Intel specific XvMC extension usage.

When combined with the xvmc USE flag,
enables NVIDIA specific XvMC extension usage.

When combined with the xvmc USE flag, enables
VIA specific XvMC extension usage.

Allows MythTV to directly output sound to ALSA devices,
this is needed if you are using ALSA dmix or SPDIF. Note, you will have
to physically type your device into the MythTV configuration since it
will only give you /dev/dsp devices in the drop down.

Builds ffmpeg's codec libraries with altivec
support.

Uses a custom autostart configuration gleened from
expierence with MythTV since it's early versions and discussed with
other MythTV maintainers and users. Does not rely on KDE being installed
like most methods do.

Allows one to
build only the backend and it's components. This is not a supported
configuration any long and will be removed in future versions. It's also
known that it does not compile all the addon programs that the backend
may use.

describe
describe
Instructs Qt to use the 'debug' target instead of
'release' target. If your MythTV is crashing or you need a backtrace,
you need to compile it with this option otherwise the debugging data is
useless.

Installs the DirecTV channel changing script so that
you can configure MythTV to use it to change the channels on your
DirecTV box.

Enables the support of DTS sound from DVDs.
Enables support for Linux DVB cards. These include all
cards that work with digital signals such as ATSC, DVB-T, DVB-C, and
DVB-S, QAM-64, and QAM-256.

Adds support for MythTV's internal player to support media
files found on DVDs. You still need media-plugins/mythdvd
installed to play DVDs from MythTV.

describe
Allows one to
build only the frontend and it's components. This is not a supported
configuration any long and will be removed in future versions. It's also
known that it does not compile all the addon programs that the frontend
may use.

Allows MythTV to communicate to HDHomeRun devices and
receive your TV input from those sources.

Allows MythTV to communicate and use Firewire enabled
Cable boxes. These are typically found in the United States, where such
support is required by law. This will also install Firewire test
programs and external channel changers if the internal changer does not
work.

Adds support for ivtv based cards. Typically these are
Hauppauge cards which output analog TV directly in MPEG2 format.
Essentially, hardware encoding of analog TV.

Allows MythTV to use JACK as your sound output device. You
will have to manually configure the path to your JACK settings.

Allows you to configure MythTV to be controlled by a
joystick rather then a remote or keyboard.

Tells MythTV that you have an instance of
app-misc/lcdproc configured on your machine and it should
output information such as current time, show name, episode name, etc to
that LCD.

Adds LIRC support directly to MythTV allowing for built in
control via a LIRC device.

Builds ffmpeg's codec libraries with mmx support.
Adds support for the Vorbis container format to
MythTV.

Builds MythTV with support for using OpenGL as the
output painter rather then Qt3 built in painter.

Builds the perl bindings for MythTV. Allows you to write
scripts in Perl to control your MythTV setup or communicate with
it.

Instructs MythTV to use XvMC for it's video output. By
default, this will use the generic XvMC wrapper unless a specific video
card driver is enabled via their VIDEO_CARDS USE flags.


mythtv-0.20.2_p15634.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/mythtv-0.20.2_p15634.ebuild,v 1.5 2008/07/27 21:44:36 carlo Exp $

EAPI=1

inherit mythtv flag-o-matic multilib eutils qt3 subversion toolchain-funcs

DESCRIPTION="Homebrew PVR project"
SLOT="0"
KEYWORDS="amd64 ppc x86"

IUSE_VIDEO_CARDS="video_cards_i810 video_cards_nvidia video_cards_via"

IUSE="alsa altivec autostart backendonly crciprec dbox2 debug directv dts dvb dvd freebox frontendonly hdhomerun ieee1394 ivtv jack joystick lcd lirc mmx vorbis opengl perl xvmc ${IUSE_VIDEO_CARDS}"

RDEPEND=">=media-libs/freetype-2.0
>=media-sound/lame-3.93.1
x11-libs/libX11
x11-libs/libXext
x11-libs/libXinerama
x11-libs/libXv
x11-libs/libXrandr
x11-libs/libXxf86vm
xvmc? (
x11-libs/libXvMC
video_cards_nvidia? ( x11-drivers/nvidia-drivers )
video_cards_via? ( x11-drivers/xf86-video-via )
video_cards_i810? ( x11-drivers/xf86-video-i810 )
)
x11-libs/qt:3
virtual/mysql
virtual/opengl
virtual/glu
|| ( >=net-misc/wget-1.9.1 >=media-tv/xmltv-0.5.34 )
alsa? ( >=media-libs/alsa-lib-0.9 )
dts? ( media-libs/libdca )
dvd? ( media-libs/libdvdnav )
dvb? ( media-libs/libdvb media-tv/linuxtv-dvb-headers )
directv? ( virtual/perl-Time-HiRes )
ivtv? ( media-tv/ivtv )
jack? ( media-sound/jack-audio-connection-kit )
lcd? ( app-misc/lcdproc )
lirc? ( app-misc/lirc )
perl? ( dev-perl/DBD-mysql )
vorbis? ( media-libs/libvorbis )
ieee1394? ( >=sys-libs/libraw1394-1.2.0
>=sys-libs/libavc1394-0.5.3
>=media-libs/libiec61883-1.0.0 )
autostart? ( net-dialup/mingetty
x11-wm/evilwm
x11-apps/xset )"

DEPEND="${RDEPEND}
x11-proto/xineramaproto
x11-proto/xf86vidmodeproto
x11-apps/xinit"

PDEPEND="=x11-themes/mythtv-themes-${MY_PV}*"

S="${WORKDIR}/${PN}-${MY_PV}"

MYTHTV_GROUPS="video,audio,tty,uucp"

pkg_setup() {

local rip=0
if ! built_with_use -a =x11-libs/qt-3* mysql opengl ; then
echo
eerror "MythTV requires Qt to be built with mysql and opengl use flags enabled."
eerror "Please re-emerge =x11-libs/qt-3*, after having the use flags set."
echo
rip=1
fi

if use xvmc && use video_cards_nvidia; then
echo
ewarn "You enabled the 'xvmc' USE flag, you must have a GeForce 4 or"
ewarn "greater to use this. Otherwise, you'll have crashes with MythTV"
echo
fi

if use xvmc && ! ( use video_cards_i810 || use video_cards_nvidia || use video_cards_via ); then
echo
eerror "You enabled the XvMC USE flag but did not configure VIDEO_CARDS with either"
eerror "an nVidia, Intel i810, or VIA video card."
echo
rip=1
fi

if use autostart && use backendonly; then
echo
eerror "You can't have USE=autostart while having USE=backendonly."
eerror "USE=autostart is for mythfrontend"
echo
rip=1
fi

[[ $rip == 1 ]] && die "Please fix the above issues, before continuing."

echo
einfo "This ebuild now uses a heavily stripped down version of your CFLAGS"
einfo "Don't complain because your -momfg-fast-speed CFLAG is being stripped"
einfo "Only additional CFLAG issues that will be addressed are for binary"
einfo "package building."
echo
}

src_unpack() {
subversion_src_unpack

# upstream wants the revision number in their version.cpp
# since the subversion.eclass strips out the .svn directory
# svnversion in MythTV's build doesn't work
sed -e "s:\`(svnversion \$\${SVNTREEDIR} 2>\/dev\/null) || echo Unknown\`:${SVNREV}:" \
-i "${S}"/version.pro || die "svnversion sed failed"
}

src_compile() {
local myconf="--prefix=/usr
--mandir=/usr/share/man
--libdir-name=$(get_libdir)"
use alsa || myconf="${myconf} --disable-audio-alsa"
use jack || myconf="${myconf} --disable-audio-jack"
use dts || myconf="${myconf} --disable-dts"
use freebox || myconf="${myconf} --disable-freebox"
use dbox2 || myconf="${myconf} --disable-dbox2"
use hdhomerun || myconf="${myconf} --disable-hdhomerun"
use crciprec || myconf="${myconf} --disable-crciprec"
use altivec || myconf="${myconf} --disable-altivec"
use xvmc && myconf="${myconf} --enable-xvmc"
use xvmc && use video_cards_via && myconf="${myconf} --enable-xvmc-pro"
use perl && myconf="${myconf} --with-bindings=perl"
myconf="${myconf}
--disable-audio-arts
$(use_enable lirc)
$(use_enable joystick joystick-menu)
$(use_enable dvb)
--dvb-path=/usr/include
$(use_enable opengl opengl-vsync)
$(use_enable ieee1394 firewire)
--enable-xrandr
--enable-xv
--disable-directfb
--enable-x11
--enable-proc-opt"

if use mmx || use amd64; then
myconf="${myconf} --enable-mmx"
else
myconf="${myconf} --disable-mmx"
fi

if use debug; then
myconf="${myconf} --compile-type=debug"
else
myconf="${myconf} --compile-type=release"
fi

## CFLAG cleaning so it compiles
MARCH=$(get-flag "march")
MTUNE=$(get-flag "mtune")
MCPU=$(get-flag "mcpu")
strip-flags
filter-flags "-march=*" "-mtune=*" "-mcpu=*"
filter-flags "-O" "-O?"

if [[ -n "${MARCH}" ]]; then
myconf="${myconf} --arch=${MARCH}"
fi
if [[ -n "${MTUNE}" ]]; then
myconf="${myconf} --tune=${MTUNE}"
fi
if [[ -n "${MCPU}" ]]; then
myconf="${myconf} --cpu=${MCPU}"
fi

# myconf="${myconf} --extra-cxxflags=\"${CXXFLAGS}\" --extra-cflags=\"${CFLAGS}\""
hasq distcc ${FEATURES} || myconf="${myconf} --disable-distcc"
hasq ccache ${FEATURES} || myconf="${myconf} --disable-ccache"

if use frontendonly; then
##Backend Removal
ewarn
ewarn "You are using the experimental feature for only installing the frontend."
ewarn "You will not get Gentoo support nor support from MythTV upstream for this."
ewarn "If this breaks, you own both pieces."
ewarn
myconf="${myconf} --disable-backend"
fi

if use backendonly; then
##Frontend Removal
ewarn
ewarn "You are using the experimental feature for only installing the backend."
ewarn "You will not get Gentoo support nor support from MythTV upstream for this."
ewarn "If this breaks, you own both pieces."
ewarn
myconf="${myconf} --disable-frontend"
fi

# let MythTV come up with our CFLAGS. Upstream will support this
CFLAGS=""
CXXFLAGS=""
einfo "Running ./configure ${myconf}"
./configure ${myconf} || die "configure died"

eqmake3 mythtv.pro -o "Makefile" || die "eqmake3 failed"
emake || die "emake failed"

# firewire support should build the tester
if use ieee1394; then
cd contrib
$(tc-getCC) ${CFLAGS} ${CPPFLAGS} -o ../firewire_tester firewire_tester.c \
${LDFLAGS} -liec61883 -lraw1394 || \
die "failed to compile firewire_tester"

cd channel_changers
$(tc-getCC) ${CFLAGS} ${CPPFLAGS} -std=gnu99 -o ../../6200ch 6200ch.c \
${LDFLAGS} -lrom1394 -lavc1394 -lraw1394 || \
die "failed to compile 6200ch"
$(tc-getCC) ${CFLAGS} ${CPPFLAGS} -o ../../sa3250ch sa3250ch.c \
${LDFLAGS} -lrom1394 -lavc1394 -lraw1394 || \
die "failed to compile sa3250ch"
# LDLIBS="-liec61883 -lraw1394" CC=$(tc-getCC) emake firewire_tester || \
# die "failed to compile firewire_tester"
fi

cd "${S}"/contrib/channel_changers
$(tc-getCC) ${CFLAGS} ${CPPFLAGS} -o ../../red_eye red_eye.c ${LDFLAGS} || \
die "failed to compile red_eye"
}

src_install() {

einstall INSTALL_ROOT="${D}" || die "install failed"
for doc in AUTHORS FAQ UPGRADING ChangeLog README; do
test -e "${doc}" && dodoc ${doc}
done

if ! use frontendonly; then
insinto /usr/share/mythtv/database
doins database/*

exeinto /usr/share/mythtv
doexe "${FILESDIR}"/mythfilldatabase.cron

newinitd "${FILESDIR}"/mythbackend-0.18.2.rc mythbackend
newconfd "${FILESDIR}"/mythbackend-0.18.2.conf mythbackend
fi

dodoc keys.txt docs/*.{txt,pdf}
dohtml docs/*.html

keepdir /etc/mythtv
chown -R mythtv "${D}"/etc/mythtv
keepdir /var/log/mythtv
chown -R mythtv "${D}"/var/log/mythtv

insinto /etc/logrotate.d
newins "${FILESDIR}"/mythtv.logrotate.d mythtv

insinto /usr/share/mythtv/contrib
doins -r contrib/*

insinto /usr/share/mythtv/configfiles
doins configfiles/*

if ! use backendonly; then
dobin "${FILESDIR}"/runmythfe

if use autostart; then
dodir /etc/env.d/
echo 'CONFIG_PROTECT="/home/mythtv/"' > "${D}"/etc/env.d/95mythtv

insinto /home/mythtv
newins "${FILESDIR}"/bash_profile .bash_profile
newins "${FILESDIR}"/xinitrc .xinitrc
fi
fi

if use ieee1394; then
dobin firewire_tester || die "failed to install firewire_tester"
dodoc contrib/firewire_tester-README

dobin 6200ch || die "failed to install 6200ch"
dodoc contrib/channel_changers/6200ch-README

dobin sa3250ch || die "failed to install sa3250ch"
dodoc contrib/channel_changers/sa3250ch-README
fi

dobin red_eye || die "failed to install red_eye"
dodoc contrib/channel_changers/red_eye-README

if use directv; then
dobin contrib/channel_changers/d10control.pl || die "failed to install d10control"
dodoc contrib/channel_changers/d10control-README
fi
}

pkg_preinst() {
enewuser mythtv -1 /bin/bash /home/mythtv ${MYTHTV_GROUPS} || die "Problem adding mythtv user"
usermod -a -G ${MYTHTV_GROUPS} mythtv

export CONFIG_PROTECT="${CONFIG_PROTECT} ${ROOT}/home/mythtv/"
}

pkg_postinst() {
if ! use backendonly; then
echo
elog "Want mythfrontend to start automatically?"
elog "Set USE=autostart. Details can be found at:"
elog "http://dev.gentoo.org/~cardoe/mythtv/autostart.html"
fi

if ! use frontendonly; then
elog
elog "To always have MythBackend running and available run the following:"
elog "rc-update add mythbackend default"
elog
ewarn "Your recordings folder must be owned by the user 'mythtv' now"
ewarn "chown -R mythtv /path/to/store"
fi

if use autostart; then
elog
elog "Please add the following to your /etc/inittab file at the end of"
elog "the TERMINALS section"
elog "c8:2345:respawn:/sbin/mingetty --autologin mythtv tty8"
fi

}

pkg_info() {
/usr/bin/mythfrontend --version
}

pkg_config() {
echo "Creating mythtv MySQL user and mythconverg database if it does not"
echo "already exist. You will be prompted for your MySQL root password."
/usr/bin/mysql -u root -p < /usr/share/mythtv/database/mc.sql
}

mythtv-0.21_p17637.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/mythtv-0.21_p17637.ebuild,v 1.2 2008/07/07 17:31:34 cardoe Exp $

EAPI=1
inherit flag-o-matic multilib eutils qt3 mythtv toolchain-funcs python confutils

DESCRIPTION="Homebrew PVR project"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"

IUSE_VIDEO_CARDS="video_cards_nvidia"
IUSE="aac alsa altivec autostart debug directv dvb dvd fftw ieee1394 jack lcd \
lirc mmx opengl perl python x264 xvid xvmc ${IUSE_VIDEO_CARDS}"

RDEPEND=">=media-libs/freetype-2.0
>=media-sound/lame-3.93.1
x11-libs/libX11
x11-libs/libXext
x11-libs/libXinerama
x11-libs/libXv
x11-libs/libXrandr
x11-libs/libXxf86vm
>=x11-libs/qt-3.3:3
virtual/mysql
virtual/opengl
virtual/glu
|| ( >=net-misc/wget-1.9.1 >=media-tv/xmltv-0.5.43 )
aac? ( media-libs/faac
media-libs/faad2 )
alsa? ( >=media-libs/alsa-lib-0.9 )
autostart? ( net-dialup/mingetty
x11-wm/evilwm
x11-apps/xset )
directv? ( virtual/perl-Time-HiRes )
dvb? ( media-libs/libdvb media-tv/linuxtv-dvb-headers )
dvd? ( media-libs/libdvdcss )
fftw? ( sci-libs/fftw:3.0 )
ieee1394? ( >=sys-libs/libraw1394-1.2.0
>=sys-libs/libavc1394-0.5.3
>=media-libs/libiec61883-1.0.0 )
jack? ( media-sound/jack-audio-connection-kit )
lcd? ( app-misc/lcdproc )
lirc? ( app-misc/lirc )
perl? ( dev-perl/DBD-mysql )
python? ( dev-python/mysql-python )
x264? ( media-libs/x264 )
xvid? ( media-libs/xvid )
xvmc? ( x11-libs/libXvMC
app-admin/eselect-xvmc )"

DEPEND="${RDEPEND}
x11-proto/xineramaproto
x11-proto/xf86vidmodeproto
x11-apps/xinit"

PDEPEND="=x11-themes/mythtv-themes-${MY_PV}*"

S="${WORKDIR}/${PN}-${MY_PV}"

MYTHTV_GROUPS="video,audio,tty,uucp"

pkg_setup() {

confutils_require_built_with_all =x11-libs/qt-3* mysql opengl

elog "This ebuild now uses a heavily stripped down version of your CFLAGS"

if use xvmc && use video_cards_nvidia; then
elog
elog "For NVIDIA based cards, the XvMC renderer only works on"
elog "the NVIDIA 4, 5, 6 & 7 series cards."
fi

enewuser mythtv -1 /bin/bash /home/mythtv ${MYTHTV_GROUPS} \
|| die "Problem adding mythtv user"
usermod -a -G ${MYTHTV_GROUPS} mythtv
}

src_unpack() {
subversion_src_unpack

# upstream wants the revision number in their version.cpp
# since the subversion.eclass strips out the .svn directory
# svnversion in MythTV's build doesn't work
sed -e "s:\`(svnversion \$\${SVNTREEDIR} 2>\/dev\/null) || echo Unknown\`:${MYTHTV_REV}:" \
-i "${S}"/version.pro || die "svnversion sed failed"

# Perl bits need to go into vender_perl and not site_perl
sed -e "s:pure_install:pure_install INSTALLDIRS=vendor:" \
-i "${S}"/bindings/perl/perl.pro
}

src_compile() {
local myconf="--prefix=/usr
--mandir=/usr/share/man
--libdir-name=$(get_libdir)"
use aac && myconf="${myconf} --enable-libfaad --enable-libfaac"
use alsa || myconf="${myconf} --disable-audio-alsa"
use altivec || myconf="${myconf} --disable-altivec"
use fftw && myconf="${myconf} --enable-libfftw3"
use jack || myconf="${myconf} --disable-audio-jack"
use x264 && myconf="${myconf} --enable-libx264"
use xvid && myconf="${myconf} --enable-libxvid"
# let's give this a whirl from bug #220857
use xvmc && myconf="${myconf} --enable-xvmc --enable-xvmcw \
--disable-xvmc-vld"
#use xvmc && ! use video_cards_via && \
# myconf="${myconf} --enable-xvmc"
#use xvmc && use video_cards_via && myconf="${myconf} --enable-xvmc \
# --enable-xvmc-pro --disable-xvmcw"
# nvidia-drivers-71 don't support GLX 1.4
#use video_cards_nvidia && has_version =x11-drivers/nvidia-drivers-71* \
# && myconf="${myconf} --enable-glx-procaddrarb"
# according to the Ubuntu guys, this works better always on
myconf="${myconf} --enable-glx-procaddrarb"

myconf="${myconf}
$(use_enable dvb)
$(use_enable ieee1394 firewire)
$(use_enable lirc)
--disable-audio-arts
--disable-directfb
--dvb-path=/usr/include
--enable-opengl-vsync
--enable-libmp3lame
--enable-xrandr
--enable-xv
--enable-x11"

if use mmx || use amd64; then
myconf="${myconf} --enable-mmx"
else
myconf="${myconf} --disable-mmx"
fi

if use perl && use python; then
myconf="${myconf} --with-bindings=perl,python"
elif use perl; then
myconf="${myconf} --with-bindings=perl"
elif use python; then
myconf="${myconf} --with-bindings=python"
else
myconf="${myconf} --without-bindings=perl,python"
fi

if use debug; then
myconf="${myconf} --compile-type=debug"
else
myconf="${myconf} --compile-type=profile"
fi

## CFLAG cleaning so it compiles
MARCH=$(get-flag "march")
MTUNE=$(get-flag "mtune")
strip-flags
filter-flags "-march=*" "-mtune=*" "-mcpu=*"
filter-flags "-O" "-O?"

if [[ -n "${MARCH}" ]]; then
myconf="${myconf} --cpu=${MARCH}"
fi
if [[ -n "${MTUNE}" ]]; then
myconf="${myconf} --tune=${MTUNE}"
fi

# myconf="${myconf} --extra-cxxflags=\"${CXXFLAGS}\" --extra-cflags=\"${CFLAGS}\""
hasq distcc ${FEATURES} || myconf="${myconf} --disable-distcc"
hasq ccache ${FEATURES} || myconf="${myconf} --disable-ccache"

# let MythTV come up with our CFLAGS. Upstream will support this
CFLAGS=""
CXXFLAGS=""
einfo "Running ./configure ${myconf}"
./configure ${myconf} || die "configure died"

eqmake3 mythtv.pro -o "Makefile" || die "eqmake3 failed"
emake || die "emake failed"

# firewire support should build the tester
if use ieee1394; then
cd contrib
$(tc-getCC) ${CFLAGS} ${CPPFLAGS} -o ../firewire_tester firewire_tester.c \
${LDFLAGS} -liec61883 -lraw1394 || \
die "failed to compile firewire_tester"

cd channel_changers
$(tc-getCC) ${CFLAGS} ${CPPFLAGS} -std=gnu99 -o ../../6200ch 6200ch.c \
${LDFLAGS} -lrom1394 -lavc1394 -lraw1394 || \
die "failed to compile 6200ch"
$(tc-getCC) ${CFLAGS} ${CPPFLAGS} -o ../../sa3250ch sa3250ch.c \
${LDFLAGS} -lrom1394 -lavc1394 -lraw1394 || \
die "failed to compile sa3250ch"
fi

cd "${S}"/contrib/channel_changers
$(tc-getCC) ${CFLAGS} ${CPPFLAGS} -o ../../red_eye red_eye.c ${LDFLAGS} || \
die "failed to compile red_eye"
}

src_install() {

einstall INSTALL_ROOT="${D}" || die "install failed"
dodoc AUTHORS FAQ UPGRADING README

insinto /usr/share/mythtv/database
doins database/*

exeinto /usr/share/mythtv
doexe "${FILESDIR}/mythfilldatabase.cron"

newinitd "${FILESDIR}"/mythbackend-0.18.2.rc mythbackend
newconfd "${FILESDIR}"/mythbackend-0.18.2.conf mythbackend

dodoc keys.txt docs/*.{txt,pdf}
dohtml docs/*.html

keepdir /etc/mythtv
chown -R mythtv "${D}"/etc/mythtv
keepdir /var/log/mythtv
chown -R mythtv "${D}"/var/log/mythtv

insinto /etc/logrotate.d
newins "${FILESDIR}"/mythtv.logrotate.d mythtv

insinto /usr/share/mythtv/contrib
doins -r contrib/*

dobin "${FILESDIR}"/runmythfe

if use autostart; then
dodir /etc/env.d/
echo 'CONFIG_PROTECT="/home/mythtv/"' > "${D}"/etc/env.d/95mythtv

insinto /home/mythtv
newins "${FILESDIR}"/bash_profile .bash_profile
newins "${FILESDIR}"/xinitrc .xinitrc
fi

if use ieee1394; then
dobin firewire_tester || die "failed to install firewire_tester"
dodoc contrib/firewire_tester-README

dobin 6200ch || die "failed to install 6200ch"
dodoc contrib/channel_changers/6200ch-README

dobin sa3250ch || die "failed to install sa3250ch"
dodoc contrib/channel_changers/sa3250ch-README
fi

dobin red_eye || die "failed to install red_eye"
dodoc contrib/channel_changers/red_eye-README

if use directv; then
dobin contrib/channel_changers/d10control.pl || die "failed to install d10control"
dodoc contrib/channel_changers/d10control-README
fi
}

pkg_preinst() {
export CONFIG_PROTECT="${CONFIG_PROTECT} ${ROOT}/home/mythtv/"
}

pkg_postinst() {
python_version
python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/MythTV

echo
elog "Want mythfrontend to start automatically?"
elog "Set USE=autostart. Details can be found at:"
elog "http://dev.gentoo.org/~cardoe/mythtv/autostart.html"

elog
elog "To always have MythBackend running and available run the following:"
elog "rc-update add mythbackend default"
elog
ewarn "Your recordings folder must be owned by the user 'mythtv' now"
ewarn "chown -R mythtv /path/to/store"

if use xvmc && [[ ! -s "${ROOT}/etc/X11/XvMCConfig" ]]; then
ewarn
ewarn "No XvMC implementation has been selected yet"
ewarn "Use 'eselect xvmc list' for a list of available choices"
ewarn "Then use 'eselect xvmc set ' to choose"
ewarn "'eselect xvmc set nvidia' for example"
fi

if use autostart; then
elog
elog "Please add the following to your /etc/inittab file at the end of"
elog "the TERMINALS section"
elog "c8:2345:respawn:/sbin/mingetty --autologin mythtv tty8"
fi

}

pkg_postrm()
{
python_mod_cleanup /usr/$(get_libdir)/python*/site-packages/MythTV
}

pkg_info() {
"${ROOT}"/usr/bin/mythfrontend --version
}

pkg_config() {
echo "Creating mythtv MySQL user and mythconverg database if it does not"
echo "already exist. You will be prompted for your MySQL root password."
"${ROOT}"/usr/bin/mysql -u root -p < "${ROOT}"/usr/share/mythtv/database/mc.sql
}

mythtv-0.21_p17722.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/mythtv-0.21_p17722.ebuild,v 1.1 2008/07/07 17:31:34 cardoe Exp $

EAPI=1
inherit flag-o-matic multilib eutils qt3 mythtv toolchain-funcs python confutils

DESCRIPTION="Homebrew PVR project"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"

IUSE_VIDEO_CARDS="video_cards_nvidia"
IUSE="aac alsa altivec autostart debug directv dvb dvd fftw ieee1394 jack lcd \
lirc mmx opengl perl python x264 xvid xvmc ${IUSE_VIDEO_CARDS}"

RDEPEND=">=media-libs/freetype-2.0
>=media-sound/lame-3.93.1
x11-libs/libX11
x11-libs/libXext
x11-libs/libXinerama
x11-libs/libXv
x11-libs/libXrandr
x11-libs/libXxf86vm
>=x11-libs/qt-3.3:3
virtual/mysql
virtual/opengl
virtual/glu
|| ( >=net-misc/wget-1.9.1 >=media-tv/xmltv-0.5.43 )
aac? ( media-libs/faac
media-libs/faad2 )
alsa? ( >=media-libs/alsa-lib-0.9 )
autostart? ( net-dialup/mingetty
x11-wm/evilwm
x11-apps/xset )
directv? ( virtual/perl-Time-HiRes )
dvb? ( media-libs/libdvb media-tv/linuxtv-dvb-headers )
dvd? ( media-libs/libdvdcss )
fftw? ( sci-libs/fftw:3.0 )
ieee1394? ( >=sys-libs/libraw1394-1.2.0
>=sys-libs/libavc1394-0.5.3
>=media-libs/libiec61883-1.0.0 )
jack? ( media-sound/jack-audio-connection-kit )
lcd? ( app-misc/lcdproc )
lirc? ( app-misc/lirc )
perl? ( dev-perl/DBD-mysql )
python? ( dev-python/mysql-python )
x264? ( media-libs/x264 )
xvid? ( media-libs/xvid )
xvmc? ( x11-libs/libXvMC
app-admin/eselect-xvmc )"

DEPEND="${RDEPEND}
x11-proto/xineramaproto
x11-proto/xf86vidmodeproto
x11-apps/xinit"

PDEPEND="=x11-themes/mythtv-themes-${MY_PV}*"

S="${WORKDIR}/${PN}-${MY_PV}"

MYTHTV_GROUPS="video,audio,tty,uucp"

pkg_setup() {

confutils_require_built_with_all =x11-libs/qt-3* mysql opengl

elog "This ebuild now uses a heavily stripped down version of your CFLAGS"

if use xvmc && use video_cards_nvidia; then
elog
elog "For NVIDIA based cards, the XvMC renderer only works on"
elog "the NVIDIA 4, 5, 6 & 7 series cards."
fi

enewuser mythtv -1 /bin/bash /home/mythtv ${MYTHTV_GROUPS} \
|| die "Problem adding mythtv user"
usermod -a -G ${MYTHTV_GROUPS} mythtv
}

src_unpack() {
subversion_src_unpack

# upstream wants the revision number in their version.cpp
# since the subversion.eclass strips out the .svn directory
# svnversion in MythTV's build doesn't work
sed -e "s:\`(svnversion \$\${SVNTREEDIR} 2>\/dev\/null) || echo Unknown\`:${MYTHTV_REV}:" \
-i "${S}"/version.pro || die "svnversion sed failed"

# Perl bits need to go into vender_perl and not site_perl
sed -e "s:pure_install:pure_install INSTALLDIRS=vendor:" \
-i "${S}"/bindings/perl/perl.pro
}

src_compile() {
local myconf="--prefix=/usr
--mandir=/usr/share/man
--libdir-name=$(get_libdir)"
use aac && myconf="${myconf} --enable-libfaad --enable-libfaac"
use alsa || myconf="${myconf} --disable-audio-alsa"
use altivec || myconf="${myconf} --disable-altivec"
use fftw && myconf="${myconf} --enable-libfftw3"
use jack || myconf="${myconf} --disable-audio-jack"
use x264 && myconf="${myconf} --enable-libx264"
use xvid && myconf="${myconf} --enable-libxvid"
# let's give this a whirl from bug #220857
use xvmc && myconf="${myconf} --enable-xvmc --enable-xvmcw \
--disable-xvmc-vld"
#use xvmc && ! use video_cards_via && \
# myconf="${myconf} --enable-xvmc"
#use xvmc && use video_cards_via && myconf="${myconf} --enable-xvmc \
# --enable-xvmc-pro --disable-xvmcw"
# nvidia-drivers-71 don't support GLX 1.4
#use video_cards_nvidia && has_version =x11-drivers/nvidia-drivers-71* \
# && myconf="${myconf} --enable-glx-procaddrarb"
# according to the Ubuntu guys, this works better always on
myconf="${myconf} --enable-glx-procaddrarb"

myconf="${myconf}
$(use_enable dvb)
$(use_enable ieee1394 firewire)
$(use_enable lirc)
--disable-audio-arts
--disable-directfb
--dvb-path=/usr/include
--enable-opengl-vsync
--enable-libmp3lame
--enable-xrandr
--enable-xv
--enable-x11"

if use mmx || use amd64; then
myconf="${myconf} --enable-mmx"
else
myconf="${myconf} --disable-mmx"
fi

if use perl && use python; then
myconf="${myconf} --with-bindings=perl,python"
elif use perl; then
myconf="${myconf} --with-bindings=perl"
elif use python; then
myconf="${myconf} --with-bindings=python"
else
myconf="${myconf} --without-bindings=perl,python"
fi

if use debug; then
myconf="${myconf} --compile-type=debug"
else
myconf="${myconf} --compile-type=profile"
fi

## CFLAG cleaning so it compiles
MARCH=$(get-flag "march")
MTUNE=$(get-flag "mtune")
strip-flags
filter-flags "-march=*" "-mtune=*" "-mcpu=*"
filter-flags "-O" "-O?"

if [[ -n "${MARCH}" ]]; then
myconf="${myconf} --cpu=${MARCH}"
fi
if [[ -n "${MTUNE}" ]]; then
myconf="${myconf} --tune=${MTUNE}"
fi

# myconf="${myconf} --extra-cxxflags=\"${CXXFLAGS}\" --extra-cflags=\"${CFLAGS}\""
hasq distcc ${FEATURES} || myconf="${myconf} --disable-distcc"
hasq ccache ${FEATURES} || myconf="${myconf} --disable-ccache"

# let MythTV come up with our CFLAGS. Upstream will support this
CFLAGS=""
CXXFLAGS=""
einfo "Running ./configure ${myconf}"
./configure ${myconf} || die "configure died"

eqmake3 mythtv.pro -o "Makefile" || die "eqmake3 failed"
emake || die "emake failed"

# firewire support should build the tester
if use ieee1394; then
cd contrib
$(tc-getCC) ${CFLAGS} ${CPPFLAGS} -o ../firewire_tester firewire_tester.c \
${LDFLAGS} -liec61883 -lraw1394 || \
die "failed to compile firewire_tester"

cd channel_changers
$(tc-getCC) ${CFLAGS} ${CPPFLAGS} -std=gnu99 -o ../../6200ch 6200ch.c \
${LDFLAGS} -lrom1394 -lavc1394 -lraw1394 || \
die "failed to compile 6200ch"
$(tc-getCC) ${CFLAGS} ${CPPFLAGS} -o ../../sa3250ch sa3250ch.c \
${LDFLAGS} -lrom1394 -lavc1394 -lraw1394 || \
die "failed to compile sa3250ch"
fi

cd "${S}"/contrib/channel_changers
$(tc-getCC) ${CFLAGS} ${CPPFLAGS} -o ../../red_eye red_eye.c ${LDFLAGS} || \
die "failed to compile red_eye"
}

src_install() {

einstall INSTALL_ROOT="${D}" || die "install failed"
dodoc AUTHORS FAQ UPGRADING README

insinto /usr/share/mythtv/database
doins database/*

exeinto /usr/share/mythtv
doexe "${FILESDIR}/mythfilldatabase.cron"

newinitd "${FILESDIR}"/mythbackend-0.18.2.rc mythbackend
newconfd "${FILESDIR}"/mythbackend-0.18.2.conf mythbackend

dodoc keys.txt docs/*.{txt,pdf}
dohtml docs/*.html

keepdir /etc/mythtv
chown -R mythtv "${D}"/etc/mythtv
keepdir /var/log/mythtv
chown -R mythtv "${D}"/var/log/mythtv

insinto /etc/logrotate.d
newins "${FILESDIR}"/mythtv.logrotate.d mythtv

insinto /usr/share/mythtv/contrib
doins -r contrib/*

dobin "${FILESDIR}"/runmythfe

if use autostart; then
dodir /etc/env.d/
echo 'CONFIG_PROTECT="/home/mythtv/"' > "${D}"/etc/env.d/95mythtv

insinto /home/mythtv
newins "${FILESDIR}"/bash_profile .bash_profile
newins "${FILESDIR}"/xinitrc .xinitrc
fi

if use ieee1394; then
dobin firewire_tester || die "failed to install firewire_tester"
dodoc contrib/firewire_tester-README

dobin 6200ch || die "failed to install 6200ch"
dodoc contrib/channel_changers/6200ch-README

dobin sa3250ch || die "failed to install sa3250ch"
dodoc contrib/channel_changers/sa3250ch-README
fi

dobin red_eye || die "failed to install red_eye"
dodoc contrib/channel_changers/red_eye-README

if use directv; then
dobin contrib/channel_changers/d10control.pl || die "failed to install d10control"
dodoc contrib/channel_changers/d10control-README
fi
}

pkg_preinst() {
export CONFIG_PROTECT="${CONFIG_PROTECT} ${ROOT}/home/mythtv/"
}

pkg_postinst() {
python_version
python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/MythTV

echo
elog "Want mythfrontend to start automatically?"
elog "Set USE=autostart. Details can be found at:"
elog "http://dev.gentoo.org/~cardoe/mythtv/autostart.html"

elog
elog "To always have MythBackend running and available run the following:"
elog "rc-update add mythbackend default"
elog
ewarn "Your recordings folder must be owned by the user 'mythtv' now"
ewarn "chown -R mythtv /path/to/store"

if use xvmc && [[ ! -s "${ROOT}/etc/X11/XvMCConfig" ]]; then
ewarn
ewarn "No XvMC implementation has been selected yet"
ewarn "Use 'eselect xvmc list' for a list of available choices"
ewarn "Then use 'eselect xvmc set ' to choose"
ewarn "'eselect xvmc set nvidia' for example"
fi

if use autostart; then
elog
elog "Please add the following to your /etc/inittab file at the end of"
elog "the TERMINALS section"
elog "c8:2345:respawn:/sbin/mingetty --autologin mythtv tty8"
fi

}

pkg_postrm()
{
python_mod_cleanup /usr/$(get_libdir)/python*/site-packages/MythTV
}

pkg_info() {
"${ROOT}"/usr/bin/mythfrontend --version
}

pkg_config() {
echo "Creating mythtv MySQL user and mythconverg database if it does not"
echo "already exist. You will be prompted for your MySQL root password."
"${ROOT}"/usr/bin/mysql -u root -p < "${ROOT}"/usr/share/mythtv/database/mc.sql
}

mythtv-0.21_p18116.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/mythtv-0.21_p18116.ebuild,v 1.1 2008/08/12 03:28:35 cardoe Exp $

EAPI=1
inherit flag-o-matic multilib eutils qt3 mythtv toolchain-funcs python confutils

DESCRIPTION="Homebrew PVR project"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"

IUSE_VIDEO_CARDS="video_cards_nvidia"
IUSE="aac alsa altivec autostart debug directv dvb dvd fftw ieee1394 jack lcd \
lirc mmx opengl perl python x264 xvid xvmc ${IUSE_VIDEO_CARDS}"

RDEPEND=">=media-libs/freetype-2.0
>=media-sound/lame-3.93.1
x11-libs/libX11
x11-libs/libXext
x11-libs/libXinerama
x11-libs/libXv
x11-libs/libXrandr
x11-libs/libXxf86vm
>=x11-libs/qt-3.3:3
virtual/mysql
virtual/opengl
virtual/glu
|| ( >=net-misc/wget-1.9.1 >=media-tv/xmltv-0.5.43 )
aac? ( media-libs/faac
media-libs/faad2 )
alsa? ( >=media-libs/alsa-lib-0.9 )
autostart? ( net-dialup/mingetty
x11-wm/evilwm
x11-apps/xset )
directv? ( virtual/perl-Time-HiRes )
dvb? ( media-libs/libdvb media-tv/linuxtv-dvb-headers )
dvd? ( media-libs/libdvdcss )
fftw? ( sci-libs/fftw:3.0 )
ieee1394? ( >=sys-libs/libraw1394-1.2.0
>=sys-libs/libavc1394-0.5.3
>=media-libs/libiec61883-1.0.0 )
jack? ( media-sound/jack-audio-connection-kit )
lcd? ( app-misc/lcdproc )
lirc? ( app-misc/lirc )
perl? ( dev-perl/DBD-mysql )
python? ( dev-python/mysql-python )
x264? ( media-libs/x264 )
xvid? ( media-libs/xvid )
xvmc? ( x11-libs/libXvMC
app-admin/eselect-xvmc )"

DEPEND="${RDEPEND}
x11-proto/xineramaproto
x11-proto/xf86vidmodeproto
x11-apps/xinit"

PDEPEND="=x11-themes/mythtv-themes-${MY_PV}*"

S="${WORKDIR}/${PN}-${MY_PV}"

MYTHTV_GROUPS="video,audio,tty,uucp"

pkg_setup() {

confutils_require_built_with_all =x11-libs/qt-3* mysql opengl

elog "This ebuild now uses a heavily stripped down version of your CFLAGS"

if use xvmc && use video_cards_nvidia; then
elog
elog "For NVIDIA based cards, the XvMC renderer only works on"
elog "the NVIDIA 4, 5, 6 & 7 series cards."
fi

enewuser mythtv -1 /bin/bash /home/mythtv ${MYTHTV_GROUPS} \
|| die "Problem adding mythtv user"
usermod -a -G ${MYTHTV_GROUPS} mythtv
}

src_unpack() {
subversion_src_unpack

# upstream wants the revision number in their version.cpp
# since the subversion.eclass strips out the .svn directory
# svnversion in MythTV's build doesn't work
sed -e "s:\`(svnversion \$\${SVNTREEDIR} 2>\/dev\/null) || echo Unknown\`:${MYTHTV_REV}:" \
-i "${S}"/version.pro || die "svnversion sed failed"

# Perl bits need to go into vender_perl and not site_perl
sed -e "s:pure_install:pure_install INSTALLDIRS=vendor:" \
-i "${S}"/bindings/perl/perl.pro
}

src_compile() {
local myconf="--prefix=/usr
--mandir=/usr/share/man
--libdir-name=$(get_libdir)"
use aac && myconf="${myconf} --enable-libfaad --enable-libfaac"
use alsa || myconf="${myconf} --disable-audio-alsa"
use altivec || myconf="${myconf} --disable-altivec"
use fftw && myconf="${myconf} --enable-libfftw3"
use jack || myconf="${myconf} --disable-audio-jack"
use x264 && myconf="${myconf} --enable-libx264"
use xvid && myconf="${myconf} --enable-libxvid"
# let's give this a whirl from bug #220857
use xvmc && myconf="${myconf} --enable-xvmc --enable-xvmcw \
--disable-xvmc-vld"
#use xvmc && ! use video_cards_via && \
# myconf="${myconf} --enable-xvmc"
#use xvmc && use video_cards_via && myconf="${myconf} --enable-xvmc \
# --enable-xvmc-pro --disable-xvmcw"
# nvidia-drivers-71 don't support GLX 1.4
#use video_cards_nvidia && has_version =x11-drivers/nvidia-drivers-71* \
# && myconf="${myconf} --enable-glx-procaddrarb"
# according to the Ubuntu guys, this works better always on
myconf="${myconf} --enable-glx-procaddrarb"

myconf="${myconf}
$(use_enable dvb)
$(use_enable ieee1394 firewire)
$(use_enable lirc)
--disable-audio-arts
--disable-directfb
--dvb-path=/usr/include
--enable-opengl-vsync
--enable-libmp3lame
--enable-xrandr
--enable-xv
--enable-x11"

if use mmx || use amd64; then
myconf="${myconf} --enable-mmx"
else
myconf="${myconf} --disable-mmx"
fi

if use perl && use python; then
myconf="${myconf} --with-bindings=perl,python"
elif use perl; then
myconf="${myconf} --with-bindings=perl"
elif use python; then
myconf="${myconf} --with-bindings=python"
else
myconf="${myconf} --without-bindings=perl,python"
fi

if use debug; then
myconf="${myconf} --compile-type=debug"
else
myconf="${myconf} --compile-type=profile"
fi

## CFLAG cleaning so it compiles
MARCH=$(get-flag "march")
MTUNE=$(get-flag "mtune")
strip-flags
filter-flags "-march=*" "-mtune=*" "-mcpu=*"
filter-flags "-O" "-O?"

if [[ -n "${MARCH}" ]]; then
myconf="${myconf} --cpu=${MARCH}"
fi
if [[ -n "${MTUNE}" ]]; then
myconf="${myconf} --tune=${MTUNE}"
fi

# myconf="${myconf} --extra-cxxflags=\"${CXXFLAGS}\" --extra-cflags=\"${CFLAGS}\""
hasq distcc ${FEATURES} || myconf="${myconf} --disable-distcc"
hasq ccache ${FEATURES} || myconf="${myconf} --disable-ccache"

# let MythTV come up with our CFLAGS. Upstream will support this
CFLAGS=""
CXXFLAGS=""
einfo "Running ./configure ${myconf}"
./configure ${myconf} || die "configure died"

eqmake3 mythtv.pro -o "Makefile" || die "eqmake3 failed"
emake || die "emake failed"

# firewire support should build the tester
if use ieee1394; then
cd contrib
$(tc-getCC) ${CFLAGS} ${CPPFLAGS} -o ../firewire_tester firewire_tester.c \
${LDFLAGS} -liec61883 -lraw1394 || \
die "failed to compile firewire_tester"

cd channel_changers
$(tc-getCC) ${CFLAGS} ${CPPFLAGS} -std=gnu99 -o ../../6200ch 6200ch.c \
${LDFLAGS} -lrom1394 -lavc1394 -lraw1394 || \
die "failed to compile 6200ch"
$(tc-getCC) ${CFLAGS} ${CPPFLAGS} -o ../../sa3250ch sa3250ch.c \
${LDFLAGS} -lrom1394 -lavc1394 -lraw1394 || \
die "failed to compile sa3250ch"
fi

cd "${S}"/contrib/channel_changers
$(tc-getCC) ${CFLAGS} ${CPPFLAGS} -o ../../red_eye red_eye.c ${LDFLAGS} || \
die "failed to compile red_eye"
}

src_install() {

einstall INSTALL_ROOT="${D}" || die "install failed"
dodoc AUTHORS FAQ UPGRADING README

insinto /usr/share/mythtv/database
doins database/*

exeinto /usr/share/mythtv
doexe "${FILESDIR}/mythfilldatabase.cron"

newinitd "${FILESDIR}"/mythbackend-0.18.2.rc mythbackend
newconfd "${FILESDIR}"/mythbackend-0.18.2.conf mythbackend

dodoc keys.txt docs/*.{txt,pdf}
dohtml docs/*.html

keepdir /etc/mythtv
chown -R mythtv "${D}"/etc/mythtv
keepdir /var/log/mythtv
chown -R mythtv "${D}"/var/log/mythtv

insinto /etc/logrotate.d
newins "${FILESDIR}"/mythtv.logrotate.d mythtv

insinto /usr/share/mythtv/contrib
doins -r contrib/*

dobin "${FILESDIR}"/runmythfe

if use autostart; then
dodir /etc/env.d/
echo 'CONFIG_PROTECT="/home/mythtv/"' > "${D}"/etc/env.d/95mythtv

insinto /home/mythtv
newins "${FILESDIR}"/bash_profile .bash_profile
newins "${FILESDIR}"/xinitrc .xinitrc
fi

if use ieee1394; then
dobin firewire_tester || die "failed to install firewire_tester"
dodoc contrib/firewire_tester-README

dobin 6200ch || die "failed to install 6200ch"
dodoc contrib/channel_changers/6200ch-README

dobin sa3250ch || die "failed to install sa3250ch"
dodoc contrib/channel_changers/sa3250ch-README
fi

dobin red_eye || die "failed to install red_eye"
dodoc contrib/channel_changers/red_eye-README

if use directv; then
dobin contrib/channel_changers/d10control.pl || die "failed to install d10control"
dodoc contrib/channel_changers/d10control-README
fi
}

pkg_preinst() {
export CONFIG_PROTECT="${CONFIG_PROTECT} ${ROOT}/home/mythtv/"
}

pkg_postinst() {
python_version
python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/MythTV

echo
elog "Want mythfrontend to start automatically?"
elog "Set USE=autostart. Details can be found at:"
elog "http://dev.gentoo.org/~cardoe/mythtv/autostart.html"

elog
elog "To always have MythBackend running and available run the following:"
elog "rc-update add mythbackend default"
elog
ewarn "Your recordings folder must be owned by the user 'mythtv' now"
ewarn "chown -R mythtv /path/to/store"

if use xvmc && [[ ! -s "${ROOT}/etc/X11/XvMCConfig" ]]; then
ewarn
ewarn "No XvMC implementation has been selected yet"
ewarn "Use 'eselect xvmc list' for a list of available choices"
ewarn "Then use 'eselect xvmc set ' to choose"
ewarn "'eselect xvmc set nvidia' for example"
fi

if use autostart; then
elog
elog "Please add the following to your /etc/inittab file at the end of"
elog "the TERMINALS section"
elog "c8:2345:respawn:/sbin/mingetty --autologin mythtv tty8"
fi

}

pkg_postrm()
{
python_mod_cleanup /usr/$(get_libdir)/python*/site-packages/MythTV
}

pkg_info() {
"${ROOT}"/usr/bin/mythfrontend --version
}

pkg_config() {
echo "Creating mythtv MySQL user and mythconverg database if it does not"
echo "already exist. You will be prompted for your MySQL root password."
"${ROOT}"/usr/bin/mysql -u root -p < "${ROOT}"/usr/share/mythtv/database/mc.sql
}

mythtv-0.22_alpha17733.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/mythtv-0.22_alpha17733.ebuild,v 1.1 2008/07/07 17:31:34 cardoe Exp $

EAPI=1
inherit flag-o-matic multilib eutils qt4 mythtv toolchain-funcs python

DESCRIPTION="Homebrew PVR project"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"

IUSE_VIDEO_CARDS="video_cards_nvidia"
IUSE="alsa altivec autostart debug directv dvb dvd \
fftw ieee1394 jack lcd lirc mmx opengl perl python \
x264 xvid xvmc ${IUSE_VIDEO_CARDS}"

RDEPEND=">=media-libs/freetype-2.0
>=media-sound/lame-3.93.1
x11-libs/libX11
x11-libs/libXext
x11-libs/libXinerama
x11-libs/libXv
x11-libs/libXrandr
x11-libs/libXxf86vm
>=x11-libs/qt-4.3:4
virtual/mysql
virtual/opengl
virtual/glu
|| ( >=net-misc/wget-1.9.1 >=media-tv/xmltv-0.5.43 )
alsa? ( >=media-libs/alsa-lib-0.9 )
autostart? ( net-dialup/mingetty
x11-wm/evilwm
x11-apps/xset )
directv? ( virtual/perl-Time-HiRes )
dvb? ( media-libs/libdvb media-tv/linuxtv-dvb-headers )
dvd? ( media-libs/libdvdcss )
fftw? ( sci-libs/fftw:3.0 )
ieee1394? ( >=sys-libs/libraw1394-1.2.0
>=sys-libs/libavc1394-0.5.3
>=media-libs/libiec61883-1.0.0 )
jack? ( media-sound/jack-audio-connection-kit )
lcd? ( app-misc/lcdproc )
lirc? ( app-misc/lirc )
perl? ( dev-perl/DBD-mysql )
python? ( dev-python/mysql-python )
x264? ( media-libs/x264 )
xvid? ( media-libs/xvid )
xvmc? ( x11-libs/libXvMC
app-admin/eselect-xvmc )"

DEPEND="${RDEPEND}
x11-proto/xineramaproto
x11-proto/xf86vidmodeproto
x11-apps/xinit"

S="${WORKDIR}/${PN}-${MY_PV}"

MYTHTV_GROUPS="video,audio,tty,uucp"

pkg_setup() {

confutils_require_built_with_all =x11-libs/qt-4* gif jpeg mysql opengl \
png tiff

einfo "This ebuild now uses a heavily stripped down version of your CFLAGS"

if use xvmc && use video_cards_nvidia; then
elog
elog "For NVIDIA based cards, the XvMC renderer only works on"
elog "the NVIDIA 4, 5, 6 & & series cards."
fi

enewuser mythtv -1 /bin/bash /home/mythtv ${MYTHTV_GROUPS} \
|| die "Problem adding mythtv user"
usermod -a -G ${MYTHTV_GROUPS} mythtv
}

src_unpack() {
subversion_src_unpack

# upstream wants the revision number in their version.cpp
# since the subversion.eclass strips out the .svn directory
# svnversion in MythTV's build doesn't work
sed -e "s:\`(svnversion \$\${SVNTREEDIR} 2>\/dev\/null) || echo Unknown\`:${MYTHTV_REV}:" \
-i "${S}"/version.pro || die "svnversion sed failed"

# Perl bits need to go into vender_perl and not site_perl
sed -e "s:pure_install:pure_install INSTALLDIRS=vendor:" \
-i "${S}"/bindings/perl/perl.pro
}

src_compile() {
local myconf="--prefix=/usr
--mandir=/usr/share/man
--libdir-name=$(get_libdir)"
use alsa || myconf="${myconf} --disable-audio-alsa"
use altivec || myconf="${myconf} --disable-altivec"
use fftw && myconf="${myconf} --enable-libfftw3"
use jack || myconf="${myconf} --disable-audio-jack"
use x264 && myconf="${myconf} --enable-libx264"
use xvid && myconf="${myconf} --enable-libxvid"

#from bug #220857
use xvmc && myconf="${myconf} --enable-xvmc --enable-xvmcw \
--disable-xvmc-vld"

# according to the Ubuntu guys, this works better being always on
myconf="${myconf} --enable-glx-procaddrarb"

myconf="${myconf}
$(use_enable dvb)
$(use_enable ieee1394 firewire)
$(use_enable lirc)
--disable-audio-arts
--disable-directfb
--dvb-path=/usr/include
--enable-opengl-vsync
--enable-xrandr
--enable-xv
--enable-x11"

if use mmx || use amd64; then
myconf="${myconf} --enable-mmx"
else
myconf="${myconf} --disable-mmx"
fi

if use perl && use python; then
myconf="${myconf} --with-bindings=perl,python"
elif use perl; then
myconf="${myconf} --with-bindings=perl"
elif use python; then
myconf="${myconf} --with-bindings=python"
else
myconf="${myconf} --without-bindings=perl,python"
fi

if use debug; then
myconf="${myconf} --compile-type=debug"
else
myconf="${myconf} --compile-type=profile"
fi

## CFLAG cleaning so it compiles
MARCH=$(get-flag "march")
MTUNE=$(get-flag "mtune")
strip-flags
filter-flags "-march=*" "-mtune=*" "-mcpu=*"
filter-flags "-O" "-O?"

if [[ -n "${MARCH}" ]]; then
myconf="${myconf} --cpu=${MARCH}"
fi
if [[ -n "${MTUNE}" ]]; then
myconf="${myconf} --tune=${MTUNE}"
fi

# myconf="${myconf} --extra-cxxflags=\"${CXXFLAGS}\" --extra-cflags=\"${CFLAGS}\""
hasq distcc ${FEATURES} || myconf="${myconf} --disable-distcc"
hasq ccache ${FEATURES} || myconf="${myconf} --disable-ccache"

# let MythTV come up with our CFLAGS. Upstream will support this
CFLAGS=""
CXXFLAGS=""
einfo "Running ./configure ${myconf}"
./configure ${myconf} || die "configure died"

eqmake4 mythtv.pro -o "Makefile" || die "eqmake4 failed"
emake || die "emake failed"

# firewire support should build the tester
if use ieee1394; then
cd contrib
$(tc-getCC) ${CFLAGS} ${CPPFLAGS} -o ../firewire_tester \
development/firewire_tester/firewire_tester.c \
${LDFLAGS} -liec61883 -lraw1394 || \
die "failed to compile firewire_tester"

cd channel_changers
$(tc-getCC) ${CFLAGS} ${CPPFLAGS} -std=gnu99 -o ../../6200ch \
6200ch/6200ch.c \
${LDFLAGS} -lrom1394 -lavc1394 -lraw1394 || \
die "failed to compile 6200ch"
$(tc-getCC) ${CFLAGS} ${CPPFLAGS} -o ../../sa3250ch \
sa3250ch/sa3250ch.c \
${LDFLAGS} -lrom1394 -lavc1394 -lraw1394 || \
die "failed to compile sa3250ch"
fi

cd "${S}"/contrib/channel_changers
$(tc-getCC) ${CFLAGS} ${CPPFLAGS} -o ../../red_eye red_eye/red_eye.c \
${LDFLAGS} || die "failed to compile red_eye"
}

src_install() {

einstall INSTALL_ROOT="${D}" || die "install failed"
dodoc AUTHORS FAQ UPGRADING README

insinto /usr/share/mythtv/database
doins database/*

exeinto /usr/share/mythtv
doexe "${FILESDIR}/mythfilldatabase.cron"

newinitd "${FILESDIR}"/mythbackend-0.18.2.rc mythbackend
newconfd "${FILESDIR}"/mythbackend-0.18.2.conf mythbackend

dodoc keys.txt docs/*.{txt,pdf}
dohtml docs/*.html

keepdir /etc/mythtv
chown -R mythtv "${D}"/etc/mythtv
keepdir /var/log/mythtv
chown -R mythtv "${D}"/var/log/mythtv

insinto /etc/logrotate.d
newins "${FILESDIR}"/mythtv.logrotate.d mythtv

insinto /usr/share/mythtv/contrib
doins -r contrib/*

dobin "${FILESDIR}"/runmythfe

if use autostart; then
dodir /etc/env.d/
echo 'CONFIG_PROTECT="/home/mythtv/"' > "${D}"/etc/env.d/95mythtv

insinto /home/mythtv
newins "${FILESDIR}"/bash_profile .bash_profile
newins "${FILESDIR}"/xinitrc .xinitrc
fi

if use ieee1394; then
dobin firewire_tester || die "failed to install firewire_tester"
newdoc contrib/development/firewire_tester/README README.firewire_tester

dobin 6200ch || die "failed to install 6200ch"
newdoc contrib/channel_changers/6200ch/README README.6200ch

dobin sa3250ch || die "failed to install sa3250ch"
newdoc contrib/channel_changers/sa3250ch/README README.sa3250ch
fi

dobin red_eye || die "failed to install red_eye"
newdoc contrib/channel_changers/red_eye/README README.red_eye

if use directv; then
dobin contrib/channel_changers/d10control.pl || die "failed to install d10control"
newdoc contrib/channel_changers/d10control/README README.d10control
fi
}

pkg_preinst() {
export CONFIG_PROTECT="${CONFIG_PROTECT} ${ROOT}/home/mythtv/"
}

pkg_postinst() {
python_version
python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/MythTV

elog "Want mythfrontend to start automatically?"
elog "Set USE=autostart. Details can be found at:"
elog "http://dev.gentoo.org/~cardoe/mythtv/autostart.html"

elog
elog "To always have MythBackend running and available run the following:"
elog "rc-update add mythbackend default"
elog
ewarn "Your recordings folder must be owned by the user 'mythtv' now"
ewarn "chown -R mythtv /path/to/store"

if use xvmc && [[ ! -s "${ROOT}/etc/X11/XvMCConfig" ]]; then
ewarn
ewarn "No XvMC implementation has been selected yet"
ewarn "Use 'eselect xvmc list' for a list of available choices"
ewarn "Then use 'eselect xvmc set ' to choose"
ewarn "'eselect xvmc set nvidia' for example"
fi

if use autostart; then
elog
elog "Please add the following to your /etc/inittab file at the end of"
elog "the TERMINALS section"
elog "c8:2345:respawn:/sbin/mingetty --autologin mythtv tty8"
fi

}

pkg_postrm()
{
python_mod_cleanup /usr/$(get_libdir)/python*/site-packages/MythTV
}

pkg_info() {
"${ROOT}"/usr/bin/mythfrontend --version
}

pkg_config() {
echo "Creating mythtv MySQL user and mythconverg database if it does not"
echo "already exist. You will be prompted for your MySQL root password."
"${ROOT}"/usr/bin/mysql -u root -p < "${ROOT}"/usr/share/mythtv/database/mc.sql
}