-
Notifications
You must be signed in to change notification settings - Fork 18
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 #80 from danielksato/fixes-for-recent-releases-77-79
Add FORTIFY_SOURCE fix and pin package versions
- Loading branch information
Showing
4 changed files
with
51 additions
and
3 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
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,37 @@ | ||
# Fixed PKGBUILD from https://github.com/stefanpartheym/archlinux-ipu6-webcam | ||
# Pinned upstream driver version to a specific commit | ||
# Original PKGBUILD: https://aur.archlinux.org/packages/intel-ipu6-dkms-git | ||
pkgbase=intel-ipu6-dkms-git | ||
pkgname=intel-ipu6-dkms-git-fix | ||
_pkgname=ipu6-drivers | ||
pkgver=r165.cfb7af1e5 | ||
pkgrel=1 | ||
pkgdesc="Intel IPU6 camera drivers (DKMS)" | ||
arch=('any') | ||
url="https://github.com/intel/${_pkgname}" | ||
license=('unknown') | ||
depends=('dkms' 'intel-ivsc-firmware') | ||
provides=('intel-ivsc-driver-dkms-git' 'intel-ipu6-dkms-git') | ||
conflicts=('intel-ivsc-driver-dkms-git' 'intel-ipu6-dkms-git') | ||
makedepends=('git') | ||
source=("git+${url}#commit=cfb7af1e50a9f04e06d6bb77ea2340eb78350859") | ||
sha256sums=('SKIP') | ||
|
||
pkgver() { | ||
cd $_pkgname | ||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" | ||
} | ||
|
||
prepare() { | ||
cd "$srcdir/$_pkgname" | ||
sed -i "s/^PACKAGE_VERSION=\".*\"$/PACKAGE_VERSION=\"$pkgver\"/g" ./dkms.conf | ||
git clone https://github.com/intel/ivsc-driver | ||
cp -r ivsc-driver/{backport-include,drivers,include} . | ||
rm -rf ivsc-driver | ||
} | ||
|
||
package() { | ||
cd "$srcdir" | ||
install -dm755 "$pkgdir/usr/src" | ||
cp -rT "$_pkgname" "$pkgdir/usr/src/$_pkgname-$pkgver" | ||
} |
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