52 lines
1.6 KiB
Bash
52 lines
1.6 KiB
Bash
#!/usr/bin/bash
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
|
|
# Website : https://pozol.eu
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
pkgname=v4l-utils
|
|
pkgver=1.26.1
|
|
pkgrel=01
|
|
pkgdesc="Userspace tools and conversion library for Video 4 Linux w/o systemd"
|
|
url="https://linuxtv.org/"
|
|
provides=("libv4l=$pkgver")
|
|
replaces=('libv4l')
|
|
conflicts=('libv4l')
|
|
backup=(etc/rc_maps.cfg)
|
|
depends=('hicolor-icon-theme' 'gcc-libs' 'libjpeg-turbo')
|
|
makedepends=('qt5-base' 'alsa-lib' 'meson' 'clang' 'doxygen' 'libbpf')
|
|
optdepends=('qt5-base: for qv4l2' 'alsa-lib: for qv4l2')
|
|
source=(https://linuxtv.org/downloads/v4l-utils/${pkgname}-${pkgver}.tar.xz{,.asc})
|
|
|
|
prepare() {
|
|
# HACK: inform upstream to make this configurable
|
|
cd "${pkgname}-${pkgver}"
|
|
sed -i 's/sbin/bin/' utils/v4l2-dbg/meson.build
|
|
}
|
|
|
|
build() {
|
|
arch-meson -Dgconv=disabled "${pkgname}-${pkgver}" build
|
|
meson compile -C build
|
|
}
|
|
|
|
package() {
|
|
meson install -C build --destdir "$pkgdir"
|
|
mv "${pkgdir}/lib/udev" "${pkgdir}/usr/lib/"
|
|
rm -rf "${pkgdir}/lib"
|
|
}
|
|
|
|
#---- arch license gpg-key & sha256sums ----
|
|
|
|
arch=(x86_64)
|
|
|
|
license=('LGPL')
|
|
|
|
validpgpkeys=('05D0169C26E41593418129DF199A64FADFB500FF') # Gregor Jasny <gjasny@googlemail.com>
|
|
|
|
sha256sums=(4a71608c0ef7df2931176989e6d32b445c0bdc1030a2376d929c8ca6e550ec4e # v4l-utils-1.26.1.tar.xz
|
|
1b1360d428f2e8154dce5f454efb01a22c1b5bbdcf2572e658db0e64f8bfc5b7) # v4l-utils-1.26.1.tar.xz.asc
|
|
|
|
## 177bf3e4b142fff0d124c8be70727511eb06a5c481a726517334b597d6817905 v4l-utils-1.26.1-01-x86_64.pkg.tar.lz
|
|
|