1
0
mirror of https://github.com/dguglielmi/sunny-overlay.git synced 2025-12-06 20:22:38 +01:00

Compare commits

..

6 Commits

15 changed files with 69 additions and 153 deletions

View File

@@ -1,2 +1 @@
DIST libcamera-0.3.2_p20241219.tar.bz2 1313867 BLAKE2B 119075d37464e236bb1cfb94f9703b3f912e3df533e5bee55a0b169bbb3fb371fd0fbd95db39728fc51c5f4e99ad68723bf6c59db76200052e44740364f16202 SHA512 f54c140ea63b0c29b6d6a81b6b308dd7a22cebe908527607309b28f579f9e1b476e185956f1f5ebbaf0f229ad91d0f6fcf6bb78606517cb85d3a805be1fcb373 DIST libcamera-v0.4.0.tar.bz2 1315742 BLAKE2B 284bffbaf9f5e7235c9835717c601d346fbb67c326e4a4f42281a4da2d75cc915166f7fd3267f0dc87eda883ecff684c51338ed5212427a7f24b27ba9c8056f0 SHA512 dd097461cc5bc834cdd6c43e872a32aee55ee7276b850600d705461aa9279144163b6d0374a63b27bec3f866973d4a44a9f89eacf1d40468a33faec1ffbc75b4
DIST libcamera-v0.3.2.tar.bz2 1257110 BLAKE2B 5f825c76abf1030c88756036f8510dcc553db34c013ebd8a38b3c7837579edf678bde564380af8c43f8d5b032523b96980d7bc4e7882dca29a9542d44130525c SHA512 7f2af3e8e18be215506a9302a5c882da34dd1b40ff1effe90438f8bb53c7b73a9e8ccb1d2fcc3ab551e0dfce72582a49d8db8da19de7128a20b36ff60c3bba75

View File

