pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/blender



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Fri Feb  4 16:47:52 UTC 2022

Modified Files:
        pkgsrc/graphics/blender: Makefile options.mk

Log Message:
blender: Add pulseaudio option and depend on graphics/potrace

If audio/pulseaudio is already installed, the build fails by pulse/pulseaudio.h not found error.
The pulseaudio option is disabled by default.

Bump PKGREVISION by dependency change.


To generate a diff of this commit:
cvs rdiff -u -r1.183 -r1.184 pkgsrc/graphics/blender/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/graphics/blender/options.mk

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

Modified files:

Index: pkgsrc/graphics/blender/Makefile
diff -u pkgsrc/graphics/blender/Makefile:1.183 pkgsrc/graphics/blender/Makefile:1.184
--- pkgsrc/graphics/blender/Makefile:1.183      Mon Jan 10 01:46:33 2022
+++ pkgsrc/graphics/blender/Makefile    Fri Feb  4 16:47:52 2022
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.183 2022/01/10 01:46:33 ryoon Exp $
+# $NetBSD: Makefile,v 1.184 2022/02/04 16:47:52 ryoon Exp $
 
 DISTNAME=      blender-2.93.5
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    graphics
 MASTER_SITES=  https://download.blender.org/source/
 EXTRACT_SUFX=  .tar.xz
@@ -78,6 +78,7 @@ pre-configure:
 .include "../../graphics/opencolorio/buildlink3.mk"
 .include "../../graphics/openimageio/buildlink3.mk"
 .include "../../graphics/openjpeg/buildlink3.mk"
+.include "../../graphics/potrace/buildlink3.mk"
 .include "../../graphics/png/buildlink3.mk"
 .include "../../graphics/tiff/buildlink3.mk"
 .include "../../math/fftw/buildlink3.mk"

Index: pkgsrc/graphics/blender/options.mk
diff -u pkgsrc/graphics/blender/options.mk:1.8 pkgsrc/graphics/blender/options.mk:1.9
--- pkgsrc/graphics/blender/options.mk:1.8      Wed Sep 18 23:40:17 2019
+++ pkgsrc/graphics/blender/options.mk  Fri Feb  4 16:47:52 2022
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.8 2019/09/18 23:40:17 nia Exp $
+# $NetBSD: options.mk,v 1.9 2022/02/04 16:47:52 ryoon Exp $
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.blender
-PKG_SUPPORTED_OPTIONS=         jack
+PKG_SUPPORTED_OPTIONS=         jack pulseaudio
 
 .include "../../mk/bsd.options.mk"
 
@@ -12,3 +12,11 @@ CMAKE_ARGS+= -DWITH_JACK_DYNLOAD=OFF
 .else
 CMAKE_ARGS+=   -DWITH_JACK=OFF
 .endif
+
+.if !empty(PKG_OPTIONS:Mpulseaudio)
+CMAKE_ARGS+=   -DWITH_PULSEAUDIO=ON
+CMAKE_ARGS+=   -DWITH_PULSEAUDIO_DYNLOAD=OFF
+.include "../../audio/pulseaudio/buildlink3.mk"
+.else
+CMAKE_ARGS+=   -DWITH_PULSEAUDIO=OFF
+.endif



Home | Main Index | Thread Index | Old Index