ChangeLog

# ChangeLog for media-tv/xdtv
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/media-tv/xdtv/ChangeLog,v 1.57 2008/12/15 07:55:12 ssuominen Exp $

15 Dec 2008; xdtv-2.4.0.ebuild:
x86 stable wrt #250894

05 Oct 2008; Alexis Ballier xdtv-2.2.0-r1.ebuild,
xdtv-2.4.0.ebuild:
Add missing deps on x11-proto/xf86dgaproto and x11-proto/xf86vidmodeproto,
thanks Patrick, bug #239804

22 Sep 2008; Alexis Ballier xdtv-2.4.0.ebuild:
stop using bindnow flags, bug #226981

22 Sep 2008; Alexis Ballier
+files/xdtv-2.4.0-lavc.patch, xdtv-2.4.0.ebuild:
Fix build with latest ffmpeg

01 Apr 2008; Alexis Ballier
+files/xdtv-2.4.0-ffmpegheaders.patch, xdtv-2.4.0.ebuild:
add a patch to allow building against latest ffmpeg

27 Nov 2007; Matthias Schwarzott xdtv-2.2.0-r1.ebuild,
xdtv-2.4.0.ebuild:
Fixed quoting.

22 Jul 2007; Donnie Berkholz ; xdtv-2.2.0-r1.ebuild,
xdtv-2.4.0.ebuild:
Drop virtual/x11 references.

04 Jul 2007; Alexis Ballier
-files/libxdtv-i18n-all-1.3.0-ldflags.patch,
-files/xdtv-2.3.0-setXid.patch, -files/xdtv-2.3.2-parallel-install.patch,
-files/xdtv-2.3.3-external-ffmpeg.patch, -xdtv-2.3.3.ebuild:
remove unused version

04 Jul 2007; Alexis Ballier
+files/xdtv-2.4.0-ffmpeg.patch, xdtv-2.4.0.ebuild:
Fix to build with latest ffmpeg

12 Jun 2007; Matthias Schwarzott xdtv-2.2.0-r1.ebuild,
xdtv-2.3.3.ebuild:
Added missing inherit eutils.

*xdtv-2.4.0 (23 Feb 2007)

23 Feb 2007; Alexis Ballier +xdtv-2.4.0.ebuild:
Version bump

16 Feb 2007; Simon Stelling xdtv-2.3.3.ebuild:
depend on >=portage-2.1.2 on amd64 to make sure the assembler USE flags are
unmasked

07 Jan 2007; Alexis Ballier xdtv-2.2.0-r1.ebuild,
xdtv-2.3.3.ebuild:
einfo -> elog

29 Oct 2006; Alexis Ballier xdtv-2.2.0-r1.ebuild,
xdtv-2.3.3.ebuild:
Fix autotools deps, bug #153339

21 Oct 2006; Alexis Ballier
+files/xdtv-2.3.3-external-ffmpeg.patch, xdtv-2.3.3.ebuild:
Adding a patch to link against ffmpeg rather than building it and linking
statically. Removing dvb support because it might break with that patch.

10 Oct 2006; Alexis Ballier metadata.xml:
Updating metadata.xml, maintainance inherited from Flameeyes

08 Oct 2006; Diego Pettenò xdtv-2.2.0-r1.ebuild:
Set app-defaults directory for modular xorg. Thanks to Andi for reporting in
bug #150445.

01 Oct 2006; Diego Pettenò xdtv-2.2.0-r1.ebuild,
xdtv-2.3.3.ebuild:
Remove build-time dependency on xproto and/or xextproto.

31 Aug 2006; Diego Pettenò xdtv-2.3.3.ebuild:
Disable x264 support for now, it's not API stable. See bug #145343.

09 Jul 2006; Diego Pettenò xdtv-2.2.0-r1.ebuild:
Remove xorg-server fake depend, was an artefact produced by the first dep
checking scripts.

09 Jul 2006; Diego Pettenò
-files/xdtv-2.3.2-alevt-vbi.patch,
-files/xdtv-2.3.2-strict-aliasing.patch, xdtv-2.2.0-r1.ebuild,
-xdtv-2.3.2.ebuild, -xdtv-2.3.2-r1.ebuild, -xdtv-2.3.2-r2.ebuild,
xdtv-2.3.3.ebuild:
Remove old versions and pinpoint virtual/x11 to older than 7 versions.

