[MERGED] meta-telephony[201705]: osmo-mgw: Introduce recipe

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Thu Oct 5 10:37:12 UTC 2017


Pau Espin Pedrol has submitted this change and it was merged.

Change subject: osmo-mgw: Introduce recipe
......................................................................


osmo-mgw: Introduce recipe

Change-Id: If9c2d6b5dd8dfd8a0b462d87e93e0733e57f7b0a
---
A recipes-osmocom/osmo-mgw/osmo-mgw.inc
A recipes-osmocom/osmo-mgw/osmo-mgw_git.bb
2 files changed, 29 insertions(+), 0 deletions(-)

Approvals:
  Pau Espin Pedrol: Verified
  Harald Welte: Looks good to me, approved



diff --git a/recipes-osmocom/osmo-mgw/osmo-mgw.inc b/recipes-osmocom/osmo-mgw/osmo-mgw.inc
new file mode 100644
index 0000000..45ee338
--- /dev/null
+++ b/recipes-osmocom/osmo-mgw/osmo-mgw.inc
@@ -0,0 +1,22 @@
+DESCRIPTION = "Osmocom Media Gateway (MGCP) implementation"
+HOMEPAGE = "https://osmocom.org/projects/osmo-mgw"
+LICENSE = "AGPLv3"
+LIC_FILES_CHKSUM = "file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788"
+
+DEPENDS = "libosmocore libosmo-netif bcg729 libgsm"
+
+INC_PR="r0.${META_TELEPHONY_OSMO_INC}"
+
+inherit autotools pkgconfig systemd
+
+EXTRA_OECONF += "--enable-mgcp-transcoding --with-g729"
+
+do_install_append() {
+	install -d ${D}${systemd_system_unitdir}/
+	install -d ${D}${sysconfdir}/osmocom/
+
+	install -m 0644 ${S}/doc/examples/osmo-bsc_mgcp/mgcp.cfg ${D}${sysconfdir}/osmocom/osmo-bsc-mgcp.cfg
+	install -m 0644 ${S}/contrib/systemd/osmo-bsc-mgcp.service ${D}${systemd_system_unitdir}/
+}
+
+SYSTEMD_SERVICE_osmo-mgw = "osmo-bsc-mgcp.service"
diff --git a/recipes-osmocom/osmo-mgw/osmo-mgw_git.bb b/recipes-osmocom/osmo-mgw/osmo-mgw_git.bb
new file mode 100644
index 0000000..1ea1a7b
--- /dev/null
+++ b/recipes-osmocom/osmo-mgw/osmo-mgw_git.bb
@@ -0,0 +1,7 @@
+require ${PN}.inc
+
+S = "${WORKDIR}/git"
+SRCREV = "1c8d67d7f5f6f8788d92df65a0b68e0ec19a34dc"
+SRC_URI = "git://git.osmocom.org/osmo-mgw.git;protocol=git"
+PV = "1.0.2+gitr${SRCPV}"
+PR = "${INC_PR}.0"

-- 
To view, visit https://gerrit.osmocom.org/4096
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: If9c2d6b5dd8dfd8a0b462d87e93e0733e57f7b0a
Gerrit-PatchSet: 2
Gerrit-Project: meta-telephony
Gerrit-Branch: 201705
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>



More information about the gerrit-log mailing list