mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-12 20:27:02 +02:00
34 lines
1.1 KiB
Bash
34 lines
1.1 KiB
Bash
# Template file for 'v4l-utils'
|
|
pkgname=v4l-utils
|
|
version=1.28.1
|
|
revision=1
|
|
build_style=meson
|
|
configure_args="-Dqv4l2=disabled -Dudevdir=/usr/lib/udev -Dgconv=disabled"
|
|
hostmakedepends="perl pkg-config gettext-devel"
|
|
makedepends="libjpeg-turbo-devel libsysfs-devel eudev-libudev-devel alsa-lib-devel
|
|
libX11-devel"
|
|
short_desc="Userspace tools and libraries for Video 4 Linux"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later, LGPL-2.1-or-later"
|
|
homepage="https://linuxtv.org/"
|
|
changelog="https://git.linuxtv.org/v4l-utils.git/plain/ChangeLog"
|
|
distfiles="https://linuxtv.org/downloads/v4l-utils/v4l-utils-${version}.tar.xz"
|
|
checksum=0fa075ce59b6618847af6ea191b6155565ccaa44de0504581ddfed795a328a82
|
|
conf_files="/etc/rc_maps.cfg"
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
*-musl) makedepends+=" argp-standalone"
|
|
CFLAGS="-D__off_t=off_t -D__off64_t=off_t"
|
|
LDFLAGS="-largp"
|
|
;;
|
|
esac
|
|
|
|
v4l-utils-devel_package() {
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|