summaryrefslogtreecommitdiff
path: root/media-plugins/mediastreamer-amr
diff options
context:
space:
mode:
Diffstat (limited to 'media-plugins/mediastreamer-amr')
-rw-r--r--media-plugins/mediastreamer-amr/Manifest6
-rw-r--r--media-plugins/mediastreamer-amr/files/mediastreamer-amr-0.0.1-include.patch13
-rw-r--r--media-plugins/mediastreamer-amr/mediastreamer-amr-0.0.1.ebuild34
-rw-r--r--media-plugins/mediastreamer-amr/metadata.xml8
4 files changed, 61 insertions, 0 deletions
diff --git a/media-plugins/mediastreamer-amr/Manifest b/media-plugins/mediastreamer-amr/Manifest
new file mode 100644
index 000000000000..801025f74c61
--- /dev/null
+++ b/media-plugins/mediastreamer-amr/Manifest
@@ -0,0 +1,6 @@
+AUX mediastreamer-amr-0.0.1-include.patch 382 SHA256 22b3892a0a479a9eb2e83bb8b5df505c58ea3031f6637d0bddf6af62d3f5a6b0 SHA512 5361ca845c3792da8d1135125e3ba2b470bd12e6f445ebcceac645ba707f065b3f33be33f8b44c1841a4668ee3cb89b0726e364b7e4c098c11478464e12c106c WHIRLPOOL d979e8c2ca8695179c7c74841f843b8c277e040234f08129f0ccf55cc9acbf6f000166ba75d97fa0b811920e118ca08065345732ee90245e1852513b8e06d445
+DIST msamr-0.0.1.tar.gz 293324 SHA256 f23f940b4f58286ca427edfea4afeaa24653176f081a20bf36c85d245fd78fdf SHA512 c25d25503eb23e93970d5be3a1317863cb20b0077b2ebf711dbd130e25d83debc4ea7e54eb236342c7073c54fa5002328fba5aafcbc2d495ac7588d639d6b1ab WHIRLPOOL 24ceb4138fcb73391d8b0304929ea5c477c50508fcedc4a2080e2d74463bbcfee3bcfe161c09dff6fb660a83c1145ba8f524a62ce172a4a069f2d695bd924f64
+EBUILD mediastreamer-amr-0.0.1.ebuild 671 SHA256 a78cca132df67d8952032929886fba753a6bffcf576f8e60f99a795e975b9301 SHA512 d0bb7e595b671a82c1cae15d9c2b212cc7998bfd6f6b518ec9d52a26b8ef63ffa362a3901e63e2319de05bbc330c15410b812d845006e04f852a1169d1615a15 WHIRLPOOL 6383e2af8b7b1429a93de686d8fdce6aa4bf562806e6f33a0321208df5b28cd2c8bb4b5604330471c9a536ef58c11d84d765ecc150e0edeb9d15b03ad8170c13
+MISC ChangeLog 2652 SHA256 724e20983ac6c7894b081af3849074dd7942d6c5dc34a5ed14506971d4fba9c8 SHA512 157348a053429a129453eca921ed5a3f327014535549d5f54ee8826ab7c725294321a3d01f4bee0ee3d83d2609955fbc3bf1a1472fa01db568ac667e4a9a2d88 WHIRLPOOL d1f1f55fadec24722f2d76c4704904f2bf93c7b274c67224a03cf5093816e4e44aaa11b2af03a8324d96ef37a629823877b30d51ed9c1cf426ff67bf81583254
+MISC ChangeLog-2015 1860 SHA256 8ef21db0c421214bd03ee488fb1ba48c80159bbada9a6ca4f2cd69756658a5b4 SHA512 540bce965aa61ac307cb43e91786f210c76b23f87e8816a9974cca23e78a0e34202de925603e601027fa54be2fd65064296030b159afc43f515e74ba80c4b28f WHIRLPOOL 2aef3d026811e090db782d4109ba987e944e20c165f2f500831020a1e15b4ae501f8a9d28bd30e9fb2970680d8b5a41c22184c2ccec214fdf9e1e217292ba7c6
+MISC metadata.xml 250 SHA256 891a1998b50e15db4c3577d7b2af6f721cd1c03869af4d9c1da62a8ba0514bda SHA512 a5334e41fb3acb7a8cce473ca9616ecea8fe484e870173f0a26042cd8aca0bc7fa4fe52e9cf10b7495c44608e15f1c71564b3f92a44611ba830b08785666b2ac WHIRLPOOL 520b5ea69bee11082f9d5733a158c32ed7600439c694204570e10630b09749cabc568223a6be99c2d97a3b26a22986e34f10dbcdae92b45e29146d2a11836161
diff --git a/media-plugins/mediastreamer-amr/files/mediastreamer-amr-0.0.1-include.patch b/media-plugins/mediastreamer-amr/files/mediastreamer-amr-0.0.1-include.patch
new file mode 100644
index 000000000000..c0f8483ea2b3
--- /dev/null
+++ b/media-plugins/mediastreamer-amr/files/mediastreamer-amr-0.0.1-include.patch
@@ -0,0 +1,13 @@
+--- msamr-0.0.1/src/msamr.c.orig 2012-06-01 21:12:47.000000000 +0400
++++ msamr-0.0.1/src/msamr.c 2012-06-01 21:12:59.884661902 +0400
+@@ -21,8 +21,8 @@
+
+ #include <mediastreamer2/msfilter.h>
+
+-#include <interf_dec.h>
+-#include <interf_enc.h>
++#include <opencore-amrnb/interf_dec.h>
++#include <opencore-amrnb/interf_enc.h>
+
+ /*
+ Class A total speech
diff --git a/media-plugins/mediastreamer-amr/mediastreamer-amr-0.0.1.ebuild b/media-plugins/mediastreamer-amr/mediastreamer-amr-0.0.1.ebuild
new file mode 100644
index 000000000000..55acc9c2da4b
--- /dev/null
+++ b/media-plugins/mediastreamer-amr/mediastreamer-amr-0.0.1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils multilib
+
+MY_P="msamr-${PV}"
+
+DESCRIPTION="mediastreamer plugin: add AMR Narrow Band support"
+HOMEPAGE="http://www.linphone.org/"
+SRC_URI="mirror://nongnu/linphone/plugins/sources/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 x86"
+IUSE=""
+
+RDEPEND=">=media-libs/mediastreamer-2.0.0:=
+ >=media-libs/opencore-amr-0.1.2"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-include.patch"
+}
+
+src_configure() {
+ # strict: don't want -Werror
+ econf \
+ --disable-strict
+}
diff --git a/media-plugins/mediastreamer-amr/metadata.xml b/media-plugins/mediastreamer-amr/metadata.xml
new file mode 100644
index 000000000000..4343afde9aa5
--- /dev/null
+++ b/media-plugins/mediastreamer-amr/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>bircoph@gentoo.org</email>
+ <name>Andrew Savchenko</name>
+ </maintainer>
+</pkgmetadata>