Import ohphone-1.14.4
Ohphone is a fully functional H.323 endpoint command line application that can be used to listen for incoming H.323 calls, or to initiate a call to a remote host. It includes a simple menu that allows interactive control of functions, as well as allowing control of most dialing and answer functions via a phone handset. ok kili@
This commit is contained in:
parent
6a9007a935
commit
9763e3359a
52
telephony/ohphone/Makefile
Normal file
52
telephony/ohphone/Makefile
Normal file
@ -0,0 +1,52 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2007/04/27 13:36:09 ajacoutot Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
COMMENT= "H.323 IP telephony endpoint"
|
||||
|
||||
DISTNAME= ohphone-v1_14_4
|
||||
PKGNAME= ohphone-1.14.4
|
||||
CATEGORIES= telephony net
|
||||
|
||||
EXTRACT_SUFX= -src-tar.gz
|
||||
|
||||
HOMEPAGE= http://www.voxgratia.org/
|
||||
|
||||
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
||||
|
||||
# MPL
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= ${HOMEPAGE}/releases/
|
||||
|
||||
WANTLIB= X11 Xext avutil c crypto expat m ossaudio pt pthread \
|
||||
ssl stdc++
|
||||
|
||||
LIB_DEPENDS= h323.>=1::net/openh323
|
||||
|
||||
WRKDIST= ${WRKDIR}/${DISTNAME:S/-/_/}
|
||||
|
||||
USE_X11= Yes
|
||||
USE_GMAKE= Yes
|
||||
ALL_TARGET= optshared
|
||||
NO_REGRESS= Yes
|
||||
|
||||
MAKE_ENV+= CC=${CC} CPLUS=${CXX} \
|
||||
OPENH323DIR=${LOCALBASE}/share/openh323/ \
|
||||
OH323_LIBDIR=${LOCALBASE}/lib \
|
||||
PWLIBDIR=${LOCALBASE}/share/pwlib/ \
|
||||
SYSLIBDIR=`ptlib-config --libdir` \
|
||||
PTLIB_FILE=libpt.`ptlib-config --sharedlibext`.`ptlib-config --version` \
|
||||
STDCCFLAGS="${STDCCFLAGS} -I${LOCALBASE}/include/openh323"
|
||||
|
||||
do-extract:
|
||||
@tar xzf ${FULLDISTDIR}/${DISTNAME}${EXTRACT_SUFX} -C ${WRKDIR}
|
||||
|
||||
post-install:
|
||||
${INSTALL_MAN_DIR} ${PREFIX}/man/man1/
|
||||
${INSTALL_MAN} ${WRKSRC}/ohphone.1 ${PREFIX}/man/man1/
|
||||
|
||||
.include <bsd.port.mk>
|
5
telephony/ohphone/distinfo
Normal file
5
telephony/ohphone/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (ohphone-v1_14_4-src-tar.gz) = bvqfDRcB2dEO9fLMR8hwsQ==
|
||||
RMD160 (ohphone-v1_14_4-src-tar.gz) = dlM3LjSrJTZZolmQuB13IsWKBiM=
|
||||
SHA1 (ohphone-v1_14_4-src-tar.gz) = fBml/mKNWzTt28yG9ZUjhTD/XIY=
|
||||
SHA256 (ohphone-v1_14_4-src-tar.gz) = HBYm+PWcitOz6jgfnn8x7lN805Q2vfHWadvw2EQF2HI=
|
||||
SIZE (ohphone-v1_14_4-src-tar.gz) = 97890
|
12
telephony/ohphone/patches/patch-main_cxx
Normal file
12
telephony/ohphone/patches/patch-main_cxx
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-main_cxx,v 1.1.1.1 2007/04/27 13:36:09 ajacoutot Exp $
|
||||
--- main.cxx.orig Tue Jul 13 03:57:20 2004
|
||||
+++ main.cxx Sat Apr 14 21:14:51 2007
|
||||
@@ -570,6 +570,8 @@
|
||||
//#include "t120proto.h"
|
||||
|
||||
|
||||
+#undef P_SDL
|
||||
+
|
||||
#ifdef DEPRECATED_CU30
|
||||
#include "cu30codec.h"
|
||||
#endif
|
12
telephony/ohphone/patches/patch-ohphone_1
Normal file
12
telephony/ohphone/patches/patch-ohphone_1
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-ohphone_1,v 1.1.1.1 2007/04/27 13:36:09 ajacoutot Exp $
|
||||
--- ohphone.1.orig Mon Apr 16 21:14:57 2007
|
||||
+++ ohphone.1 Mon Apr 16 21:15:19 2007
|
||||
@@ -172,7 +172,7 @@ If the \-\-ringfile option is specified, this option d
|
||||
|
||||
.TP
|
||||
\fB\-s\fR, \fB\-\-sound\fR device\fR
|
||||
-Select the sound input and output device. The default value is /dev/dsp0.
|
||||
+Select the sound input and output device. The default value is /dev/audio0.
|
||||
|
||||
.TP
|
||||
\fB\-\-sound-mixer\fR device\fR
|
5
telephony/ohphone/pkg/DESCR
Normal file
5
telephony/ohphone/pkg/DESCR
Normal file
@ -0,0 +1,5 @@
|
||||
Ohphone is a fully functional H.323 endpoint command line application
|
||||
that can be used to listen for incoming H.323 calls, or to initiate a
|
||||
call to a remote host. It includes a simple menu that allows
|
||||
interactive control of functions, as well as allowing control of most
|
||||
dialing and answer functions via a phone handset.
|
3
telephony/ohphone/pkg/PLIST
Normal file
3
telephony/ohphone/pkg/PLIST
Normal file
@ -0,0 +1,3 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/04/27 13:36:09 ajacoutot Exp $
|
||||
bin/ohphone
|
||||
@man man/man1/ohphone.1
|
Loading…
Reference in New Issue
Block a user