30 lines
866 B
Bash
30 lines
866 B
Bash
# Template file for 'qv4l2'
|
|
pkgname=qv4l2
|
|
version=1.8.0
|
|
revision=1
|
|
wrksrc="v4l-utils-${version}"
|
|
build_pie=yes
|
|
build_style=gnu-configure
|
|
configure_args="--enable-qv4l2 --with-udevdir=/usr/lib/udev"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libjpeg-turbo-devel libsysfs-devel qt-devel"
|
|
depends="hicolor-icon-theme desktop-file-utils"
|
|
short_desc="QT v4l2 control panel application"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
homepage="http://freshmeat.net/projects/libv4l"
|
|
license="GPL-2, LGPL-2.1"
|
|
distfiles="http://linuxtv.org/downloads/v4l-utils/v4l-utils-${version}.tar.bz2"
|
|
checksum=50c7be033636d878e902dad0a207fc9f6d831bec27f1b410f1102acddaa5565e
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
*-musl) makedepends+=" argp-standalone"
|
|
CFLAGS="-D__off_t=off_t -D__off64_t=off_t"
|
|
LDFLAGS="-largp"
|
|
;;
|
|
esac
|
|
|
|
do_install() {
|
|
cd utils/qv4l2
|
|
make DESTDIR=${DESTDIR} install
|
|
}
|