gnu: python-libfreenect: Fix build with gcc-1.14.

* gnu/packages/openkinect.scm (python-libfreenect):
[arguments] <configure-flags>: Add relaxation for GCC 1.14 strictness,
sort alphabetically.
[native-inputs]: Remove python-cython; add python-cython-0.

Change-Id: I0a2f3a1e2073f8bd9c2244f9bf8b01db0e6b004a
This commit is contained in:
Sharlatan Hellseher 2025-11-25 12:13:08 +00:00
parent 8164aaa13c
commit 69d708ff28
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -123,7 +123,7 @@ library")))
(inherit libfreenect)
(name "python-libfreenect")
(native-inputs
(list python-cython))
(list python-cython-0))
(inputs
(list libfreenect))
(propagated-inputs
@ -131,11 +131,13 @@ library")))
(arguments
`(#:tests? #f ; package has no tests
#:configure-flags '("-DBUILD_EXAMPLES=OFF"
"-DBUILD_FAKENECT=OFF"
"-DBUILD_CPP=OFF"
"-DBUILD_C_SYNC=OFF"
"-DBUILD_CV=OFF"
"-DBUILD_PYTHON3=ON")
"-DBUILD_C_SYNC=OFF"
"-DBUILD_FAKENECT=OFF"
"-DBUILD_PYTHON3=ON"
;; Relax gcc-14's strictness.
"-DCMAKE_C_FLAGS=-Wno-error=int-conversion")
#:phases ,libfreenect-derived-phases))
(synopsis "Python wrapper for libfreenect, the Xbox Kinect device
library")))