summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-libs/opal/ChangeLog10
-rw-r--r--net-libs/opal/Manifest15
-rw-r--r--net-libs/opal/files/digest-opal-2.2.13
-rw-r--r--net-libs/opal/files/opal-2.1.1-notrace.diff11
-rw-r--r--net-libs/opal/metadata.xml5
-rw-r--r--net-libs/opal/opal-2.2.1.ebuild104
6 files changed, 148 insertions, 0 deletions
diff --git a/net-libs/opal/ChangeLog b/net-libs/opal/ChangeLog
new file mode 100644
index 000000000000..bb692a50fca7
--- /dev/null
+++ b/net-libs/opal/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-libs/opal
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/opal/ChangeLog,v 1.1 2006/03/20 23:39:39 genstef Exp $
+
+*opal-2.2.1 (20 Mar 2006)
+
+ 20 Mar 2006; Stefan Schweizer <genstef@gentoo.org>
+ +files/opal-2.1.1-notrace.diff, +metadata.xml, +opal-2.2.1.ebuild:
+ New ebuild for ekiga, bug 119611
+
diff --git a/net-libs/opal/Manifest b/net-libs/opal/Manifest
new file mode 100644
index 000000000000..a6071728c4d3
--- /dev/null
+++ b/net-libs/opal/Manifest
@@ -0,0 +1,15 @@
+MD5 951bf675e0ef37142856156392a23eed ChangeLog 299
+RMD160 93c545a2895f06d030564b73973d10ac877e5b3d ChangeLog 299
+SHA256 fa449a096ffeb3757d90fbc852461090a90513488ae6354e08ee2e4416989526 ChangeLog 299
+MD5 04393a221269863043d768c2149dd043 files/digest-opal-2.2.1 235
+RMD160 1fea200d3d69a5832c0c1f90e71354f3fa1429ad files/digest-opal-2.2.1 235
+SHA256 0cad759cb58103932ba981feb2a401b3e78ca39b2660389737c662831cc6164f files/digest-opal-2.2.1 235
+MD5 9be1e6d40d03be09fb8b6b9d5302374b files/opal-2.1.1-notrace.diff 263
+RMD160 17b6887acd196af52de8dfec8d5accfd654d1fc7 files/opal-2.1.1-notrace.diff 263
+SHA256 3abf99ab2a7bde2e1a2380e22a9c5e15240439bdf7766b4715c78cacd46961c0 files/opal-2.1.1-notrace.diff 263
+MD5 b334f14db95c08e71ab02ffd5d712607 metadata.xml 157
+RMD160 cb900ea8bf389b8f6147746711462b5757752b16 metadata.xml 157
+SHA256 6759dc127ff53f85505b9b455ba325e65015b694b1ec50eb99ddfc8903b967bf metadata.xml 157
+MD5 c3facd589a685a7737d3e2b41244c23d opal-2.2.1.ebuild 2535
+RMD160 60e17726ad4efe24f8d6daa20b0eb834b075bcbb opal-2.2.1.ebuild 2535
+SHA256 8a49c80fceb8bc81c8113615686a221685718cd3a20cf65de5cb6b22bc58a11d opal-2.2.1.ebuild 2535
diff --git a/net-libs/opal/files/digest-opal-2.2.1 b/net-libs/opal/files/digest-opal-2.2.1
new file mode 100644
index 000000000000..485141fced96
--- /dev/null
+++ b/net-libs/opal/files/digest-opal-2.2.1
@@ -0,0 +1,3 @@
+MD5 bc6079100e831cf117597bb99b266a0c opal-2.2.1.tar.gz 4106648
+RMD160 a004700d7df84297506ac7097040ae7762288ac8 opal-2.2.1.tar.gz 4106648
+SHA256 73016bdcc2e9e590614d29566c87c9a2681863e826f5254d9253eb278ce46703 opal-2.2.1.tar.gz 4106648
diff --git a/net-libs/opal/files/opal-2.1.1-notrace.diff b/net-libs/opal/files/opal-2.1.1-notrace.diff
new file mode 100644
index 000000000000..e03eaa43a252
--- /dev/null
+++ b/net-libs/opal/files/opal-2.1.1-notrace.diff
@@ -0,0 +1,11 @@
+--- opal_v2_1_1/Makefile.in.orig 2005-09-04 03:40:12.000000000 +0000
++++ opal_v2_1_1/Makefile.in 2005-09-04 03:40:49.000000000 +0000
+@@ -176,7 +176,7 @@
+
+ OPAL_OBJDIR = $(OPAL_LIBDIR)/$(PT_OBJBASE)
+ ifdef NOTRACE
+-OPAL_OBJDIR += n
++OBJDIR_SUFFIX := n
+ endif
+
+
diff --git a/net-libs/opal/metadata.xml b/net-libs/opal/metadata.xml
new file mode 100644
index 000000000000..02207a5a38e2
--- /dev/null
+++ b/net-libs/opal/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>voip</herd>
+</pkgmetadata>
diff --git a/net-libs/opal/opal-2.2.1.ebuild b/net-libs/opal/opal-2.2.1.ebuild
new file mode 100644
index 000000000000..cfdc3c301280
--- /dev/null
+++ b/net-libs/opal/opal-2.2.1.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/opal/opal-2.2.1.ebuild,v 1.1 2006/03/20 23:39:39 genstef Exp $
+
+inherit eutils flag-o-matic multilib
+
+DESCRIPTION="OPAL library, used by Ekiga"
+HOMEPAGE="http://www.ekiga.org"
+SRC_URI="http://www.ekiga.org/admin/downloads/latest/sources/sources/${P}.tar.gz"
+
+IUSE="novideo noaudio debug"
+SLOT="0"
+LICENSE="MPL-1.1"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+
+RDEPEND=">=dev-libs/pwlib-1.10.0
+ >=media-video/ffmpeg-0.4.7"
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ # Makefile is currently broken with NOTRACE=1, fix that
+ epatch ${FILESDIR}/${PN}-2.1.1-notrace.diff
+}
+
+src_compile() {
+ local makeopts
+ local myconf
+
+ # remove -fstack-protector, may cause problems (bug #75259)
+ filter-flags -fstack-protector
+
+ # NOTRACE avoid compilation problems, we disable PTRACING using NOTRACE=1
+ # compile with PTRACING if the user wants to debug stuff
+ if ! use debug; then
+ makeopts="${makeopts} NOTRACE=1"
+ fi
+
+ # doesn't work with osptoolkit-3.3.1
+ # iax2 support is missing in the tarball, disable it too
+ myconf="--disable-transnexusosp --disable-iax --enable-localspeex"
+
+ use novideo \
+ && myconf="${myconf} --disable-video"
+
+ use noaudio \
+ && myconf="${myconf} --disable-audio"
+
+ econf \
+ PWLIBDIR=/usr/share/pwlib \
+ OPALDIR=${S} \
+ ${myconf} || die "configure failed"
+
+ emake ${makeopts} opt || die "make failed"
+}
+
+src_install() {
+ local OPAL_ARCH ALT_ARCH OPAL_SUFFIX
+ local makeopts libdir libname
+
+ # make NOTRACE=1 opt ==> linux_$ARCH_n
+ # make opt ==> linux_$ARCH_r
+ if ! use debug; then
+ OPAL_SUFFIX="n"
+ makeopts="NOTRACE=1"
+ else
+ OPAL_SUFFIX="r"
+ fi
+
+ # use ptlib-config to get the right values here (for hppa, amd64 ...)
+ OPAL_ARCH="$(ptlib-config --ostype)_$(ptlib-config --machtype)_${OPAL_SUFFIX}"
+
+ # set ALT_ARCH
+ if use debug; then
+ ALT_ARCH=${OPAL_ARCH/_r/_n}
+ else
+ ALT_ARCH=${OPAL_ARCH/_n/_r}
+ fi
+
+ ###
+ # Install stuff
+ #
+ make PREFIX=/usr DESTDIR=${D} \
+ ${makeopts} install || die "install failed"
+
+ libdir=$(get_libdir)
+ libname="libopal_${OPAL_ARCH}.so.${PV}"
+
+ # compat symlinks
+ for pv in ${PV} ${PV%.[0-9]} ${PV%.[0-9]*.[0-9]}; do
+ dosym ${libname} /usr/${libdir}/libopal_${ALT_ARCH}.so.${pv}
+ done
+ dosym ${libname} /usr/${libdir}/libopal_${OPAL_ARCH}.so
+ dosym ${libname} /usr/${libdir}/libopal_${ALT_ARCH}.so
+
+ ###
+ # Compatibility "hacks"
+ #
+
+ # install version.h into $OPALDIR
+ insinto /usr/share/opal
+ doins version.h
+}