Open pengux opened 1 year ago
You can do: yay --editmenu -S intel-ipu6ep-camera-bin
and remove the "/ipu6" and "/ipu6ep" from the PKGBUILD and intel-ipu6ep-camera-bin will install.
After that, however, intel-ipu6ep-camera-hal-git fails to build with: -- Package 'ia_imaging', required by 'virtual:world', not found CMake Error at cmake/FindIA_IMAGING.cmake:28 (message): IA_IMAGING not found Call Stack (most recent call first): CMakeLists.txt:285 (find_package)
This is where I'm stuck at the moment. BTW this is probably more suited as an issue for: https://github.com/stefanpartheym/archlinux-ipu6-webcam
@aforembs thanks, I was thinking maybe to install on a previous commit that was working, but couldn't find an easy way to do it with all dependencies, do you know?
After that, however, intel-ipu6ep-camera-hal-git fails to build with: -- Package 'ia_imaging', required by 'virtual:world', not found CMake Error at cmake/FindIA_IMAGING.cmake:28 (message): IA_IMAGING not found Call Stack (most recent call first): CMakeLists.txt:285 (find_package)
CMake needs to locate the library information through pkgconfig, which is located under lib/<generation>/pkgconfig/*.pc
. Also, as a side note, the gstreamer plugin icamerasrc
will be looking for libia_cca.so
, libia_log.so
and libgcss.so.0
. My gut feeling is that Intel is halfway on its hardware-level abstraction on the current build, so I create some symbolic links for them as a dirty workaround. Ultimately your PKGBUILD
may look like this:
package_intel-ipu6-camera-bin() {
provides=(ipu6-camera-bin)
conflicts=(intel-ipu6ep-camera-bin)
pkgdesc+=" (Tiger Lake)"
install -dm755 "$pkgdir/usr"
cp -rT "$_pkgname/lib" "$pkgdir/usr/lib"
cp -rT "$_pkgname/lib/ipu_tgl/pkgconfig" "$pkgdir/usr/lib/pkgconfig"
cp -rT "$_pkgname/include" "$pkgdir/usr/include"
pushd $pkgdir/usr/lib
ln -s ipu_tgl/{libia_cca.so,libia_log.so,libgcss.so.0} .
popd
}
package_intel-ipu6ep-camera-bin() {
provides=(ipu6-camera-bin)
conflicts=(intel-ipu6-camera-bin)
pkgdesc+=" (Alder Lake)"
install -dm755 "$pkgdir/usr"
cp -rT "$_pkgname/lib" "$pkgdir/usr/lib"
cp -rT "$_pkgname/lib/ipu_adl/pkgconfig" "$pkgdir/usr/lib/pkgconfig"
cp -rT "$_pkgname/include" "$pkgdir/usr/include"
pushd $pkgdir/usr/lib
ln -s ipu_adl/{libia_cca.so,libia_log.so,libgcss.so.0} .
popd
}
This is where I'm stuck at the moment. BTW this is probably more suited as an issue for: https://github.com/stefanpartheym/archlinux-ipu6-webcam
This script pulls ipu6-camera-bin
straight from AUR as well. I think it may be better to inform the maintainer directly at https://aur.archlinux.org/packages/intel-ipu6ep-camera-bin
The error is: