46 lines
719 B
Bash
46 lines
719 B
Bash
# Copyright 1999-2015 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Id$
|
|
|
|
EAPI=5
|
|
|
|
inherit git-r3 autotools
|
|
|
|
DESCRIPTION="Ring is a Voice-over-IP software phone."
|
|
HOMEPAGE="https://ring.cx/"
|
|
EGIT_REPO_URI="https://gerrit-ring.savoirfairelinux.com/ring-daemon"
|
|
|
|
LICENSE="GPL"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
IUSE=""
|
|
|
|
DEPEND="
|
|
net-libs/opendht
|
|
>=net-libs/pjsip-2.4
|
|
dev-cpp/yaml-cpp"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
src_configure() {
|
|
mkdir contrib/native
|
|
cd contrib/native
|
|
../bootstrap
|
|
cd ../..
|
|
conf=econf
|
|
$conf --without-pulse \
|
|
--without-jack \
|
|
--without-dbus \
|
|
i --without-gsm
|
|
}
|
|
|
|
src_prepare() {
|
|
eautoreconf
|
|
}
|
|
|
|
src_compile() {
|
|
cd contrib/native
|
|
make -j
|
|
cd ../..
|
|
emake
|
|
}
|