[arch-commits] Commit in v4l2ucp/repos (6 files)

speps speps at nymeria.archlinux.org
Sun Aug 18 17:31:42 UTC 2013


    Date: Sunday, August 18, 2013 @ 19:31:41
  Author: speps
Revision: 95917

archrelease: copy trunk to community-i686, community-x86_64

Added:
  v4l2ucp/repos/community-i686/
  v4l2ucp/repos/community-i686/PKGBUILD
    (from rev 95916, v4l2ucp/trunk/PKGBUILD)
  v4l2ucp/repos/community-i686/v4l2ucp.install
    (from rev 95916, v4l2ucp/trunk/v4l2ucp.install)
  v4l2ucp/repos/community-x86_64/
  v4l2ucp/repos/community-x86_64/PKGBUILD
    (from rev 95916, v4l2ucp/trunk/PKGBUILD)
  v4l2ucp/repos/community-x86_64/v4l2ucp.install
    (from rev 95916, v4l2ucp/trunk/v4l2ucp.install)

----------------------------------+
 community-i686/PKGBUILD          |   35 +++++++++++++++++++++++++++++++++++
 community-i686/v4l2ucp.install   |   11 +++++++++++
 community-x86_64/PKGBUILD        |   35 +++++++++++++++++++++++++++++++++++
 community-x86_64/v4l2ucp.install |   11 +++++++++++
 4 files changed, 92 insertions(+)

Copied: v4l2ucp/repos/community-i686/PKGBUILD (from rev 95916, v4l2ucp/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2013-08-18 17:31:41 UTC (rev 95917)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer : 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=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
+}

Copied: v4l2ucp/repos/community-i686/v4l2ucp.install (from rev 95916, v4l2ucp/trunk/v4l2ucp.install)
===================================================================
--- community-i686/v4l2ucp.install	                        (rev 0)
+++ community-i686/v4l2ucp.install	2013-08-18 17:31:41 UTC (rev 95917)
@@ -0,0 +1,11 @@
+post_install() {
+  update-desktop-database -q
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}

Copied: v4l2ucp/repos/community-x86_64/PKGBUILD (from rev 95916, v4l2ucp/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2013-08-18 17:31:41 UTC (rev 95917)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer : 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=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
+}

Copied: v4l2ucp/repos/community-x86_64/v4l2ucp.install (from rev 95916, v4l2ucp/trunk/v4l2ucp.install)
===================================================================
--- community-x86_64/v4l2ucp.install	                        (rev 0)
+++ community-x86_64/v4l2ucp.install	2013-08-18 17:31:41 UTC (rev 95917)
@@ -0,0 +1,11 @@
+post_install() {
+  update-desktop-database -q
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}




More information about the arch-commits mailing list