Skip to content

Commit

Permalink
media-tv/tvheadend: Move dtv-scan-tables version to variable
Browse files Browse the repository at this point in the history
Signed-off-by: Sven Wegener <[email protected]>
  • Loading branch information
swegener committed Jan 24, 2016
1 parent 18c3a51 commit bf0e9d0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions media-tv/tvheadend/tvheadend-4.0.6.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit bf0e9d0

Please sign in to comment.