# 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.3.ebuild,v 1.4 2006/10/01 17:43:14 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 =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 ) 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 ) )