[arch-commits] Commit in v4l2ucp/repos (2 files)
David Runge
dvzrv at archlinux.org
Thu Dec 7 14:00:28 UTC 2017
Date: Thursday, December 7, 2017 @ 14:00:25
Author: dvzrv
Revision: 273056
archrelease: copy trunk to community-testing-x86_64
Added:
v4l2ucp/repos/community-testing-x86_64/
v4l2ucp/repos/community-testing-x86_64/PKGBUILD
(from rev 273055, v4l2ucp/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: v4l2ucp/repos/community-testing-x86_64/PKGBUILD (from rev 273055, v4l2ucp/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2017-12-07 14:00:25 UTC (rev 273056)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: speps <speps at aur dot archlinux dot org>
+# Contributor: Xavion <Xavion (dot) 0 (at) Gmail (dot) com>
+# Contributor: Giovanni Scafora <linuxmania at gmail.com>
+
+pkgname=v4l2ucp
+pkgver=2.0.2
+pkgrel=4
+pkgdesc="A universal control panel for Video for Linux Two (V4L2) devices"
+arch=('x86_64')
+url="http://v4l2ucp.sourceforge.net/"
+license=('GPL')
+depends=('qt4' 'v4l-utils')
+optdepends=('mplayer: video preview')
+makedepends=('cmake')
+source=("https://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
+sha512sums=('4c1e4e9fa5f8388a179632918edda2f5b84737370bf6eb67fe4b05215f0fc67f59df4749d7e86aa4da288da0eedf646978e0c84332054ec561a7c814b079fefc')
+
+prepare() {
+ cd "${pkgname}-${pkgver}"
+ # use videodev2.h header
+ sed -i 's/videodev/&2/' src/v4l2ctrl.c
+}
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ cmake . -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ make DESTDIR="$pkgdir/" install
+}
More information about the arch-commits
mailing list