summaryrefslogtreecommitdiff
path: root/community/psimedia
diff options
context:
space:
mode:
Diffstat (limited to 'community/psimedia')
-rw-r--r--community/psimedia/PKGBUILD9
-rw-r--r--community/psimedia/psimedia-1.0.3-glib.patch44
2 files changed, 50 insertions, 3 deletions
diff --git a/community/psimedia/PKGBUILD b/community/psimedia/PKGBUILD
index 32989ea03..07e567b83 100644
--- a/community/psimedia/PKGBUILD
+++ b/community/psimedia/PKGBUILD
@@ -6,7 +6,7 @@ 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')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
url="http://delta.affinix.com/psimedia/"
depends=('psi' 'speex' 'gstreamer0.10-base' 'qt' 'gstreamer0.10-good-plugins'
@@ -14,14 +14,17 @@ depends=('psi' 'speex' 'gstreamer0.10-base' 'qt' 'gstreamer0.10-good-plugins'
makedepends=('pkgconfig')
source=(http://delta.affinix.com/download/psimedia/$pkgname-$pkgver.tar.bz2
videodev.h
- psimedia-svn20110621.diff.gz)
+ psimedia-svn20110621.diff.gz
+ psimedia-1.0.3-glib.patch)
md5sums=('1be71c37d71c655ffc2c53cf86c77a7a'
'427e5832466726a86e5b55b1329d2e9e'
- 'b571639d854c90c758f40a44054c6e06')
+ 'b571639d854c90c758f40a44054c6e06'
+ 'c9fd9764e470a1cb0a7371bf21f8f437')
build() {
cd $srcdir/$pkgname-$pkgver
patch -p1 <$srcdir/psimedia-svn20110621.diff
+ patch -Np1 -i ${srcdir}/psimedia-1.0.3-glib.patch
sed -i 's|# include <linux/videodev.h>|# include "../../../videodev.h"|' gstprovider/deviceenum/deviceenum_unix.cpp
./configure
make
diff --git a/community/psimedia/psimedia-1.0.3-glib.patch b/community/psimedia/psimedia-1.0.3-glib.patch
new file mode 100644
index 000000000..4d02058e2
--- /dev/null
+++ b/community/psimedia/psimedia-1.0.3-glib.patch
@@ -0,0 +1,44 @@
+--- psimedia-1.0.3.orig/gstprovider/gstelements/static/gstelements.h 2009-01-16 16:59:25.000000000 -0500
++++ psimedia-1.0.3/gstprovider/gstelements/static/gstelements.h 2012-12-27 04:13:38.548921262 -0500
+@@ -21,7 +21,7 @@
+ #ifndef PSI_GSTELEMENTS_H
+ #define PSI_GSTELEMENTS_H
+
+-#include <glib/gmacros.h>
++#include <glib.h>
+
+ G_BEGIN_DECLS
+
+--- psimedia-1.0.3.orig/gstprovider/gstthread.h 2008-11-24 22:56:15.000000000 -0500
++++ psimedia-1.0.3/gstprovider/gstthread.h 2012-12-27 04:15:19.216656784 -0500
+@@ -22,7 +22,7 @@
+ #define PSI_GSTTHREAD_H
+
+ #include <QThread>
+-#include <glib/gmain.h>
++#include <glib.h>
+
+ namespace PsiMedia {
+
+--- psimedia-1.0.3.orig/gstprovider/rwcontrol.h 2009-02-16 19:20:50.000000000 -0500
++++ psimedia-1.0.3/gstprovider/rwcontrol.h 2012-12-27 04:15:50.818833887 -0500
+@@ -28,7 +28,7 @@
+ #include <QMutex>
+ #include <QWaitCondition>
+ #include <QTimer>
+-#include <glib/gmain.h>
++#include <glib.h>
+ #include "psimediaprovider.h"
+ #include "rtpworker.h"
+
+--- psimedia-1.0.3.orig/gstprovider/gstcustomelements/gstcustomelements.h 2009-01-16 13:09:25.000000000 -0500
++++ psimedia-1.0.3/gstprovider/gstcustomelements/gstcustomelements.h 2012-12-27 04:16:49.326164945 -0500
+@@ -21,7 +21,7 @@
+ #ifndef GSTCUSTOMELEMENTS_H
+ #define GSTCUSTOMELEMENTS_H
+
+-#include <glib/gthread.h>
++#include <glib.h>
+ #include <gst/gst.h>
+ #include <gst/base/gstpushsrc.h>
+ #include <gst/video/video.h>