diff options
author | Sam James <sam@gentoo.org> | 2021-06-18 23:06:50 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2021-06-18 23:06:50 +0200 |
commit | 69b7769cd8060101f41193f5cf5cf9af7d9741b7 (patch) | |
tree | 0c7e7a768ea00406f5b9d5dcea4fdd3eb7107c7a /media-plugins | |
parent | dev-lang/ghc: respect ${PKG_CONFIG} (diff) | |
download | gentoo-69b7769cd8060101f41193f5cf5cf9af7d9741b7.tar.gz gentoo-69b7769cd8060101f41193f5cf5cf9af7d9741b7.tar.bz2 gentoo-69b7769cd8060101f41193f5cf5cf9af7d9741b7.zip |
media-plugins/vdr-xineliboutput: respect ${PKG_CONFIG}
Package-Manager: Portage-3.0.18-prefix, Repoman-3.0.3
Signed-off-by: Sam James <sam@gentoo.org>
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'media-plugins')
-rw-r--r-- | media-plugins/vdr-xineliboutput/vdr-xineliboutput-2.2.0-r4.ebuild | 6 | ||||
-rw-r--r-- | media-plugins/vdr-xineliboutput/vdr-xineliboutput-9999.ebuild | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/media-plugins/vdr-xineliboutput/vdr-xineliboutput-2.2.0-r4.ebuild b/media-plugins/vdr-xineliboutput/vdr-xineliboutput-2.2.0-r4.ebuild index b9d615c9322d..fb37a10e6c22 100644 --- a/media-plugins/vdr-xineliboutput/vdr-xineliboutput-2.2.0-r4.ebuild +++ b/media-plugins/vdr-xineliboutput/vdr-xineliboutput-2.2.0-r4.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit vdr-plugin-2 +inherit toolchain-funcs vdr-plugin-2 GENTOO_VDR_CONDITIONAL=yes @@ -43,7 +43,6 @@ COMMON_DEPEND=" )" DEPEND="${COMMON_DEPEND} - virtual/pkgconfig sys-kernel/linux-headers nls? ( sys-devel/gettext ) xine? ( @@ -53,6 +52,7 @@ DEPEND="${COMMON_DEPEND} ) )" RDEPEND="${COMMON_DEPEND}" +BDEPEND="virtual/pkgconfig" REQUIRED_USE=" || ( vdr xine )" @@ -62,7 +62,7 @@ pkg_setup() { vdr-plugin-2_pkg_setup if use xine; then - XINE_PLUGIN_DIR=$(pkg-config --variable=plugindir libxine) + XINE_PLUGIN_DIR=$($(tc-getPKG_CONFIG) --variable=plugindir libxine) [ -z "${XINE_PLUGIN_DIR}" ] && die "Could not find xine plugin dir" fi } diff --git a/media-plugins/vdr-xineliboutput/vdr-xineliboutput-9999.ebuild b/media-plugins/vdr-xineliboutput/vdr-xineliboutput-9999.ebuild index b81bf629a3f0..bc97c78bee09 100644 --- a/media-plugins/vdr-xineliboutput/vdr-xineliboutput-9999.ebuild +++ b/media-plugins/vdr-xineliboutput/vdr-xineliboutput-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -44,7 +44,6 @@ COMMON_DEPEND=" cec? ( dev-libs/libcec )" DEPEND="${COMMON_DEPEND} - virtual/pkgconfig sys-kernel/linux-headers nls? ( sys-devel/gettext ) xine? ( @@ -54,6 +53,7 @@ DEPEND="${COMMON_DEPEND} ) )" RDEPEND="${COMMON_DEPEND}" +BDEPEND="virtual/pkgconfig" S=${WORKDIR}/${P} @@ -67,7 +67,7 @@ pkg_setup() { vdr-plugin-2_pkg_setup if use xine; then - XINE_PLUGIN_DIR=$(pkg-config --variable=plugindir libxine) + XINE_PLUGIN_DIR=$($(tc-getPKG_CONFIG) --variable=plugindir libxine) [ -z "${XINE_PLUGIN_DIR}" ] && die "Could not find xine plugin dir" fi } |