1
0
forked from jengelh/libcamera

POSIX sh compat: drop use of pushd

This commit is contained in:
2025-03-20 13:18:02 +01:00
parent 314d8074f9
commit 7dabd86819
2 changed files with 12 additions and 8 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Mar 20 12:19:00 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Make build recipe POSIX sh compatible
-------------------------------------------------------------------
Thu Mar 20 10:48:50 UTC 2025 - Guillaume GARDET <guillaume.gardet@opensuse.org>

View File

@@ -154,26 +154,25 @@ export CC=gcc-11
export CXX=g++-11
%endif
%meson \
-Ddocumentation=disabled \
-Ddocumentation=disabled \
%if "@BUILD_FLAVOR@" != ""
-Dqcam=enabled \
-Dqcam=enabled \
%else
-Dqcam=disabled \
-Dqcam=disabled \
%endif
-Dv4l2=false -Dtracing=disabled \
-Dpipelines=ipu3,rkisp1,simple,uvcvideo,vimc \
-Dlc-compliance=disabled
-Dv4l2=false -Dtracing=disabled \
-Dpipelines=ipu3,rkisp1,simple,uvcvideo,vimc \
-Dlc-compliance=disabled
%meson_build
%install
%meson_install
pushd "%buildroot"
cd "%buildroot"
%if "@BUILD_FLAVOR@" != ""
find . ! -type d ! -path ./usr/bin/cam ! -path ./usr/bin/qcam -print -delete
%else
rm -v usr/bin/cam
%endif
popd
%ldconfig_scriptlets -n %lname
%ldconfig_scriptlets -n %lname_base