-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from striczkof/icamerasrc-ivsc-fix
Adding icamerasrc-git-fix, removed ivsc-driver, fixed v4l2loopback typo
- Loading branch information
Showing
6 changed files
with
62 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Maintainer: Karim Vergnes <me@thesola.io> | ||
_pkgname=icamerasrc | ||
pkgname=${_pkgname}-git-fix | ||
pkgver=r59.17841ab | ||
pkgrel=1 | ||
pkgdesc="Intel IPU6 camera source for GStreamer" | ||
arch=('x86_64') | ||
url="https://github.com/intel/icamerasrc" | ||
license=('LGPL2.1') | ||
depends=('ipu6-camera-hal' | ||
'gstreamer' | ||
'libdrm' | ||
'gst-plugins-base') | ||
makedepends=('git' | ||
'autoconf' | ||
'make' | ||
'gcc') | ||
conflicts=('icamerasrc-git') | ||
source=("git+${url}.git#commit=17841ab6249aaa69bd9b3959262bf182dee74111" | ||
"70-ipu6-psys.rules") | ||
sha256sums=('SKIP' | ||
'41f0406f4548f12dd3ec5c4c94c5f6f4590d48ac4c80623682f3d22622a8a9bd') | ||
|
||
pkgver() { | ||
cd $_pkgname | ||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" | ||
} | ||
|
||
build() { | ||
cd "$srcdir/$_pkgname" | ||
export CHROME_SLIM_CAMHAL=ON | ||
export STRIP_VIRTUAL_CHANNEL_CAMHAL=ON | ||
./autogen.sh | ||
make | ||
} | ||
|
||
package() { | ||
cd "$srcdir/$_pkgname" | ||
mkdir -p $pkgdir/usr/lib/udev/rules.d | ||
make DESTDIR="$pkgdir" install | ||
install -Dm644 $srcdir/70-ipu6-psys.rules $pkgdir/usr/lib/udev/rules.d | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.