*xdtv-2.3.3 (05 Jul 2006)

05 Jul 2006; Diego Pettenò +xdtv-2.3.3.ebuild:
Bump to version 2.3.3.

*xdtv-2.3.2-r2 (26 Jun 2006)

26 Jun 2006; Diego Pettenò
+files/xdtv-2.3.2-alevt-vbi.patch, +xdtv-2.3.2-r2.ebuild:
Add patch to fix vbi decoding with kernels 2.6.16 and greater. Thanks to Sir
Pingus in bug #135942.

26 Jun 2006; Diego Pettenò +Manifest.asc:
Regen manifest.

26 Jun 2006; Diego Pettenò
+files/xdtv-2.3.2-parallel-install.patch, xdtv-2.3.2-r1.ebuild:
Add patch to fix installation when using parallel make.

23 Jun 2006; Diego Pettenò xdtv-2.3.2-r1.ebuild:
Replace PIC conditionals with __PIC__ conditionals, as suggested by
Alexandre Carsac, to try to fix bug #133375.

*xdtv-2.3.2-r1 (18 Jun 2006)

18 Jun 2006; Diego Pettenò
+files/xdtv-2.3.2-strict-aliasing.patch, +xdtv-2.3.2-r1.ebuild:
Add new revision with patch to fix strict-aliasing breakage.

04 Jun 2006; Diego Pettenò xdtv-2.3.2.ebuild:
Install the defaults in the right directory when using modular xorg. Thanks
Donnie for the detection action.

19 May 2006; Diego Pettenò xdtv-2.3.2.ebuild:
Bump xvid dependency as per bug #133306 thanks to Michael Mauch.

04 May 2006; Diego Pettenò -xdtv-2.3.0.ebuild,
-xdtv-2.3.1.ebuild:
Drop old versions.

27 Apr 2006; Marien Zwart files/digest-xdtv-2.2.0-r1,
files/digest-xdtv-2.3.0, files/digest-xdtv-2.3.1, files/digest-xdtv-2.3.2,
Manifest:
Fixing SHA256 digest, pass four

07 Apr 2006; Diego Pettenò xdtv-2.3.2.ebuild:
Don't run the whole autotools chain if unneeded, use only eautomake.

28 Mar 2006; Diego Pettenò
+files/libxdtv-i18n-all-1.3.0-ldflags.patch, xdtv-2.3.2.ebuild:
Add patch to make i18n support respect LDFLAGS and set a soname.

14 Mar 2006; Diego Pettenò xdtv-2.3.2.ebuild:
Drop fonts installed by autotools.

*xdtv-2.3.2 (14 Mar 2006)

14 Mar 2006; Diego Pettenò +xdtv-2.3.2.ebuild:
Version bump.

*xdtv-2.3.1 (09 Mar 2006)

09 Mar 2006; Diego Pettenò +xdtv-2.3.1.ebuild:
Version bump, now uses internal ffmpeg (patched) copy.

01 Mar 2006; Diego Pettenò xdtv-2.3.0.ebuild:
Make libXaw optional in case NeXt and Xaw3d are not requested. Thanks to TGL
in bug #124479.

04 Feb 2006; Diego Pettenò xdtv-2.3.0.ebuild:
Enable support for IUSEing linguas_* useflags.

04 Feb 2006; Diego Pettenò
-files/xdtv-2.2.0-memcpy.patch, -files/xdtv-2.2.0-setXid.patch,
xdtv-2.2.0-r1.ebuild, -xdtv-2.2.0-r2.ebuild:
Drop old version, use autotools eclass for current stable.

