1
0
mirror of https://github.com/dguglielmi/sunny-overlay.git synced 2025-12-06 09:32:37 +01:00

Compare commits

...

8 Commits

21 changed files with 396 additions and 0 deletions

35
licenses/INTEL-IPU Normal file
View File

@@ -0,0 +1,35 @@
Copyright (c) Intel Corporation
Redistribution. Redistribution and use in binary form, without
modification, are permitted provided that the following conditions are
met:
* Redistributions must reproduce the above copyright notice and the
following disclaimer in the documentation and/or other materials
provided with the distribution.
* Neither the name of Intel Corporation nor the names of its suppliers
may be used to endorse or promote products derived from this software
without specific prior written permission.
* No reverse engineering, decompilation, or disassembly of this software
is permitted.
Limited patent license. Intel Corporation grants a world-wide,
royalty-free, non-exclusive license under patents it now or hereafter
owns or controls to make, have made, use, import, offer to sell and
sell ("Utilize") this software, but solely to the extent that any
such patent is necessary to Utilize the software alone. The patent
license shall not apply to any other combinations which include this
software. No hardware per se is licensed hereunder.
DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.

View File

@@ -0,0 +1 @@
DIST ipu7-camera-bins-0_p20250928.tar.gz 8811014 BLAKE2B a520aab04a6f917a71d498637df6b97b86d85096ffee133261bb8429aed6f8a04cb05c552ec6ea6434e02cfed496a5713af6e9539ce079d11f276522b5420c71 SHA512 78c4d5363fb00161dc3a7d7d3eab67c13411d3676a1b8757027a49abc21a1563f8eee2417ebc3cfe0afe639f637df4e9d649b5ae140539002467f1f82b9ad454

View File

