forked from ports/contrib
26 lines
672 B
Plaintext
26 lines
672 B
Plaintext
# Description: Userspace tools and conversion library for Video 4 Linux
|
|
# URL: https://linuxtv.org/
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: libjpeg-turbo
|
|
# Optional: alsa-lib clang doxygen json-c libsdl2 qt6-5compat qt6-base
|
|
|
|
name=v4l-utils
|
|
version=1.26.1
|
|
release=1
|
|
source=(https://linuxtv.org/downloads/v4l-utils/$name-$version.tar.xz)
|
|
|
|
build() {
|
|
meson setup $name-$version build \
|
|
--prefix=/usr \
|
|
--buildtype=plain \
|
|
--wrap-mode nodownload \
|
|
-D b_lto=true \
|
|
-D b_pie=true \
|
|
-D default_library=both \
|
|
-D gconv=disabled
|
|
meson compile -C build
|
|
DESTDIR=$PKG meson install -C build
|
|
|
|
rm -fr $PKG/usr/share/locale
|
|
}
|