@@ -1,87 +0,0 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..13} )
inherit meson python-single-r1
COMMIT_ID="e37830925130afd541449ed22df0bc952c19a94a"
DESCRIPTION="An open source camera stack and framework for Linux, Android, and ChromeOS"
HOMEPAGE="https://libcamera.org/"
SRC_URI="
https://gitlab.freedesktop.org/camera/libcamera/-/archive/${COMMIT_ID}.tar.bz2
-> ${P}.tar.bz2
"
S="${WORKDIR}/${PN}-${COMMIT_ID}"
LICENSE="LGPL-2.1+"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+app debug doc gstreamer python qt6 test udev"
DEPEND="
$(python_gen_cond_dep '
dev-python/pyyaml[${PYTHON_USEDEP}]
dev-python/pybind11[${PYTHON_USEDEP}]
')
app? (
dev-libs/libevent
media-libs/libsdl2
media-libs/libjpeg-turbo
x11-libs/libdrm
)
doc? (
app-text/doxygen
dev-python/sphinx
dev-texlive/texlive-latexextra
media-gfx/graphviz
)
gstreamer? ( media-libs/gst-plugins-base )
qt6? (
dev-qt/qtbase[gui,opengl,widgets]
media-libs/tiff
)
udev? ( virtual/libudev )
"
BDEPEND="dev-libs/openssl"
RDEPEND="
${DEPEND}
${PYTHON_DEPS}
"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RESTRICT="!test? ( test )"
src_prepare() {
if use python; then
sed -i -e "/destdir =/s#destdir =.*#destdir = '"$(python_get_sitedir)"/libcamera'#g" \
src/py/libcamera/meson.build || die
fi
default
}
src_configure() {
local emesonargs=(
-Dandroid=disabled
$(meson_feature app cam)
$(meson_feature doc documentation)
$(meson_feature gstreamer)
$(meson_feature python pycamera)
$(meson_feature qt6 qcam)
$(meson_feature udev)
$(meson_use test)
-Dbuildtype=$(usex debug debug plain)
-Dv4l2=true
)
meson_src_configure
}
src_install() {
meson_src_install
python_optimize "${D}/$(python_get_sitedir)/libcamera"
}

View File

@@ -16,44 +16,60 @@ LICENSE="LGPL-2.1+"
SLOT="0" SLOT="0"
KEYWORDS="~amd64" KEYWORDS="~amd64"
IUSE="+app debug doc gstreamer python qt6 test udev" IUSE="+app debug gstreamer python qt6 trace udev unwind +v4l2"
#IUSE=+" doc test"
DEPEND=" DEPEND="
$(python_gen_cond_dep ' dev-libs/libyaml:=
dev-python/pyyaml[${PYTHON_USEDEP}] || (
dev-python/pybind11[${PYTHON_USEDEP}] dev-libs/openssl
') net-libs/gnutls
)
app? ( app? (
dev-libs/libevent dev-libs/libevent:=
x11-libs/libdrm:=
media-libs/libjpeg-turbo:=
media-libs/libsdl2 media-libs/libsdl2
media-libs/libjpeg-turbo
x11-libs/libdrm
) )
doc? ( debug? ( dev-libs/elfutils:= )
app-text/doxygen gstreamer? (
dev-python/sphinx media-libs/gstreamer:=
dev-texlive/texlive-latexextra media-libs/gst-plugins-base )
media-gfx/graphviz
)
gstreamer? ( media-libs/gst-plugins-base )
qt6? ( qt6? (
dev-qt/qtbase[gui,opengl,widgets] dev-qt/qtbase[gui,opengl,widgets]
media-libs/tiff media-libs/tiff
) )
python? (
$(python_gen_cond_dep '
dev-python/jinja2[${PYTHON_USEDEP}]
dev-python/ply[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
dev-python/pybind11[${PYTHON_USEDEP}]
')
)
trace? ( dev-util/lttng-ust:= )
udev? ( virtual/libudev ) udev? ( virtual/libudev )
unwind? ( sys-libs/libunwind:= )
" "
BDEPEND="dev-libs/openssl" #BDPEND="
# doc? (
# app-text/doxygen[dot]
# dev-python/sphinx
# dev-texlive/texlive-latexextra
# )
#"
RDEPEND=" RDEPEND="
${DEPEND} ${DEPEND}
${PYTHON_DEPS} python? ( ${PYTHON_DEPS} )
trace? ( dev-util/lttng-tools )
" "
REQUIRED_USE="${PYTHON_REQUIRED_USE}" REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RESTRICT="!test? ( test )"
src_prepare() { src_prepare() {
if use python; then if use python; then
sed -i -e "/destdir =/s#destdir =.*#destdir = '"$(python_get_sitedir)"/libcamera'#g" \ sed -i -e \
"/^destdir =/s#=.*#= '$(python_get_sitedir)/libcamera'#g" \
src/py/libcamera/meson.build || die src/py/libcamera/meson.build || die
fi fi
@@ -64,14 +80,18 @@ src_configure() {
local emesonargs=( local emesonargs=(
-Dandroid=disabled -Dandroid=disabled
$(meson_feature app cam) $(meson_feature app cam)
$(meson_feature doc documentation) #$(meson_feature doc documentation)
-Ddocumentation=disabled
$(meson_feature gstreamer) $(meson_feature gstreamer)
$(meson_feature python pycamera) $(meson_feature python pycamera)
$(meson_feature qt6 qcam) $(meson_feature qt6 qcam)
$(meson_feature udev) $(meson_feature udev)
$(meson_use test) # depend on libyuv
#$(meson_use test)
-Dtest=false
-Dpipelines=imx8-isi,ipu3,mali-c55,rkisp1,rpi/vc4,simple,uvcvideo,vimc
-Dbuildtype=$(usex debug debug plain) -Dbuildtype=$(usex debug debug plain)
-Dv4l2=true $(meson_use v4l2)
) )
meson_src_configure meson_src_configure
} }

View File

@@ -7,6 +7,8 @@
</maintainer> </maintainer>
<use> <use>
<flag name="app">Build cam cli utility</flag> <flag name="app">Build cam cli utility</flag>
<flag name="trace">Enable tracing support</flag>
<flag name="v4l2">Enable v4l2 support</flag>
</use> </use>
<upstream> <upstream>
<remote-id type="freedesktop-gitlab">camera/libcamera</remote-id> <remote-id type="freedesktop-gitlab">camera/libcamera</remote-id>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,17 +0,0 @@
BDEPEND=dev-libs/openssl >=dev-build/meson-1.2.3 app-alternatives/ninja dev-build/meson-format-array
DEFINED_PHASES=compile configure install prepare setup test
DEPEND=python_single_target_python3_10? ( dev-python/pyyaml[python_targets_python3_10(-)] dev-python/pybind11[python_targets_python3_10(-)] ) python_single_target_python3_11? ( dev-python/pyyaml[python_targets_python3_11(-)] dev-python/pybind11[python_targets_python3_11(-)] ) python_single_target_python3_12? ( dev-python/pyyaml[python_targets_python3_12(-)] dev-python/pybind11[python_targets_python3_12(-)] ) python_single_target_python3_13? ( dev-python/pyyaml[python_targets_python3_13(-)] dev-python/pybind11[python_targets_python3_13(-)] ) app? ( dev-libs/libevent media-libs/libsdl2 media-libs/libjpeg-turbo x11-libs/libdrm ) doc? ( app-text/doxygen dev-python/sphinx dev-texlive/texlive-latexextra media-gfx/graphviz ) gstreamer? ( media-libs/gst-plugins-base ) qt6? ( dev-qt/qtbase[gui,opengl,widgets] media-libs/tiff ) udev? ( virtual/libudev )
DESCRIPTION=An open source camera stack and framework for Linux, Android, and ChromeOS
EAPI=8
HOMEPAGE=https://libcamera.org/
INHERIT=meson python-single-r1
IUSE=+app debug doc gstreamer python qt6 test udev python_single_target_python3_10 python_single_target_python3_11 python_single_target_python3_12 python_single_target_python3_13
KEYWORDS=~amd64
LICENSE=LGPL-2.1+
RDEPEND=python_single_target_python3_10? ( dev-python/pyyaml[python_targets_python3_10(-)] dev-python/pybind11[python_targets_python3_10(-)] ) python_single_target_python3_11? ( dev-python/pyyaml[python_targets_python3_11(-)] dev-python/pybind11[python_targets_python3_11(-)] ) python_single_target_python3_12? ( dev-python/pyyaml[python_targets_python3_12(-)] dev-python/pybind11[python_targets_python3_12(-)] ) python_single_target_python3_13? ( dev-python/pyyaml[python_targets_python3_13(-)] dev-python/pybind11[python_targets_python3_13(-)] ) app? ( dev-libs/libevent media-libs/libsdl2 media-libs/libjpeg-turbo x11-libs/libdrm ) doc? ( app-text/doxygen dev-python/sphinx dev-texlive/texlive-latexextra media-gfx/graphviz ) gstreamer? ( media-libs/gst-plugins-base ) qt6? ( dev-qt/qtbase[gui,opengl,widgets] media-libs/tiff ) udev? ( virtual/libudev ) python_single_target_python3_10? ( dev-lang/python:3.10 ) python_single_target_python3_11? ( dev-lang/python:3.11 ) python_single_target_python3_12? ( dev-lang/python:3.12 ) python_single_target_python3_13? ( dev-lang/python:3.13 )
REQUIRED_USE=^^ ( python_single_target_python3_10 python_single_target_python3_11 python_single_target_python3_12 python_single_target_python3_13 )
RESTRICT=!test? ( test )
SLOT=0
SRC_URI=https://gitlab.freedesktop.org/camera/libcamera/-/archive/v0.3.2/libcamera-v0.3.2.tar.bz2
_eclasses_=flag-o-matic f14aba975c94ccaa9f357a27e3b17ffe meson 99466844dd8d4fcfb07578a76f5a9922 multilib b2a329026f2e404e9e371097dda47f96 multiprocessing 1e32df7deee68372153dca65f4a7c21f ninja-utils 2df4e452cea39a9ec8fb543ce059f8d6 python-single-r1 47d8ac9be330c9366112b78fd4f8ce57 python-utils-r1 42c5abe4a656a4993a06a4fc61dbdd12 toolchain-funcs 14648d8795f7779e11e1bc7cf08b7536
_md5_=ac7745c79c33b97bb9a4073e96837a5f

View File

@@ -1,17 +0,0 @@
BDEPEND=dev-libs/openssl >=dev-build/meson-1.2.3 app-alternatives/ninja dev-build/meson-format-array
DEFINED_PHASES=compile configure install prepare setup test
DEPEND=python_single_target_python3_10? ( dev-python/pyyaml[python_targets_python3_10(-)] dev-python/pybind11[python_targets_python3_10(-)] ) python_single_target_python3_11? ( dev-python/pyyaml[python_targets_python3_11(-)] dev-python/pybind11[python_targets_python3_11(-)] ) python_single_target_python3_12? ( dev-python/pyyaml[python_targets_python3_12(-)] dev-python/pybind11[python_targets_python3_12(-)] ) python_single_target_python3_13? ( dev-python/pyyaml[python_targets_python3_13(-)] dev-python/pybind11[python_targets_python3_13(-)] ) app? ( dev-libs/libevent media-libs/libsdl2 media-libs/libjpeg-turbo x11-libs/libdrm ) doc? ( app-text/doxygen dev-python/sphinx dev-texlive/texlive-latexextra media-gfx/graphviz ) gstreamer? ( media-libs/gst-plugins-base ) qt6? ( dev-qt/qtbase[gui,opengl,widgets] media-libs/tiff ) udev? ( virtual/libudev )
DESCRIPTION=An open source camera stack and framework for Linux, Android, and ChromeOS
EAPI=8
HOMEPAGE=https://libcamera.org/
INHERIT=meson python-single-r1
IUSE=+app debug doc gstreamer python qt6 test udev python_single_target_python3_10 python_single_target_python3_11 python_single_target_python3_12 python_single_target_python3_13
KEYWORDS=~amd64
LICENSE=LGPL-2.1+
RDEPEND=python_single_target_python3_10? ( dev-python/pyyaml[python_targets_python3_10(-)] dev-python/pybind11[python_targets_python3_10(-)] ) python_single_target_python3_11? ( dev-python/pyyaml[python_targets_python3_11(-)] dev-python/pybind11[python_targets_python3_11(-)] ) python_single_target_python3_12? ( dev-python/pyyaml[python_targets_python3_12(-)] dev-python/pybind11[python_targets_python3_12(-)] ) python_single_target_python3_13? ( dev-python/pyyaml[python_targets_python3_13(-)] dev-python/pybind11[python_targets_python3_13(-)] ) app? ( dev-libs/libevent media-libs/libsdl2 media-libs/libjpeg-turbo x11-libs/libdrm ) doc? ( app-text/doxygen dev-python/sphinx dev-texlive/texlive-latexextra media-gfx/graphviz ) gstreamer? ( media-libs/gst-plugins-base ) qt6? ( dev-qt/qtbase[gui,opengl,widgets] media-libs/tiff ) udev? ( virtual/libudev ) python_single_target_python3_10? ( dev-lang/python:3.10 ) python_single_target_python3_11? ( dev-lang/python:3.11 ) python_single_target_python3_12? ( dev-lang/python:3.12 ) python_single_target_python3_13? ( dev-lang/python:3.13 )
REQUIRED_USE=^^ ( python_single_target_python3_10 python_single_target_python3_11 python_single_target_python3_12 python_single_target_python3_13 )
RESTRICT=!test? ( test )
SLOT=0
SRC_URI=https://gitlab.freedesktop.org/camera/libcamera/-/archive/e37830925130afd541449ed22df0bc952c19a94a.tar.bz2 -> libcamera-0.3.2_p20241219.tar.bz2
_eclasses_=flag-o-matic f14aba975c94ccaa9f357a27e3b17ffe meson 99466844dd8d4fcfb07578a76f5a9922 multilib b2a329026f2e404e9e371097dda47f96 multiprocessing 1e32df7deee68372153dca65f4a7c21f ninja-utils 2df4e452cea39a9ec8fb543ce059f8d6 python-single-r1 47d8ac9be330c9366112b78fd4f8ce57 python-utils-r1 42c5abe4a656a4993a06a4fc61dbdd12 toolchain-funcs 14648d8795f7779e11e1bc7cf08b7536
_md5_=63f0b074f86aeb82aff75bc023d52a11

View File

@@ -0,0 +1,16 @@
BDEPEND=>=dev-build/meson-1.2.3 app-alternatives/ninja dev-build/meson-format-array
DEFINED_PHASES=compile configure install prepare setup test
DEPEND=dev-libs/libyaml:= || ( dev-libs/openssl net-libs/gnutls ) app? ( dev-libs/libevent:= x11-libs/libdrm:= media-libs/libjpeg-turbo:= media-libs/libsdl2 ) debug? ( dev-libs/elfutils:= ) gstreamer? ( media-libs/gstreamer:= media-libs/gst-plugins-base ) qt6? ( dev-qt/qtbase[gui,opengl,widgets] media-libs/tiff ) python? ( python_single_target_python3_10? ( dev-python/jinja2[python_targets_python3_10(-)] dev-python/ply[python_targets_python3_10(-)] dev-python/pyyaml[python_targets_python3_10(-)] dev-python/pybind11[python_targets_python3_10(-)] ) python_single_target_python3_11? ( dev-python/jinja2[python_targets_python3_11(-)] dev-python/ply[python_targets_python3_11(-)] dev-python/pyyaml[python_targets_python3_11(-)] dev-python/pybind11[python_targets_python3_11(-)] ) python_single_target_python3_12? ( dev-python/jinja2[python_targets_python3_12(-)] dev-python/ply[python_targets_python3_12(-)] dev-python/pyyaml[python_targets_python3_12(-)] dev-python/pybind11[python_targets_python3_12(-)] ) python_single_target_python3_13? ( dev-python/jinja2[python_targets_python3_13(-)] dev-python/ply[python_targets_python3_13(-)] dev-python/pyyaml[python_targets_python3_13(-)] dev-python/pybind11[python_targets_python3_13(-)] ) ) trace? ( dev-util/lttng-ust:= ) udev? ( virtual/libudev ) unwind? ( sys-libs/libunwind:= )
DESCRIPTION=An open source camera stack and framework for Linux, Android, and ChromeOS
EAPI=8
HOMEPAGE=https://libcamera.org/
INHERIT=meson python-single-r1
IUSE=+app debug gstreamer python qt6 trace udev unwind +v4l2 python_single_target_python3_10 python_single_target_python3_11 python_single_target_python3_12 python_single_target_python3_13
KEYWORDS=~amd64
LICENSE=LGPL-2.1+
RDEPEND=dev-libs/libyaml:= || ( dev-libs/openssl net-libs/gnutls ) app? ( dev-libs/libevent:= x11-libs/libdrm:= media-libs/libjpeg-turbo:= media-libs/libsdl2 ) debug? ( dev-libs/elfutils:= ) gstreamer? ( media-libs/gstreamer:= media-libs/gst-plugins-base ) qt6? ( dev-qt/qtbase[gui,opengl,widgets] media-libs/tiff ) python? ( python_single_target_python3_10? ( dev-python/jinja2[python_targets_python3_10(-)] dev-python/ply[python_targets_python3_10(-)] dev-python/pyyaml[python_targets_python3_10(-)] dev-python/pybind11[python_targets_python3_10(-)] ) python_single_target_python3_11? ( dev-python/jinja2[python_targets_python3_11(-)] dev-python/ply[python_targets_python3_11(-)] dev-python/pyyaml[python_targets_python3_11(-)] dev-python/pybind11[python_targets_python3_11(-)] ) python_single_target_python3_12? ( dev-python/jinja2[python_targets_python3_12(-)] dev-python/ply[python_targets_python3_12(-)] dev-python/pyyaml[python_targets_python3_12(-)] dev-python/pybind11[python_targets_python3_12(-)] ) python_single_target_python3_13? ( dev-python/jinja2[python_targets_python3_13(-)] dev-python/ply[python_targets_python3_13(-)] dev-python/pyyaml[python_targets_python3_13(-)] dev-python/pybind11[python_targets_python3_13(-)] ) ) trace? ( dev-util/lttng-ust:= ) udev? ( virtual/libudev ) unwind? ( sys-libs/libunwind:= ) python? ( python_single_target_python3_10? ( dev-lang/python:3.10 ) python_single_target_python3_11? ( dev-lang/python:3.11 ) python_single_target_python3_12? ( dev-lang/python:3.12 ) python_single_target_python3_13? ( dev-lang/python:3.13 ) ) trace? ( dev-util/lttng-tools )
REQUIRED_USE=^^ ( python_single_target_python3_10 python_single_target_python3_11 python_single_target_python3_12 python_single_target_python3_13 )
SLOT=0
SRC_URI=https://gitlab.freedesktop.org/camera/libcamera/-/archive/v0.4.0/libcamera-v0.4.0.tar.bz2
_eclasses_=flag-o-matic f14aba975c94ccaa9f357a27e3b17ffe meson 99466844dd8d4fcfb07578a76f5a9922 multilib b2a329026f2e404e9e371097dda47f96 multiprocessing 1e32df7deee68372153dca65f4a7c21f ninja-utils 2df4e452cea39a9ec8fb543ce059f8d6 python-single-r1 47d8ac9be330c9366112b78fd4f8ce57 python-utils-r1 42c5abe4a656a4993a06a4fc61dbdd12 toolchain-funcs 14648d8795f7779e11e1bc7cf08b7536
_md5_=124496231864ad5f3aba1e1d0dc89dad

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long