summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-03-14 23:33:35 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-03-14 23:33:35 +0000
commitb3353a38584f386dc5a5c9bef2dc1bb8f61263f7 (patch)
tree7bc9f7e24a8101530a3b7107c86defe74d3ec5c5 /media-tv/xdtv
parentStable on hppa (diff)
downloadgentoo-2-b3353a38584f386dc5a5c9bef2dc1bb8f61263f7.tar.gz
gentoo-2-b3353a38584f386dc5a5c9bef2dc1bb8f61263f7.tar.bz2
gentoo-2-b3353a38584f386dc5a5c9bef2dc1bb8f61263f7.zip
Version bump.
(Portage version: 2.1_pre6-r2)
Diffstat (limited to 'media-tv/xdtv')
-rw-r--r--media-tv/xdtv/ChangeLog7
-rw-r--r--media-tv/xdtv/Manifest16
-rw-r--r--media-tv/xdtv/files/digest-xdtv-2.3.293
-rw-r--r--media-tv/xdtv/xdtv-2.3.2.ebuild195
4 files changed, 300 insertions, 11 deletions
diff --git a/media-tv/xdtv/ChangeLog b/media-tv/xdtv/ChangeLog
index 3db6595e6ba7..2b5a773be719 100644
--- a/media-tv/xdtv/ChangeLog
+++ b/media-tv/xdtv/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-tv/xdtv
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/xdtv/ChangeLog,v 1.22 2006/03/09 11:37:19 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/xdtv/ChangeLog,v 1.23 2006/03/14 23:33:35 flameeyes Exp $
+
+*xdtv-2.3.2 (14 Mar 2006)
+
+ 14 Mar 2006; Diego Pettenò <flameeyes@gentoo.org> +xdtv-2.3.2.ebuild:
+ Version bump.
*xdtv-2.3.1 (09 Mar 2006)
diff --git a/media-tv/xdtv/Manifest b/media-tv/xdtv/Manifest
index c5d26f5505b6..393b2a5b678a 100644
--- a/media-tv/xdtv/Manifest
+++ b/media-tv/xdtv/Manifest
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 696c791ad1082efcd147fd2f75e5b40b ChangeLog 3677
RMD160 a348e360ae584ce3c3171280bb759c9bc69098c7 ChangeLog 3677
SHA256 e3d319ec26d5723c6465448fe01be6bf8323c4d9c24781e7229e2f111853d7d8 ChangeLog 3677
@@ -13,6 +10,9 @@ SHA256 922be643e0fcd05653e30c45a84b66c6b1297a52cb671bff33b50599dde499ff files/di
MD5 6063004f072f3579e3adde588ae82f78 files/digest-xdtv-2.3.1 8635
RMD160 f3dd53874557f380f651a7eb02898a5839ed0c00 files/digest-xdtv-2.3.1 8635
SHA256 195e36fa50368cf4408c2510db3fdf03324f263f2ad71f89fc6bab2ddaac56c9 files/digest-xdtv-2.3.1 8635
+MD5 3f1bba358a9be07d40ddc7e8b594c096 files/digest-xdtv-2.3.2 8635
+RMD160 8b10d142590985d4b6e1e0d28e02eea1d024d327 files/digest-xdtv-2.3.2 8635
+SHA256 6289ace74ec4040c285b684b8e22132b05d97571fe6020e6c93736eb9e643cd3 files/digest-xdtv-2.3.2 8635
MD5 109eefe229d78684737dd214b4ccde82 files/xdtv-2.3.0-setXid.patch 470
RMD160 b117b1f8c453b99fe97887f9c126bcf57fd56bed files/xdtv-2.3.0-setXid.patch 470
SHA256 1ca929d9d908592bc7374d430dd4cb1d850d55634a37334be0764ff66d2a1c70 files/xdtv-2.3.0-setXid.patch 470
@@ -28,10 +28,6 @@ SHA256 c7abf36c5202f902f8a540575bbadaaa69c580718ffd6dd91465180049fcf55f xdtv-2.3
MD5 e45e6ffcb934d16f7aa348c03dc3c81a xdtv-2.3.1.ebuild 5106
RMD160 151aba8e4c9818bda7c2232f2fab6a3d65d65cd0 xdtv-2.3.1.ebuild 5106
SHA256 9f8093e01d425e4992909c19a5e42aca7c04daf2890db5cc943d7c95217c148a xdtv-2.3.1.ebuild 5106
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2.2 (GNU/Linux)
-
-iD8DBQFEEBN8AiZjviIA2XgRAmuMAJ4i69CkRuHW+zDJAp8krLpP759pgACg8Kyv
-hk4BwnCmkUqhGIQQJZVtXJc=
-=mGds
------END PGP SIGNATURE-----
+MD5 833ce29ad839c76500a259983176c371 xdtv-2.3.2.ebuild 5289
+RMD160 fa6ff6a1269da2bf109bb1a386fbc510d6ac0d7e xdtv-2.3.2.ebuild 5289
+SHA256 fff291f1a0908f8d611c339d85ec34f580d47ad200d637493567d6dbabb904f5 xdtv-2.3.2.ebuild 5289
diff --git a/media-tv/xdtv/files/digest-xdtv-2.3.2 b/media-tv/xdtv/files/digest-xdtv-2.3.2
new file mode 100644
index 000000000000..fbc1a2899bc3
--- /dev/null
+++ b/media-tv/xdtv/files/digest-xdtv-2.3.2
@@ -0,0 +1,93 @@
+MD5 b73d038ed88a457103c8774c64d5f620 libxdtv-i18n-ca-1.3.0.tar.gz 638256
+RMD160 e9e0de1a1c37bee4b7cf001fc42976599df1527e libxdtv-i18n-ca-1.3.0.tar.gz 638256
+SHA256 6dc2cc65128e9e5d11a536f0b86a57cd193fbc12cbf2817a28e53a2049ed198a libxdtv-i18n-ca-1.3.0.tar.gz 638256
+MD5 054af1345b2a731f2f28f43b4b9218fd libxdtv-i18n-de-1.3.0.tar.gz 633884
+RMD160 5b6d094253bb57fa8c8eb6f677169d74d6af8bcd libxdtv-i18n-de-1.3.0.tar.gz 633884
+SHA256 b6abeef649d3b48a40b43d492155ff1e6cbfbb494574b612a834bf14203a05d4 libxdtv-i18n-de-1.3.0.tar.gz 633884
+MD5 154cc99aa8ce26fc98db85a852ef5e51 libxdtv-i18n-en-1.3.0.tar.gz 583704
+RMD160 3ecc63677a9019a0eb7b5ad08829b4f217cbd863 libxdtv-i18n-en-1.3.0.tar.gz 583704
+SHA256 271243cd258778aa44affbcfc6c9bde71d16d8c68288ffa47ce476752c14e1a3 libxdtv-i18n-en-1.3.0.tar.gz 583704
+MD5 870ca47b1ba50c69a0948f574c6866aa libxdtv-i18n-es-1.3.0.tar.gz 636460
+RMD160 6244a3f21a54de3abb2b5de4a28087c6c696ae32 libxdtv-i18n-es-1.3.0.tar.gz 636460
+SHA256 582b2599f1abeae6285545355c032d86e2d2ea57c2dd49b7f52662655f5f8a68 libxdtv-i18n-es-1.3.0.tar.gz 636460
+MD5 74651cf544e88b7167c6c88550693f54 libxdtv-i18n-fr-1.3.0.tar.gz 642408
+RMD160 0ae0e3c4e2395f02af49eb5b97b20f7d643b50a4 libxdtv-i18n-fr-1.3.0.tar.gz 642408
+SHA256 dc41cebb81e8a42b9fec11b9943eb25c843885d6fd39b94660f1d530d3ac86a8 libxdtv-i18n-fr-1.3.0.tar.gz 642408
+MD5 d797af076746e0687b4ee6f531c0ffef libxdtv-i18n-gl-1.3.0.tar.gz 641434
+RMD160 dfe5902c953376087642a6c22c713e916da0cb81 libxdtv-i18n-gl-1.3.0.tar.gz 641434
+SHA256 975fbe7f4ea9185b63f113662befaee720636463d7a0aa07493f84586dd83966 libxdtv-i18n-gl-1.3.0.tar.gz 641434
+MD5 5d36abb0ae4fcb51930cb9252405988d libxdtv-i18n-it-1.3.0.tar.gz 638380
+RMD160 675207aeac91080b4030fa028d8d56d40ad87292 libxdtv-i18n-it-1.3.0.tar.gz 638380
+SHA256 e640ef4bcdfffc55ce7442d120a8bb03bb6b719677cb8ec8c081cff9e7f6d1a3 libxdtv-i18n-it-1.3.0.tar.gz 638380
+MD5 6932f58dceb968933a8439db3d1c0f47 libxdtv-i18n-ja-1.3.0.tar.gz 621190
+RMD160 d2b24f5799ba4fcc5568d679b267c87b19a57e0d libxdtv-i18n-ja-1.3.0.tar.gz 621190
+SHA256 9b54882b0548de6f668256b5a1d8bbc19dcc5dced978c5f713a0f451ac5f71cd libxdtv-i18n-ja-1.3.0.tar.gz 621190
+MD5 194ce099fd708573a4cfb94d257c90a2 libxdtv-i18n-pl-1.3.0.tar.gz 643831
+RMD160 1cd6c507d4d50ac38d435f98b7a5beb88f1dfa17 libxdtv-i18n-pl-1.3.0.tar.gz 643831
+SHA256 e39c1519566806bf3377c90a043ea371cea2758699a619ab662bb2e55409a725 libxdtv-i18n-pl-1.3.0.tar.gz 643831
+MD5 b879caaf4df7f04391fb3f96b0434456 libxdtv-i18n-ru-1.3.0.tar.gz 639287
+RMD160 ca1d95c2357e7682c403ad266384ef8d04316ec6 libxdtv-i18n-ru-1.3.0.tar.gz 639287
+SHA256 8d86c24c6af75087bc490875643d97bdb4a0c3db81d2fd653f68f1f830c26dc9 libxdtv-i18n-ru-1.3.0.tar.gz 639287
+MD5 097ed70dbf0ffa81ab86310bdcb890d0 libxdtv-theme-aqua-ca-1.3.0.tar.gz 352441
+RMD160 ccded0eb1d1986dd54295126e43a022a84c498ab libxdtv-theme-aqua-ca-1.3.0.tar.gz 352441
+SHA256 248aede4da383f1dd9c09086f129e54bb49d3fbd3fd5fbb0c453e8fbe34e183b libxdtv-theme-aqua-ca-1.3.0.tar.gz 352441
+MD5 ddc42e332f4b97474da9d279f298e2c7 libxdtv-theme-aqua-de-1.3.0.tar.gz 351421
+RMD160 fc3a997942ad3ef02c0365f52f1113b7b820d28b libxdtv-theme-aqua-de-1.3.0.tar.gz 351421
+SHA256 ae61a878fad4271bc99740fca36eb2ff8fb2673cda4730be5eee3da57178b8b8 libxdtv-theme-aqua-de-1.3.0.tar.gz 351421
+MD5 889fa91845d86ddf247a7ef2412c7f03 libxdtv-theme-aqua-en-1.3.0.tar.gz 353233
+RMD160 bb351bdfdc9d5a5be42c10a7c7b3a48d89e22dc5 libxdtv-theme-aqua-en-1.3.0.tar.gz 353233
+SHA256 b8098b67d5a76933607540920f1cb1c0f92a2ab97c6eaa0cb29c5767d3e775d4 libxdtv-theme-aqua-en-1.3.0.tar.gz 353233
+MD5 46fd9ce9f9012b811ef6d0ff7d96d593 libxdtv-theme-aqua-es-1.3.0.tar.gz 353137
+RMD160 222915463e1a1408d2b9abe81617c14c4b34bea7 libxdtv-theme-aqua-es-1.3.0.tar.gz 353137
+SHA256 a2e26c47ce562976e3ec285d704604c0d385bb2c3a2d4f90f1020f7b662567b6 libxdtv-theme-aqua-es-1.3.0.tar.gz 353137
+MD5 8da90502892363ecd3cb0338a9186d06 libxdtv-theme-aqua-fr-1.3.0.tar.gz 354819
+RMD160 a98e7b84e8b18f12cd3973449d6b6d43d88ec1cc libxdtv-theme-aqua-fr-1.3.0.tar.gz 354819
+SHA256 925a82f5dced5b881b240802d1d3e07c0bad40b8f5999aa1a7bdaf2bce0a8876 libxdtv-theme-aqua-fr-1.3.0.tar.gz 354819
+MD5 75567ab74db5cf093c5dbd562227448b libxdtv-theme-aqua-gl-1.3.0.tar.gz 360310
+RMD160 bef7f53f910e3c35547262c533c781ec66008791 libxdtv-theme-aqua-gl-1.3.0.tar.gz 360310
+SHA256 3bc3b1991330f2cebc8cf02c852acf3611ba3cb0015a812aa52c75b82fd5de68 libxdtv-theme-aqua-gl-1.3.0.tar.gz 360310
+MD5 f1c233c43e735e182e668268b2cebe4f libxdtv-theme-aqua-it-1.3.0.tar.gz 352958
+RMD160 0497616e00b7a43916045af44fb9aab76f42aa4c libxdtv-theme-aqua-it-1.3.0.tar.gz 352958
+SHA256 f94157eb84a01325d5e42c29553d64bb8c9a95c223d4e1f350dfe9948d8d3ca0 libxdtv-theme-aqua-it-1.3.0.tar.gz 352958
+MD5 449464fa7138b2fb3098cbe660009e12 libxdtv-theme-aqua-ja-1.3.0.tar.gz 332709
+RMD160 72a2958d12348182e11672bb7801c8e76c5329a9 libxdtv-theme-aqua-ja-1.3.0.tar.gz 332709
+SHA256 92f7aaef28554a0f0c15f68e89c3a7d3c673cd0361b2bcfd36911b2e320a9af0 libxdtv-theme-aqua-ja-1.3.0.tar.gz 332709
+MD5 317e89112f3b6630f100bd2e70a4a67e libxdtv-theme-aqua-pl-1.3.0.tar.gz 359057
+RMD160 ac0664da9cdefdd5af70583eb2223c5668611f4f libxdtv-theme-aqua-pl-1.3.0.tar.gz 359057
+SHA256 3b1fdba8e0abc3b695f23f74825c829db55f7843ac1cfc7d2c15ecc52b7af6de libxdtv-theme-aqua-pl-1.3.0.tar.gz 359057
+MD5 f883b6ea0ee3bf7158b80f4c7ede3098 libxdtv-theme-aqua-ru-1.3.0.tar.gz 353110
+RMD160 e0a1455a56bac3fe940e9a1e39301002a7b1d49b libxdtv-theme-aqua-ru-1.3.0.tar.gz 353110
+SHA256 ebac73c26e3bd4bcb1b399c13145e401367f3fe4e2283cf9c736ee33e368b40f libxdtv-theme-aqua-ru-1.3.0.tar.gz 353110
+MD5 31e7645f1594777870db1247cee304dd libxdtv-theme-carbone-ca-1.3.0.tar.gz 394819
+RMD160 a7502f6b82924e4d4c5fcc892920fe902cda68e5 libxdtv-theme-carbone-ca-1.3.0.tar.gz 394819
+SHA256 4d857a1f37deb92b4c11a1fde1796413dc195c9520565712fe738552599d7718 libxdtv-theme-carbone-ca-1.3.0.tar.gz 394819
+MD5 c3ef10cfda3f3dac61d0f131dbfa4deb libxdtv-theme-carbone-de-1.3.0.tar.gz 397029
+RMD160 9d3e44cf07c8bc3c43dcb3251d8b9f1f2721c27f libxdtv-theme-carbone-de-1.3.0.tar.gz 397029
+SHA256 013fb39e0e1ffc04ac6dd90df0e093ff4f7fe98b28ed4bbf1a25cedd57504f4f libxdtv-theme-carbone-de-1.3.0.tar.gz 397029
+MD5 40ba15788c76d4165538cc78fbf1881d libxdtv-theme-carbone-en-1.3.0.tar.gz 393569
+RMD160 668d897bd93445c2b08179d814a5f40cd5f410c7 libxdtv-theme-carbone-en-1.3.0.tar.gz 393569
+SHA256 64df9e88fe751db0d5ddb5e97389bc1d982d39766e97758b67470dd5d3b54fc5 libxdtv-theme-carbone-en-1.3.0.tar.gz 393569
+MD5 0c130a2a6ded0387985e43e172523842 libxdtv-theme-carbone-es-1.3.0.tar.gz 397231
+RMD160 07c56713733013afd2a30f2deb8dfd582c387b47 libxdtv-theme-carbone-es-1.3.0.tar.gz 397231
+SHA256 17d27aaee357aeed29386f34cb47cad505ef61270f4c69d5133903072bbcf9fb libxdtv-theme-carbone-es-1.3.0.tar.gz 397231
+MD5 072b5577ef71460dab527722583ef334 libxdtv-theme-carbone-fr-1.3.0.tar.gz 397603
+RMD160 a126e4b66ec16426aff0b1b3a47df5d0397b438f libxdtv-theme-carbone-fr-1.3.0.tar.gz 397603
+SHA256 f6068987364594ab5a368208130e42f26e0f10f42d7e7cdbd5f47be2906feffd libxdtv-theme-carbone-fr-1.3.0.tar.gz 397603
+MD5 b50960e7bccdaba28e0e5653039a476e libxdtv-theme-carbone-gl-1.3.0.tar.gz 403660
+RMD160 00d60ff24c3dfcefcc9450c24a5eb41f9c2dd3a7 libxdtv-theme-carbone-gl-1.3.0.tar.gz 403660
+SHA256 c24ee64d5808d96e9fa17d0742cd02999086313c51e3ac6e55cc19bed1f3000f libxdtv-theme-carbone-gl-1.3.0.tar.gz 403660
+MD5 dd23097104b095d2db047ab9ddc77c96 libxdtv-theme-carbone-it-1.3.0.tar.gz 399396
+RMD160 0b6bed802998f26b5d09ece798c32edcf0ed174a libxdtv-theme-carbone-it-1.3.0.tar.gz 399396
+SHA256 89cb2f8f1ab29799d6dd8a556af26db882d8aa25ee6548059aedd0cd80716f56 libxdtv-theme-carbone-it-1.3.0.tar.gz 399396
+MD5 5346d714ffe442462b65acc2f738280e libxdtv-theme-carbone-ja-1.3.0.tar.gz 373453
+RMD160 1596eaaad3db174974e99780deb32071edfc6af2 libxdtv-theme-carbone-ja-1.3.0.tar.gz 373453
+SHA256 de2246f9653438ccb5ebef85edf97fb179cb1f0b211a969722b0145307149499 libxdtv-theme-carbone-ja-1.3.0.tar.gz 373453
+MD5 e56ec2f89767940326e2d82fc32c969f libxdtv-theme-carbone-pl-1.3.0.tar.gz 396722
+RMD160 3821660aebd489abf2830fff35ac0c8ec3aa3f52 libxdtv-theme-carbone-pl-1.3.0.tar.gz 396722
+SHA256 d9737a45242b384e557ea56713b14d00c722c23d04aafe68ac9c863494efff9b libxdtv-theme-carbone-pl-1.3.0.tar.gz 396722
+MD5 89aaf20a63b63e5d81c3998c8a0e2f15 libxdtv-theme-carbone-ru-1.3.0.tar.gz 394769
+RMD160 f9de71a685296cf00339d9193b382597f4e449bd libxdtv-theme-carbone-ru-1.3.0.tar.gz 394769
+SHA256 6481b50f0a3ea862c152e8000cb281cfb0269331a6d5a2a0fee89e75e0e5282e libxdtv-theme-carbone-ru-1.3.0.tar.gz 394769
+MD5 3e4b2b518b6ab209e5ebc82a6c413d2a xdtv-2.3.2.tar.gz 2775914
+RMD160 cac6da447bce28599bc8b806525f6c1a7a7e8ddd xdtv-2.3.2.tar.gz 2775914
+SHA256 b36e9a1ce9aaf7e499f1d93ae22e384bf83fbb05c28fcd73da290945142468c1 xdtv-2.3.2.tar.gz 2775914
diff --git a/media-tv/xdtv/xdtv-2.3.2.ebuild b/media-tv/xdtv/xdtv-2.3.2.ebuild
new file mode 100644
index 000000000000..926545e360f0
--- /dev/null
+++ b/media-tv/xdtv/xdtv-2.3.2.ebuild
@@ -0,0 +1,195 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-tv/xdtv/xdtv-2.3.2.ebuild,v 1.1 2006/03/14 23:33:35 flameeyes Exp $
+
+inherit font multilib autotools flag-o-matic
+
+IUSE="alsa jpeg encode ffmpeg xvid lirc xinerama neXt Xaw3d mmx zvbi aqua_theme
+carbone_theme xv debug dvb ogg png aac nls"
+
+DESCRIPTION="TV viewer with support for AVI recording and plugins"
+HOMEPAGE="http://xawdecode.sourceforge.net/"
+
+I18N_PV="1.3.0"
+THEMES_PV="1.3.0"
+
+SRC_URI="mirror://sourceforge/xawdecode/${P}.tar.gz"
+
+for lang in ca de en es fr gl it ja pl ru; 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"
+
+RDEPEND="zvbi? ( >=media-libs/zvbi-0.2.4 )
+ neXt? ( x11-libs/neXtaw )
+ Xaw3d? ( !neXt? ( x11-libs/Xaw3d ) )
+ !neXt? ( !Xaw3d? ( || ( x11-libs/libXaw virtual/x11 ) ) )
+ xvid? ( >=media-libs/xvid-1.0 )
+ 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 )
+ aac? ( media-libs/faac )
+ 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 )
+ ) virtual/x11 )"
+
+DEPEND="${RDEPEND}
+ dvb? ( media-tv/linuxtv-dvb-headers )
+ nls? ( sys-devel/gettext )
+ || ( ( x11-proto/videoproto
+ x11-proto/xproto
+ x11-proto/xextproto
+ x11-apps/bdftopcf
+ x11-apps/mkfontdir
+ x11-apps/mkfontscale
+ xinerama? ( x11-proto/xineramaproto )
+ ) virtual/x11 )"
+
+FONT_S="${S}/font"
+FONT_SUFFIX="pcf.gz"
+
+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 || die "emake failed"
+}
+
+extension_install() {
+ einfo "Installing ${1}"
+ cd ${WORKDIR}/${1} \
+ && make DESTDIR=${D} LIBDIR="/usr/$(get_libdir)/${PN}" install
+}
+
+src_unpack() {
+ unpack ${A}
+ # Disable font installation
+ sed -i -e '/^install:/,/^$/s:^\t:#:p' ${S}/font/Makefile.in
+ # Disable /usr/share/xdtv/icons/* installation
+ sed -i -e '/^install-data-local:/,${\:share/xdtv/icons:d}' ${S}/Makefile.in
+
+ cd ${S}
+ epatch "${FILESDIR}/${PN}-2.3.0-setXid.patch"
+
+ eautoreconf
+}
+
+src_compile() {
+ # Seems to break strict aliasing rules, better give it non-strict aliasing
+ append-flags -fno-strict-aliasing
+
+ # 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
+
+ ( use mmx || use amd64 ) && myconf="${myconf} --enable-mmx" || \
+ myconf="${myconf} --disable-mmx"
+
+ econf ${xawconf} \
+ $(use_enable alsa) \
+ $(use_enable jpeg) \
+ $(use_enable lirc) \
+ $(use_enable ffmpeg) \
+ $(use_enable xvid) \
+ $(use_enable xinerama) \
+ $(use_enable zvbi) \
+ $(use_enable xv xvideo) \
+ $(use_enable encode lame) \
+ $(use_enable !debug nodebug) \
+ $(use_enable dvb) \
+ $(use_enable ogg) \
+ $(use_enable png) \
+ $(use_enable aac faac) \
+ $(use_enable nls) \
+ --disable-x264 \
+ --enable-pixmaps \
+ --disable-cpu-detection \
+ --disable-divx4linux \
+ ${myconf} \
+ || die "Configuration failed."
+
+ emake BINDNOW_FLAGS="$(bindnow-flags)" OPT="${CFLAGS}" PERF_FLAGS="${CFLAGS}" || die "Compilation failed."
+
+ # Build the extensions (i18n and theme libraries)
+ extension_iter extension_compile
+}
+
+src_install() {
+ make 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 the led-fixed font with font.eclass
+ gzip font/*.pcf
+ font_src_install
+
+ # 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
+
+ # Install the extensions (i18n and theme libraries)
+ extension_iter extension_install
+}
+
+pkg_postinst() {
+ echo
+ einfo "Please note that this ebuild created a suid-binary:"
+ einfo "/usr/bin/xdtv_v4l-conf"
+ echo
+ einfo "The OSD font has moved. You probably should add"
+ einfo "this path to your X configuration:"
+ einfo "/usr/share/fonts/${PN}"
+ echo
+}