summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2019-11-27 13:46:53 +0000
committernia <nia@pkgsrc.org>2019-11-27 13:46:53 +0000
commit10404eed7909039c5b0cb3c190688a797d3eaad6 (patch)
treef1bf1bac5379388a6c9bf1883eb93993d399665b /multimedia
parent3db17808f03cb17c6972adec6cc6d43a33161d7e (diff)
downloadpkgsrc-10404eed7909039c5b0cb3c190688a797d3eaad6.tar.gz
libvdpau: Fix PKGCONFIG_OVERRIDE for meson
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/libvdpau/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/multimedia/libvdpau/Makefile b/multimedia/libvdpau/Makefile
index a0d6c453f5f..b8575b7dfa3 100644
--- a/multimedia/libvdpau/Makefile
+++ b/multimedia/libvdpau/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2019/11/27 13:41:54 nia Exp $
+# $NetBSD: Makefile,v 1.17 2019/11/27 13:46:53 nia Exp $
DISTNAME= libvdpau-1.3
CATEGORIES= multimedia
@@ -13,14 +13,15 @@ LICENSE= mit
USE_TOOLS+= pkg-config
USE_LANGUAGES= c c++
-#PKGCONFIG_OVERRIDE+= vdpau.pc.in
-
EGDIR= ${PREFIX}/share/examples/libvdpau
CONF_FILES= ${EGDIR}/vdpau_wrapper.cfg \
${PKG_SYSCONFDIR}/vdpau_wrapper.cfg
MESON_ARGS+= -Degdir=${EGDIR}
+PKGCONFIG_OVERRIDE_STAGE= pre-install
+PKGCONFIG_OVERRIDE+= output/meson-private/vdpau.pc
+
.include "available.mk"
.if ${VDPAU_AVAILABLE} == no