@@ -0,0 +1,39 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
COMMIT_ID="09ccd020d5d1aa34b91e9f30b01a4166dd31f51b"
DESCRIPTION="Intel IPU7 MIPI camera proprietary image processing libraries"
HOMEPAGE="https://github.com/intel/ipu7-camera-bins"
SRC_URI="https://github.com/intel/${PN}/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT_ID}"
LICENSE="INTEL-IPU"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="elibc_musl"
src_prepare() {
sed -i \
-e '/^libdir=/s#.*#libdir=${prefix}/'$(get_libdir)'#g' \
lib/pkgconfig/*.pc || die
default
}
src_install() {
dolib.so lib/libia_*
insinto /usr/$(get_libdir)/pkgconfig
doins lib/pkgconfig/ia_imaging-ipu7*.pc
insinto /usr/include/ipu7x/ia_imaging
doins include/ipu7x/ia_imaging/*.h
insinto /usr/include/ipu75xa/ia_imaging
doins include/ipu75xa/ia_imaging/*.h
}

View File

@@ -0,0 +1,11 @@
<?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>
<upstream>
<remote-id type="github">intel/ipu7-camera-bins</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1 @@
DIST ipu7-camera-hal-0_p20250929.tar.gz 3640619 BLAKE2B 9e5aa1283fa2735edf286669d1c6e27d2f4b918ef28f61d521aaf0d7a3a6940e6afa725ba413ebbd692fe02edf68c39a0c7e5d9ee66e66e01acde06667ef427a SHA512 c624b7ebf256278efd08e79e439e1bae62ee044dd14aac482b9b971bc94060376ff854c3ef8a5d9da1dd0e1cb349f8c860b2d881c52bd61ff3512e8c2f72c0aa

View File

@@ -0,0 +1,48 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
COMMIT_ID="feed9155372c0ba5543ca0c04052bdd71ed8b031"
DESCRIPTION="Intel IPU7 MIPI camera HAL"
HOMEPAGE="https://github.com/intel/ipu7-camera-hal"
SRC_URI="https://github.com/intel/${PN}/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT_ID}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="
dev-libs/expat
dev-libs/jsoncpp
media-libs/gstreamer:1.0
media-libs/gst-plugins-base:1.0
media-libs/ipu7-camera-bins
"
RDEPEND="${DEPEND}"
BDEPEND=""
src_prepare() {
sed -i \
-e '/cmake_minimum_required/s#2\.8#3.5#1' \
CMakeLists.txt || die
cmake_src_prepare
}
src_configure() {
local mycmakeargs=(
-DBUILD_CAMHAL_ADAPTOR=ON
-DBUILD_CAMHAL_PLUGIN=ON
-DIPU_VERSIONS="ipu7x;ipu75xa"
-DUSE_STATIC_GRAPH=ON
-DUSE_STATIC_GRAPH_AUTOGEN=ON
)
cmake_src_configure
}

View File

@@ -0,0 +1,11 @@
<?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>
<upstream>
<remote-id type="github">intel/ipu7-camera-hal</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1 @@
DIST gst-plugins-icamera-0_p20250926.tar.gz 108630 BLAKE2B e3e768e9a651e00bb722ca3f3841f832351cb6a48d8887d38f16b569ca7cb5ed29f311c2958a13c2996f5e31c77231883ba24876ffb0a68d34c534907f5bb518 SHA512 72b52de96839fa807557a18d114bb32d241a433ad5df7389a5986839a338a7913d5947f3c09b440b10e88fa12ab2be3de64700b95f4ff185eff6bc0d6622212a

View File

@@ -0,0 +1,46 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
COMMIT_ID="4fb31db76b618aae72184c59314b839dedb42689"
DESCRIPTION="icamera plugin for GStreamer"
HOMEPAGE="https://github.com/intel/icamerasrc/tree/icamerasrc_slim_api"
SRC_URI="https://github.com/intel/icamerasrc/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}//icamerasrc-${COMMIT_ID}"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="
media-libs/gstreamer:1.0
media-libs/gst-plugins-bad:1.0
media-libs/ipu7-camera-bins
media-libs/ipu7-camera-hal
media-libs/libva
x11-libs/libdrm[video_cards_intel]
"
RDEPEND="${DEPEND}"
BDEPEND=""
src_prepare() {
default
eautoreconf
}
src_configure() {
export CHROME_SLIM_CAMHAL=ON
econf --enable-gstdrmformat=yes
}
src_install() {
default
find "${D}" -name '*.la' -delete || die
}

View File

@@ -0,0 +1,11 @@
<?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>
<upstream>
<remote-id type="github">intel/icamerasrc</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1 @@
DIST ipu7-drivers-0_p20250928.tar.gz 164077 BLAKE2B 9165ea636ce2840634e0c9871a8d4571eb77bd483654ef13fb8e2a7c93463022f590c4e0c593a61a9078789bea17e4ab53fba372a9349f2b7788ca5fc303d357 SHA512 d6efd9068fd7a6cd8092fe7a0c2e75988e07f2465a1a0ca3c06c4d48e44e50088ffdfcff0868ec93fdaf068c13b204625600cce1dd01fae56c2aae6eb2426967

View File

@@ -0,0 +1,41 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
IPU7_COMMIT_ID="62a3704433c35d3bdfa679fc4dee74e133ce815c"
inherit linux-mod-r1 toolchain-funcs
DESCRIPTION="Intel IPU7 MIPI camera kernel driver"
HOMEPAGE="https://github.com/intel/ipu7-drivers"
SRC_URI="https://github.com/intel/${PN}/archive/${IPU7_COMMIT_ID}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${IPU7_COMMIT_ID}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
CONFIG_CHECK="
IPU_BRIDGE
VIDEO_V4L2_I2C
"
pkg_setup() {
linux-mod-r1_pkg_setup
export KERNELRELEASE=${KV_FULL}
}
src_compile() {
local modlist=(
intel-ipu7=kernel/drivers/media/pci/intel/ipu7::drivers/media/pci/intel/ipu7
intel-ipu7-isys=kernel/drivers/media/pci/intel/ipu7::drivers/media/pci/intel/ipu7
intel-ipu7-psys=kernel/drivers/media/pci/intel/ipu7/psys::drivers/media/pci/intel/ipu7/psys
ipu-acpi=kernel/drivers/media/platform/intel::drivers/media/platform/intel
ipu-acpi-common=kernel/drivers/media/platform/intel::drivers/media/platform/intel
ipu-acpi-pdata=kernel/drivers/media/platform/intel::drivers/media/platform/intel
)
linux-mod-r1_src_compile
}

View File

@@ -0,0 +1,11 @@
<?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>
<upstream>
<remote-id type="github">intel/ipu7-drivers</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1 @@
DIST v4l2-relayd-0.1.5.tar.xz 17500 BLAKE2B 15fcd1adfa7d6e550df5df03ea292b58a9376fdf6205e84f074830de1287611f69a69a762462ad5110096b5262edc2068baef0c1e47db39bb70173ff4e796872 SHA512 b7c432b295177d73a640e21056a6d706af51cd525ea07b19f26d1bc79536d43167f8821522f3e8449356ace7b9fab913aeb5081d9d11065cfe6d0c6cb4637b2b

View File

@@ -0,0 +1,14 @@
<?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="icamera">Intel MIPI Camera support</flag>
</use>
<upstream>
<remote-id type="launchpad">v4l2-relayd</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,55 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools systemd
DESCRIPTION="Streaming relay for v4l2loopback using GStreamer"
HOMEPAGE="https://git.launchpad.net/v4l2-relayd"
SRC_URI="
https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/${PN}/${PV}-0ubuntu1/${PN}_${PV}.orig.tar.xz
-> ${P}.tar.xz
"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+icamera"
DEPEND="
dev-libs/glib:=
media-libs/gstreamer:1.0
media-libs/gst-plugins-base:1.0
"
RDEPEND="
${DEPEND}
icamera? (
media-plugins/gst-plugins-icamera
)
media-video/v4l2loopback
"
src_prepare() {
eautoreconf
if use icamera; then
sed -i \
-e '/^FORMAT=/s#.*#FORMAT=NV12#g' \
-e '/^VIDEOSRC=/s#.*#VIDEOSRC="icamerasrc"#g' \
-e '/^CARD_LABEL=/s#.*#CARD_LABEL="Intel MIPI Camera"#g' \
data/etc/default/${PN} || die
sed -i \
-e 's#card_label="Virtual Camera"#card_label="Intel MIPI Camera"#g' \
data/etc/modprobe.d/${PN}.conf || die
fi
default
}
src_configure() {
econf \
--with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
}

View File

@@ -0,0 +1,10 @@
DEFINED_PHASES=install prepare
DESCRIPTION=Intel IPU7 MIPI camera proprietary image processing libraries
EAPI=8
HOMEPAGE=https://github.com/intel/ipu7-camera-bins
KEYWORDS=~amd64
LICENSE=INTEL-IPU
RESTRICT=elibc_musl
SLOT=0
SRC_URI=https://github.com/intel/ipu7-camera-bins/archive/09ccd020d5d1aa34b91e9f30b01a4166dd31f51b.tar.gz -> ipu7-camera-bins-0_p20250928.tar.gz
_md5_=8752a7f1cf75cf636f4f92b3e1f35643

View File

@@ -0,0 +1,14 @@
BDEPEND=app-alternatives/ninja >=dev-build/cmake-3.28.5
DEFINED_PHASES=compile configure install prepare test
DEPEND=dev-libs/expat dev-libs/jsoncpp media-libs/gstreamer:1.0 media-libs/gst-plugins-base:1.0 media-libs/ipu7-camera-bins
DESCRIPTION=Intel IPU7 MIPI camera HAL
EAPI=8
HOMEPAGE=https://github.com/intel/ipu7-camera-hal
INHERIT=cmake
KEYWORDS=~amd64
LICENSE=Apache-2.0
RDEPEND=dev-libs/expat dev-libs/jsoncpp media-libs/gstreamer:1.0 media-libs/gst-plugins-base:1.0 media-libs/ipu7-camera-bins
SLOT=0
SRC_URI=https://github.com/intel/ipu7-camera-hal/archive/feed9155372c0ba5543ca0c04052bdd71ed8b031.tar.gz -> ipu7-camera-hal-0_p20250929.tar.gz
_eclasses_=cmake cf95ad72ab207889c1668fc0d1bee181 flag-o-matic a7afe42e95fb46ce9691605acfb24672 multiprocessing 1e32df7deee68372153dca65f4a7c21f ninja-utils 2df4e452cea39a9ec8fb543ce059f8d6 toolchain-funcs a0b29008c671a362b505f96fa80ce9c0 xdg-utils 42869b3c8d86a70ef3cf75165a395e09
_md5_=226fc27de4a2cd655be6a88e1ef902db

View File

@@ -0,0 +1,14 @@
BDEPEND=sys-devel/gnuconfig >=app-portage/elt-patches-20250306 || ( >=dev-build/automake-1.18:1.18 >=dev-build/automake-1.17-r1:1.17 ) || ( >=dev-build/autoconf-2.72-r1:2.72 ) >=dev-build/libtool-2.4.7-r3
DEFINED_PHASES=configure install prepare
DEPEND=media-libs/gstreamer:1.0 media-libs/gst-plugins-bad:1.0 media-libs/ipu7-camera-bins media-libs/ipu7-camera-hal media-libs/libva x11-libs/libdrm[video_cards_intel]
DESCRIPTION=icamera plugin for GStreamer
EAPI=8
HOMEPAGE=https://github.com/intel/icamerasrc/tree/icamerasrc_slim_api
INHERIT=autotools
KEYWORDS=~amd64
LICENSE=LGPL-2.1
RDEPEND=media-libs/gstreamer:1.0 media-libs/gst-plugins-bad:1.0 media-libs/ipu7-camera-bins media-libs/ipu7-camera-hal media-libs/libva x11-libs/libdrm[video_cards_intel]
SLOT=0
SRC_URI=https://github.com/intel/icamerasrc/archive/4fb31db76b618aae72184c59314b839dedb42689.tar.gz -> gst-plugins-icamera-0_p20250926.tar.gz
_eclasses_=autotools 955b29ccd82c1df4755e5f37748d2fa6 gnuconfig ddeb9f8caff1b5f71a09c75b7534df79 libtool c81bd096be5f4c82f4e8f156ef112402 toolchain-funcs a0b29008c671a362b505f96fa80ce9c0
_md5_=61ea95e85bed06a09fc7a8afc8b838f7

View File

@@ -0,0 +1,16 @@
BDEPEND=dev-util/pahole sys-apps/kmod[tools] modules-sign? ( dev-libs/openssl virtual/pkgconfig )
DEFINED_PHASES=compile install postinst setup
DEPEND=virtual/linux-sources
DESCRIPTION=Intel IPU7 MIPI camera kernel driver
EAPI=8
HOMEPAGE=https://github.com/intel/ipu7-drivers
IDEPEND=sys-apps/kmod[tools]
INHERIT=linux-mod-r1 toolchain-funcs
IUSE=dist-kernel modules-compress modules-sign +strip
KEYWORDS=~amd64 ~x86
LICENSE=GPL-2
RDEPEND=sys-apps/kmod[tools] dist-kernel? ( virtual/dist-kernel:= )
SLOT=0
SRC_URI=https://github.com/intel/ipu7-drivers/archive/62a3704433c35d3bdfa679fc4dee74e133ce815c.tar.gz -> ipu7-drivers-0_p20250928.tar.gz
_eclasses_=dist-kernel-utils a40de3638d3f7a89f4c45d1a62b90e20 edo a5e294016aa84979fcb2459749eb80b2 linux-info efd923656513c879204fec6638eadee5 linux-mod-r1 2b1749a4ea9e1aea780b1b54dd2f65f1 mount-boot-utils 2551bac1a772f4b6beacb494a750ae92 multiprocessing 1e32df7deee68372153dca65f4a7c21f toolchain-funcs a0b29008c671a362b505f96fa80ce9c0
_md5_=b03390275620b01e8b7e1548645a0f46

View File

@@ -0,0 +1,15 @@
BDEPEND=sys-devel/gnuconfig >=app-portage/elt-patches-20250306 || ( >=dev-build/automake-1.18:1.18 >=dev-build/automake-1.17-r1:1.17 ) || ( >=dev-build/autoconf-2.72-r1:2.72 ) >=dev-build/libtool-2.4.7-r3 virtual/pkgconfig
DEFINED_PHASES=configure prepare
DEPEND=dev-libs/glib:= media-libs/gstreamer:1.0 media-libs/gst-plugins-base:1.0
DESCRIPTION=Streaming relay for v4l2loopback using GStreamer
EAPI=8
HOMEPAGE=https://git.launchpad.net/v4l2-relayd
INHERIT=autotools systemd
IUSE=+icamera
KEYWORDS=~amd64
LICENSE=GPL-2
RDEPEND=dev-libs/glib:= media-libs/gstreamer:1.0 media-libs/gst-plugins-base:1.0 icamera? ( media-plugins/gst-plugins-icamera ) media-video/v4l2loopback
SLOT=0
SRC_URI=https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/v4l2-relayd/0.1.5-0ubuntu1/v4l2-relayd_0.1.5.orig.tar.xz -> v4l2-relayd-0.1.5.tar.xz
_eclasses_=autotools 955b29ccd82c1df4755e5f37748d2fa6 gnuconfig ddeb9f8caff1b5f71a09c75b7534df79 libtool c81bd096be5f4c82f4e8f156ef112402 systemd a964c0cbe818b5729da1dbfcee5be861 toolchain-funcs a0b29008c671a362b505f96fa80ce9c0
_md5_=13558ff95707f5290c704dab72cac60b