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 @ 246:b4f83f7a0863

[sync] imported 7a7850a..6cdbf01 from upstream commit 6cdbf01e21f13976b612600d39df8a6d169ce8db Author: Daniel Neugebauer <dneuge@energiequant.de> Date: Mon Jan 16 19:44:38 2023 +0100 media-gfx/trimage: added patch from upstream pull request 81 to fix "Quit" not working on tray icon commit e445d2bd579e1d32f0b322265b042bcdae128e07 Author: Daniel Neugebauer <dneuge@energiequant.de> Date: Mon Jan 16 19:38:28 2023 +0100 media-gfx/trimage: patch to remove deprecated .desktop category commit 6d72181841d4f0599637b27b867ce0e8c24461e4 Author: Daniel Neugebauer <dneuge@energiequant.de> Date: Mon Jan 16 19:28:09 2023 +0100 media-gfx/trimage: EAPI 8, updated PYTHON_COMPAT, propagate Python USE flag to PyQt5
author Migration Sync <gentoo-overlay@megacoffee.net>
date Mon, 16 Jan 2023 19:00:04 +0000
parents cbb5cf71be86
children 32efd9258ce5
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=6

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
}