pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/multimedia/gst-plugins1-bad
Module Name: pkgsrc
Committed By: adam
Date: Sat Aug 23 12:46:10 UTC 2025
Modified Files:
pkgsrc/multimedia/gst-plugins1-bad: Makefile.common
Log Message:
gst-plugins1-bad: allow building of gl extension
To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 pkgsrc/multimedia/gst-plugins1-bad/Makefile.common
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/multimedia/gst-plugins1-bad/Makefile.common
diff -u pkgsrc/multimedia/gst-plugins1-bad/Makefile.common:1.49 pkgsrc/multimedia/gst-plugins1-bad/Makefile.common:1.50
--- pkgsrc/multimedia/gst-plugins1-bad/Makefile.common:1.49 Tue Aug 20 13:58:33 2024
+++ pkgsrc/multimedia/gst-plugins1-bad/Makefile.common Sat Aug 23 12:46:10 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.49 2024/08/20 13:58:33 adam Exp $
+# $NetBSD: Makefile.common,v 1.50 2025/08/23 12:46:10 adam Exp $
# used by audio/gst-plugins1-dts/Makefile
# used by audio/gst-plugins1-faac/Makefile
# used by audio/gst-plugins1-faad/Makefile
@@ -26,8 +26,9 @@ DISTNAME= gst-plugins-bad-${GST_VERSION}
MASTER_SITES= https://gstreamer.freedesktop.org/src/gst-plugins-bad/
EXTRACT_SUFX= .tar.xz
-USE_LANGUAGES= c c++
-USE_TOOLS+= pkg-config
+USE_CXX_FEATURES= c++11
+USE_LANGUAGES= c c++
+USE_TOOLS+= pkg-config
DISTINFO_FILE= ${.CURDIR}/../../multimedia/gst-plugins1-bad/distinfo
PATCHDIR= ${.CURDIR}/../../multimedia/gst-plugins1-bad/patches
@@ -38,8 +39,6 @@ PATCHDIR= ${.CURDIR}/../../multimedia/gs
FORCE_C_STD= gnu99
FORCE_CXX_STD= gnu++11
-USE_CXX_FEATURES+= c++11
-
PKGCONFIG_OVERRIDE= output/pkgconfig/*.pc
PKGCONFIG_OVERRIDE_STAGE= pre-install
@@ -268,13 +267,15 @@ MESON_ARGS+= -D${i}=disabled
.if defined(GST_EXT_BUILD)
GST_EXT_BASEDIR?= ext
-pre-configure: fix-subdirs
-
+.PHONY: fix-subdirs
fix-subdirs:
${AWK} -f ${.CURDIR}/../../multimedia/gst-plugins1-base/files/only-build-extensions.awk \
- -v basedir=${GST_EXT_BASEDIR} \
- ${WRKSRC}/meson.build > ${WRKSRC}/meson.build.new
+ -v basedir=${GST_EXT_BASEDIR} ${WRKSRC}/meson.build > ${WRKSRC}/meson.build.new
${MV} ${WRKSRC}/meson.build.new ${WRKSRC}/meson.build
+ # This is a hack to correctly build 'gl' extension.
+ ${ECHO} '' > ${WRKSRC}/gst-libs/gst/meson.build
+
+pre-configure: fix-subdirs
post-install:
${RM} -f ${DESTDIR}${PREFIX}/lib/pkgconfig/gstreamer-plugins-bad-1.0.pc
Home |
Main Index |
Thread Index |
Old Index