Commit7922065added 0002-escape-optional-splashsrc-expansion.patch directly to the package dir, but the AUR sync bot regenerates the dir from AUR plus .omarchy/patches, so the next sync (f886efe) dropped the patch and reverted pkgrel to 2.1. That stale pkgrel then made the build server rebuild 0.2.0-2.1, whose filenames already exist in production, failing promotion. Restore the patch and pkgrel=2.2, carry the customization as an .omarchy/patches sync patch, and bump the metadata pkgrel suffix to 2 so future syncs keep producing 2.2. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
53 lines
1.4 KiB
Bash
53 lines
1.4 KiB
Bash
# Maintainer: Ayla Ounce <ayla@ounce.email>
|
|
|
|
pkgname=v4l2-relayd
|
|
pkgver=0.2.0
|
|
pkgrel=2.2
|
|
pkgdesc="Plays gstreamer sources into v4l2loopback devices."
|
|
arch=('x86_64')
|
|
url="https://gitlab.com/vicamo/v4l2-relayd"
|
|
license=('GPL')
|
|
depends=(
|
|
'glib2'
|
|
'gstreamer'
|
|
'gst-plugins-base-libs'
|
|
'gst-plugins-good'
|
|
'v4l2loopback-dkms'
|
|
)
|
|
makedepends=('git')
|
|
source=("https://gitlab.com/vicamo/v4l2-relayd/-/archive/upstream/${pkgver}/v4l2-relayd-upstream-${pkgver}.tar.gz"
|
|
"0001-reset-output-on-idle.patch"
|
|
"0002-escape-optional-splashsrc-expansion.patch")
|
|
sha256sums=('0c063edf18dcc6edcdef46e695128cfc2b2d60964ea8538c7e79a2454310c53d'
|
|
'SKIP'
|
|
'SKIP')
|
|
|
|
prepare() {
|
|
cd "$srcdir/${pkgname}-upstream-${pkgver}"
|
|
patch -p0 < "$srcdir/0001-reset-output-on-idle.patch"
|
|
patch -p0 < "$srcdir/0002-escape-optional-splashsrc-expansion.patch"
|
|
}
|
|
|
|
build() {
|
|
cd "$srcdir/${pkgname}-upstream-${pkgver}"
|
|
./autogen.sh
|
|
./configure --prefix=/usr --sysconfdir=/etc
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "$srcdir/${pkgname}-upstream-${pkgver}"
|
|
make -k check
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/${pkgname}-upstream-${pkgver}"
|
|
make DESTDIR="$pkgdir/" install
|
|
|
|
# The module supports configuring multiple loopback devices; since we
|
|
# don't know whether the user might be using some for other purposes,
|
|
# we should not override its options unilaterally.
|
|
rm "$pkgdir/etc/modprobe.d/v4l2-relayd.conf"
|
|
rmdir "$pkgdir/etc/modprobe.d/"
|
|
}
|