# 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.2.0-r1.ebuild,v 1.13 2006/10/29 23:06:14 aballier Exp $ WANT_AUTOMAKE="1.7" WANT_AUTOCONF="2.5" inherit font multilib autotools IUSE="alsa jpeg encode ffmpeg xvid lirc xinerama neXt Xaw3d mmx zvbi aqua_theme carbone_theme xv debug dvb" DESCRIPTION="TV viewer with support for AVI recording and plugins" HOMEPAGE="http://xawdecode.sourceforge.net/" I18N_PV="1.2.0" THEMES_PV="1.2.0" I18N_EN="libxdtv-i18n-en-${I18N_PV}" I18N_FR="libxdtv-i18n-fr-${I18N_PV}" I18N_CA="libxdtv-i18n-ca-${I18N_PV}" I18N_ES="libxdtv-i18n-es-${I18N_PV}" I18N_DE="libxdtv-i18n-de-${I18N_PV}" I18N_JA="libxdtv-i18n-ja-${I18N_PV}" I18N_IT="libxdtv-i18n-it-${I18N_PV}" THEME_AQUA_EN="libxdtv-theme-aqua-en-${THEMES_PV}" THEME_AQUA_FR="libxdtv-theme-aqua-fr-${THEMES_PV}" THEME_AQUA_CA="libxdtv-theme-aqua-ca-${THEMES_PV}" THEME_AQUA_ES="libxdtv-theme-aqua-es-${THEMES_PV}" THEME_AQUA_DE="libxdtv-theme-aqua-de-${THEMES_PV}" THEME_AQUA_JA="libxdtv-theme-aqua-ja-${THEMES_PV}" THEME_AQUA_IT="libxdtv-theme-aqua-it-${THEMES_PV}" THEME_CARBONE_EN="libxdtv-theme-carbone-en-${THEMES_PV}" THEME_CARBONE_FR="libxdtv-theme-carbone-fr-${THEMES_PV}" THEME_CARBONE_CA="libxdtv-theme-carbone-ca-${THEMES_PV}" THEME_CARBONE_ES="libxdtv-theme-carbone-es-${THEMES_PV}" THEME_CARBONE_DE="libxdtv-theme-carbone-de-${THEMES_PV}" THEME_CARBONE_JA="libxdtv-theme-carbone-ja-${THEMES_PV}" THEME_CARBONE_IT="libxdtv-theme-carbone-it-${THEMES_PV}" DOWNLOADS_URL="mirror://sourceforge/xawdecode" SRC_URI="${DOWNLOADS_URL}/${P}.tar.gz ${DOWNLOADS_URL}/${P}-gcc4-amd64.patch.tar.gz linguas_ca? ( ${DOWNLOADS_URL}/${I18N_CA}.tar.gz aqua_theme? ( ${DOWNLOADS_URL}/${THEME_AQUA_CA}.tar.gz ) carbone_theme? ( ${DOWNLOADS_URL}/${THEME_CARBONE_CA}.tar.gz ) ) linguas_en? ( ${DOWNLOADS_URL}/${I18N_EN}.tar.gz aqua_theme? ( ${DOWNLOADS_URL}/${THEME_AQUA_EN}.tar.gz ) carbone_theme? ( ${DOWNLOADS_URL}/${THEME_CARBONE_EN}.tar.gz ) ) linguas_es? ( ${DOWNLOADS_URL}/${I18N_ES}.tar.gz aqua_theme? ( ${DOWNLOADS_URL}/${THEME_AQUA_ES}.tar.gz ) carbone_theme? ( ${DOWNLOADS_URL}/${THEME_CARBONE_ES}.tar.gz ) ) linguas_fr? ( ${DOWNLOADS_URL}/${I18N_FR}.tar.gz aqua_theme? ( ${DOWNLOADS_URL}/${THEME_AQUA_FR}.tar.gz ) carbone_theme? ( ${DOWNLOADS_URL}/${THEME_CARBONE_FR}.tar.gz ) ) linguas_de? ( ${DOWNLOADS_URL}/${I18N_DE}.tar.gz aqua_theme? ( ${DOWNLOADS_URL}/${THEME_AQUA_DE}.tar.gz ) carbone_theme? ( ${DOWNLOADS_URL}/${THEME_CARBONE_DE}.tar.gz ) ) linguas_ja? ( ${DOWNLOADS_URL}/${I18N_JA}.tar.gz aqua_theme? ( ${DOWNLOADS_URL}/${THEME_AQUA_JA}.tar.gz ) carbone_theme? ( ${DOWNLOADS_URL}/${THEME_CARBONE_JA}.tar.gz ) ) linguas_it? ( ${DOWNLOADS_URL}/${I18N_IT}.tar.gz aqua_theme? ( ${DOWNLOADS_URL}/${THEME_AQUA_IT}.tar.gz ) carbone_theme? ( ${DOWNLOADS_URL}/${THEME_CARBONE_IT}.tar.gz ) ) !linguas_ca? ( !linguas_es? ( !linguas_fr? ( !linguas_de? ( !linguas_ja? ( !linguas_it? ( ${DOWNLOADS_URL}/${I18N_EN}.tar.gz aqua_theme? ( ${DOWNLOADS_URL}/${THEME_AQUA_EN}.tar.gz ) carbone_theme? ( ${DOWNLOADS_URL}/${THEME_CARBONE_EN}.tar.gz ) ) ) ) ) ) )" 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 ) ) ffmpeg? ( >=media-video/ffmpeg-0.4.7 ) xvid? ( =media-libs/xvid-1* ) encode? ( >=media-sound/lame-3.93 ) jpeg? ( media-libs/jpeg ) lirc? ( app-misc/lirc ) alsa? ( >=media-libs/alsa-lib-0.9 ) || ( ( x11-libs/libX11 x11-libs/libXext x11-libs/libXpm x11-libs/libXt x11-libs/libICE x11-libs/libXmu x11-libs/libXxf86vm x11-libs/libXxf86dga x11-libs/libSM x11-libs/libXaw x11-libs/libXv )