summaryrefslogtreecommitdiff
path: root/community/psimedia/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/psimedia/PKGBUILD')
-rw-r--r--community/psimedia/PKGBUILD35
1 files changed, 19 insertions, 16 deletions
diff --git a/community/psimedia/PKGBUILD b/community/psimedia/PKGBUILD
index 32989ea03..df2457f63 100644
--- a/community/psimedia/PKGBUILD
+++ b/community/psimedia/PKGBUILD
@@ -1,33 +1,36 @@
-# $Id: PKGBUILD 66171 2012-02-23 02:29:02Z spupykin $
+# $Id: PKGBUILD 85385 2013-03-01 10:37:22Z andrea $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Vladimir Kutyavin <vlkut-at-bk-dot-ru>
pkgname=psimedia
pkgver=1.0.3
-pkgrel=8
+pkgrel=9
pkgdesc="Voice and video chat plugin for Psi-like IM clients. The implementation is based on GStreamer."
arch=('i686' 'x86_64')
license=('GPL2')
url="http://delta.affinix.com/psimedia/"
-depends=('psi' 'speex' 'gstreamer0.10-base' 'qt' 'gstreamer0.10-good-plugins'
+depends=('psi' 'speex' 'gstreamer0.10-base' 'qt4' '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')
+makedepends=('pkgconfig' 'gdb')
+source=($pkgname-$pkgver.tar.gz::https://github.com/psi-im/psimedia/archive/master.tar.gz)
+md5sums=('d12fdf60fd71ffba597dd22f5c8481cf')
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
+ cd $srcdir/$pkgname-master
+
+ cat >>gstprovider/gstconf.pri <<EOF
+ INCLUDEPATH += \
+ /usr/include/gstreamer-0.10 \
+ /usr/include/glib-2.0 \
+ /usr/lib/glib-2.0/include \
+ /usr/include/libxml2
+EOF
+
+ qmake
make
}
package() {
- cd $srcdir/$pkgname-$pkgver
- install -D -m644 ${srcdir}/$pkgname-$pkgver/gstprovider/libgstprovider.so ${pkgdir}/usr/lib/psi/plugins/libgstprovider.so
+ cd $srcdir/$pkgname-master
+ install -D -m644 ${srcdir}/$pkgname-master/gstprovider/libgstprovider.so ${pkgdir}/usr/lib/psi/plugins/libgstprovider.so
}