# 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.31 2007/04/14 08:14:10 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/opal/ChangeLog,v 1.32 2007/04/14 08:57:55 genstef Exp $
+
+*opal-2.2.8 (14 Apr 2007)
+
+ 14 Apr 2007; Stefan Schweizer <genstef@gentoo.org> +opal-2.2.8.ebuild:
+ version bump
14 Apr 2007; Stefan Schweizer <genstef@gentoo.org> -opal-2.2.1.ebuild,
-opal-2.2.2.ebuild, -opal-2.2.3.ebuild, -opal-2.2.5.ebuild:
RMD160 17b6887acd196af52de8dfec8d5accfd654d1fc7 files/opal-2.1.1-notrace.diff 263
SHA256 3abf99ab2a7bde2e1a2380e22a9c5e15240439bdf7766b4715c78cacd46961c0 files/opal-2.1.1-notrace.diff 263
DIST opal-2.2.6.tar.gz 4161763 RMD160 06c17f7111dd881b05177f2490b8cfa75b715282 SHA1 e085d18e697d45c168b8626c280eb1b5a07f888c SHA256 cdae25523e32ccdf655c1d493f4b2a04379f770f3fdf0bef7beaf48fbb6463f8
+DIST opal-2.2.8.tar.gz 4162369 RMD160 5974537aced1c2b531ebeb0efa8a71fff7e695e8 SHA1 7dbcc89ebe687364eb9fbdf2395f74e7a06f8beb SHA256 890132438781c980ab5297795f049d57b13ae78b64c238c936c320adf2bd35fa
EBUILD opal-2.2.6.ebuild 2538 RMD160 1f3aeecf057750362c79ee04f545c72dd894a778 SHA1 43be4b6280f879ad4b6b921b2f333be38f679872 SHA256 e96dbcbd2a297831e2dc0eee92969717043b1f4dbc38e6426caf9fb303a74be6
MD5 93b67d09d8e0a3a46ccd24c56b794443 opal-2.2.6.ebuild 2538
RMD160 1f3aeecf057750362c79ee04f545c72dd894a778 opal-2.2.6.ebuild 2538
SHA256 e96dbcbd2a297831e2dc0eee92969717043b1f4dbc38e6426caf9fb303a74be6 opal-2.2.6.ebuild 2538
-MISC ChangeLog 3673 RMD160 36cb2c46fc74d5a08c51fa515669c463cdbf0846 SHA1 c025f481e38cda23814fc12484ae0b2a76ee0dbb SHA256 e1ef7854d8c75a22c334114d0d614d16cc9b0184fe7c7d9e1536dd82c1aa9ddb
-MD5 0cb997830af5a921fabaa7c31d6a8ec1 ChangeLog 3673
-RMD160 36cb2c46fc74d5a08c51fa515669c463cdbf0846 ChangeLog 3673
-SHA256 e1ef7854d8c75a22c334114d0d614d16cc9b0184fe7c7d9e1536dd82c1aa9ddb ChangeLog 3673
+EBUILD opal-2.2.8.ebuild 2556 RMD160 2fe21e2ba3f3bf790f93a5aabb0a39b859d030cb SHA1 b0a183f34b63d3598093198b28bd71292d12879e SHA256 70371f466b1e3d88d3b99732a6cf2c81e6b9af8825ccccd6c897dc78f668bf9a
+MD5 4bd6b7cf610c46359fbb4a92bd04db0f opal-2.2.8.ebuild 2556
+RMD160 2fe21e2ba3f3bf790f93a5aabb0a39b859d030cb opal-2.2.8.ebuild 2556
+SHA256 70371f466b1e3d88d3b99732a6cf2c81e6b9af8825ccccd6c897dc78f668bf9a opal-2.2.8.ebuild 2556
+MISC ChangeLog 3789 RMD160 8e9b85c9d1518d11cca0a0e04cb884fbdf0a97ec SHA1 f5ca36e037bcfa63437f49a63d115036666bf603 SHA256 a58e39968c740d17d8551aa8d59c1f44a58a4b918115b30c2935e4969ebb2efe
+MD5 4e2a529303f575c1a0588c6db7490596 ChangeLog 3789
+RMD160 8e9b85c9d1518d11cca0a0e04cb884fbdf0a97ec ChangeLog 3789
+SHA256 a58e39968c740d17d8551aa8d59c1f44a58a4b918115b30c2935e4969ebb2efe ChangeLog 3789
MISC metadata.xml 157 RMD160 cb900ea8bf389b8f6147746711462b5757752b16 SHA1 bbbbd897cfe8d8bac785b23bead8e185871055bd SHA256 6759dc127ff53f85505b9b455ba325e65015b694b1ec50eb99ddfc8903b967bf
MD5 b334f14db95c08e71ab02ffd5d712607 metadata.xml 157
RMD160 cb900ea8bf389b8f6147746711462b5757752b16 metadata.xml 157
MD5 b896915fd32e12ce49894a549516f14c files/digest-opal-2.2.6 235
RMD160 b39cb50835ef31115c9779ec609a6f4018da77c1 files/digest-opal-2.2.6 235
SHA256 d44e6d7f9196e060815ff0d70ba58dfddc7b655f8cf097a8c13a98e246c897f8 files/digest-opal-2.2.6 235
+MD5 c2fbc4f36db4e03f9f340b3abe0b2ec0 files/digest-opal-2.2.8 235
+RMD160 b00d598efa0560f9e5916f968da343371c40072f files/digest-opal-2.2.8 235
+SHA256 b5f22c31e13d18feec526e8a8cd1abb99f068ff23df6d01e76fbd9143bc12c4e files/digest-opal-2.2.8 235
--- /dev/null
+MD5 700b0c3a7606afc0dc6c9d3c12fcb23b opal-2.2.8.tar.gz 4162369
+RMD160 5974537aced1c2b531ebeb0efa8a71fff7e695e8 opal-2.2.8.tar.gz 4162369
+SHA256 890132438781c980ab5297795f049d57b13ae78b64c238c936c320adf2bd35fa opal-2.2.8.tar.gz 4162369
--- /dev/null
+# 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.8.ebuild,v 1.1 2007/04/14 08:57:55 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 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+
+RDEPEND="~dev-libs/pwlib-1.10.$[${PV##*.}-1]
+ >=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
+}