Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pkgbuilds/anduril-bluechip-support/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

pkgname=anduril-bluechip-support
pkgver=1
pkgrel=9
pkgrel=10
pkgdesc="Hardware support for the Anduril BlueChip not yet carried upstream"
arch=('aarch64')
# Qualcomm-only: the pacman platform guard keeps it off other hardware.
Expand All @@ -15,7 +15,7 @@ license=('MIT')
install=$pkgname.install
depends=('bash' 'systemd' 'util-linux' 'wireplumber'
'libcamera' 'gst-plugin-libcamera' 'gst-plugins-base' 'gst-plugins-good'
'v4l2loopback-dkms' 'v4l2-relayd' 'v4l-utils')
'V4L2LOOPBACK-MODULE' 'v4l2-relayd' 'v4l-utils')
source=(
'50-bluechip-cameras.conf'
'60-bluechip-sleep.conf'
Expand Down
4 changes: 2 additions & 2 deletions pkgbuilds/asus-zenbook-a16-support/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

pkgname=asus-zenbook-a16-support
pkgver=1
pkgrel=5
pkgrel=6
pkgdesc="Hardware support for the ASUS Zenbook A16 (UX3607OA) not yet carried upstream"
arch=('aarch64')
# Qualcomm-only: the pacman platform guard keeps it off other hardware.
Expand All @@ -14,7 +14,7 @@ url="https://github.com/omacom/omarchy-pkgs"
license=('MIT')
depends=('bash' 'systemd' 'util-linux' 'wireplumber'
'libcamera' 'gst-plugin-libcamera' 'gst-plugins-base' 'gst-plugins-good'
'v4l2loopback-dkms' 'v4l2-relayd' 'v4l-utils')
'V4L2LOOPBACK-MODULE' 'v4l2-relayd' 'v4l-utils')
backup=('etc/v4l2-relayd.d/zenbook-a16.conf')
_libdir=/usr/lib/$pkgname
source=(
Expand Down
41 changes: 38 additions & 3 deletions pkgbuilds/linux-omarchy-aarch64/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,18 @@
pkgbase=linux-omarchy-aarch64
_kernel=linux-omarchy
pkgver=7.3.6
pkgrel=6
pkgrel=7
# NVIDIA's open kernel modules ship prebuilt as $_kernel-nvidia-open, built in
# this recipe so every kernel lands with modules for it and nobody compiles
# them through DKMS on a kernel update. Keep this version and the patches in
# step with nvidia-open-dkms and nvidia-utils.
_nvidiaver=620.73.04
_nvidia=NVIDIA-kernel-module-source-$_nvidiaver
# v4l2loopback ships prebuilt as $_kernel-v4l2loopback so camera-relay laptops
# (e.g. Zenbook A16, Anduril BlueChip) avoid DKMS compilation during install
# and kernel updates.
_v4l2loopbackver=0.15.4
_v4l2loopback=v4l2loopback-$_v4l2loopbackver
pkgdesc='Omarchy Linux for aarch64 (BORE CPU scheduler, ADIOS I/O scheduler)'
url='https://omarchy.org'
arch=(
Expand Down Expand Up @@ -690,6 +695,8 @@ source=(
nvidia-0007-train-a-tunnelled-link-again-when-the-sink-cannot-decode-it.patch
nvidia-0008-free-the-semaphore-surface-callback-when-the-waiter-is-already-signalled.patch
nvidia-0009-report-usb-c-connectors-as-displayport.patch
# v4l2loopback module, built against this kernel for $_kernel-v4l2loopback.
v4l2loopback-${_v4l2loopbackver}.tar.gz::https://github.com/v4l2loopback/v4l2loopback/archive/refs/tags/v${_v4l2loopbackver}.tar.gz
)
source_aarch64=(config.aarch64)
validpgpkeys=(
Expand Down Expand Up @@ -1375,7 +1382,8 @@ sha256sums=('8183d475a76a0faffa92d6cd500af421f589dfd0300a0f1060bb875e11d45723'
'711adc7dd3a20947bd4d6fc6da25cbb02917ccd6b8f83cd50dc8baca047e3171'
'ae5730ccf495854bad7f3f7459be1eb7bdb6b38b74fcbb133451cf151fbac14b'
'54c6946021f3e49ca4dc9744898b6f7691ab7191592f76e4abe14cb1a4c0c03e'
'd89bf107b153be8e0c427aae97c0095bf99a5ae8a0c67565e4f3cab4a15a3ea6')
'd89bf107b153be8e0c427aae97c0095bf99a5ae8a0c67565e4f3cab4a15a3ea6'
'21a17702648aa6a937b88a93bd71ef9f547815ead28719cafcfcc247396643dc')
sha256sums_aarch64=('c3f258b6e0b347ed593e1a3b39f643b080f5ad55cb7f5e9b2f8eb31cb49e57f7')
b2sums=('78da05b71d4fb975d759e7e9f74917531fc06b0740cdf9eab69b1d7b838d6a0cc19a087a629bb41eb4ae77f9ca745cd309e4d90911e4b74347016a059b3fac02'
'SKIP'
Expand Down Expand Up @@ -2055,7 +2063,8 @@ b2sums=('78da05b71d4fb975d759e7e9f74917531fc06b0740cdf9eab69b1d7b838d6a0cc19a087
'6eba95a46205c20a582e10054b3b23694053145bf9a98cf86cc4ae81ae4533a7e5aa028bda56b50bbd4b921e130d77ca27418ead5e8d6ee01886ee7c221d016b'
'4426d029431f76e9eb4f607616c7107f1f8fb9c4ec1dbd8f74ded6945cedd99d8af79f0037846c99b3aad15889439e0e0040e0d44724ad78811bee7dd4ffe465'
'b2841f9381a41c9a708377cd00a3bc0fe8ab3cf1ef89bf53cbff9aff82875a3bd0afd6e69b87cb3fa7c832fac0a60b8ec0b993ff4f98218c7f95434abcb37af5'
'03d00413477680c498f73e30d90f050cce7426f3f3e251a72f74a09d2759101dafa453c15841a728f96957f9e0a38a560f7b2c3395bd965c2786a11cde560709')
'03d00413477680c498f73e30d90f050cce7426f3f3e251a72f74a09d2759101dafa453c15841a728f96957f9e0a38a560f7b2c3395bd965c2786a11cde560709'
'ff4880b04af5ee6f45c4819184f1855868e816638c0d1f81a5887aed295700d687180bfbb0b1700173c1ed6af82a6df4dd2be7593bf2fdee27ab2e63e1603a07')
b2sums_aarch64=('5e4b79497f27e2f3945a33e45ee5fe8e75155dfcdc1a513ed0918ea278179adc3e6f61ed7fbecc5fa53395c7cfbe78aca64af9c65bd3c589e9bc7f0fcf75d300')

# https://www.kernel.org/pub/linux/kernel/v7.x/sha256sums.asc
Expand Down Expand Up @@ -2129,6 +2138,9 @@ build() {
cd "$srcdir/$_nvidia"
env -u CFLAGS -u CXXFLAGS -u LDFLAGS \
make SYSSRC="$ksrc" SYSOUT="$ksrc" IGNORE_PREEMPT_RT_PRESENCE=1 modules

env -u CFLAGS -u CXXFLAGS -u LDFLAGS \
make -C "$ksrc" M="$srcdir/$_v4l2loopback" modules
}

_package() {
Expand Down Expand Up @@ -2382,10 +2394,33 @@ _package-nvidia-open() {
install -Dm644 "$srcdir/$_nvidia/COPYING" "$pkgdir/usr/share/licenses/$_kernel-nvidia-open/LICENSE"
}

_package-v4l2loopback() {
pkgdesc="v4l2loopback kernel module for the $pkgdesc kernel"
license=('GPL-2.0-or-later')
depends=(
"$_kernel=$pkgver-$pkgrel"
)
provides=(
V4L2LOOPBACK-MODULE
)

local ksrc="$srcdir/$_srcname"
local dest="$pkgdir/usr/lib/modules/$(<"$ksrc/version")/extramodules"

echo "Installing v4l2loopback module..."
install -Dm644 -t "$dest" "$srcdir/$_v4l2loopback/v4l2loopback.ko"

local ko="$dest/v4l2loopback.ko"
strip --strip-debug "$ko"
"$ksrc/scripts/sign-file" sha512 "$ksrc/certs/signing_key.pem" "$ksrc/certs/signing_key.x509" "$ko"
zstd -19 --rm -q "$ko"
}

pkgname=(
"$_kernel"
"$_kernel-headers"
"$_kernel-nvidia-open"
"$_kernel-v4l2loopback"
)
for _p in "${pkgname[@]}"; do
eval "package_$_p() {
Expand Down
2 changes: 1 addition & 1 deletion release/owners.json
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
{"dir":"linux-firmware-cirrus-dx13260","pkgbase":"linux-firmware-cirrus-dx13260","arches":["x86_64"],"names":["linux-firmware-cirrus-dx13260"],"provides":[],"replaces":[]},
{"dir":"linux-firmware-qcom","pkgbase":"linux-firmware-qcom","arches":["aarch64"],"names":["linux-firmware-qcom"],"provides":[],"replaces":[]},
{"dir":"linux-omarchy","pkgbase":"linux-omarchy","arches":["x86_64"],"names":["linux-omarchy","linux-omarchy-headers","linux-omarchy-ipu7","linux-omarchy-nvidia-open","linux-omarchy-v4l2loopback"],"provides":["ADIOS-MODULE","IPU7-DRIVERS-MODULE","KSMBD-MODULE","LINUX-HEADERS","NTSYNC-MODULE","NVIDIA-MODULE","V4L2LOOPBACK-MODULE","VIRTUALBOX-GUEST-MODULES","WIREGUARD-MODULE","nvidia-open"],"replaces":[]},
{"dir":"linux-omarchy-aarch64","pkgbase":"linux-omarchy-aarch64","arches":["aarch64"],"names":["linux-omarchy","linux-omarchy-headers","linux-omarchy-nvidia-open"],"provides":["ADIOS-MODULE","KSMBD-MODULE","LINUX-HEADERS","NTSYNC-MODULE","NVIDIA-MODULE","VIRTUALBOX-GUEST-MODULES","WIREGUARD-MODULE","nvidia-open"],"replaces":["linux-omarchy-n1x","linux-omarchy-n1x-headers"]},
{"dir":"linux-omarchy-aarch64","pkgbase":"linux-omarchy-aarch64","arches":["aarch64"],"names":["linux-omarchy","linux-omarchy-headers","linux-omarchy-nvidia-open","linux-omarchy-v4l2loopback"],"provides":["ADIOS-MODULE","KSMBD-MODULE","LINUX-HEADERS","NTSYNC-MODULE","NVIDIA-MODULE","V4L2LOOPBACK-MODULE","VIRTUALBOX-GUEST-MODULES","WIREGUARD-MODULE","nvidia-open"],"replaces":["linux-omarchy-n1x","linux-omarchy-n1x-headers"]},
{"dir":"linux-omarchy-bore","pkgbase":"linux-omarchy-bore","arches":["x86_64"],"names":["linux-omarchy-bore","linux-omarchy-bore-headers"],"provides":[],"replaces":[]},
{"dir":"linux-omarchy-dtbs","pkgbase":"linux-omarchy-dtbs","arches":["aarch64"],"names":["linux-omarchy-dtbs"],"provides":[],"replaces":[]},
{"dir":"linux-omarchy-eevdf","pkgbase":"linux-omarchy-eevdf","arches":["x86_64"],"names":["linux-omarchy-eevdf","linux-omarchy-eevdf-headers","linux-omarchy-eevdf-ipu7","linux-omarchy-eevdf-nvidia-open","linux-omarchy-eevdf-v4l2loopback"],"provides":["IPU7-DRIVERS-MODULE","KSMBD-MODULE","LINUX-HEADERS","NTSYNC-MODULE","NVIDIA-MODULE","V4L2LOOPBACK-MODULE","VIRTUALBOX-GUEST-MODULES","WIREGUARD-MODULE","nvidia-open"],"replaces":[]},
Expand Down