1
0
mirror of https://github.com/dguglielmi/sunny-overlay.git synced 2025-12-06 11:42:40 +01:00

media-libs/ipu7-camera-hal: add new ebuild

This commit is contained in:
2025-10-11 22:16:48 +02:00
parent a08b08e6c0
commit 56b1e7da24
3 changed files with 60 additions and 0 deletions

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>