We have moved to Git. This repository is only provided for compatibility with old installations. Learn how to migrate your installation here.

view net-misc/asterisk-softmodem/asterisk-softmodem-20160525.ebuild @ 267:3ea8643fd217

[sync] imported 6e83727..5f8a98e from upstream commit 5f8a98e9c4086d481e1bcfdfac5553aba0f65087 Author: Daniel Neugebauer <dneuge@energiequant.de> Date: Thu Jan 2 12:53:32 2025 +0100 media-sound/yabridge-bin: added 5.1.1 commit 9c160cb6e5ae191039168b1f93a1a190460e0218 Author: Daniel Neugebauer <dneuge@energiequant.de> Date: Thu Jan 2 11:31:20 2025 +0100 media-libs/mlt-7.24.0-r1: restored from official portage tree as it is needed by kde-apps/kdenlive:23.08.5 (pulled in by kde-apps/kdemultimedia-meta for KDE 5)
author Migration Sync <gentoo-overlay@megacoffee.net>
date Thu, 02 Jan 2025 12:00:01 +0000
parents 32efd9258ce5
children
line wrap: on
line source

# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

# based on net-misc/asterisk-app_rxfax ebuild provided by mva and luke-jr overlays

EAPI=8

inherit git-r3

DESCRIPTION="Asterisk application providing a V.21/V.22/V.23 compatible soft-modem for inbound connections"
HOMEPAGE="https://github.com/proquar/asterisk-Softmodem"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"

IUSE=""

DEPEND="media-libs/spandsp
        >=net-misc/asterisk-13"

EGIT_REPO_URI="https://github.com/proquar/asterisk-Softmodem.git"
EGIT_COMMIT="14e5b4f9ebbd8dcbf107a397e26b5385771bdff7"

MyPN="app_softmodem"

src_compile() {
	gcc $CFLAGS -shared -fPIC -lspandsp -o "${MyPN}".{so,c} || die compile
}

src_install() {
	exeinto "/usr/lib/asterisk/modules"
	doexe "${MyPN}.so" || die install
}