summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Bornkessel <hd_brummy@gentoo.org>2020-03-03 21:13:06 +0100
committerJoerg Bornkessel <hd_brummy@gentoo.org>2020-03-03 21:14:09 +0100
commit6434a98ae8553756339f11668aae3a247cef1d53 (patch)
tree7ae7d7ac6d9eee1693ba45c93b12c6c27ef96c4e /media-plugins/vdr-wirbelscan/vdr-wirbelscan-2018.11.04-r1.ebuild
parentdev-lang/php: Use relative symlinks; whitespace (diff)
downloadgentoo-6434a98ae8553756339f11668aae3a247cef1d53.tar.gz
gentoo-6434a98ae8553756339f11668aae3a247cef1d53.tar.bz2
gentoo-6434a98ae8553756339f11668aae3a247cef1d53.zip
media-plugins/vdr-wirbelscan: license, wrong named lib on install fixed
Package-Manager: Portage-2.3.90, Repoman-2.3.20 Signed-off-by: Joerg Bornkessel <hd_brummy@gentoo.org>
Diffstat (limited to 'media-plugins/vdr-wirbelscan/vdr-wirbelscan-2018.11.04-r1.ebuild')
-rw-r--r--media-plugins/vdr-wirbelscan/vdr-wirbelscan-2018.11.04-r1.ebuild33
1 files changed, 33 insertions, 0 deletions
diff --git a/media-plugins/vdr-wirbelscan/vdr-wirbelscan-2018.11.04-r1.ebuild b/media-plugins/vdr-wirbelscan/vdr-wirbelscan-2018.11.04-r1.ebuild
new file mode 100644
index 000000000000..0695d24306f2
--- /dev/null
+++ b/media-plugins/vdr-wirbelscan/vdr-wirbelscan-2018.11.04-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit vdr-plugin-2
+
+GIT_VERSION="e1377b95312a138a41f93d7b06b3adb4ed4e7324"
+
+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+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND=">=media-video/vdr-2.4"
+
+S="${WORKDIR}/vdr-plugin-wirbelscan-${GIT_VERSION}"
+
+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
+ fix_vdr_libsi_include scanfilter.c
+}