Commit cf2a4fe1 authored by Francesco Colista's avatar Francesco Colista

main/v4l-utils: added ir_keytable subpackage

parent a37b6262
......@@ -2,7 +2,7 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=v4l-utils
pkgver=1.8.1
pkgrel=0
pkgrel=1
pkgdesc="Userspace tools and conversion library for Video 4 Linux"
url="http://freshmeat.net/projects/libv4l"
arch="all"
......@@ -10,7 +10,7 @@ license="LGPL2+"
depends=""
makedepends="qt-dev libjpeg-turbo-dev argp-standalone linux-headers"
install=""
subpackages="$pkgname-dev $pkgname-doc qv4l2 $pkgname-dvbv5"
subpackages="$pkgname-dev $pkgname-doc qv4l2 $pkgname-dvbv5 ir_keytable"
source="http://linuxtv.org/downloads/v4l-utils/$pkgname-$pkgver.tar.bz2
qv4l2.svg
qv4l2.desktop
......@@ -71,6 +71,22 @@ dvbv5() {
"$subpkgdir"/usr/lib/ || return 1
}
ir_keytable() {
pkgdesc="Alter keymaps of Remote Controller devices"
mkdir -p "$subpkgdir"/lib/udev/rc_keymaps \
"$subpkgdir"/lib/udev/rules.d \
"$subpkgdir"/usr/bin \
"$subpkgdir"/etc
mv "$pkgdir"/lib/udev/rc_keymaps/* \
"$subpkgdir"/lib/udev/rc_keymaps || return 1
mv "$pkgdir"/lib/udev/rules.d/* \
"$subpkgdir"/lib/udev/rules.d || return 1
mv "$pkgdir"/usr/bin/ir-keytable \
"$subpkgdir"/usr/bin || return 1
mv "$pkgdir"/etc/rc_keymaps \
"$subpkgdir"/etc/rc_keymaps || return 1
}
md5sums="f86d0938e46fde821dc10d4d2f6636e4 v4l-utils-1.8.1.tar.bz2
75ef594ddfe48e48df99c96c2af6b51e qv4l2.svg
b2e51f9663cee1c38a1d99d76a6b529f qv4l2.desktop"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment