commit:     bf0e9d0dee4077e1fa014a300f9072813cc52e62
Author:     Sven Wegener <swegener <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 23 09:21:46 2016 +0000
Commit:     Sven Wegener <swegener <AT> gentoo <DOT> org>
CommitDate: Sun Jan 24 23:03:54 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf0e9d0d

media-tv/tvheadend: Move dtv-scan-tables version to variable

Signed-off-by: Sven Wegener <swegener <AT> gentoo.org>

 media-tv/tvheadend/tvheadend-4.0.6.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/media-tv/tvheadend/tvheadend-4.0.6.ebuild 
b/media-tv/tvheadend/tvheadend-4.0.6.ebuild
index ec29285..3074292 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
 

Reply via email to