summaryrefslogtreecommitdiff
path: root/extra/mediastreamer
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-06-16 01:26:25 -0700
committerroot <root@rshg054.dnsready.net>2013-06-16 01:26:25 -0700
commit44c10f274ec720a1512b15457b9eeffea28c6041 (patch)
tree48d27d6116dfd4fdce957af918c3d62385fd9226 /extra/mediastreamer
parent0a069ede63336b105cda051cebe136f2592847d2 (diff)
Sun Jun 16 01:25:28 PDT 2013
Diffstat (limited to 'extra/mediastreamer')
-rw-r--r--extra/mediastreamer/PKGBUILD24
-rw-r--r--extra/mediastreamer/mediastreamer-ffmpeg.patch57
2 files changed, 9 insertions, 72 deletions
diff --git a/extra/mediastreamer/PKGBUILD b/extra/mediastreamer/PKGBUILD
index 1c3a15fa7..a877daa75 100644
--- a/extra/mediastreamer/PKGBUILD
+++ b/extra/mediastreamer/PKGBUILD
@@ -1,29 +1,23 @@
-# $Id: PKGBUILD 183011 2013-04-16 22:29:29Z eric $
+# $Id: PKGBUILD 188540 2013-06-15 10:10:22Z andrea $
# Maintainer:
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: AdriĆ  Arrufat <swiftscythe@gmail.com>
pkgname=mediastreamer
-pkgver=2.8.2
-pkgrel=5
+pkgver=2.9.0
+pkgrel=1
pkgdesc="A library written in C that allows you to create and run audio and video streams"
arch=('i686' 'x86_64')
url="http://www.linphone.org/"
license=('GPL')
-depends=('ortp' 'speex' 'ffmpeg' 'v4l-utils' 'libxv' 'libpulse')
-makedepends=('intltool')
+depends=('ortp' 'ffmpeg' 'libxv' 'glew' 'libupnp')
+# xxd from Vim is needed to build
+makedepends=('intltool' 'vim')
options=('!libtool')
-source=("http://download-mirror.savannah.gnu.org/releases/linphone/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.sig}
- mediastreamer-ffmpeg.patch)
-md5sums=('e51ea9d5fce1396b374d10473dfbadec'
- '805da7def98f367e621363fa0c951fe8'
- '553d5d47ea4a8c8dfeabdc0281849d5f')
-
-prepare() {
- cd $pkgname-$pkgver
- patch -p1 -i "${srcdir}"/mediastreamer-ffmpeg.patch
-}
+source=("http://download-mirror.savannah.gnu.org/releases/linphone/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.sig})
+md5sums=('f2ea0fe731a363749a81b6eaac22a62c'
+ 'SKIP')
build() {
cd $pkgname-$pkgver
diff --git a/extra/mediastreamer/mediastreamer-ffmpeg.patch b/extra/mediastreamer/mediastreamer-ffmpeg.patch
deleted file mode 100644
index 3304e9f56..000000000
--- a/extra/mediastreamer/mediastreamer-ffmpeg.patch
+++ /dev/null
@@ -1,57 +0,0 @@
-commit f586917ea4d66f9ba8910f0967a8830e54d50784
-Author: Yann Diorcet <yann.diorcet@belledonne-communications.com>
-Date: Tue Jun 5 11:07:48 2012 +0200
-
- Fixes for new versions of ffmpeg
-
-diff --git a/src/h264dec.c b/src/h264dec.c
-index c4a84ee..5229b5e 100644
---- a/src/h264dec.c
-+++ b/src/h264dec.c
-@@ -45,7 +45,9 @@ typedef struct _DecData{
- static void ffmpeg_init(){
- static bool_t done=FALSE;
- if (!done){
-+#ifdef FF_API_AVCODEC_INIT
- avcodec_init();
-+#endif
- avcodec_register_all();
- done=TRUE;
- }
-diff --git a/src/videoenc.c b/src/videoenc.c
-index 21d016f..fb35760 100644
---- a/src/videoenc.c
-+++ b/src/videoenc.c
-@@ -39,6 +39,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-
- static bool_t avcodec_initialized=FALSE;
-
-+#ifndef FF_I_TYPE
-+#define FF_I_TYPE AV_PICTURE_TYPE_I
-+#endif
-+
- #ifdef ENABLE_LOG_FFMPEG
-
- void ms_ffmpeg_log_callback(void* ptr, int level, const char* fmt, va_list vl)
-@@ -53,7 +57,9 @@ void ms_ffmpeg_log_callback(void* ptr, int level, const char* fmt, va_list vl)
-
- void ms_ffmpeg_check_init(){
- if(!avcodec_initialized){
-+#ifdef FF_API_AVCODEC_INIT
- avcodec_init();
-+#endif
- avcodec_register_all();
- avcodec_initialized=TRUE;
- #ifdef ENABLE_LOG_FFMPEG
-@@ -300,10 +306,10 @@ static void prepare_h263(EncState *s){
- if (s->profile==0){
- s->codec=CODEC_ID_H263;
- }else{
-+ /*
- c->flags|=CODEC_FLAG_H263P_UMV;
- c->flags|=CODEC_FLAG_AC_PRED;
- c->flags|=CODEC_FLAG_H263P_SLICE_STRUCT;
-- /*
- c->flags|=CODEC_FLAG_OBMC;
- c->flags|=CODEC_FLAG_AC_PRED;
- */