mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-12 02:54:40 +08:00
33 lines
1.0 KiB
Bash
33 lines
1.0 KiB
Bash
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/v4l-utils
|
|
|
|
pkgname=v4l-utils
|
|
pkgver=1.12.5
|
|
pkgrel=1
|
|
pkgdesc="Userspace tools and conversion library for Video 4 Linux"
|
|
arch=('x86_64')
|
|
url="http://linuxtv.org/"
|
|
provides=("libv4l=$pkgver")
|
|
replaces=('libv4l')
|
|
conflicts=('libv4l')
|
|
license=('LGPL')
|
|
makedepends=('qt5-base' 'alsa-lib')
|
|
optdepends=('qt5-base' 'alsa-lib')
|
|
depends=('hicolor-icon-theme' 'gcc-libs' 'sysfsutils' 'libjpeg-turbo')
|
|
source=(http://linuxtv.org/downloads/v4l-utils/${pkgname}-${pkgver}.tar.bz2{,.asc})
|
|
sha256sums=('0618162ddb0b57fe7c45407d4d66ed79e3a134cdbc9e72598d34e61d3359e20d'
|
|
'SKIP')
|
|
validpgpkeys=('05D0169C26E41593418129DF199A64FADFB500FF') # Gregor Jasny <gjasny@googlemail.com>
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
MAKEFLAGS="-j1" make install DESTDIR="${pkgdir}/"
|
|
rm "${pkgdir}/usr/bin/ivtv-ctl"
|
|
}
|