Diff vdr-wirbelscan-0.0.7-r1 with a vdr-wirbelscan-2018.11.04-r1

/usr/portage/media-plugins/vdr-wirbelscan/vdr-wirbelscan-2018.11.04-r1.ebuild 2023-10-09 14:52:31.756368407 +0300
1
# Copyright 1999-2021 Gentoo Authors
1
# Copyright 1999-2020 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=7
5 5

  
6
inherit toolchain-funcs vdr-plugin-2
6
inherit vdr-plugin-2
7

  
8
GIT_VERSION="e1377b95312a138a41f93d7b06b3adb4ed4e7324"
7 9

  
8 10
DESCRIPTION="VDR Plugin: Scan for channels on DVB-? and on PVR*-Cards"
9 11
HOMEPAGE="https://github.com/CvH/vdr-plugin-wirbelscan"
10
SRC_URI="http://wirbel.htpc-forum.de/wirbelscan/${P}.tgz"
12
SRC_URI="https://github.com/CvH/vdr-plugin-wirbelscan/archive/${GIT_VERSION}.tar.gz -> ${P}.tar.gz"
11 13

  
12
LICENSE="GPL-2"
14
LICENSE="GPL-2+"
13 15
SLOT="0"
14 16
KEYWORDS="~amd64 ~x86"
15 17

  
16
DEPEND=">=media-video/vdr-2"
17
BDEPEND="virtual/pkgconfig"
18
DEPEND=">=media-video/vdr-2.4"
19

  
20
S="${WORKDIR}/vdr-plugin-wirbelscan-${GIT_VERSION}"
18 21

  
19 22
src_prepare() {
20 23
	# remove untranslated po files
21 24
	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
22 25

  
23
	# new Makefile handling
24
	cp "${FILESDIR}/wirbelscan.mk" "${S}/Makefile"
25

  
26
	eapply "${FILESDIR}/receiver-api-fixes.patch"
27

  
28
	tc-export PKG_CONFIG
26
	# fix wrong named lib on install
27
	sed -e "s:\$(shell basename \$(PWD) | cut -d- -f1):wirbelscan:" -i Makefile || die
29 28

  
30 29
	vdr-plugin-2_src_prepare
31 30

  
32 31
	fix_vdr_libsi_include scanfilter.h
33 32
	fix_vdr_libsi_include scanfilter.c
34
	fix_vdr_libsi_include caDescriptor.h
35 33
}
Thank you!