summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2016-01-23 09:21:46 +0000
committerSven Wegener <swegener@gentoo.org>2016-01-24 23:03:54 +0000
commitbf0e9d0dee4077e1fa014a300f9072813cc52e62 (patch)
tree76d8c2d908020f85b60315cf61c06d6b3198e1fb /media-tv
parentwww-apps/icingaweb2: clean up apache2 usage for bug 572776 (diff)
downloadgentoo-bf0e9d0dee4077e1fa014a300f9072813cc52e62.tar.gz
gentoo-bf0e9d0dee4077e1fa014a300f9072813cc52e62.tar.bz2
gentoo-bf0e9d0dee4077e1fa014a300f9072813cc52e62.zip
media-tv/tvheadend: Move dtv-scan-tables version to variable
Signed-off-by: Sven Wegener <swegener@gentoo.org>
Diffstat (limited to 'media-tv')
-rw-r--r--media-tv/tvheadend/tvheadend-4.0.6.ebuild6
1 files 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 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