media-plugins/vdr-wirbelscan: license, wrong named lib on install fixed
authorJoerg Bornkessel <hd_brummy@gentoo.org>
Tue, 3 Mar 2020 20:13:06 +0000 (21:13 +0100)
committerJoerg Bornkessel <hd_brummy@gentoo.org>
Tue, 3 Mar 2020 20:14:09 +0000 (21:14 +0100)
Package-Manager: Portage-2.3.90, Repoman-2.3.20
Signed-off-by: Joerg Bornkessel <hd_brummy@gentoo.org>
media-plugins/vdr-wirbelscan/vdr-wirbelscan-2018.11.04-r1.ebuild [moved from media-plugins/vdr-wirbelscan/vdr-wirbelscan-2018.11.04.ebuild with 81% similarity]

similarity index 81%
rename from media-plugins/vdr-wirbelscan/vdr-wirbelscan-2018.11.04.ebuild
rename to media-plugins/vdr-wirbelscan/vdr-wirbelscan-2018.11.04-r1.ebuild
index e45baf07b3a5d36bd514fbf635cbe67c0146e0c5..0695d24306f2000775db900ad70055341084b025 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -11,7 +11,7 @@ DESCRIPTION="VDR Plugin: Scan for channels on DVB-? and on PVR*-Cards"
 HOMEPAGE="https://github.com/CvH/vdr-plugin-wirbelscan"
 SRC_URI="https://github.com/CvH/vdr-plugin-wirbelscan/archive/${GIT_VERSION}.tar.gz -> ${P}.tar.gz"
 
-LICENSE="GPL-2"
+LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
@@ -23,6 +23,9 @@ src_prepare() {
        # remove untranslated po files
        rm "${S}"/po/{ca_ES,cs_CZ,da_DK,es_ES,el_GR,et_EE,fi_FI,fr_FR,hr_HR,hu_HU,nl_NL,nn_NO,pl_PL,pt_PT,ro_RO,ru_RU,sl_SI,sv_SE,tr_TR}.po
 
+       # fix wrong named lib on install
+       sed -e "s:\$(shell basename \$(PWD) | cut -d- -f1):wirbelscan:" -i Makefile || die
+
        vdr-plugin-2_src_prepare
 
        fix_vdr_libsi_include scanfilter.h