pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/multimedia/libva



Module Name:    pkgsrc
Committed By:   nia
Date:           Fri Feb 21 10:19:08 UTC 2025

Modified Files:
        pkgsrc/multimedia/libva: Makefile

Log Message:
libva: Fix building with clang on FreeBSD.

While here, skip building the package on platforms where
the API is unavailable.

via drecklypkg


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 pkgsrc/multimedia/libva/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/multimedia/libva/Makefile
diff -u pkgsrc/multimedia/libva/Makefile:1.37 pkgsrc/multimedia/libva/Makefile:1.38
--- pkgsrc/multimedia/libva/Makefile:1.37       Sat Jul 13 08:44:20 2024
+++ pkgsrc/multimedia/libva/Makefile    Fri Feb 21 10:19:08 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.37 2024/07/13 08:44:20 adam Exp $
+# $NetBSD: Makefile,v 1.38 2025/02/21 10:19:08 nia Exp $
 
 DISTNAME=      libva-2.22.0
 CATEGORIES=    multimedia
@@ -14,13 +14,18 @@ LICENSE=    mit
 GNU_CONFIGURE= yes
 USE_LIBTOOL=   yes
 USE_TOOLS+=    gmake pkg-config
+USE_LANGUAGES= c c++
 
 USE_CC_FEATURES=       c99
 
 # error: 'for' loop initial declarations are only allowed in C99 mode
 FORCE_C_STD=           gnu99
 
-.include "../../mk/bsd.prefs.mk"
+.include "available.mk"
+
+.if ${VAAPI_AVAILABLE:tl} == "no"
+PKG_SKIP_REASON+=      "VAAPI unavailable on this platform"
+.endif
 
 #
 # vaapi drivers (e.g. intel-vaapi-driver) can be installed under



Home | Main Index | Thread Index | Old Index