# 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 $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/opal/ChangeLog,v 1.2 2006/06/06 18:09:22 genstef Exp $
+
+*opal-2.2.2 (06 Jun 2006)
+
+ 06 Jun 2006; Stefan Schweizer <genstef@gentoo.org> +opal-2.2.2.ebuild:
+ version bump thanks to David PIRY <klessou@gmail.com> in bug 135785
*opal-2.2.1 (20 Mar 2006)
-MD5 14b4fa5c49ac19b4d019133bcc9b8e40 ChangeLog 385
-RMD160 0367dd827794fc50d4915aca36a3bea26a417725 ChangeLog 385
-SHA256 aa613363aa394a7ea9cfefd7f818d43a95b57664620a685fad6a381185b3e99e ChangeLog 385
-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
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX opal-2.1.1-notrace.diff 263 RMD160 17b6887acd196af52de8dfec8d5accfd654d1fc7 SHA1 079474507fe63a9019a293a5a529c23788221196 SHA256 3abf99ab2a7bde2e1a2380e22a9c5e15240439bdf7766b4715c78cacd46961c0
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
+DIST opal-2.2.1.tar.gz 4106648 RMD160 a004700d7df84297506ac7097040ae7762288ac8 SHA1 90eacb3fa76e0a347c245c3d0c5082d719188e68 SHA256 73016bdcc2e9e590614d29566c87c9a2681863e826f5254d9253eb278ce46703
+DIST opal-2.2.2.tar.gz 4112700 RMD160 2e1be0271671c7f71ed477078f27825b389e6fa0 SHA1 ff78323f7e68e145337985a58482145d012854b9 SHA256 133f59a0d126ae02b554750702bfcd4e7f75641c15bc8c9156e03f8582709cfc
+EBUILD opal-2.2.1.ebuild 2525 RMD160 ca9d87628ffe3f744d7592910b71654be93b4b11 SHA1 01c76a9026186622970e6519028af2c6d017c3d5 SHA256 48f66615b0801b745133c0efceb0e46620e5f35dc34867c8ee058b8a79bb83a0
MD5 b344dc0aadf43313d932c440b9aca292 opal-2.2.1.ebuild 2525
RMD160 ca9d87628ffe3f744d7592910b71654be93b4b11 opal-2.2.1.ebuild 2525
SHA256 48f66615b0801b745133c0efceb0e46620e5f35dc34867c8ee058b8a79bb83a0 opal-2.2.1.ebuild 2525
+EBUILD opal-2.2.2.ebuild 2525 RMD160 e94951f05cb2679c47a70aa1e43fea168e6bca7a SHA1 0f8c8628efa8eb93593a5ff2344522869f3dfc7a SHA256 34bc74d9007acb693614ac72534aa5c2d65f1c8d4eada887283eb1ef7bb3a086
+MD5 9eb12153c8504637c23a8bd435bb6059 opal-2.2.2.ebuild 2525
+RMD160 e94951f05cb2679c47a70aa1e43fea168e6bca7a opal-2.2.2.ebuild 2525
+SHA256 34bc74d9007acb693614ac72534aa5c2d65f1c8d4eada887283eb1ef7bb3a086 opal-2.2.2.ebuild 2525
+MISC ChangeLog 556 RMD160 5f2e8961eceacca72d19369c9cc9175f7157e533 SHA1 ced0e378eeb24c275dfc79a6592b860c7f2fd05f SHA256 052c929f93fc0b8462987ba1bda58643e0a5def216fc8f80b4cebb2654b4298b
+MD5 80ac3b35d055745d228753e034237e66 ChangeLog 556
+RMD160 5f2e8961eceacca72d19369c9cc9175f7157e533 ChangeLog 556
+SHA256 052c929f93fc0b8462987ba1bda58643e0a5def216fc8f80b4cebb2654b4298b ChangeLog 556
+MISC metadata.xml 157 RMD160 cb900ea8bf389b8f6147746711462b5757752b16 SHA1 bbbbd897cfe8d8bac785b23bead8e185871055bd SHA256 6759dc127ff53f85505b9b455ba325e65015b694b1ec50eb99ddfc8903b967bf
+MD5 b334f14db95c08e71ab02ffd5d712607 metadata.xml 157
+RMD160 cb900ea8bf389b8f6147746711462b5757752b16 metadata.xml 157
+SHA256 6759dc127ff53f85505b9b455ba325e65015b694b1ec50eb99ddfc8903b967bf metadata.xml 157
+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 22d6d31053a20b9e94c3ba4c0aafa1c3 files/digest-opal-2.2.2 235
+RMD160 487259187ed7af1c715f907b02ec543fd1964653 files/digest-opal-2.2.2 235
+SHA256 65a9d8ceede473cbc338e237a5d0b6329499094be58628e875ab03f90f48b2f6 files/digest-opal-2.2.2 235
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.3 (GNU/Linux)
+
+iD8DBQFEhcTfNJowsmZ/PzARAkjHAKDYcsDz3KFceLcbiqsq91hVHTC7BwCeOMWo
+xKKO7/BjS5jR26Upv4Z9hEs=
+=J3O5
+-----END PGP SIGNATURE-----
--- /dev/null
+MD5 899e38f5586e3b03d07cc1c55680a56f opal-2.2.2.tar.gz 4112700
+RMD160 2e1be0271671c7f71ed477078f27825b389e6fa0 opal-2.2.2.tar.gz 4112700
+SHA256 133f59a0d126ae02b554750702bfcd4e7f75641c15bc8c9156e03f8582709cfc opal-2.2.2.tar.gz 4112700
--- /dev/null
+# 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.2.ebuild,v 1.1 2006/06/06 18:09:22 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.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
+}