pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-kivy



Module Name:    pkgsrc
Committed By:   adam
Date:           Sun Nov 26 14:52:31 UTC 2023

Modified Files:
        pkgsrc/devel/py-kivy: Makefile
Added Files:
        pkgsrc/devel/py-kivy: PLIST.Darwin

Log Message:
py-kivy: fix build for Darwin


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/py-kivy/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-kivy/PLIST.Darwin

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

Modified files:

Index: pkgsrc/devel/py-kivy/Makefile
diff -u pkgsrc/devel/py-kivy/Makefile:1.7 pkgsrc/devel/py-kivy/Makefile:1.8
--- pkgsrc/devel/py-kivy/Makefile:1.7   Mon Nov 20 16:42:43 2023
+++ pkgsrc/devel/py-kivy/Makefile       Sun Nov 26 14:52:31 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2023/11/20 16:42:43 gdt Exp $
+# $NetBSD: Makefile,v 1.8 2023/11/26 14:52:31 adam Exp $
 
 DISTNAME=      Kivy-2.2.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
@@ -42,14 +42,17 @@ TEST_DEPENDS+=      ${PYPKGPREFIX}-test-bench
 #pre-configure:
 #      ${CHMOD} -R go-w ${WRKSRC}
 
+.include "../../mk/bsd.prefs.mk"
+
 # Include various packages needed for SDL2.
 .include "../../audio/SDL2_mixer/buildlink3.mk"
 .include "../../audio/SDL2_sound/buildlink3.mk"
 .include "../../fonts/SDL2_ttf/buildlink3.mk"
 .include "../../graphics/SDL2_image/buildlink3.mk"
 .include "../../devel/pango/buildlink3.mk"
-
+.if ${OPSYS} != "Darwin"
 .include "../../graphics/MesaLib/buildlink3.mk"
+.endif
 .include "../../lang/python/wheel.mk"
 .include "../../multimedia/gstreamer1/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Added files:

Index: pkgsrc/devel/py-kivy/PLIST.Darwin
diff -u /dev/null pkgsrc/devel/py-kivy/PLIST.Darwin:1.1
--- /dev/null   Sun Nov 26 14:52:31 2023
+++ pkgsrc/devel/py-kivy/PLIST.Darwin   Sun Nov 26 14:52:31 2023
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST.Darwin,v 1.1 2023/11/26 14:52:31 adam Exp $
+${PYSITELIB}/kivy/core/camera/camera_avfoundation.so
+${PYSITELIB}/kivy/core/image/img_imageio.so



Home | Main Index | Thread Index | Old Index