summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/openh323/ChangeLog8
-rw-r--r--net-libs/openh323/files/digest-openh323-1.15.32
-rw-r--r--net-libs/openh323/files/digest-openh323-1.18.03
-rw-r--r--net-libs/openh323/files/openh323-1.18.0-install.diff22
-rw-r--r--net-libs/openh323/openh323-1.18.0.ebuild79
5 files changed, 113 insertions, 1 deletions
diff --git a/net-libs/openh323/ChangeLog b/net-libs/openh323/ChangeLog
index 56f13434b73e..9cbec7cb4369 100644
--- a/net-libs/openh323/ChangeLog
+++ b/net-libs/openh323/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-libs/openh323
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/openh323/ChangeLog,v 1.72 2006/07/12 09:05:30 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/openh323/ChangeLog,v 1.73 2006/09/14 01:12:41 genstef Exp $
+
+*openh323-1.18.0 (14 Sep 2006)
+
+ 14 Sep 2006; Stefan Schweizer <genstef@gentoo.org>
+ +files/openh323-1.18.0-install.diff, +openh323-1.18.0.ebuild:
+ version bump to fix bug 127246
12 Jul 2006; Markus Rothe <corsair@gentoo.org> openh323-1.15.6.ebuild:
Added ~ppc64
diff --git a/net-libs/openh323/files/digest-openh323-1.15.3 b/net-libs/openh323/files/digest-openh323-1.15.3
index 49b5ab176add..0aa701387840 100644
--- a/net-libs/openh323/files/digest-openh323-1.15.3
+++ b/net-libs/openh323/files/digest-openh323-1.15.3
@@ -1 +1,3 @@
MD5 f9d25921281843fd2304da494b2e04e2 openh323-1.15.3.tar.gz 3754056
+RMD160 280dde066c6170219a578ce723b252757da92f4e openh323-1.15.3.tar.gz 3754056
+SHA256 2dab649046ca15b589bf48cfa6c6d2f3656b310ac482280f69a74eea397c91ef openh323-1.15.3.tar.gz 3754056
diff --git a/net-libs/openh323/files/digest-openh323-1.18.0 b/net-libs/openh323/files/digest-openh323-1.18.0
new file mode 100644
index 000000000000..32e53d12ec23
--- /dev/null
+++ b/net-libs/openh323/files/digest-openh323-1.18.0
@@ -0,0 +1,3 @@
+MD5 d7043ba34b5038f0113b099ede0884fb openh323-v1_18_0-src-tar.gz 3742730
+RMD160 1fc2abe36eef780f10f52aa2ebdd1950aa4fcebb openh323-v1_18_0-src-tar.gz 3742730
+SHA256 26b4c9cf21dc1c92edf1583046670fce6be5b13045ef5d06e11403d36ffff218 openh323-v1_18_0-src-tar.gz 3742730
diff --git a/net-libs/openh323/files/openh323-1.18.0-install.diff b/net-libs/openh323/files/openh323-1.18.0-install.diff
new file mode 100644
index 000000000000..cec66c7f2a96
--- /dev/null
+++ b/net-libs/openh323/files/openh323-1.18.0-install.diff
@@ -0,0 +1,22 @@
+--- openh323_v1_18_0/Makefile.in.orig 2005-08-04 21:31:59.000000000 +0200
++++ openh323_v1_18_0/Makefile.in 2006-09-14 00:17:20.000000000 +0200
+@@ -336,7 +336,7 @@
+
+ install:
+ mkdir -p $(DESTDIR)$(LIBDIR)
+- rm -f $(DESTDIR)$(LIBDIR)/libh323_*_r.so*
++ rm -f $(DESTDIR)$(LIBDIR)/libh323_*_$(OH323_SUFFIX).so*
+ $(INSTALL) -m 444 lib/$(OH323_FILE).@MAJOR_VERSION@.@MINOR_VERSION@.@BUILD_NUMBER@ $(DESTDIR)$(LIBDIR)
+ (cd $(DESTDIR)$(LIBDIR) ; \
+ rm -f $(OH323_FILE).@MAJOR_VERSION@.@MINOR_VERSION@ ; \
+@@ -351,8 +351,8 @@
+ ln -sf $(OH323_FILE).@MAJOR_VERSION@.@MINOR_VERSION@.@BUILD_NUMBER@ $(OH323_FILE) \
+ )
+ (cd $(DESTDIR)$(LIBDIR); \
+- rm -f libopenh323.@SHAREDLIBEXT@ ; \
+- ln -sf $(OH323_FILE) libopenh323.@SHAREDLIBEXT@ \
++ rm -f libopenh323.$(LIB_SUFFIX) ; \
++ ln -sf $(OH323_FILE) libopenh323.$(LIB_SUFFIX) \
+ )
+ ( for dir in $(DESTDIR)$(LIBDIR) \
+ $(DESTDIR)$(PREFIX)/include/openh323 \
diff --git a/net-libs/openh323/openh323-1.18.0.ebuild b/net-libs/openh323/openh323-1.18.0.ebuild
new file mode 100644
index 000000000000..bed01daecd1d
--- /dev/null
+++ b/net-libs/openh323/openh323-1.18.0.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/openh323/openh323-1.18.0.ebuild,v 1.1 2006/09/14 01:12:41 genstef Exp $
+
+inherit eutils flag-o-matic multilib
+
+MY_P="${PN}-v${PV//./_}"
+
+DESCRIPTION="Open Source implementation of the ITU H.323 teleconferencing protocol"
+HOMEPAGE="http://www.openh323.org/"
+SRC_URI="http://www.voxgratia.org/releases/${PN}-v${PV//./_}-src-tar.gz"
+
+IUSE="debug ssl novideo noaudio"
+SLOT="0"
+LICENSE="MPL-1.1"
+KEYWORDS="~alpha ~amd64 ppc ~sparc ~x86 ~hppa"
+
+DEPEND=">=sys-apps/sed-4
+ =dev-libs/pwlib-1.10*
+ >=media-video/ffmpeg-0.4.7
+ ssl? ( dev-libs/openssl )"
+
+S="${WORKDIR}/${PN}_v${PV//./_}"
+
+pkg_setup() {
+ use debug || makeopts="NOTRACE=1"
+}
+
+src_unpack() {
+ tar -xzf ${DISTDIR}/${A} -C ${WORKDIR} || die "Unpacking failed"
+
+ cd ${S}
+ # Makefile does not work correctly, fix
+ epatch ${FILESDIR}/${PN}-1.18.0-install.diff
+}
+
+src_compile() {
+ # remove -fstack-protector, may cause problems (bug #75259)
+ filter-flags -fstack-protector
+
+ #export OPENH323DIR=${S}
+
+ econf \
+ $(use_enable !novideo video) \
+ $(use_enable !noaudio audio) \
+ --disable-transnexusosp \
+ || die "econf failed"
+ emake ${makeopts} opt || die "emake failed"
+}
+
+src_install() {
+ emake ${makeopts} PREFIX=/usr DESTDIR=${D} install || die "emake install failed"
+
+ ###
+ # Compatibility "hacks"
+ #
+
+ # debug / no debug use different suffixes - some packages build with only one
+ for i in ${D}/usr/lib/libh323_linux_x86_*; do
+ use debug && ln -s ${D}/usr/lib/libh323_linux_x86_*.so.*.*.* ${i/_r/_n} \
+ || ln -s ${D}/usr/lib/libh323_linux_x86_*.so.*.*.* ${i/_n/_r}
+ done
+
+ # mod to keep gnugk happy
+ insinto /usr/share/openh323/src
+ echo -e "opt:\n\t:" > ${T}/Makefile
+ doins ${T}/Makefile
+
+ # these should point to the right directories,
+ # openh323.org apps and others need this
+ dosed "s:^OH323_LIBDIR = \$(OPENH323DIR).*:OH323_LIBDIR = /usr/${libdir}:" \
+ /usr/share/openh323/openh323u.mak
+ dosed "s:^OH323_INCDIR = \$(OPENH323DIR).*:OH323_INCDIR = /usr/include/openh323:" \
+ /usr/share/openh323/openh323u.mak
+
+ # this is hardcoded now?
+ dosed "s:^\(OPENH323DIR[ \t]\+=\) ${S}:\1 /usr/share/openh323:" \
+ /usr/share/openh323/openh323u.mak
+}