summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavoz@gentoo.org>2007-03-21 17:32:33 +0000
committerGustavo Zacarias <gustavoz@gentoo.org>2007-03-21 17:32:33 +0000
commit4f00d7e347618fc2081613b96d337aee1c017710 (patch)
tree5b6419a5a116ac26cbd10a803f9e5a892f819776 /net-libs/opal
parentVerbump wrt #167643 and #169066 (diff)
downloadgentoo-2-4f00d7e347618fc2081613b96d337aee1c017710.tar.gz
gentoo-2-4f00d7e347618fc2081613b96d337aee1c017710.tar.bz2
gentoo-2-4f00d7e347618fc2081613b96d337aee1c017710.zip
Verbump wrt #167643 and #169066
(Portage version: 2.1.2.2)
Diffstat (limited to 'net-libs/opal')
-rw-r--r--net-libs/opal/ChangeLog7
-rw-r--r--net-libs/opal/files/digest-opal-2.2.63
-rw-r--r--net-libs/opal/opal-2.2.6.ebuild104
3 files changed, 113 insertions, 1 deletions
diff --git a/net-libs/opal/ChangeLog b/net-libs/opal/ChangeLog
index 71bc8c913513..fc7d6d27ac61 100644
--- a/net-libs/opal/ChangeLog
+++ b/net-libs/opal/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-libs/opal
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/opal/ChangeLog,v 1.25 2007/03/10 18:45:37 kloeri Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/opal/ChangeLog,v 1.26 2007/03/21 17:32:33 gustavoz Exp $
+
+*opal-2.2.6 (21 Mar 2007)
+
+ 21 Mar 2007; Gustavo Zacarias <gustavoz@gentoo.org> +opal-2.2.6.ebuild:
+ Verbump wrt #167643 and #169066
10 Mar 2007; Bryan Østergaard <kloeri@gentoo.org> opal-2.2.5.ebuild:
Stable on Alpha + IA64, bug 167643.
diff --git a/net-libs/opal/files/digest-opal-2.2.6 b/net-libs/opal/files/digest-opal-2.2.6
new file mode 100644
index 000000000000..b3b2117a7f8d
--- /dev/null
+++ b/net-libs/opal/files/digest-opal-2.2.6
@@ -0,0 +1,3 @@
+MD5 7c83abfe93fbe6a868f5230d5bbec7aa opal-2.2.6.tar.gz 4161763
+RMD160 06c17f7111dd881b05177f2490b8cfa75b715282 opal-2.2.6.tar.gz 4161763
+SHA256 cdae25523e32ccdf655c1d493f4b2a04379f770f3fdf0bef7beaf48fbb6463f8 opal-2.2.6.tar.gz 4161763
diff --git a/net-libs/opal/opal-2.2.6.ebuild b/net-libs/opal/opal-2.2.6.ebuild
new file mode 100644
index 000000000000..5b8e18ec6dea
--- /dev/null
+++ b/net-libs/opal/opal-2.2.6.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/opal/opal-2.2.6.ebuild,v 1.1 2007/03/21 17:32:33 gustavoz 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 ~hppa ~ia64 ~ppc ~ppc64 sparc ~x86"
+
+RDEPEND=">=dev-libs/pwlib-1.10.5
+ >=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
+}