diff options
author | root <root@rshg054.dnsready.net> | 2013-08-19 01:35:50 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-19 01:35:50 -0700 |
commit | 26606f981048ee9efcda690b619d3c53501a7a58 (patch) | |
tree | bce53168e8c9b4bb94183682d91440e716d615a5 /community/v4l2ucp | |
parent | b35ab776341c79068977be153a2ad8340eb9498c (diff) |
Mon Aug 19 01:34:37 PDT 2013
Diffstat (limited to 'community/v4l2ucp')
-rw-r--r-- | community/v4l2ucp/PKGBUILD | 35 | ||||
-rw-r--r-- | community/v4l2ucp/v4l2ucp.install | 11 |
2 files changed, 46 insertions, 0 deletions
diff --git a/community/v4l2ucp/PKGBUILD b/community/v4l2ucp/PKGBUILD new file mode 100644 index 000000000..1cf3293bb --- /dev/null +++ b/community/v4l2ucp/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 95917 2013-08-18 17:31:41Z speps $ +# Maintainer : speps <speps at aur dot archlinux dot org> +# Contributor: Xavion <Xavion (dot) 0 (at) Gmail (dot) com> +# Contributor: Giovanni Scafora <linuxmania@gmail.com> + +pkgname=v4l2ucp +pkgver=2.0.2 +pkgrel=1 +pkgdesc="A universal control panel for Video for Linux Two (V4L2) devices" +arch=('i686' 'x86_64') +url="http://v4l2ucp.sourceforge.net/" +license=('GPL') +depends=('qt4' 'v4l-utils') +optdepends=('mplayer: video preview') +makedepends=('cmake') +install=$pkgname.install +source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2") +md5sums=('e5bc6e71e2cd3ab123c277b2f7154b4f') + +prepare() { + cd "$srcdir/$pkgname-$pkgver" + # use videodev2.h header + sed -i 's/videodev/&2/' src/v4l2ctrl.c +} + +build() { + cd "$srcdir/$pkgname-$pkgver" + cmake . -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir/" install +} diff --git a/community/v4l2ucp/v4l2ucp.install b/community/v4l2ucp/v4l2ucp.install new file mode 100644 index 000000000..e111ef946 --- /dev/null +++ b/community/v4l2ucp/v4l2ucp.install @@ -0,0 +1,11 @@ +post_install() { + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |