mirror of
https://github.com/dguglielmi/sunny-overlay.git
synced 2026-04-05 16:36:31 +02:00
media-libs/libcamera: dropped from the overlay, bc now available in ::gentoo
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
DIST libcamera-v0.5.0.tar.bz2 1451501 BLAKE2B f1086a84eb0d6a3c99a86eb233d5b524c7c9b3889588e2c099fe8924ff256b90b91251cf470fd3dacd71005ba3f9e27829d0d70f2d0cb269735aa321880995f4 SHA512 a1520929cf77ba88a101e64e37c5400572e47422c5bf5a57a5b17915ba87ab4a62f3e4f8119bc3ddde91aaaf8425fe5406b24e6c72fb7e0bea47f168b8d7e1c8
|
||||
DIST libcamera-v0.5.2.tar.bz2 1495582 BLAKE2B 84bf2236d4b124047abcd3893622d1656ac57a1b1f3d88e67cefb346541b75f0b34e7d9780349cee761af98f02b4988e6d5c8e4f2a446e17028ef150b7512669 SHA512 c10bd6921cd5307dc88b7f710fd2e69c69b8c90dab2ca29c8e45e3dc5703335a6b5e7482e9de950bf56d25f2482f4640a35f29715f7e30bc02ad1a9167dd98fd
|
||||
DIST libcamera-v0.6.0.tar.bz2 1587566 BLAKE2B 263b636e7e58f7d49a2b8a2ed7370a8c6e27a301f920b0ca2339281303b9aaa10540febcce5bd61fb4bf72f93c73afa383cfd0ba11e1cb478e0e2e67626bd716 SHA512 afb39c77f36ecd51fb39b9bdaec313b222a0710bb922fca56f199e10f67517277a7a806f076030e7f7dae8076cfcc1628574d553d83974bfd049b9a9da252fc6
|
||||
@@ -1,105 +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
|
||||
|
||||
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/v${PV}/${PN}-v${PV}.tar.bz2"
|
||||
S="${WORKDIR}/${PN}-v${PV}"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE="+app debug gstreamer python qt6 trace udev unwind v4l"
|
||||
#IUSE=+" doc 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_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 )
|
||||
unwind? ( sys-libs/libunwind:= )
|
||||
"
|
||||
#BDPEND="
|
||||
# doc? (
|
||||
# app-text/doxygen[dot]
|
||||
# dev-python/sphinx
|
||||
# dev-texlive/texlive-latexextra
|
||||
# )
|
||||
#"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
trace? ( dev-util/lttng-tools )
|
||||
"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
src_prepare() {
|
||||
if use python; then
|
||||
sed -i -e \
|
||||
"/^destdir =/s#=.*#= '$(python_get_sitedir)/libcamera'#g" \
|
||||
src/py/libcamera/meson.build || die
|
||||
fi
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
-Dandroid=disabled
|
||||
$(meson_feature app cam)
|
||||
# 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
|
||||
# $(meson_use test)
|
||||
-Dtest=false
|
||||
-Dpipelines=imx8-isi,ipu3,mali-c55,rkisp1,rpi/vc4,simple,uvcvideo,vimc
|
||||
-Dbuildtype=$(usex debug debug plain)
|
||||
$(meson_feature v4l v4l2)
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
if use python; then
|
||||
python_optimize "${D}/$(python_get_sitedir)/libcamera"
|
||||
fi
|
||||
}
|
||||
@@ -1,105 +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
|
||||
|
||||
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/v${PV}/${PN}-v${PV}.tar.bz2"
|
||||
S="${WORKDIR}/${PN}-v${PV}"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE="+app debug gstreamer python qt6 trace udev unwind v4l"
|
||||
#IUSE=+" doc 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_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 )
|
||||
unwind? ( sys-libs/libunwind:= )
|
||||
"
|
||||
#BDPEND="
|
||||
# doc? (
|
||||
# app-text/doxygen[dot]
|
||||
# dev-python/sphinx
|
||||
# dev-texlive/texlive-latexextra
|
||||
# )
|
||||
#"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
trace? ( dev-util/lttng-tools )
|
||||
"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
src_prepare() {
|
||||
if use python; then
|
||||
sed -i -e \
|
||||
"/^destdir =/s#=.*#= '$(python_get_sitedir)/libcamera'#g" \
|
||||
src/py/libcamera/meson.build || die
|
||||
fi
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
-Dandroid=disabled
|
||||
$(meson_feature app cam)
|
||||
# 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
|
||||
# $(meson_use test)
|
||||
-Dtest=false
|
||||
-Dpipelines=imx8-isi,ipu3,mali-c55,rkisp1,rpi/vc4,simple,uvcvideo,vimc
|
||||
-Dbuildtype=$(usex debug debug plain)
|
||||
$(meson_feature v4l v4l2)
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
if use python; then
|
||||
python_optimize "${D}/$(python_get_sitedir)/libcamera"
|
||||
fi
|
||||
}
|
||||
@@ -1,105 +0,0 @@
|
||||
# Copyright 2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..14} )
|
||||
|
||||
inherit meson python-single-r1
|
||||
|
||||
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/v${PV}/${PN}-v${PV}.tar.bz2"
|
||||
S="${WORKDIR}/${PN}-v${PV}"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE="+app debug gstreamer python qt6 trace udev unwind v4l"
|
||||
#IUSE=+" doc 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_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 )
|
||||
unwind? ( sys-libs/libunwind:= )
|
||||
"
|
||||
#BDPEND="
|
||||
# doc? (
|
||||
# app-text/doxygen[dot]
|
||||
# dev-python/sphinx
|
||||
# dev-texlive/texlive-latexextra
|
||||
# )
|
||||
#"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
trace? ( dev-util/lttng-tools )
|
||||
"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
src_prepare() {
|
||||
if use python; then
|
||||
sed -i -e \
|
||||
"/^destdir =/s#=.*#= '$(python_get_sitedir)/libcamera'#g" \
|
||||
src/py/libcamera/meson.build || die
|
||||
fi
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
-Dandroid=disabled
|
||||
$(meson_feature app cam)
|
||||
# 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
|
||||
# $(meson_use test)
|
||||
-Dtest=false
|
||||
-Dpipelines=imx8-isi,ipu3,mali-c55,rkisp1,rpi/vc4,simple,uvcvideo,vimc
|
||||
-Dbuildtype=$(usex debug debug plain)
|
||||
$(meson_feature v4l v4l2)
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
if use python; then
|
||||
python_optimize "${D}/$(python_get_sitedir)/libcamera"
|
||||
fi
|
||||
}
|
||||
@@ -1,15 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>david.guglielmi@gmail.com</email>
|
||||
<name>David GUGLIELMI</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="app">Build cam cli utility</flag>
|
||||
<flag name="trace">Enable tracing support</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="freedesktop-gitlab">camera/libcamera</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user