02 Feb 2006; Diego Pettenò xdtv-2.3.0.ebuild:
Fix dependency on libtheora to 1_alpha5 (bug #120991).

29 Jan 2006; Diego Pettenò
files/digest-xdtv-2.3.0, Manifest:
Fix the digest, again.

28 Jan 2006; Diego Pettenò
files/digest-xdtv-2.3.0, Manifest:
Fix digest as upstream changed the tarball.

*xdtv-2.3.0 (28 Jan 2006)

28 Jan 2006; Diego Pettenò
+files/xdtv-2.3.0-setXid.patch, +xdtv-2.3.0.ebuild:
Version bump and ebuild cleanup; add missing xinerama dependency.

*xdtv-2.2.0-r2 (08 Jan 2006)

08 Jan 2006; Diego Pettenò
+files/xdtv-2.2.0-memcpy.patch, +files/xdtv-2.2.0-setXid.patch,
+xdtv-2.2.0-r2.ebuild:
Add patch from upstream to fix problems with memcpy.c and hardened (bug
#115724). Add also patch to add bindnow flags to setXid executable.

10 Dec 2005; Diego Pettenò xdtv-2.2.0-r1.ebuild:
Made mostly modular xorg friendly; it won't be until font eclass is
friendly, too.

10 Dec 2005; Matthias Schwarzott xdtv-2.2.0-r1.ebuild:
replaced dvb depend by linuxtv-dvb-headers

05 Nov 2005; Diego Pettenò -xdtv-2.2.0.ebuild:
Remove old version.

31 Oct 2005; Diego Pettenò xdtv-2.2.0.ebuild,
xdtv-2.2.0-r1.ebuild:
Don't install INSTALL file.

30 Oct 2005; Diego Pettenò xdtv-2.2.0.ebuild,
xdtv-2.2.0-r1.ebuild:
Remove divx4linux useflag.

05 Oct 2005; Paul Varner xdtv-2.2.0-r1.ebuild:
Stable on x86. Bug# 104642

*xdtv-2.2.0-r1 (25 Jul 2005)

25 Jul 2005; Diego Pettenò +xdtv-2.2.0-r1.ebuild:
Added new theme (carbone) and bumped the versions of aqua theme and i18n
support. Thanks to Sir Pingus for the update.

13 Jul 2005; Matthias Schwarzott xdtv-2.2.0.ebuild:
Changed dependency on dvb according to Bug #98672

10 Jul 2005; Diego Pettenò xdtv-2.2.0.ebuild:
Set CPPFLAGS as the dvb check fail without it.

10 Jul 2005; David Holm xdtv-2.2.0.ebuild:
Added to ~ppc.

10 Jul 2005; Diego Pettenò xdtv-2.2.0.ebuild:
Added dependency over linuxtv-dvb-headers when dvb is enabled. Fixed the
missing DEPEND variable.

10 Jul 2005; Matthias Schwarzott xdtv-2.2.0.ebuild:
Added to ~x86

*xdtv-2.2.0 (09 Jul 2005)

09 Jul 2005; Diego Pettenò +metadata.xml,
+xdtv-2.2.0.ebuild:
First version of xdtv (supersedes xawdecode). Applied patches for gcc4
support and amd64 mmx/sse support.
Thanks to TGL in bug #48129.

Manifest

AUX xdtv-2.4.0-ffmpeg.patch 4069 RMD160 fa0c1c926cabf65bd4996e53f1f85fc81e709546 SHA1 bdfc8db21546ba188f5b781e743f671d305fa5f5 SHA256 a8126adac7bb8506bfd8daf2327bc805f3884a87b3d87c5f0f988a885e9b86d8
AUX xdtv-2.4.0-ffmpegheaders.patch 2190 RMD160 de2ddecba8f12679cacfb34e2cba1b298526bf18 SHA1 92499141c69871d35c96aae5660dfa8e19325ee2 SHA256 1de4e96244f9369fc66c7c36757520a24e3d38bf8177ad91a03191338e608d06
AUX xdtv-2.4.0-lavc.patch 1189 RMD160 8941548c06769208e2bcd7649dd513003f4e5cd9 SHA1 841d930a12f2dda70dfef06bf7b869aeb221358c SHA256 555940aae37c3e48ac3efb4811c4e6b40c72a41804f1922ab6a3119e343ae469
DIST libxdtv-i18n-ca-2.4.0.tar.gz 673690 RMD160 f8e82962b6c08c145cb730661c6f422102360912 SHA1 b90285e055812827f7a0185d02d89d014e12403f SHA256 7a7970dfa6049b472974754fa962dd2810efff17c1e93b250c407c4d9207da96
DIST libxdtv-i18n-cs-2.4.0.tar.gz 677383 RMD160 69d4619e4ac330eda2dd46c0c814b276e6846a29 SHA1 9f2ea85b6ad840cc10896fb8782d60941734ed0d SHA256 34108e279f39cc02e8364f24486baf66436edda4de164f66bfd018c7af24c9a0
DIST libxdtv-i18n-de-2.4.0.tar.gz 667644 RMD160 3734336b83bf3ae02686e2d454adae6801b46c6f SHA1 4c655dd320add01b7bff9a5bced653330ce52380 SHA256 a4c4429b2871527ef6fd541d2e1267182055f144970dc7e7b7bab3b3dbe0e08a
DIST libxdtv-i18n-en-2.4.0.tar.gz 623233 RMD160 4df6dddffa3c4ee8791b7389dfef670fd953fbf2 SHA1 9a91679be5a433c8c53858e6a3ddedfd2b61dff9 SHA256 73ecb4a952afa75f3c4dfb37cac7138ed37e91a43aae4eb27ecee1e545647641
DIST libxdtv-i18n-es-2.4.0.tar.gz 676647 RMD160 362f5b39c690873fd7147d6d0557d2a8bdab6201 SHA1 6652701c1ed38c0f3db7b4666e17f03357f49adb SHA256 c3eca178bcf47e0771d4dfcadeb11f5094ae6b5f539e2debfe0335bac29956ee
DIST libxdtv-i18n-fr-2.4.0.tar.gz 675820 RMD160 e09151aa945df7a45ba24c42f515287b7b8e226c SHA1 d8adfb62cb782af3d500a7821c1c9c63471f5f31 SHA256 916cd35499665de29028321281041ce09df205b337366c1c2a7ff5c96eaee851
DIST libxdtv-i18n-gl-2.4.0.tar.gz 676772 RMD160 b83385dbb2ae14832533a1fbb682249e8c78e358 SHA1 21d6695b14d4bcbd3bdb9278cd873dc33bbf91ca SHA256 339c8b4fb15b302f97a422c19a3837e63bac22c5efac5fdd059206b21276c459
DIST libxdtv-i18n-it-2.4.0.tar.gz 674880 RMD160 d3a7e80347adfda52a6075253cd662de25c482da SHA1 855536358ac67e41af08da7564303716fa65577d SHA256 b37acf6c98917534e17822d46b6f14b51855db76bf818a343357c238fca121b9
DIST libxdtv-i18n-pl-2.4.0.tar.gz 684226 RMD160 28814f616718714c943647612703a6b4ae27ffd9 SHA1 ce08297a009168dcbb627a644980790c5ae9e363 SHA256 191aab783d289dc8ed1b5a1c9b88dc41dda79471a34682732372b2908bd3ef16
DIST libxdtv-i18n-ru-2.4.0.tar.gz 671611 RMD160 593c2246a90ff0c14c80738a710c12dda162fdd5 SHA1 d226475a804e9a5564e96c5157b3fad80621b95e SHA256 201b68d5ea09776912b1dcd448d863a5850a7148b8fee3f4bfda8876340f3035
DIST libxdtv-i18n-sv-2.4.0.tar.gz 667090 RMD160 0ddb3c2822facb2f4a2ad4538c67b6e49a8400b2 SHA1 9efdf2374196a3e78fac734727fd707c46c644d3 SHA256 2d16271749cb0b57ffd0a249ebbbc9d1578e30407517fcf0a581b2e97adf934f
DIST libxdtv-theme-aqua-ca-2.4.0.tar.gz 355583 RMD160 4578c48571284b74f4a949fda4dfbd0f050532a7 SHA1 447fff32ba015429025c95a60ecaa262ee5a7d12 SHA256 963fc65edab30d9869dc4aaf207853603e9f3f341f710787ae5a9aec41e9b1ff
DIST libxdtv-theme-aqua-cs-2.4.0.tar.gz 356855 RMD160 28ca91cd553166e92cc6b8684a721055fbb03e6b SHA1 342c7e28a48630c03fcee3e063bb0d6554de3fea SHA256 90fba41451f598c454ae5838b361ac60086729a4f06d33d151448f24929d1846
DIST libxdtv-theme-aqua-de-2.4.0.tar.gz 349513 RMD160 30191e807aa733353bfaebca9dc069cf370fbe30 SHA1 f3ba367df242f99c026ada4c36a4f4877d6ff3f3 SHA256 3d90424829cc78ac4791b7008b6fd1a71525bc9a5c06e22c93430df8d5285a11
DIST libxdtv-theme-aqua-en-2.4.0.tar.gz 356518 RMD160 ed4eba824e08e062d34d854c65b7ad154497cd28 SHA1 165461431a637783408514f187a24434886ef60c SHA256 6458d0f811e8e495c4d7ac3d49508f20d9955a8e8a003908801c1f3949c8b08a
DIST libxdtv-theme-aqua-es-2.4.0.tar.gz 355967 RMD160 5974fe0c401058c3a55664f51abfb49cd210a0e9 SHA1 d44100aa160d38058522633ae0b1d4216f2d260d SHA256 655b0c458cfc5eac0f23bfe8f86943d90cd7e22d7ca7c69b8258f8604d87e2ec
DIST libxdtv-theme-aqua-fr-2.4.0.tar.gz 359112 RMD160 9cf919ac8cf8dfe110abbdbd585e5ecf7c495b41 SHA1 62f575813175b029b4d28985e00f7da27965bc75 SHA256 bcda4c841d36a0bd4893fe5399e918bf62209bdeca0c18fa11b2d67abce41652
DIST libxdtv-theme-aqua-gl-2.4.0.tar.gz 361222 RMD160 6712bdc7315e64ac752a2f9ecd1a67de5a00ec8a SHA1 aa4ae1a670e3b247215cd79ac4b18413a3367c94 SHA256 584d2d08e284312c59f2d9f482b0b2d002380e3e5459ac0e41e9039aebdb0673
DIST libxdtv-theme-aqua-it-2.4.0.tar.gz 354352 RMD160 a18e6ca82894269a586a710e3daeff34f37ea9cd SHA1 fc2099de59ff8daf40ac99af8114fd6ae217e526 SHA256 f1ec72335cdf55d3d5c41f5c4ca51c9e3727df053859d79075481cacf90a49b4
DIST libxdtv-theme-aqua-pl-2.4.0.tar.gz 367887 RMD160 bff0a8ace47f81b3d43b74fa729e72c863c4c0e4 SHA1 b5b0d9056c5d5459e868fac655383443332249ca SHA256 841dc51c64bfd4a92ad597e7fac6a6c40867a753daa8ac26525d95d7747c85c0
DIST libxdtv-theme-aqua-ru-2.4.0.tar.gz 357425 RMD160 2f8b35e0c9416f052b8ab1360c2307d955fac2d4 SHA1 6de3abdd99449311d4a149c232a328d32d0f4320 SHA256 ca45ec681ab331683a29a24f7ee9652592373e3a5fc246567c295f665f76f5af
DIST libxdtv-theme-aqua-sv-2.4.0.tar.gz 356162 RMD160 580adc69c42115f08bc5a54ee36533c78180b78a SHA1 cb5648f8f8dfc14f19f1eb4638aebff116bbfb72 SHA256 275146128bb3fcb818185dc4aebc0870afc78ccfc8d2e2d1054aad48c76cb70c
DIST libxdtv-theme-carbone-ca-2.4.0.tar.gz 393022 RMD160 bc4e8d12a24e6967859ef746dc12c8db1ee42237 SHA1 4f60c731668e87d1d8af1d89edfc8ce04f785b6d SHA256 13a1f520be2854f1512f83c842711059bfd305faf9dbb0e026e6f7643fb6c8a6
DIST libxdtv-theme-carbone-cs-2.4.0.tar.gz 393808 RMD160 b198881d47f088bd4034cddf6773c73eb5614a5e SHA1 9b604e8bd989c0cbbf89ca63945f32f7b081e70c SHA256 7bef22f2f1cfa79aee64b3f16bff789440d02a8c3bb49e2d3ef1a0d24f09b7b6
DIST libxdtv-theme-carbone-de-2.4.0.tar.gz 387522 RMD160 b094108131394f19148bd58261ec6ce9c92d0e60 SHA1 dadd0a53310f6eb9cc4acc4b350441c2fb464476 SHA256 4fee874934d1ee980d88ed9bd1c3e138c0d2ae40806b4a0f026f226b617aaa3c
DIST libxdtv-theme-carbone-en-2.4.0.tar.gz 394799 RMD160 11ccaefab91bc7b76598fa6880369f592912ea4f SHA1 39706b9cdae609d9199cfd3fb074547ccf0a183a SHA256 9ba048cbc8278641639f7c42c5821a969584f27c71482293fd42c3c826d39cc5
DIST libxdtv-theme-carbone-es-2.4.0.tar.gz 397954 RMD160 c0117c75b2b42a70b08da797ab0b8779085e3b64 SHA1 3a733beb042744b14d1a34697a66b5252756f7ea SHA256 15039c7134553480c3d47feeeeedd2699b592bdee6314f2e46657d5f91810d21
DIST libxdtv-theme-carbone-fr-2.4.0.tar.gz 396294 RMD160 318769c46363f3a7dc13096b3a761c418bb67eff SHA1 3ba96f516e7b0404b9623bb800c7b040d50a2be1 SHA256 4c3625ac81dfbe370cdd1dd1c42d0fb2de47f62744571811b0c9c7b1e5fd036f
DIST libxdtv-theme-carbone-gl-2.4.0.tar.gz 400552 RMD160 094a77e434974ce0b1cfe3c9c1a8c3ec93c70fa0 SHA1 c649f5b5952078c255504be87bd02692aaa1dd17 SHA256 73e49102f00ad16893fac01f12c1932669f2f1e8a09807caada878f5b7488e45
DIST libxdtv-theme-carbone-it-2.4.0.tar.gz 392661 RMD160 7bd0d9567f7bc4b33bde96af2fbe38bbda8d1387 SHA1 eafa1b5b9712a66a6a50589933ece8763f232e99 SHA256 09c1adecb01fe2eb47cd60d89006717b555319bb9141a519bfb3d7798f9b4075
DIST libxdtv-theme-carbone-pl-2.4.0.tar.gz 401274 RMD160 85ba970817f56ae6a8048a2774a6f1b15d5a119c SHA1 cb5cf7c56413582bceb0f0ea62b15c1b4992980e SHA256 69a5820f75a4dd8cbaa9ebb3da13811565341ea516b51d3fb3d44e979fae2cb5
DIST libxdtv-theme-carbone-ru-2.4.0.tar.gz 392266 RMD160 89e6ec29609b9f999957eed80fb37d9bc9124c09 SHA1 fd0d60a9e4ffa4ad507866f06c702bf7be9c891e SHA256 2384c1c5b55b9eb1e2c1a46b44d8c268949a32d6dca9440f8f2f636dd7c17e72
DIST libxdtv-theme-carbone-sv-2.4.0.tar.gz 395548 RMD160 389ba6ef7d47ff871069152da44268b72172774c SHA1 95e3b17e441d217abc590d5c35556d25d0745f3a SHA256 f1e76a35ca16f911cb8a8cb67bdb530d50b4a2360e2a9fc5db138baf72551930
DIST xdtv-2.4.0.tar.gz 3230154 RMD160 b481a4d65b3fe34d4790f4e0851919588974fa90 SHA1 5176111f781c54b1374093855a407f89639b31ad SHA256 54d36552284f17aadc4b7455aed91d5efdbbba64827e369b3d8a80ec00543c3e
EBUILD xdtv-2.4.0.ebuild 5530 RMD160 9b159e5071cff7f9e3f0a288932dbbea27053546 SHA1 6a76c3c935268cf83fce79317d52d6d19be2db0c SHA256 d93fbd9f57b27d64bb44276b6aba43830d29138c7c0f10a80de26c64e5a1ba37
MISC ChangeLog 9270 RMD160 4150ee5eacbe81557d7af7fb14d4f93cf7675781 SHA1 41e1b8e02af7408ad4f1ece23279655f805733d3 SHA256 6347c9f42a35a604bbc62e5e6a9c301ae78147804bac0afca8ef05f949b8dc86
MISC metadata.xml 597 RMD160 ed30da83ed3a6862ca013482334f1cee7999cb53 SHA1 3cd968c01ad397f250e59ac43b1cb4a4dea33415 SHA256 920ff2b569a749b1ff4307c6f4f3ee1dd8cffc7ab3724531f6e1a6e0ed78e84f

files

metadata.xml




media-tv

aballier@gentoo.org
Alexis Ballier


Enable graphic theme Aqua-style
Adds the Carbone pixmaps theme for the GUI
Adds the possibility to schedule tv recording via xdtv_record.sh
Enable VBI Decoding Library for Zapping

xdtv-2.4.0.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-tv/xdtv/xdtv-2.4.0.ebuild,v 1.10 2008/12/15 07:55:12 ssuominen Exp $

inherit eutils multilib flag-o-matic toolchain-funcs autotools

IUSE="alsa jpeg encode ffmpeg xvid lirc xinerama neXt Xaw3d mmx zvbi aqua_theme
carbone_theme xv debug ogg png nls schedule"

DESCRIPTION="TV viewer with support for AVI recording and plugins"
HOMEPAGE="http://xawdecode.sourceforge.net/"

I18N_PV="${PV}"
THEMES_PV="${PV}"

SRC_URI="mirror://sourceforge/xawdecode/${P}.tar.gz"

for lang in ca cs de en es fr gl it pl ru sv; do
SRC_URI="${SRC_URI}
linguas_${lang}? (
mirror://sourceforge/xawdecode/libxdtv-i18n-${lang}-${I18N_PV}.tar.gz
aqua_theme? ( mirror://sourceforge/xawdecode/libxdtv-theme-aqua-${lang}-${THEMES_PV}.tar.gz )
carbone_theme? ( mirror://sourceforge/xawdecode/libxdtv-theme-carbone-${lang}-${THEMES_PV}.tar.gz )
)"
IUSE="${IUSE} linguas_${lang}"
done

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~ppc x86"

COMMON_DEPEND="zvbi? ( >=media-libs/zvbi-0.2.4 )
neXt? ( x11-libs/neXtaw )
Xaw3d? ( !neXt? ( x11-libs/Xaw3d ) )
!neXt? ( !Xaw3d? ( x11-libs/libXaw ) )
xvid? ( >=media-libs/xvid-1.1 )
encode? ( >=media-sound/lame-3.93 )
jpeg? ( media-libs/jpeg )
lirc? ( app-misc/lirc )
alsa? ( >=media-libs/alsa-lib-0.9 )
ogg? ( media-libs/libogg
>=media-libs/libtheora-1.0_alpha5
media-libs/libvorbis )
png? ( media-libs/libpng )
nls? ( virtual/libintl )
x11-libs/libX11
x11-libs/libXext
x11-libs/libXpm
x11-libs/libXt
x11-libs/libXmu
x11-libs/libXxf86vm
x11-libs/libXxf86dga
x11-libs/libXv
x11-apps/xset
xinerama? ( x11-libs/libXinerama )
ffmpeg? ( media-video/ffmpeg )"

DEPEND="${COMMON_DEPEND}
nls? ( sys-devel/gettext )
x11-proto/videoproto
x11-proto/xproto
x11-proto/xextproto
x11-proto/xf86dgaproto
x11-proto/xf86vidmodeproto
x11-apps/bdftopcf
x11-apps/mkfontdir
x11-apps/mkfontscale
xinerama? ( x11-proto/xineramaproto )"

RDEPEND="${COMMON_DEPEND}
schedule? ( sys-process/at )"

# Make sure the assembler USE flags are unmasked on amd64
# Remove this once default-linux/amd64/2006.1 is deprecated
DEPEND="${DEPEND} amd64? ( >=sys-apps/portage-2.1.2 )"

extension_iter() {
local my_a
for my_a in ${A} ; do
my_a=${my_a%%.tar.gz}
if [ -z ${my_a/libxdtv*/} ] ; then
eval ${1} ${my_a} || die "${1}(${my_a}) failed."
fi
done
}

extension_compile() {
einfo "Building ${1}"
cd "${WORKDIR}/${1}"

econf || die "econf failed"
emake CC=$(tc-getCC) || die "emake failed"
}

extension_install() {
einfo "Installing ${1}"
cd "${WORKDIR}/${1}" \
&& emake DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)/${PN}" install
}

src_unpack() {
unpack ${A}
cd "${S}"
einfo "Cleaning up included ffmpeg to not interfere with headers inclusion"
rm -rf libav* libswscale libpostproc

epatch "${FILESDIR}/${P}-ffmpeg.patch"
epatch "${FILESDIR}/${P}-ffmpegheaders.patch"
epatch "${FILESDIR}/${P}-lavc.patch"

eautoreconf
}

src_compile() {
# Makes the xaw widgets choice deterministic
local xawconf="--disable-xaw95 --disable-xawm"
if use neXt ; then
use Xaw3d && ewarn "Both \"neXt\" and \"Xaw3d\" found in USE. Will use neXtaw widgets."
xawconf="${xawconf} --enable-nextaw --disable-xaw3d"
elif use Xaw3d ; then
xawconf="${xawconf} --disable-nextaw --enable-xaw3d"
else
xawconf="${xawconf} --disable-nextaw --disable-xaw3d"
ewarn "If you want a better GUI toolkit, enable either \"neXt\" or \"Xaw3d\" USE flags."
fi

has_version ' appdefaultsdir="/etc/X11/app-defaults" || \
appdefaultsdir="/usr/share/X11/app-defaults"

econf ${xawconf} \
$(use_enable mmx) \
$(use_enable alsa) \
$(use_enable jpeg) \
$(use_enable lirc) \
$(use_enable ffmpeg) \
$(use_with ffmpeg external-ffmpeg) \
$(use_enable xvid) \
$(use_enable xinerama) \
$(use_enable zvbi) \
$(use_enable xv xvideo) \
$(use_enable encode lame) \
$(use_enable !debug nodebug) \
--disable-dvb \
$(use_enable ogg) \
$(use_enable png) \
$(use_enable nls) \
--with-fontdir="/usr/share/fonts/${PN}" \
--enable-makefonts \
--enable-pixmaps \
--disable-cpu-detection \
--disable-divx4linux \
--with-appdefaultsdir=${appdefaultsdir} \
|| die "Configuration failed."

emake || die "Compilation failed."

# Build the extensions (i18n and theme libraries)
extension_iter extension_compile
}

src_install() {
emake DESTDIR="${D}" install || die "Installation failed."

# .desktop file and default icon
domenu gentoo/xdtv.desktop
doicon "${S}/src/xdtv.xpm"

# Install the icons in the hicolor theme
for dim in 48 32 16; do
insinto /usr/share/icons/hicolor/${dim}x${dim}/apps
newins "${S}/xdtv-${dim}.png" xdtv.png
done

# Install documentation
dodoc ChangeLog AUTHORS FAQ* README.* TODO lisez-moi* \
xdtvrc.sample lircrc.*.sample
docinto alevt
dodoc alevt/README alevt/ReadmeGR alevt/CHANGELOG alevt/COPYRIGHT

use schedule || rm "${D}/usr/bin/xdtv_record.sh"

# Install the extensions (i18n and theme libraries)
extension_iter extension_install
}

pkg_postinst() {
elog ""
elog "Please note that this ebuild created a suid-binary:"
elog "/usr/bin/xdtv_v4l-conf"
elog ""
elog "The OSD font has moved. You probably should add"
elog "this path to your X configuration:"
elog "/usr/share/fonts/${PN}"
elog ""

if use schedule; then
elog ""
elog "You need to have atd running to use xdtv_recond.sh"
elog "type : '/etc/init.d/atd start' as root"
elog ""
fi
}