From: Sven Wegener Date: Sat, 23 Jan 2016 09:21:46 +0000 (+0000) Subject: media-tv/tvheadend: Move dtv-scan-tables version to variable X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bf0e9d0dee4077e1fa014a300f9072813cc52e62;p=gentoo.git media-tv/tvheadend: Move dtv-scan-tables version to variable Signed-off-by: Sven Wegener --- diff --git a/media-tv/tvheadend/tvheadend-4.0.6.ebuild b/media-tv/tvheadend/tvheadend-4.0.6.ebuild index ec2928533253..3074292a07a4 100644 --- a/media-tv/tvheadend/tvheadend-4.0.6.ebuild +++ b/media-tv/tvheadend/tvheadend-4.0.6.ebuild @@ -6,10 +6,12 @@ EAPI=5 inherit eutils linux-info systemd toolchain-funcs user +DTV_SCAN_TABLES_VERSION="2015-02-08-f2053b3" + DESCRIPTION="Tvheadend is a TV streaming server and digital video recorder" HOMEPAGE="https://tvheadend.org/" SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz - dvbscan? ( http://linuxtv.org/downloads/dtv-scan-tables/dtv-scan-tables-2015-02-08-f2053b3.tar.bz2 )" + dvbscan? ( http://linuxtv.org/downloads/dtv-scan-tables/dtv-scan-tables-${DTV_SCAN_TABLES_VERSION}.tar.bz2 )" LICENSE="GPL-3" SLOT="0" @@ -47,7 +49,7 @@ src_unpack() { if use dvbscan; then mkdir "${S}/data/dvb-scan" || die cd "${T}" || die - unpack dtv-scan-tables-2015-02-08-f2053b3.tar.bz2 + unpack dtv-scan-tables-${DTV_SCAN_TABLES_VERSION}.tar.bz2 rmdir "${S}/data/dvb-scan" || die mv "${T}/usr/share/dvb" "${S}/data/dvb-scan" || die