bumping opal to 2.2.5
authorRemi Cardona <remi@gentoo.org>
Wed, 21 Feb 2007 23:04:28 +0000 (23:04 +0000)
committerRemi Cardona <remi@gentoo.org>
Wed, 21 Feb 2007 23:04:28 +0000 (23:04 +0000)
Package-Manager: portage-2.1.2-r9

net-libs/opal/ChangeLog
net-libs/opal/Manifest
net-libs/opal/files/digest-opal-2.2.5 [new file with mode: 0644]
net-libs/opal/opal-2.2.5.ebuild [new file with mode: 0644]

index bfdb31ff950616fcc3a01d8a389804ce67c337a0..7506d413160bbec6526aa4e8072ff75298cea4d7 100644 (file)
@@ -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.17 2007/01/19 01:21:56 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/opal/ChangeLog,v 1.18 2007/02/21 23:04:28 remi Exp $
+
+*opal-2.2.5 (21 Feb 2007)
+
+  21 Feb 2007; Remi Cardona <remi@gentoo.org> +opal-2.2.5.ebuild:
+  bumping opal to 2.2.5
 
   19 Jan 2007; Jeroen Roovers <jer@gentoo.org> opal-2.2.3.ebuild:
   Stable for HPPA (bug #147751).
index 200e728cef86910232b2f36b0056fc133abe3fbd..f0ce7cf40decbf2305179249748305b186cca178 100644 (file)
@@ -5,6 +5,7 @@ SHA256 3abf99ab2a7bde2e1a2380e22a9c5e15240439bdf7766b4715c78cacd46961c0 files/op
 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
 DIST opal-2.2.3.tar.gz 4114610 RMD160 98696a5ee5492dc2a9fda6115b85496c51b69157 SHA1 bd14b8c7374931d60173258fbb9387d56bc5641f SHA256 366859a10c9a15c044fb2697c96c929c7f8f310ad3841f2f87f2757782039e07
+DIST opal-2.2.5.tar.gz 4158355 RMD160 65930a5f951c316b1a9d80bab3efb40c092dd56a SHA1 8b4dc8319a5c10967181b94df3d06d48b1d1ab9b SHA256 4eae45d38c64337b645ffb2e487c48fa118c8746f189f0efb95b862a8d0d6075
 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
@@ -17,10 +18,14 @@ EBUILD opal-2.2.3.ebuild 2509 RMD160 b1a02c7081071bc789639de54a9a36de94f34276 SH
 MD5 af57457f3a46a14e2ed0ce5a4efcb177 opal-2.2.3.ebuild 2509
 RMD160 b1a02c7081071bc789639de54a9a36de94f34276 opal-2.2.3.ebuild 2509
 SHA256 5313fc0e5e3e1267f0246119e4068a6e21e777f25c4d805fc69dba35694ac03d opal-2.2.3.ebuild 2509
-MISC ChangeLog 2083 RMD160 c001821bb647a5b04bfaccee8936e851a4b11046 SHA1 4c4cba86eddf0a81b24132c2c56169835a4a2861 SHA256 2e19c76f8008ce74d41903fae1665be24170318aceb07da1be200a3ccd145a48
-MD5 d6850e28e89ba32629ce7d5db7a8825d ChangeLog 2083
-RMD160 c001821bb647a5b04bfaccee8936e851a4b11046 ChangeLog 2083
-SHA256 2e19c76f8008ce74d41903fae1665be24170318aceb07da1be200a3ccd145a48 ChangeLog 2083
+EBUILD opal-2.2.5.ebuild 2541 RMD160 c2aa97118b0585ed4048062694b1e30307c496b8 SHA1 74df6e9493d8df06ae0bd8a6a7cf62cb8e7f4a22 SHA256 5d52dd93c7bdc858fa0105c1226218d10ac62bff46e031ffb59e3d07afb4299f
+MD5 deba0cd166d4c8b8e1189b491e488535 opal-2.2.5.ebuild 2541
+RMD160 c2aa97118b0585ed4048062694b1e30307c496b8 opal-2.2.5.ebuild 2541
+SHA256 5d52dd93c7bdc858fa0105c1226218d10ac62bff46e031ffb59e3d07afb4299f opal-2.2.5.ebuild 2541
+MISC ChangeLog 2202 RMD160 e47051951e3b5065c72c4ebb8a4e51dbdedd3142 SHA1 9b775c6a19fdab7be4f639477f0a32da87e714e4 SHA256 f347ba0c13561a24ec59db6cc98e33f27dec6bc31e1e0bc6fabfe72a881b7259
+MD5 41721d70c69c3b19bad6bc22bfe4b151 ChangeLog 2202
+RMD160 e47051951e3b5065c72c4ebb8a4e51dbdedd3142 ChangeLog 2202
+SHA256 f347ba0c13561a24ec59db6cc98e33f27dec6bc31e1e0bc6fabfe72a881b7259 ChangeLog 2202
 MISC metadata.xml 157 RMD160 cb900ea8bf389b8f6147746711462b5757752b16 SHA1 bbbbd897cfe8d8bac785b23bead8e185871055bd SHA256 6759dc127ff53f85505b9b455ba325e65015b694b1ec50eb99ddfc8903b967bf
 MD5 b334f14db95c08e71ab02ffd5d712607 metadata.xml 157
 RMD160 cb900ea8bf389b8f6147746711462b5757752b16 metadata.xml 157
@@ -34,3 +39,6 @@ SHA256 65a9d8ceede473cbc338e237a5d0b6329499094be58628e875ab03f90f48b2f6 files/di
 MD5 08c6a5bf8f9f95573bf4f814f5a977ed files/digest-opal-2.2.3 235
 RMD160 d4f8afcd228484f46ad49a80260a159e08b0cb61 files/digest-opal-2.2.3 235
 SHA256 fa0e289d133ad8bfd9cff3b94990947c1897bf362b1ed0ead1fb3172fbc50b43 files/digest-opal-2.2.3 235
+MD5 715aee1330bf5859180c50d8d2840e25 files/digest-opal-2.2.5 235
+RMD160 0d9f9d9892c9c3c38194b9dac54c94c5b31ee17b files/digest-opal-2.2.5 235
+SHA256 c82dbb7ab4339288279c2131a78df3f938eca49543768286d071be1965e7a10c files/digest-opal-2.2.5 235
diff --git a/net-libs/opal/files/digest-opal-2.2.5 b/net-libs/opal/files/digest-opal-2.2.5
new file mode 100644 (file)
index 0000000..13c7a79
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 d85407085c391fecc89451fd5c132645 opal-2.2.5.tar.gz 4158355
+RMD160 65930a5f951c316b1a9d80bab3efb40c092dd56a opal-2.2.5.tar.gz 4158355
+SHA256 4eae45d38c64337b645ffb2e487c48fa118c8746f189f0efb95b862a8d0d6075 opal-2.2.5.tar.gz 4158355
diff --git a/net-libs/opal/opal-2.2.5.ebuild b/net-libs/opal/opal-2.2.5.ebuild
new file mode 100644 (file)
index 0000000..75f18df
--- /dev/null
@@ -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.5.ebuild,v 1.1 2007/02/21 23:04:28 remi 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.4
+       >=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
+}