mirror of
https://github.com/dguglielmi/sunny-overlay.git
synced 2025-12-06 09:32:37 +01:00
media-libs/libcamera: run python_optimize only when USE=python
This commit is contained in:
@@ -80,13 +80,14 @@ src_configure() {
|
||||
local emesonargs=(
|
||||
-Dandroid=disabled
|
||||
$(meson_feature app cam)
|
||||
#$(meson_feature doc documentation)
|
||||
# Building documentation is broken
|
||||
# $(meson_feature doc documentation)
|
||||
-Ddocumentation=disabled
|
||||
$(meson_feature gstreamer)
|
||||
$(meson_feature python pycamera)
|
||||
$(meson_feature qt6 qcam)
|
||||
$(meson_feature udev)
|
||||
# depend on libyuv
|
||||
# Depend on libyuv
|
||||
#$(meson_use test)
|
||||
-Dtest=false
|
||||
-Dpipelines=imx8-isi,ipu3,mali-c55,rkisp1,rpi/vc4,simple,uvcvideo,vimc
|
||||
@@ -98,5 +99,7 @@ src_configure() {
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
if use python; then
|
||||
python_optimize "${D}/$(python_get_sitedir)/libcamera"
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user