Add net-voip/twinkle ebuild

This commit is contained in:
Stefan Reimer 2016-11-17 15:22:56 -08:00
parent 5507950280
commit b031cdbe46
2 changed files with 50 additions and 0 deletions

View File

@ -0,0 +1,2 @@
DIST twinkle-1.10.1.tar.gz 1186647 SHA256 450b5440ce7a76e9555d4535152091ec145987efae9d32bf05371b18735350cb SHA512 f2e5504309abf884535fb28bfb9eaf9de749cb693e2a07392013559b0d5d0bb1b97837bc7fcd125b8222de1acf1b289ef34d2ed877c19476981045e3d134a3be WHIRLPOOL 890cf20384e29fec2f6c189107d99af51939175aa87a0fee54f46772a7ea8913e1b35df58f9b3445cb09c3e9321ed5ea011d58c880d830ed7582c9cfe75b1cc4
EBUILD twinkle-1.10.1.ebuild 1254 SHA256 3c7a60af6d9e4cc39181f76cca1cae1f886a0b05556007efacd0d42df6848468 SHA512 0b74deba58fe6e1f93d0d506310c102f8f80af12064b0ae034f617dda0b553bba91e17319b3d909b16b5b2126dffb67f9de7df80bbecbe29196b9681031280bf WHIRLPOOL 511c338a428ae7ae101baf3d4d856d380899bc5ec0567ef7dc1d607fa60ff4fc2ce568e9fd7da8acc1bb0e8a16aefd3744f4c10a86a3944e33e616302521f68a

View File

@ -0,0 +1,48 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
inherit eutils cmake-utils
DESCRIPTION="Softphone for VoIP communcations using SIP protocol"
HOMEPAGE="http://twinkle.dolezel.info/"
LICENSE="GPL-2"
SLOT="0"
IUSE="alsa speex ilbc zrtp +qt4 qt5 g729 diamondcard "
SRC_URI="https://github.com/LubosD/twinkle/archive/v${PV}.tar.gz -> twinkle-${PV}.tar.gz"
KEYWORDS="~amd64 ~x86"
RDEPEND="media-libs/fontconfig
g729? ( media-plugins/mediastreamer-bcg729 )
dev-libs/boost
net-libs/ccrtp
speex? ( media-libs/speex )
ilbc? ( dev-libs/ilbc-rfc3951 )
zrtp? ( net-libs/libzrtpcpp )
media-libs/alsa-lib
dev-cpp/commoncpp2
dev-libs/ucommon
media-libs/libsndfile
"
REQUIRED_USE="
?? ( qt4 qt5 )
"
src_configure() {
local mycmakeargs=(
-DCMAKE_INSTALL_PREFIX=/usr/local
$(cmake-utils_use_with alsa ALSA)
$(cmake-utils_use_with speex SPEEX)
$(cmake-utils_use_with ilbc ILBC)
$(cmake-utils_use_with zrtp ZRTP)
$(cmake-utils_use_with qt4 QT4)
$(cmake-utils_use_with qt5 QT5)
$(cmake-utils_use_with diamondcard DIAMONDCARD)
$(cmake-utils_use_with g729 G729)
)
cmake-utils_src_configure
}
S="${WORKDIR}"/${P}