summaryrefslogtreecommitdiff
path: root/net-misc/lcr
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-misc/lcr
reinit the tree, so we can have metadata
Diffstat (limited to 'net-misc/lcr')
-rw-r--r--net-misc/lcr/Manifest4
-rw-r--r--net-misc/lcr/lcr-9999.ebuild54
-rw-r--r--net-misc/lcr/metadata.xml17
3 files changed, 75 insertions, 0 deletions
diff --git a/net-misc/lcr/Manifest b/net-misc/lcr/Manifest
new file mode 100644
index 000000000000..f90c2252ebf3
--- /dev/null
+++ b/net-misc/lcr/Manifest
@@ -0,0 +1,4 @@
+EBUILD lcr-9999.ebuild 1235 SHA256 9f6f0bef72d7a7d541f64decadb06b778707add32333be130bae6ac8041bc869 SHA512 93b30ff22f463606800cfc165058975d189d8cd975814b9992a01edf8323c318ff64fa20fa2c4682fec99e8bbd7ade02ecc65571bc51e8d0369c0622750859a1 WHIRLPOOL c53feae34bea472037a8ce9b8902fde1346dc00428ee2c47288bab1fc10a590eb09f579aff35ddc0ad3d3f8bd4f2c5a8609de71de36a9f5ee7e4b725ec1e562f
+MISC ChangeLog 2945 SHA256 fb04c12db8a41e32493ad3a12a0ccb3ca37ec6e59c9da443a14c9162911e53ed SHA512 850e7022e494bbc50f8b047b86da4c4fe310ade2af7c4b12b2a66088d75f6bd3d70341b8d4f7fd1b125f1c7023772bed62e6aa54941d23cf9755bceabad9e8a8 WHIRLPOOL 55a9865adacec67d55230b7ba673b98467766bed7c9b1a777cb9f611a8e79818c056983ab1ca803c5dd90b609d4b7f1280bce1938aef130a1722d57a701d9f5e
+MISC ChangeLog-2015 518 SHA256 2b3871b7a6d2e753c33818df47b712c6a08717d25b758290d780b575155c7812 SHA512 596819a78e2634c72862320bc8bac032a787106d845f2bbf8a8ca06e75460f447c9c77183afc27fff256a9837fee5f925f07561614e606c8f398db82847f7a53 WHIRLPOOL 8137d1ca7f9e47ec0bfacc9c86fe0161bb2c17260c2447e376a3c934013bf774aa7fc98a8b3a6e8feed18258f123740c0412f0e8e8ae9e1f858a965f96edc85a
+MISC metadata.xml 650 SHA256 c0e4ce26d55dc5ba344a174de5a15bb6e9475b69c7b30d7d7daaae1b830eb039 SHA512 12497b4e4d2b11a3f2fe6aba4ee440419fb217a7df6a56da837384e7a4a16db7a2b62b2f88e5aef462305676081e94475fab15b43581e08136a63eb8439f7a70 WHIRLPOOL 2cd6ba6912d7b780a1b2fc250059103f747f2a25f6a89e0b28baab70db4db062a874e46c186471f152c47f52e03decd2075e67abdeb6a95b5e61f52e1f17115f
diff --git a/net-misc/lcr/lcr-9999.ebuild b/net-misc/lcr/lcr-9999.ebuild
new file mode 100644
index 000000000000..4e1cdce0dd5a
--- /dev/null
+++ b/net-misc/lcr/lcr-9999.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit git-2 autotools
+
+DESCRIPTION="Linux Call Router"
+HOMEPAGE="http://isdn.eversberg.eu/"
+EGIT_REPO_URI="git://git.misdn.eu/lcr.git"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE="asterisk +ssl +gsm-bs +gsm-ms ss5 +sip gsmhr misdn"
+
+DEPEND="
+ media-libs/opencore-amr
+ asterisk? ( net-misc/asterisk )
+ ssl? ( dev-libs/openssl )
+ gsm-bs? ( net-wireless/openbsc )
+ sip? ( net-libs/sofia-sip )
+ gsm-ms? ( net-wireless/osmocom-bb )
+"
+ #mdisn? ( net-misc/misdn )
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ sed -i 's:#!/usr/bin/env python:#!/usr/bin/env python2:' "${S}"/libgsmhr/fetch_sources.py
+ eautoreconf
+}
+
+src_configure() {
+ CXXFLAGS="$CXXFLAGS -I./include" CFLAGS="$CFLAGS -I./include" econf \
+ $(use_with asterisk) \
+ $(use_with ssl) \
+ $(use_with gsm-bs) \
+ $(use_with gsm-ms) \
+ $(use_with ss5) \
+ $(use_with sip) \
+ $(use_with misdn) \
+ $(use_enable gsmhr)
+}
+
+src_compile() {
+ emake -j1
+}
+
+pkg_postinst() {
+ use gsmhr || return
+ ewarn "You have enabled the gsmhr use flag, for the GSM half-rate"
+ ewarn "codec. This is strongly discouraged, except for testing,"
+ ewarn "because of extremely high CPU usage."
+}
diff --git a/net-misc/lcr/metadata.xml b/net-misc/lcr/metadata.xml
new file mode 100644
index 000000000000..b1d1e33aef3d
--- /dev/null
+++ b/net-misc/lcr/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>radio@gentoo.org</email>
+ <name>Radio</name>
+ </maintainer>
+ <use>
+ <flag name="asterisk">net-misc/asterisk channel driver</flag>
+ <flag name="misdn">net-misc/misdn driver</flag>
+ <flag name="gsm-bs">net-wireless/openbsc driver</flag>
+ <flag name="gsm-ms">net-wireless/osmobb driver</flag>
+ <flag name="ss5">CCITT No. 5 support</flag>
+ <flag name="sip">SIP support</flag>
+ <flag name="gsmhr">Support for GSM HR codec using reference code (very slow)</flag>
+ </use>
+</pkgmetadata>