From f9ad57991f0b56da7abe7f67954c56777445f1cd Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Sun, 21 Jun 2009 04:22:43 +0300 Subject: ekiga, ptlib, opal --- dev-libs/ptlib/ptlib-2.4.1.ebuild | 109 ----------------------------- dev-libs/ptlib/ptlib-2.4.2.ebuild | 98 -------------------------- dev-libs/ptlib/ptlib-2.4.4.ebuild | 98 -------------------------- dev-libs/ptlib/ptlib-2.6.0.ebuild | 98 -------------------------- dev-libs/ptlib/ptlib-2.6.2.ebuild | 98 ++++++++++++++++++++++++++ kde-misc/krusader/krusader-9999.ebuild | 2 +- net-libs/opal/files/gcc-4.4.patch | 23 ++++++ net-libs/opal/files/gcc4.4.patch | 13 ---- net-libs/opal/files/opal-3.4.1-eapi2.patch | 59 ---------------- net-libs/opal/opal-3.4.1.ebuild | 68 ------------------ net-libs/opal/opal-3.4.2.ebuild | 70 ------------------ net-libs/opal/opal-3.4.4.ebuild | 70 ------------------ net-libs/opal/opal-3.4.5.ebuild | 5 ++ net-libs/opal/opal-3.6.0.ebuild | 70 ------------------ net-libs/opal/opal-3.6.2.ebuild | 71 +++++++++++++++++++ net-voip/ekiga/ekiga-3.0.2.ebuild | 95 ------------------------- net-voip/ekiga/ekiga-3.2.4.ebuild | 95 +++++++++++++++++++++++++ 17 files changed, 293 insertions(+), 849 deletions(-) delete mode 100644 dev-libs/ptlib/ptlib-2.4.1.ebuild delete mode 100644 dev-libs/ptlib/ptlib-2.4.2.ebuild delete mode 100644 dev-libs/ptlib/ptlib-2.4.4.ebuild delete mode 100644 dev-libs/ptlib/ptlib-2.6.0.ebuild create mode 100644 dev-libs/ptlib/ptlib-2.6.2.ebuild create mode 100644 net-libs/opal/files/gcc-4.4.patch delete mode 100644 net-libs/opal/files/gcc4.4.patch delete mode 100644 net-libs/opal/files/opal-3.4.1-eapi2.patch delete mode 100644 net-libs/opal/opal-3.4.1.ebuild delete mode 100644 net-libs/opal/opal-3.4.2.ebuild delete mode 100644 net-libs/opal/opal-3.4.4.ebuild delete mode 100644 net-libs/opal/opal-3.6.0.ebuild create mode 100644 net-libs/opal/opal-3.6.2.ebuild delete mode 100644 net-voip/ekiga/ekiga-3.0.2.ebuild create mode 100644 net-voip/ekiga/ekiga-3.2.4.ebuild diff --git a/dev-libs/ptlib/ptlib-2.4.1.ebuild b/dev-libs/ptlib/ptlib-2.4.1.ebuild deleted file mode 100644 index 9e11f51..0000000 --- a/dev-libs/ptlib/ptlib-2.4.1.ebuild +++ /dev/null @@ -1,109 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="1" - -inherit eutils - -DESCRIPTION="Network focused portable C++ class library providing high level functions" -HOMEPAGE="http://www.ekiga.org/" -SRC_URI="http://www.ekiga.org/admin/downloads/latest/sources/sources/${P}.tar.gz" - -LICENSE="MPL-1.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="alsa bsdvideo debug doc esd ieee1394 ipv6 ldap minimal noaudio novideo oss -sasl sdl ssl sunaudio v4l v4l2 xml" - -RDEPEND="alsa? ( media-libs/alsa-lib ) - esd? ( media-sound/esound ) - ieee1394? ( media-libs/libdv - sys-libs/libavc1394 - media-libs/libdc1394:1 ) - ldap? ( net-nds/openldap ) - sasl? ( dev-libs/cyrus-sasl:2 ) - sdl? ( media-libs/libsdl ) - ssl? ( dev-libs/openssl ) - xml? ( dev-libs/expat )" -DEPEND="${RDEPEND} - sys-devel/bison - sys-devel/flex - v4l? ( sys-kernel/linux-headers ) - v4l2? ( sys-kernel/linux-headers ) - !dev-libs/pwlib" - -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 \ - || die "Patching make/unix.mak failed" - - # don't break make install if there are no plugins to install - epatch "${FILESDIR}"/${P}-instplugins.diff - - # this patch fixes bugs: #145424 and #140358 - epatch "${FILESDIR}"/${P}-asm.patch -} - -src_compile() { - local myconf="" - local makeopts="" - - use noaudio && myconf="${myconf} --disable-audio" - use novideo && myconf="${myconf} --disable-video" - - econf \ - ${myconf} \ - $(use_enable alsa) \ - $(use_enable bsdvideo) \ - $(use_enable debug exceptions) \ - $(use_enable debug memcheck) \ - $(use_enable esd) \ - $(use_enable ieee1394 avc) \ - $(use_enable ieee1394 dc) \ - $(use_enable ipv6) \ - $(use_enable ldap openldap) \ - $(use_enable minimal minsize) \ - $(use_enable oss) \ - $(use_enable sasl) \ - $(use_enable sdl) \ - $(use_enable ssl openssl) \ - $(use_enable sunaudio) \ - $(use_enable v4l) \ - $(use_enable v4l2) \ - $(use_enable xml expat) \ - --enable-plugins \ - || die "econf failed" - - if use debug; then - makeopts="${makeopts} DEBUG=1 debug" - fi - - emake ${makeopts} || die "emake failed" -} - -src_install() { - local makeopts - - makeopts="PREFIX=/usr DESTDIR=\"${D}\"" - - if use debug; then - makeopts="${makeopts} DEBUG=1" - fi - - emake ${makeopts} install || die "emake install failed" - - if use doc; then - dohtml -r html/* || die "documentation installation failed" - fi - - dodoc ReadMe.txt ReadMe_QOS.txt History.txt || die "documentation - installation failed" -} diff --git a/dev-libs/ptlib/ptlib-2.4.2.ebuild b/dev-libs/ptlib/ptlib-2.4.2.ebuild deleted file mode 100644 index b3b9f38..0000000 --- a/dev-libs/ptlib/ptlib-2.4.2.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="1" - -inherit eutils - -DESCRIPTION="Network focused portable C++ class library providing high level functions" -HOMEPAGE="http://www.opalvoip.org/" -SRC_URI="mirror://sourceforge/opalvoip/${P}.tar.bz2" - -LICENSE="MPL-1.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="alsa bsdvideo debug doc esd ieee1394 ipv6 ldap minimal noaudio novideo oss -sasl sdl ssl sunaudio v4l v4l2 xml" - -RDEPEND="alsa? ( media-libs/alsa-lib ) - esd? ( media-sound/esound ) - ieee1394? ( media-libs/libdv - sys-libs/libavc1394 - media-libs/libdc1394:1 ) - ldap? ( net-nds/openldap ) - sasl? ( dev-libs/cyrus-sasl:2 ) - sdl? ( media-libs/libsdl ) - ssl? ( dev-libs/openssl ) - xml? ( dev-libs/expat )" -DEPEND="${RDEPEND} - sys-devel/bison - sys-devel/flex - v4l? ( sys-kernel/linux-headers ) - v4l2? ( sys-kernel/linux-headers ) - !dev-libs/pwlib" - -src_unpack() { - unpack ${A} - cd "${S}" - - # this patch fixes bugs: #145424 and #140358 - epatch "${FILESDIR}"/${PN}-asm.patch -} - -src_compile() { - local myconf="" - local makeopts="" - - use noaudio && myconf="${myconf} --disable-audio" - use novideo && myconf="${myconf} --disable-video" - - econf \ - ${myconf} \ - $(use_enable alsa) \ - $(use_enable bsdvideo) \ - $(use_enable debug exceptions) \ - $(use_enable debug memcheck) \ - $(use_enable esd) \ - $(use_enable ieee1394 avc) \ - $(use_enable ieee1394 dc) \ - $(use_enable ipv6) \ - $(use_enable ldap openldap) \ - $(use_enable minimal minsize) \ - $(use_enable oss) \ - $(use_enable sasl) \ - $(use_enable sdl) \ - $(use_enable ssl openssl) \ - $(use_enable sunaudio) \ - $(use_enable v4l) \ - $(use_enable v4l2) \ - $(use_enable xml expat) \ - --enable-plugins \ - || die "econf failed" - - if use debug; then - makeopts="${makeopts} DEBUG=1 debug" - fi - - emake ${makeopts} || die "emake failed" -} - -src_install() { - local makeopts - - makeopts="PREFIX=/usr DESTDIR=\"${D}\"" - - if use debug; then - makeopts="${makeopts} DEBUG=1" - fi - - emake ${makeopts} install || die "emake install failed" - - if use doc; then - dohtml -r html/* || die "documentation installation failed" - fi - - dodoc ReadMe.txt ReadMe_QOS.txt History.txt || die "documentation - installation failed" -} diff --git a/dev-libs/ptlib/ptlib-2.4.4.ebuild b/dev-libs/ptlib/ptlib-2.4.4.ebuild deleted file mode 100644 index b3b9f38..0000000 --- a/dev-libs/ptlib/ptlib-2.4.4.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="1" - -inherit eutils - -DESCRIPTION="Network focused portable C++ class library providing high level functions" -HOMEPAGE="http://www.opalvoip.org/" -SRC_URI="mirror://sourceforge/opalvoip/${P}.tar.bz2" - -LICENSE="MPL-1.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="alsa bsdvideo debug doc esd ieee1394 ipv6 ldap minimal noaudio novideo oss -sasl sdl ssl sunaudio v4l v4l2 xml" - -RDEPEND="alsa? ( media-libs/alsa-lib ) - esd? ( media-sound/esound ) - ieee1394? ( media-libs/libdv - sys-libs/libavc1394 - media-libs/libdc1394:1 ) - ldap? ( net-nds/openldap ) - sasl? ( dev-libs/cyrus-sasl:2 ) - sdl? ( media-libs/libsdl ) - ssl? ( dev-libs/openssl ) - xml? ( dev-libs/expat )" -DEPEND="${RDEPEND} - sys-devel/bison - sys-devel/flex - v4l? ( sys-kernel/linux-headers ) - v4l2? ( sys-kernel/linux-headers ) - !dev-libs/pwlib" - -src_unpack() { - unpack ${A} - cd "${S}" - - # this patch fixes bugs: #145424 and #140358 - epatch "${FILESDIR}"/${PN}-asm.patch -} - -src_compile() { - local myconf="" - local makeopts="" - - use noaudio && myconf="${myconf} --disable-audio" - use novideo && myconf="${myconf} --disable-video" - - econf \ - ${myconf} \ - $(use_enable alsa) \ - $(use_enable bsdvideo) \ - $(use_enable debug exceptions) \ - $(use_enable debug memcheck) \ - $(use_enable esd) \ - $(use_enable ieee1394 avc) \ - $(use_enable ieee1394 dc) \ - $(use_enable ipv6) \ - $(use_enable ldap openldap) \ - $(use_enable minimal minsize) \ - $(use_enable oss) \ - $(use_enable sasl) \ - $(use_enable sdl) \ - $(use_enable ssl openssl) \ - $(use_enable sunaudio) \ - $(use_enable v4l) \ - $(use_enable v4l2) \ - $(use_enable xml expat) \ - --enable-plugins \ - || die "econf failed" - - if use debug; then - makeopts="${makeopts} DEBUG=1 debug" - fi - - emake ${makeopts} || die "emake failed" -} - -src_install() { - local makeopts - - makeopts="PREFIX=/usr DESTDIR=\"${D}\"" - - if use debug; then - makeopts="${makeopts} DEBUG=1" - fi - - emake ${makeopts} install || die "emake install failed" - - if use doc; then - dohtml -r html/* || die "documentation installation failed" - fi - - dodoc ReadMe.txt ReadMe_QOS.txt History.txt || die "documentation - installation failed" -} diff --git a/dev-libs/ptlib/ptlib-2.6.0.ebuild b/dev-libs/ptlib/ptlib-2.6.0.ebuild deleted file mode 100644 index b3b9f38..0000000 --- a/dev-libs/ptlib/ptlib-2.6.0.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="1" - -inherit eutils - -DESCRIPTION="Network focused portable C++ class library providing high level functions" -HOMEPAGE="http://www.opalvoip.org/" -SRC_URI="mirror://sourceforge/opalvoip/${P}.tar.bz2" - -LICENSE="MPL-1.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="alsa bsdvideo debug doc esd ieee1394 ipv6 ldap minimal noaudio novideo oss -sasl sdl ssl sunaudio v4l v4l2 xml" - -RDEPEND="alsa? ( media-libs/alsa-lib ) - esd? ( media-sound/esound ) - ieee1394? ( media-libs/libdv - sys-libs/libavc1394 - media-libs/libdc1394:1 ) - ldap? ( net-nds/openldap ) - sasl? ( dev-libs/cyrus-sasl:2 ) - sdl? ( media-libs/libsdl ) - ssl? ( dev-libs/openssl ) - xml? ( dev-libs/expat )" -DEPEND="${RDEPEND} - sys-devel/bison - sys-devel/flex - v4l? ( sys-kernel/linux-headers ) - v4l2? ( sys-kernel/linux-headers ) - !dev-libs/pwlib" - -src_unpack() { - unpack ${A} - cd "${S}" - - # this patch fixes bugs: #145424 and #140358 - epatch "${FILESDIR}"/${PN}-asm.patch -} - -src_compile() { - local myconf="" - local makeopts="" - - use noaudio && myconf="${myconf} --disable-audio" - use novideo && myconf="${myconf} --disable-video" - - econf \ - ${myconf} \ - $(use_enable alsa) \ - $(use_enable bsdvideo) \ - $(use_enable debug exceptions) \ - $(use_enable debug memcheck) \ - $(use_enable esd) \ - $(use_enable ieee1394 avc) \ - $(use_enable ieee1394 dc) \ - $(use_enable ipv6) \ - $(use_enable ldap openldap) \ - $(use_enable minimal minsize) \ - $(use_enable oss) \ - $(use_enable sasl) \ - $(use_enable sdl) \ - $(use_enable ssl openssl) \ - $(use_enable sunaudio) \ - $(use_enable v4l) \ - $(use_enable v4l2) \ - $(use_enable xml expat) \ - --enable-plugins \ - || die "econf failed" - - if use debug; then - makeopts="${makeopts} DEBUG=1 debug" - fi - - emake ${makeopts} || die "emake failed" -} - -src_install() { - local makeopts - - makeopts="PREFIX=/usr DESTDIR=\"${D}\"" - - if use debug; then - makeopts="${makeopts} DEBUG=1" - fi - - emake ${makeopts} install || die "emake install failed" - - if use doc; then - dohtml -r html/* || die "documentation installation failed" - fi - - dodoc ReadMe.txt ReadMe_QOS.txt History.txt || die "documentation - installation failed" -} diff --git a/dev-libs/ptlib/ptlib-2.6.2.ebuild b/dev-libs/ptlib/ptlib-2.6.2.ebuild new file mode 100644 index 0000000..91230ea --- /dev/null +++ b/dev-libs/ptlib/ptlib-2.6.2.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="1" + +inherit eutils + +DESCRIPTION="Network focused portable C++ class library providing high level functions" +HOMEPAGE="http://www.opalvoip.org/" +SRC_URI="mirror://sourceforge/opalvoip/${P}.tar.bz2" + +LICENSE="MPL-1.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="alsa bsdvideo debug doc esd ieee1394 ipv6 ldap minimal noaudio novideo oss +sasl sdl ssl sunaudio v4l v4l2 xml" + +RDEPEND="alsa? ( media-libs/alsa-lib ) + esd? ( media-sound/esound ) + ieee1394? ( media-libs/libdv + sys-libs/libavc1394 + media-libs/libdc1394:1 ) + ldap? ( net-nds/openldap ) + sasl? ( dev-libs/cyrus-sasl:2 ) + sdl? ( media-libs/libsdl ) + ssl? ( dev-libs/openssl ) + xml? ( dev-libs/expat )" +DEPEND="${RDEPEND} + sys-devel/bison + sys-devel/flex + v4l? ( sys-kernel/linux-headers ) + v4l2? ( sys-kernel/linux-headers ) + !dev-libs/pwlib" + +src_unpack() { + unpack ${A} + cd "${S}" + + # this patch fixes bugs: #145424 and #140358 +# epatch "${FILESDIR}"/${PN}-asm.patch +} + +src_compile() { + local myconf="" + local makeopts="" + + use noaudio && myconf="${myconf} --disable-audio" + use novideo && myconf="${myconf} --disable-video" + + econf \ + ${myconf} \ + $(use_enable alsa) \ + $(use_enable bsdvideo) \ + $(use_enable debug exceptions) \ + $(use_enable debug memcheck) \ + $(use_enable esd) \ + $(use_enable ieee1394 avc) \ + $(use_enable ieee1394 dc) \ + $(use_enable ipv6) \ + $(use_enable ldap openldap) \ + $(use_enable minimal minsize) \ + $(use_enable oss) \ + $(use_enable sasl) \ + $(use_enable sdl) \ + $(use_enable ssl openssl) \ + $(use_enable sunaudio) \ + $(use_enable v4l) \ + $(use_enable v4l2) \ + $(use_enable xml expat) \ + --enable-plugins \ + || die "econf failed" + + if use debug; then + makeopts="${makeopts} DEBUG=1 debug" + fi + + emake ${makeopts} || die "emake failed" +} + +src_install() { + local makeopts + + makeopts="PREFIX=/usr DESTDIR=\"${D}\"" + + if use debug; then + makeopts="${makeopts} DEBUG=1" + fi + + emake ${makeopts} install || die "emake install failed" + + if use doc; then + dohtml -r html/* || die "documentation installation failed" + fi + + dodoc ReadMe.txt ReadMe_QOS.txt History.txt || die "documentation + installation failed" +} diff --git a/kde-misc/krusader/krusader-9999.ebuild b/kde-misc/krusader/krusader-9999.ebuild index 5393a54..b5f9aad 100644 --- a/kde-misc/krusader/krusader-9999.ebuild +++ b/kde-misc/krusader/krusader-9999.ebuild @@ -30,7 +30,7 @@ src_prepare() { sed -i \ -e "s:set(CMAKE_VERBOSE_MAKEFILE ON):#NADA:g" \ CMakeLists.txt - epatch ${FILESDIR}/gcc4.4.patch + #epatch ${FILESDIR}/gcc4.4.patch kde4-base_src_prepare } diff --git a/net-libs/opal/files/gcc-4.4.patch b/net-libs/opal/files/gcc-4.4.patch new file mode 100644 index 0000000..8514e67 --- /dev/null +++ b/net-libs/opal/files/gcc-4.4.patch @@ -0,0 +1,23 @@ +diff -ruN ../original/configure ./configure +--- ../original/configure 2009-05-19 12:52:57.000000000 +0300 ++++ ./configure 2009-06-21 04:19:51.687358162 +0300 +@@ -5080,7 +5080,6 @@ + opal_debug_flags="-g -D_DEBUG -DSOLARIS" + ;; + *) +- opal_release_flags="-Os" + opal_debug_flags="-g3 -ggdb -O0 -D_DEBUG" + ;; + esac +diff -ruN ../original/plugins/video/H.264/gpl/enc-ctx.cxx ./plugins/video/H.264/gpl/enc-ctx.cxx +--- ../original/plugins/video/H.264/gpl/enc-ctx.cxx 2009-05-19 12:52:39.000000000 +0300 ++++ ./plugins/video/H.264/gpl/enc-ctx.cxx 2009-06-21 04:19:37.890368559 +0300 +@@ -25,6 +25,8 @@ + #include "trace.h" + #include "rtpframe.h" + ++#include ++#include + #include + #include + #if defined(_WIN32) || defined(_WIN32_WCE) diff --git a/net-libs/opal/files/gcc4.4.patch b/net-libs/opal/files/gcc4.4.patch deleted file mode 100644 index 5d809da..0000000 --- a/net-libs/opal/files/gcc4.4.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: enc-ctx.cxx -=================================================================== ---- plugins/video/H.264/gpl/enc-ctx.cxx (revision 22408) -+++ plugins/video/H.264/gpl/enc-ctx.cxx (working copy) -@@ -27,6 +27,8 @@ - - #include - #include -+#include -+ - #if defined(_WIN32) || defined(_WIN32_WCE) - #include - #define STRCMPI _strcmpi diff --git a/net-libs/opal/files/opal-3.4.1-eapi2.patch b/net-libs/opal/files/opal-3.4.1-eapi2.patch deleted file mode 100644 index a9c0346..0000000 --- a/net-libs/opal/files/opal-3.4.1-eapi2.patch +++ /dev/null @@ -1,59 +0,0 @@ ---- opal-3.4.1.ebuild 2008-10-09 19:47:27.000000000 -0400 -+++ opal-3.4.1-eapi2.ebuild 2008-10-09 20:06:51.000000000 -0400 -@@ -4,6 +4,8 @@ - - inherit eutils - -+EAPI="2" -+ - DESCRIPTION="C++ class library normalising numerous telephony protocols" - HOMEPAGE="http://www.ekiga.org" - SRC_URI="http://www.ekiga.org/admin/downloads/latest/sources/sources/${P}.tar.gz" -@@ -13,33 +15,16 @@ - KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" - IUSE="debug doc java" - --RDEPEND="~dev-libs/ptlib-2.4.1 -+RDEPEND="~dev-libs/ptlib-2.4.1[debug=] - >=media-video/ffmpeg-0.4.7 - media-libs/speex - java? ( virtual/jdk )" - --pkg_setup() { -- if use debug && ! built_with_use dev-libs/ptlib debug; then -- eerror "You need to build dev-libs/ptlib with USE=debug enabled." -- die "dev-libs/ptlib has to be built with USE=debug" -- fi -- -- if ! use debug && built_with_use dev-libs/ptlib debug; then -- eerror "You need to build dev-libs/ptlib without USE=debug." -- die "dev-libs/ptlib has not to be built with USE=debug" -- fi --} -- --src_unpack() { -- unpack ${A} -- cd "${S}" -- -+src_prepare() { - epatch "${FILESDIR}"/${P}-lpcini.patch - } - --src_compile() { -- local makeopts -- -+src_configure() { - # zrtp doesn't depend on net-libs/libzrtpcpp but on libzrtp from - # http://zfoneproject.com/ that is not in portage - econf \ -@@ -49,6 +34,10 @@ - --disable-localspeex \ - --disable-zrtp \ - || die "econf failed" -+} -+ -+src_compile() { -+ local makeopts - - if use debug; then - makeopts="debug" diff --git a/net-libs/opal/opal-3.4.1.ebuild b/net-libs/opal/opal-3.4.1.ebuild deleted file mode 100644 index 64a3a70..0000000 --- a/net-libs/opal/opal-3.4.1.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -inherit eutils - -DESCRIPTION="C++ class library normalising numerous telephony protocols" -HOMEPAGE="http://www.ekiga.org" -SRC_URI="http://www.ekiga.org/admin/downloads/latest/sources/sources/${P}.tar.gz" - -LICENSE="MPL-1.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="debug doc java" - -RDEPEND="~dev-libs/ptlib-2.4.1 - >=media-video/ffmpeg-0.4.7 - media-libs/speex - java? ( virtual/jdk )" - -pkg_setup() { - if use debug && ! built_with_use dev-libs/ptlib debug; then - eerror "You need to build dev-libs/ptlib with USE=debug enabled." - die "dev-libs/ptlib has to be built with USE=debug" - fi - - if ! use debug && built_with_use dev-libs/ptlib debug; then - eerror "You need to build dev-libs/ptlib without USE=debug." - die "dev-libs/ptlib has not to be built with USE=debug" - fi -} - -src_unpack() { - unpack ${A} - cd "${S}" - - epatch "${FILESDIR}"/${P}-lpcini.patch -} - -src_compile() { - local makeopts - - # zrtp doesn't depend on net-libs/libzrtpcpp but on libzrtp from - # http://zfoneproject.com/ that is not in portage - econf \ - $(use_enable debug) \ - $(use_enable java) \ - --enable-plugins \ - --disable-localspeex \ - --disable-zrtp \ - || die "econf failed" - - if use debug; then - makeopts="debug" - else - makeopts="opt" - fi - - emake ${makeopts} || die "emake failed" -} - -src_install() { - emake PREFIX=/usr DESTDIR="${D}" install || die "emake install failed" - - if use doc; then - dohtml -r html/* docs/* || die "documentation installation failed" - fi -} diff --git a/net-libs/opal/opal-3.4.2.ebuild b/net-libs/opal/opal-3.4.2.ebuild deleted file mode 100644 index 7231f62..0000000 --- a/net-libs/opal/opal-3.4.2.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -inherit eutils flag-o-matic - -DESCRIPTION="C++ class library normalising numerous telephony protocols" -HOMEPAGE="http://www.opalvoip.org/" -SRC_URI="mirror://sourceforge/opalvoip/${P}.tar.bz2" - -LICENSE="MPL-1.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="debug doc java" - -RDEPEND=">=dev-libs/ptlib-2.0.0 - >=media-video/ffmpeg-0.4.7 - media-libs/speex - java? ( virtual/jdk )" - -pkg_setup() { - if use debug && ! built_with_use dev-libs/ptlib debug; then - eerror "You need to build dev-libs/ptlib with USE=debug enabled." - die "dev-libs/ptlib has to be built with USE=debug" - fi - - if ! use debug && built_with_use dev-libs/ptlib debug; then - eerror "You need to build dev-libs/ptlib without USE=debug." - die "dev-libs/ptlib has not to be built with USE=debug" - fi -} - -src_unpack() { - unpack ${A} - cd "${S}" - - epatch "${FILESDIR}"/${PN}-lpcini.patch -} - -src_compile() { - local makeopts - - filter-ldflags -Wl,--as-needed --as-needed - - # zrtp doesn't depend on net-libs/libzrtpcpp but on libzrtp from - # http://zfoneproject.com/ that is not in portage - econf \ - $(use_enable debug) \ - $(use_enable java) \ - --enable-plugins \ - --disable-localspeex \ - --disable-zrtp \ - || die "econf failed" - - if use debug; then - makeopts="debug" - else - makeopts="opt" - fi - - emake ${makeopts} || die "emake failed" -} - -src_install() { - emake PREFIX=/usr DESTDIR="${D}" install || die "emake install failed" - - if use doc; then - dohtml -r html/* docs/* || die "documentation installation failed" - fi -} diff --git a/net-libs/opal/opal-3.4.4.ebuild b/net-libs/opal/opal-3.4.4.ebuild deleted file mode 100644 index 7231f62..0000000 --- a/net-libs/opal/opal-3.4.4.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -inherit eutils flag-o-matic - -DESCRIPTION="C++ class library normalising numerous telephony protocols" -HOMEPAGE="http://www.opalvoip.org/" -SRC_URI="mirror://sourceforge/opalvoip/${P}.tar.bz2" - -LICENSE="MPL-1.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="debug doc java" - -RDEPEND=">=dev-libs/ptlib-2.0.0 - >=media-video/ffmpeg-0.4.7 - media-libs/speex - java? ( virtual/jdk )" - -pkg_setup() { - if use debug && ! built_with_use dev-libs/ptlib debug; then - eerror "You need to build dev-libs/ptlib with USE=debug enabled." - die "dev-libs/ptlib has to be built with USE=debug" - fi - - if ! use debug && built_with_use dev-libs/ptlib debug; then - eerror "You need to build dev-libs/ptlib without USE=debug." - die "dev-libs/ptlib has not to be built with USE=debug" - fi -} - -src_unpack() { - unpack ${A} - cd "${S}" - - epatch "${FILESDIR}"/${PN}-lpcini.patch -} - -src_compile() { - local makeopts - - filter-ldflags -Wl,--as-needed --as-needed - - # zrtp doesn't depend on net-libs/libzrtpcpp but on libzrtp from - # http://zfoneproject.com/ that is not in portage - econf \ - $(use_enable debug) \ - $(use_enable java) \ - --enable-plugins \ - --disable-localspeex \ - --disable-zrtp \ - || die "econf failed" - - if use debug; then - makeopts="debug" - else - makeopts="opt" - fi - - emake ${makeopts} || die "emake failed" -} - -src_install() { - emake PREFIX=/usr DESTDIR="${D}" install || die "emake install failed" - - if use doc; then - dohtml -r html/* docs/* || die "documentation installation failed" - fi -} diff --git a/net-libs/opal/opal-3.4.5.ebuild b/net-libs/opal/opal-3.4.5.ebuild index 7231f62..6939ab2 100644 --- a/net-libs/opal/opal-3.4.5.ebuild +++ b/net-libs/opal/opal-3.4.5.ebuild @@ -35,6 +35,11 @@ src_unpack() { cd "${S}" epatch "${FILESDIR}"/${PN}-lpcini.patch + cd "${S}/plugins/video/H.264/gpl" + epatch ${FILESDIR}/enc-ctx.cxx.diff + cd "${S}/plugins/video/THEORA" + epatch ${FILESDIR}/theora_frame.cxx.diff + epatch ${FILESDIR}/theora__plugin.cxx.diff } src_compile() { diff --git a/net-libs/opal/opal-3.6.0.ebuild b/net-libs/opal/opal-3.6.0.ebuild deleted file mode 100644 index c11179e..0000000 --- a/net-libs/opal/opal-3.6.0.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -inherit eutils flag-o-matic - -DESCRIPTION="C++ class library normalising numerous telephony protocols" -HOMEPAGE="http://www.opalvoip.org/" -SRC_URI="mirror://sourceforge/opalvoip/${P}.tar.bz2" - -LICENSE="MPL-1.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="debug doc java" - -RDEPEND=">=dev-libs/ptlib-2.0.0 - >=media-video/ffmpeg-0.4.7 - media-libs/speex - java? ( virtual/jdk )" - -pkg_setup() { - if use debug && ! built_with_use dev-libs/ptlib debug; then - eerror "You need to build dev-libs/ptlib with USE=debug enabled." - die "dev-libs/ptlib has to be built with USE=debug" - fi - - if ! use debug && built_with_use dev-libs/ptlib debug; then - eerror "You need to build dev-libs/ptlib without USE=debug." - die "dev-libs/ptlib has not to be built with USE=debug" - fi -} - -src_unpack() { - unpack ${A} - cd "${S}" - -# epatch "${FILESDIR}"/${PN}-lpcini.patch -} - -src_compile() { - local makeopts - - filter-ldflags -Wl,--as-needed --as-needed - - # zrtp doesn't depend on net-libs/libzrtpcpp but on libzrtp from - # http://zfoneproject.com/ that is not in portage - econf \ - $(use_enable debug) \ - $(use_enable java) \ - --enable-plugins \ - --disable-localspeex \ - --disable-zrtp \ - || die "econf failed" - - if use debug; then - makeopts="debug" - else - makeopts="opt" - fi - - emake ${makeopts} || die "emake failed" -} - -src_install() { - emake PREFIX=/usr DESTDIR="${D}" install || die "emake install failed" - - if use doc; then - dohtml -r html/* docs/* || die "documentation installation failed" - fi -} diff --git a/net-libs/opal/opal-3.6.2.ebuild b/net-libs/opal/opal-3.6.2.ebuild new file mode 100644 index 0000000..28b5324 --- /dev/null +++ b/net-libs/opal/opal-3.6.2.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils flag-o-matic + +DESCRIPTION="C++ class library normalising numerous telephony protocols" +HOMEPAGE="http://www.opalvoip.org/" +SRC_URI="mirror://sourceforge/opalvoip/${P}.tar.bz2" + +LICENSE="MPL-1.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="debug doc java" + +RDEPEND=">=dev-libs/ptlib-2.0.0 + >=media-video/ffmpeg-0.4.7 + media-libs/speex + java? ( virtual/jdk )" + +pkg_setup() { + if use debug && ! built_with_use dev-libs/ptlib debug; then + eerror "You need to build dev-libs/ptlib with USE=debug enabled." + die "dev-libs/ptlib has to be built with USE=debug" + fi + + if ! use debug && built_with_use dev-libs/ptlib debug; then + eerror "You need to build dev-libs/ptlib without USE=debug." + die "dev-libs/ptlib has not to be built with USE=debug" + fi +} + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch ${FILESDIR}/gcc-4.4.patch +# epatch "${FILESDIR}"/${PN}-lpcini.patch +} + +src_compile() { + local makeopts + + filter-ldflags -Wl,--as-needed --as-needed + + # zrtp doesn't depend on net-libs/libzrtpcpp but on libzrtp from + # http://zfoneproject.com/ that is not in portage + econf \ + $(use_enable debug) \ + $(use_enable java) \ + --enable-plugins \ + --disable-localspeex \ + --disable-zrtp \ + || die "econf failed" + + if use debug; then + makeopts="debug" + else + makeopts="opt" + fi + + emake ${makeopts} || die "emake failed" +} + +src_install() { + emake PREFIX=/usr DESTDIR="${D}" install || die "emake install failed" + + if use doc; then + dohtml -r html/* docs/* || die "documentation installation failed" + fi +} diff --git a/net-voip/ekiga/ekiga-3.0.2.ebuild b/net-voip/ekiga/ekiga-3.0.2.ebuild deleted file mode 100644 index 2f062bf..0000000 --- a/net-voip/ekiga/ekiga-3.0.2.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="1" - -inherit eutils gnome2 - -DESCRIPTION="H.323 and SIP VoIP softphone" -HOMEPAGE="http://www.ekiga.org/" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="avahi dbus debug doc eds gconf gnome ldap libnotify xv" - -RDEPEND=">=dev-libs/ptlib-2.4.2 - >=net-libs/opal-3.4.2 - >=x11-libs/gtk+-2.12.0:2 - >=dev-libs/glib-2.8.0:2 - dev-libs/libsigc++:2 - dev-libs/libxml2:2 - avahi? ( >=net-dns/avahi-0.6.0 ) - dbus? ( >=dev-libs/dbus-glib-0.36 ) - eds? ( >=gnome-extra/evolution-data-server-1.2 ) - gconf? ( >=gnome-base/gconf-2.6.0:2 ) - gnome? ( >=gnome-base/libgnome-2.14.0 - >=gnome-base/libgnomeui-2.14.0 ) - ldap? ( net-nds/openldap ) - libnotify? ( x11-libs/libnotify ) - xv? ( x11-libs/libXv )" - -DEPEND="${RDEPEND} - >=sys-devel/make-3.81 - >=dev-util/pkgconfig-0.12.0 - >=dev-util/intltool-0.35 - doc? ( app-text/scrollkeeper - app-text/gnome-doc-utils )" - -DOCS="AUTHORS ChangeLog FAQ NEWS README" - -pkg_setup() { - # ekiga has to be built like opal and ptlib but as opal has to be built - # like ptlib, it should be possible to check only opal but as ekiga is - # linking to both, we are cheking both - if use debug && (! built_with_use dev-libs/ptlib debug || - ! built_with_use net-libs/opal debug); then - eerror "You need to build dev-libs/ptlib and net-libs/opal with\ - USE=debug enabled." - die "dev-libs/ptlib and net-libs/opal have to be built with USE=debug" - fi - - if ! use debug && (built_with_use dev-libs/ptlib debug || - built_with_use net-libs/opal debug); then - eerror "You need to build dev-libs/ptlib and net-libs/opal without\ - USE=debug." - die "dev-libs/ptlib and net-libs/opal has not to be built with USE=debug" - fi - - # dbus-service is always enable if dbus is enable, no reason to disable it - G2CONF="${G2CONF} - $(use_enable avahi) - $(use_enable dbus) - $(use_enable dbus dbus_service) - $(use_enable debug) - $(use_enable doc gdu) - $(use_enable eds) - $(use_enable gconf) - $(use_enable gnome) - $(use_enable ldap) - $(use_enable libnotify notify) - $(use_enable xv)" -} - -src_unpack() { - gnome2_src_unpack - - # remove call to gconftool-2 --shutdown - sed -i -e '/gconftool-2 --shutdown/d' Makefile.in \ - || die "Patching Makefile.in failed" - - # fix ekiga-helper dbus service .in file - sed -i -e 's/@PACKAGE_NAME@/ekiga/'\ - src/components/org.ekiga.Helper.service.in \ - || die "Patching src/components/org.ekiga.Helper.service.in failed" -} - -pkg_postinst() { - gnome2_pkg_postinst - - if ! use gnome; then - ewarn "USE=-gnome is experimental, some weirdness with the UI and" - ewarn "config keys should appear." - fi -} diff --git a/net-voip/ekiga/ekiga-3.2.4.ebuild b/net-voip/ekiga/ekiga-3.2.4.ebuild new file mode 100644 index 0000000..fb47ba2 --- /dev/null +++ b/net-voip/ekiga/ekiga-3.2.4.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="1" + +inherit eutils gnome2 + +DESCRIPTION="H.323 and SIP VoIP softphone" +HOMEPAGE="http://www.ekiga.org/" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="avahi dbus debug doc eds gconf gnome ldap libnotify xv" + +RDEPEND=">=dev-libs/ptlib-2.4.2 + >=net-libs/opal-3.4.2 + >=x11-libs/gtk+-2.12.0:2 + >=dev-libs/glib-2.8.0:2 + dev-libs/libsigc++:2 + dev-libs/libxml2:2 + avahi? ( >=net-dns/avahi-0.6.0 ) + dbus? ( >=dev-libs/dbus-glib-0.36 ) + eds? ( >=gnome-extra/evolution-data-server-1.2 ) + gconf? ( >=gnome-base/gconf-2.6.0:2 ) + gnome? ( >=gnome-base/libgnome-2.14.0 + >=gnome-base/libgnomeui-2.14.0 ) + ldap? ( net-nds/openldap ) + libnotify? ( x11-libs/libnotify ) + xv? ( x11-libs/libXv )" + +DEPEND="${RDEPEND} + >=sys-devel/make-3.81 + >=dev-util/pkgconfig-0.12.0 + >=dev-util/intltool-0.35 + doc? ( app-text/scrollkeeper + app-text/gnome-doc-utils )" + +DOCS="AUTHORS ChangeLog FAQ NEWS README" + +pkg_setup() { + # ekiga has to be built like opal and ptlib but as opal has to be built + # like ptlib, it should be possible to check only opal but as ekiga is + # linking to both, we are cheking both + if use debug && (! built_with_use dev-libs/ptlib debug || + ! built_with_use net-libs/opal debug); then + eerror "You need to build dev-libs/ptlib and net-libs/opal with\ + USE=debug enabled." + die "dev-libs/ptlib and net-libs/opal have to be built with USE=debug" + fi + + if ! use debug && (built_with_use dev-libs/ptlib debug || + built_with_use net-libs/opal debug); then + eerror "You need to build dev-libs/ptlib and net-libs/opal without\ + USE=debug." + die "dev-libs/ptlib and net-libs/opal has not to be built with USE=debug" + fi + + # dbus-service is always enable if dbus is enable, no reason to disable it + G2CONF="${G2CONF} + $(use_enable avahi) + $(use_enable dbus) + $(use_enable dbus dbus_service) + $(use_enable debug) + $(use_enable doc gdu) + $(use_enable eds) + $(use_enable gconf) + $(use_enable gnome) + $(use_enable ldap) + $(use_enable libnotify notify) + $(use_enable xv)" +} + +src_unpack() { + gnome2_src_unpack + + # remove call to gconftool-2 --shutdown + sed -i -e '/gconftool-2 --shutdown/d' Makefile.in \ + || die "Patching Makefile.in failed" + + # fix ekiga-helper dbus service .in file +# sed -i -e 's/@PACKAGE_NAME@/ekiga/'\ +# src/components/org.ekiga.Helper.service.in \ +# || die "Patching src/components/org.ekiga.Helper.service.in failed" +} + +pkg_postinst() { + gnome2_pkg_postinst + + if ! use gnome; then + ewarn "USE=-gnome is experimental, some weirdness with the UI and" + ewarn "config keys should appear." + fi +} -- cgit v1.2.3