pkgsrc-Changes archive

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

CVS commit: pkgsrc/multimedia/svt-av1



Module Name:    pkgsrc
Committed By:   tnn
Date:           Fri Mar 27 21:19:28 UTC 2026

Modified Files:
        pkgsrc/multimedia/svt-av1: Makefile

Log Message:
svt-av1: nasm dependency is x86-specific


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/multimedia/svt-av1/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/svt-av1/Makefile
diff -u pkgsrc/multimedia/svt-av1/Makefile:1.11 pkgsrc/multimedia/svt-av1/Makefile:1.12
--- pkgsrc/multimedia/svt-av1/Makefile:1.11     Sat Aug 30 04:40:05 2025
+++ pkgsrc/multimedia/svt-av1/Makefile  Fri Mar 27 21:19:27 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2025/08/30 04:40:05 ryoon Exp $
+# $NetBSD: Makefile,v 1.12 2026/03/27 21:19:27 tnn Exp $
 
 DISTNAME=      svt-av1-3.1.2
 CATEGORIES=    multimedia
@@ -10,8 +10,6 @@ HOMEPAGE=     https://gitlab.gnome.org/AOMed
 COMMENT=       Scalable Video Technology for AV1 (SVT-AV1 Encoder and Decoder)
 LICENSE=       modified-bsd
 
-TOOL_DEPENDS+= nasm-[0-9]*:../../devel/nasm
-
 GITLAB_PROJECT=        SVT-AV1
 GITLAB_TAG=    v${PKGVERSION_NOREV}
 
@@ -24,5 +22,11 @@ CMAKE_CONFIGURE_ARGS+=       -DCMAKE_POLICY_VE
 
 PKGCONFIG_OVERRIDE+=   Source/Lib/pkg-config.pc.in
 
+.include "../../mk/bsd.prefs.mk"
+
+.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
+TOOL_DEPENDS+=         nasm-[0-9]*:../../devel/nasm
+.endif
+
 .include "../../devel/cmake/build.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index