From cab02ed7032c28126e90c46a2e0063492cc0ded7 Mon Sep 17 00:00:00 2001 From: fake Date: Fri, 24 Sep 2004 13:19:56 +0000 Subject: [PATCH] fake: add package 'mythphone' [2004091412464330430] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@4359 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/fake/mythphone/mythphone.conf | 20 +++++++ package/fake/mythphone/mythphone.desc | 54 +++++++++++++++++++ .../fake/mythphone/use-system-avcodec.patch | 11 ++++ 3 files changed, 85 insertions(+) create mode 100644 package/fake/mythphone/mythphone.conf create mode 100644 package/fake/mythphone/mythphone.desc create mode 100644 package/fake/mythphone/use-system-avcodec.patch diff --git a/package/fake/mythphone/mythphone.conf b/package/fake/mythphone/mythphone.conf new file mode 100644 index 000000000..7bb1d1acf --- /dev/null +++ b/package/fake/mythphone/mythphone.conf @@ -0,0 +1,20 @@ + +if [ -z "$ROCKCFG_PKG_MYTHTV_PREFIX" ] ; then + prefix=opt/mythtv +else + prefix=$ROCKCFG_PKG_MYTHTV_PREFIX +fi + +mythphone_premake() { + sed -i -e "s,^PREFIX = /usr/local\$,PREFIX = $root/$prefix," settings.pro + # tries to get libavcodec/avformat.h from here - let's set it to something more appropiate + sed -i -e "s,^MYTHLIBDIR = ../../mythtv/libs/\$,MYTHLIBDIR = $root/$prefix/lib/mythtv/libs," settings.pro + qmake mythphone.pro +} + +# no 'traditional' festival in rock +confopt="" +extraconfopt="" + +hook_add premake 1 mythphone_premake + diff --git a/package/fake/mythphone/mythphone.desc b/package/fake/mythphone/mythphone.desc new file mode 100644 index 000000000..5842479d1 --- /dev/null +++ b/package/fake/mythphone/mythphone.desc @@ -0,0 +1,54 @@ +[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN --- +[COPY] +[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. +[COPY] Please add additional copyright information _after_ the line containing +[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +[COPY] +[COPY] ROCK Linux: rock-src/package/fake/mythphone/mythphone.desc +[COPY] ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf +[COPY] +[COPY] This program is free software; you can redistribute it and/or modify +[COPY] it under the terms of the GNU General Public License as published by +[COPY] the Free Software Foundation; either version 2 of the License, or +[COPY] (at your option) any later version. A copy of the GNU General Public +[COPY] License can be found at Documentation/COPYING. +[COPY] +[COPY] Many people helped and are helping developing ROCK Linux. Please +[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM +[COPY] file for details. +[COPY] +[COPY] --- ROCK-COPYRIGHT-NOTE-END --- + +[I] a SIP VoIP/streaming video plug-in for MythTV + +[T] MythPhone is a plugin for MythTV that provides for phone and video calls +[T] to be made using a standard SIP protocol. +[T] +[T] Features: +[T] * Contact database for click-dialling +[T] * Voice calls at G.711 20ms +[T] * Video calls at H.263 +[T] * Pan and Zoom for video calls +[T] * Voicemail +[T] * Send/receive DTMF (RFC 2833) +[T] * VXML scripting with Text-To-Speech engine +[T] * Full screen video +[T] * Call history +[T] * Popup whilst watching TV shows a call is coming in +[T] * NAT and Firewall handling + +[U] http://www.zen13655.zen.co.uk/mythphone.html + +[A] Paul Volkaerts +[M] fake + +[C] extra/multimedia + +[L] GPL +[S] Stable +[V] 0.16 +[P] X -?---5---9 128.100 + +[D] 2805903290 mythphone-0.16.tar.bz2 http://www.mythtv.org/mc/ + diff --git a/package/fake/mythphone/use-system-avcodec.patch b/package/fake/mythphone/use-system-avcodec.patch new file mode 100644 index 000000000..6a04f0828 --- /dev/null +++ b/package/fake/mythphone/use-system-avcodec.patch @@ -0,0 +1,11 @@ +--- ./mythphone/h263.h.orig 2004-09-14 12:31:41.272586216 +0200 ++++ ./mythphone/h263.h 2004-09-14 12:28:48.057918848 +0200 +@@ -20,7 +20,7 @@ + #include "rtp.h" + + extern "C" { +-#include "libavcodec/avcodec.h" ++#include + } + +