summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-06-18 23:03:21 +0200
committerDavid Seifert <soap@gentoo.org>2021-06-18 23:03:21 +0200
commit0205e5c5d31343cefde708ab3da92193a4467504 (patch)
tree6be053fe6a586b058ae81b4af7075edea08f9c2e /media-plugins/vdr-wirbelscan
parentmedia-plugins/vdr-imonlcd: respect PKG_CONFIG (diff)
downloadgentoo-0205e5c5d31343cefde708ab3da92193a4467504.tar.gz
gentoo-0205e5c5d31343cefde708ab3da92193a4467504.tar.bz2
gentoo-0205e5c5d31343cefde708ab3da92193a4467504.zip
media-plugins/vdr-wirbelscan: respect PKG_CONFIG
Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'media-plugins/vdr-wirbelscan')
-rw-r--r--media-plugins/vdr-wirbelscan/files/wirbelscan.mk2
-rw-r--r--media-plugins/vdr-wirbelscan/vdr-wirbelscan-0.0.7-r1.ebuild7
2 files changed, 6 insertions, 3 deletions
diff --git a/media-plugins/vdr-wirbelscan/files/wirbelscan.mk b/media-plugins/vdr-wirbelscan/files/wirbelscan.mk
index 0d7706769f3b..59095922939d 100644
--- a/media-plugins/vdr-wirbelscan/files/wirbelscan.mk
+++ b/media-plugins/vdr-wirbelscan/files/wirbelscan.mk
@@ -15,7 +15,7 @@ VERSION = $(shell grep 'static const char \*VERSION *=' $(PLUGIN).c | awk '{ pri
### The directory environment:
# Use package data if installed...otherwise assume we're under the VDR source directory:
-PKGCFG = $(if $(VDRDIR),$(shell pkg-config --variable=$(1) $(VDRDIR)/vdr.pc),$(shell pkg-config --variable=$(1) vdr || pkg-config --variable=$(1) ../../../vdr.pc))
+PKGCFG = $(if $(VDRDIR),$(shell ${PKG_CONFIG} --variable=$(1) $(VDRDIR)/vdr.pc),$(shell pkg-config --variable=$(1) vdr || pkg-config --variable=$(1) ../../../vdr.pc))
LIBDIR = $(call PKGCFG,libdir)
LOCDIR = $(call PKGCFG,locdir)
PLGCFG = $(call PKGCFG,plgcfg)
diff --git a/media-plugins/vdr-wirbelscan/vdr-wirbelscan-0.0.7-r1.ebuild b/media-plugins/vdr-wirbelscan/vdr-wirbelscan-0.0.7-r1.ebuild
index 7920122c681b..493e2988151f 100644
--- a/media-plugins/vdr-wirbelscan/vdr-wirbelscan-0.0.7-r1.ebuild
+++ b/media-plugins/vdr-wirbelscan/vdr-wirbelscan-0.0.7-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit vdr-plugin-2
+inherit toolchain-funcs vdr-plugin-2
DESCRIPTION="VDR Plugin: Scan for channels on DVB-? and on PVR*-Cards"
HOMEPAGE="https://github.com/CvH/vdr-plugin-wirbelscan"
@@ -14,6 +14,7 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND=">=media-video/vdr-2"
+BDEPEND="virtual/pkgconfig"
src_prepare() {
# remove untranslated po files
@@ -24,6 +25,8 @@ src_prepare() {
eapply "${FILESDIR}/receiver-api-fixes.patch"
+ tc-export PKG_CONFIG
+
vdr-plugin-2_src_prepare
fix_vdr_libsi_include scanfilter.h