diff options
author | Jaco Kroon <jaco@uls.co.za> | 2020-12-29 15:50:49 +0200 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-01-04 16:32:48 +0000 |
commit | 29491675582613ff3ffb5d0021ff1db0c147f49f (patch) | |
tree | 410ba6a55ee4d0a2ca3953eaaa65a3f5deb5cbc0 /net-voip/yate/yate-6.2.0.ebuild | |
parent | net-libs/pjproject: drop old versions. (diff) | |
download | gentoo-29491675582613ff3ffb5d0021ff1db0c147f49f.tar.gz gentoo-29491675582613ff3ffb5d0021ff1db0c147f49f.tar.bz2 gentoo-29491675582613ff3ffb5d0021ff1db0c147f49f.zip |
net-voip/yate: version bump to 6.2.0
Includes fixups for USE=mysql.
DISCLAIMER: I have no interest in yate itself. However, change is
requird for ILBC cleanup.
Given the state of the open bugs, I'd
actually recommend last-riting yate and yatebts.
Signed-off-by: Jaco Kroon <jaco@uls.co.za>
Closes: https://bugs.gentoo.org/666012
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-voip/yate/yate-6.2.0.ebuild')
-rw-r--r-- | net-voip/yate/yate-6.2.0.ebuild | 93 |
1 files changed, 93 insertions, 0 deletions
diff --git a/net-voip/yate/yate-6.2.0.ebuild b/net-voip/yate/yate-6.2.0.ebuild new file mode 100644 index 000000000000..6b2c3af25127 --- /dev/null +++ b/net-voip/yate/yate-6.2.0.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools + +DESCRIPTION="The Yate AV Suite" +HOMEPAGE="http://yate.null.ro/" + +if [[ ${PV} == 9999 ]] ; then + ESVN_REPO_URI="http://voip.null.ro/svn/yate/trunk" + inherit subversion + KEYWORDS="" +else + SRC_URI="http://voip.null.ro/tarballs/${PN}6/${P}-1.tar.gz" + KEYWORDS="~amd64 ~arm ~x86" + S="${WORKDIR}/${PN}" +fi + +LICENSE="GPL-2" +SLOT="0/${PV}" +IUSE="doc cpu_flags_x86_sse2 sctp dahdi zaptel wpcard tdmcard wanpipe +ilbc +ilbc-webrtc +isac-float isac-fixed postgres mysql +gsm +speex spandsp +ssl +zlib amrnb" + +RDEPEND=" + postgres? ( dev-db/postgresql:* ) + mysql? ( dev-db/mysql-connector-c:= ) + gsm? ( media-sound/gsm ) + speex? ( media-libs/speex ) + ssl? ( dev-libs/openssl:0 ) + zlib? ( sys-libs/zlib ) + ilbc? ( media-libs/libilbc ) + spandsp? ( >=media-libs/spandsp-0.0.3 ) + dahdi? ( net-misc/dahdi ) +" +DEPEND="doc? ( app-doc/doxygen ) + virtual/pkgconfig + ${RDEPEND}" + +PATCHES=( + "${FILESDIR}/${PN}-6.0.0-dont-mess-with-cflags.patch" + "${FILESDIR}/${PN}-6.2.0-my_bool.patch" +) + +src_prepare() { + default_src_prepare + eautoreconf + ./yate-config.sh || die +} + +#fdsize, inline, rtti: keep default values +#internalregex: use system +#coredumper: not in the tree, bug 118716 +#wanpipe, wphwec: not in the tree, bug 188939 +#amrnb: not in tree! +#zaptel: ?? +src_configure() { + econf \ + --with-archlib=$(get_libdir) \ + --without-libqt4 \ + $(use_enable cpu_flags_x86_sse2 sse2) \ + $(use_enable sctp) \ + $(use_enable dahdi) \ + $(use_enable zaptel) \ + $(use_enable wpcard) \ + $(use_enable tdmcard) \ + $(use_enable wanpipe) \ + $(use_enable ilbc) \ + $(use_enable ilbc-webrtc) \ + $(use_enable isac-float) \ + $(use_enable isac-fixed) \ + $(use_with postgres libpq) \ + $(use_with mysql) \ + $(use_with gsm libgsm) \ + $(use_with speex libspeex) \ + $(use_with amrnb) \ + $(use_with spandsp) \ + $(use_with ssl openssl) +} + +src_compile() { + emake -j1 +} + +src_install() { + if use doc; then + emake DESTDIR="${ED}" install + else + emake DESTDIR="${ED}" install-noapi + fi + newinitd "${FILESDIR}"/yate.initd yate + newconfd "${FILESDIR}"/yate.confd yate +} |