summaryrefslogtreecommitdiff
path: root/community/psimedia/PKGBUILD
blob: 6e8733da7d5a9a178c440af3ba607f3f0eded488 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# $Id: PKGBUILD 66171 2012-02-23 02:29:02Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Vladimir Kutyavin <vlkut-at-bk-dot-ru>

pkgname=psimedia
pkgver=1.0.3
pkgrel=8
pkgdesc="Voice and video chat plugin for Psi-like IM clients.  The implementation is based on GStreamer."
arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
url="http://delta.affinix.com/psimedia/"
depends=('psi' 'speex' 'gstreamer0.10-base' 'qt' 'gstreamer0.10-good-plugins'
	 'liboil')
makedepends=('pkgconfig')
source=(http://delta.affinix.com/download/psimedia/$pkgname-$pkgver.tar.bz2
	videodev.h
	psimedia-svn20110621.diff.gz)
md5sums=('1be71c37d71c655ffc2c53cf86c77a7a'
         '427e5832466726a86e5b55b1329d2e9e'
         'b571639d854c90c758f40a44054c6e06')

build() {
  cd $srcdir/$pkgname-$pkgver
  patch -p1 <$srcdir/psimedia-svn20110621.diff
  sed -i 's|# include <linux/videodev.h>|# include "../../../videodev.h"|' gstprovider/deviceenum/deviceenum_unix.cpp
  ./configure
  make
}

package() {
  cd $srcdir/$pkgname-$pkgver
  install -D -m644 ${srcdir}/$pkgname-$pkgver/gstprovider/libgstprovider.so ${pkgdir}/usr/lib/psi/plugins/libgstprovider.so
}