diff options
author | Stefan Knoblich <stkn@gentoo.org> | 2006-03-14 01:11:50 +0000 |
---|---|---|
committer | Stefan Knoblich <stkn@gentoo.org> | 2006-03-14 01:11:50 +0000 |
commit | 7cff6609d2d74795c3aebdc9a35fbbae501c0ae8 (patch) | |
tree | 2ee6a0f075bb6c2f6006be503a86f816ae168f34 | |
parent | Version bump opal to 2.2.0. (diff) | |
download | voip-7cff6609d2d74795c3aebdc9a35fbbae501c0ae8.tar.gz voip-7cff6609d2d74795c3aebdc9a35fbbae501c0ae8.tar.bz2 voip-7cff6609d2d74795c3aebdc9a35fbbae501c0ae8.zip |
Version bump pwlib to 1.10.0.
svn path=/trunk/; revision=186
-rw-r--r-- | dev-libs/pwlib/Manifest | 6 | ||||
-rw-r--r-- | dev-libs/pwlib/files/digest-pwlib-1.10.0 | 3 | ||||
-rw-r--r-- | dev-libs/pwlib/pwlib-1.10.0.ebuild | 146 |
3 files changed, 155 insertions, 0 deletions
diff --git a/dev-libs/pwlib/Manifest b/dev-libs/pwlib/Manifest index 9f278b1..00988d9 100644 --- a/dev-libs/pwlib/Manifest +++ b/dev-libs/pwlib/Manifest @@ -1,6 +1,9 @@ MD5 38c8d9bfecf638ef091e5f0609bd43b9 Credits 376 RMD160 5d4b639575a31a30a977390edc5dd9ec7566e2d5 Credits 376 SHA256 1eafa1d2a78d9bc0dc0af22aaaac7b6369e7e055bf296b2d8ceb3425f69e82d8 Credits 376 +MD5 e75b1e9ed282919b963de08f047bc69f files/digest-pwlib-1.10.0 241 +RMD160 dee98852a31e19f87c840b2435ed03d1b6afe9e8 files/digest-pwlib-1.10.0 241 +SHA256 d646df1b3934423b54ef64267d7056015b2b4127cc4b413458e5132ce9fc03b2 files/digest-pwlib-1.10.0 241 MD5 7727b16f2fbed2161f1bc6c38aacaa36 files/digest-pwlib-1.8.4 64 RMD160 a3b80321b4f46c23169e23b588d939dd6ee42267 files/digest-pwlib-1.8.4 64 SHA256 ae2ae13ae6a3830f3b00d89a25de72a53506afab6da33e72f025c115aea25969 files/digest-pwlib-1.8.4 64 @@ -31,6 +34,9 @@ SHA256 11f9197394fe549e104fa95c3831ecbc638778f2ee33be67f818afc25f765cb4 files/pw MD5 e6f4109b8afd168be571ddc00b16707b files/pwlib-1.9.3-sdl-configure.patch 1403 RMD160 240822a74944a5f54f147023b50966c72a232f24 files/pwlib-1.9.3-sdl-configure.patch 1403 SHA256 467c44ad1d8d2c6f76e712e908476d3a1f948d5e3b1412546f1fb0b776068052 files/pwlib-1.9.3-sdl-configure.patch 1403 +MD5 22d8e27073a84bd7796dc3e65b630500 pwlib-1.10.0.ebuild 4198 +RMD160 c9ec3b8c705fcf19c75fb9d859a578338807a2d8 pwlib-1.10.0.ebuild 4198 +SHA256 50dc80148816dd10f2ad1079b8256a67e828df35a52736df4e16616332d2504a pwlib-1.10.0.ebuild 4198 MD5 c5e8aafcba9e2996b152a154b7c4cf82 pwlib-1.8.4.ebuild 4797 RMD160 fbd160b61717eb8cd3008c02d486592def9876ff pwlib-1.8.4.ebuild 4797 SHA256 ca778ed36d922ccd80391ff94ac37c67c6052ddc7978b3da53d8cecb6ac45b1e pwlib-1.8.4.ebuild 4797 diff --git a/dev-libs/pwlib/files/digest-pwlib-1.10.0 b/dev-libs/pwlib/files/digest-pwlib-1.10.0 new file mode 100644 index 0000000..405b316 --- /dev/null +++ b/dev-libs/pwlib/files/digest-pwlib-1.10.0 @@ -0,0 +1,3 @@ +MD5 97da19588bdc25cd8b48afb135eded1d pwlib-1.10.0.tar.gz 1480233 +RMD160 5341a4d21996472665032b3cfcc184f04435ddab pwlib-1.10.0.tar.gz 1480233 +SHA256 3bcbb47600061b6872215fbc68e7f04566a93bc602fa008636c85d47be5f5c00 pwlib-1.10.0.tar.gz 1480233 diff --git a/dev-libs/pwlib/pwlib-1.10.0.ebuild b/dev-libs/pwlib/pwlib-1.10.0.ebuild new file mode 100644 index 0000000..1079641 --- /dev/null +++ b/dev-libs/pwlib/pwlib-1.10.0.ebuild @@ -0,0 +1,146 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/pwlib-1.8.4.ebuild,v 1.2 2005/07/10 01:11:05 swegener Exp $ + +inherit eutils flag-o-matic multilib + +IUSE="alsa ieee1394 ipv6 oss sdl ssl v4l v4l2" + +DESCRIPTION="Portable Multiplatform Class Libraries used by several VoIP applications" +HOMEPAGE="http://www.voxgratia.org/" +SRC_URI="http://www.ekiga.org/admin/downloads/latest/sources/sources/${P}.tar.gz" + +LICENSE="MPL-1.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" + +RDEPEND=" + dev-libs/expat + net-nds/openldap + sdl? ( media-libs/libsdl ) + ssl? ( dev-libs/openssl ) + alsa? ( media-libs/alsa-lib ) + ieee1394? ( media-libs/libdv + sys-libs/libavc1394 + sys-libs/libraw1394 + <media-libs/libdc1394-1.9.99 + !>=media-libs/libdc1394-2.0.0_pre1 )" + +DEPEND="${RDEPEND} + >=sys-devel/bison-1.28 + >=sys-devel/flex-2.5.4a + >=sys-apps/sed-4" + +src_unpack() { + unpack ${A} + cd ${S} + + # filter out -O3, -Os and -mcpu embedded compiler flags + sed -i \ + -e "s:-mcpu=\$(CPUTYPE)::" \ + -e "s:-O3 -DNDEBUG:-DNDEBUG:" \ + -e "s:-Os::" \ + make/unix.mak + + # don't break make install if there are no plugins to install + epatch ${FILESDIR}/pwlib-1.8.7-instplugins.diff + +# # fix "command not found" error during configure run +# epatch ${FILESDIR}/pwlib-1.9.2-ldap-configure.patch + + # use sdl-config to query required libraries + epatch ${FILESDIR}/pwlib-1.9.3-sdl-configure.patch + + autoconf || die "autoconf failed" +} + +src_compile() { + local myconf="" + + # may cause ICE (bug #70638) + filter-flags -fstack-protector + + econf \ + --enable-plugins \ + $(use_enable v4l2) \ + $(use_enable v4l) \ + $(use_enable ieee1394 dc) \ + $(use_enable ieee1394 avc) \ + $(use_enable oss) \ + $(use_enable alsa) \ + $(use_enable ipv6) \ + $(use_enable sdl) \ + $(use_enable ssl openssl) \ + ${myconf} || die "configure failed" + + # Horrible hack to strip out -L/usr/lib to allow upgrades + # problem is it adds -L/usr/lib before -L${S} when SSL is + # enabled. Same thing for -I/usr/include. +# sed -i -e "s:^\(LDFLAGS.*\)-L/usr/lib:\1:" \ +# -e "s:^\(STDCCFLAGS.*\)-I/usr/include:\1:" \ +# ${S}/make/ptbuildopts.mak + +# sed -i -e "s:^\(LDFLAGS[\s]*=.*\) -L/usr/lib:\1:" \ +# -e "s:^\(LDFLAGS[\s]*=.*\) -I/usr/include:\1:" \ +# -e "s:^\(CCFLAGS[\s]*=.*\) -I/usr/include:\1:" \ +# ${S}/make/ptlib-config + + emake -j1 opt || die "make failed" +} + +src_install() { + local libdir libname + + libdir=$(get_libdir) + + # makefile doesn't create ${D}/usr/bin + make PREFIX=/usr DESTDIR=${D} install || die "install failed" + + ## vv will try to fix the mess below, requires a lot of patching though... + + # update 2005/08/22: + # + # locations in *.mak files haven been fixed + # directories have been replaced w/ symlinks + # (left to not break things, doing some testing atm) + + # Note: reactivating this seems to be the only easy solution to slot pwlib ebuild + # and keep applications happy (e.g. gnomemeeting / ekiga) + +# dosym /usr/include /usr/share/pwlib/include +# dosym /usr/${libdir} /usr/share/pwlib/${libdir} +# +# # just in case... +# if [[ "${libdir}" = "lib64" ]]; then +# dosym /usr/share/pwlib/lib64 /usr/share/pwlib/lib +# fi + + ## ^^ bad stuff + + # fix symlink + libname=$(basename `ls ${D}/usr/${libdir}/libpt_*_*_r.so.${PV}`) + rm ${D}/usr/${libdir}/libpt.so + dosym ${libname} /usr/${libdir}/libpt.so + + # fix makefiles to use headers from /usr/include and libs from /usr/lib + # instead of /usr/share/pwlib + # Note: change to /usr/include/pwlib-${PV} (or whereever includes will be) + # once pwlib ebuilds get slotted + sed -i -e "s:-I\$(PWLIBDIR)\(/include[a-zA-Z0-9_/-]\+\):-I/usr/include\1:g" \ + -e "s:-I\$(PWLIBDIR)/include::g" \ + -e "s:^\(PW_LIBDIR[ \t]\+=\).*:\1 /usr/${libdir}:" \ + ${D}/usr/share/pwlib/make/*.mak + + # dodgy configure/makefiles forget to expand this + # Note: change to /usr/share/pwlib/${PV} (or whatever PWLIBDIR should point to) + # once pwlib ebuilds get slotted + sed -i -e "s:\${exec_prefix}:/usr:" \ + ${D}/usr/bin/ptlib-config \ + ${D}/usr/share/pwlib/make/ptlib-config + + # copy version.h + insinto /usr/share/pwlib + doins version.h + + dodoc ReadMe.txt ReadMe_QOS.txt History.txt mpl-1.0.htm +} |