net-voip/twinkle:
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr
This commit is contained in:
parent
2450ff3aab
commit
99aed50945
1
net-voip/twinkle/Manifest
Normal file
1
net-voip/twinkle/Manifest
Normal file
|
@ -0,0 +1 @@
|
||||||
|
DIST twinkle-1.10.2.tar.gz 1196846 BLAKE2B 52cfa4f1d31b040db46edadccc43431d04fe71036821a1ef0c5b8803bf7ccf2fcd1d15a8340e583d049c588290a85c8ee07c6738adc599d164f7f606b2f34dc1 SHA512 a6da59a0d38d54def2bc27aa3792f43ea534793482ce0dddf2f21b6d6023f55572eda8f5747e56b7df98a8a244706485d70469603247404b45990f578ae34bfb
|
14
net-voip/twinkle/metadata.xml
Normal file
14
net-voip/twinkle/metadata.xml
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>qsx@chaotikum.eu</email>
|
||||||
|
<name>Thomas Schneider</name>
|
||||||
|
</maintainer>
|
||||||
|
<use>
|
||||||
|
<flag name="g729">Add support for the G.729A audio codec</flag>
|
||||||
|
</use>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="github">LubosD/twinkle</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
64
net-voip/twinkle/twinkle-1.10.2.ebuild
Normal file
64
net-voip/twinkle/twinkle-1.10.2.ebuild
Normal file
|
@ -0,0 +1,64 @@
|
||||||
|
# Copyright 2020 Thomas Schneider <qsx@chaotikum.eu>
|
||||||
|
# Licensed under the EUPL
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit cmake xdg-utils
|
||||||
|
|
||||||
|
DESCRIPTION="Twinkle is a SIP-based VoIP client."
|
||||||
|
HOMEPAGE="http://twinkle.dolezel.info"
|
||||||
|
|
||||||
|
SRC_URI="https://github.com/LubosD/twinkle/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
IUSE="alsa g729 gsm +qt5 speex"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-libs/ucommon:=
|
||||||
|
media-libs/ccrtp
|
||||||
|
dev-libs/libxml2
|
||||||
|
media-libs/libsndfile
|
||||||
|
sys-apps/file
|
||||||
|
sys-libs/readline:=
|
||||||
|
|
||||||
|
qt5? (
|
||||||
|
dev-qt/qtdeclarative:=[widgets]
|
||||||
|
)
|
||||||
|
|
||||||
|
alsa? ( media-libs/alsa-lib )
|
||||||
|
speex? ( media-libs/speex )
|
||||||
|
g729? ( media-libs/bcg729 )
|
||||||
|
gsm? ( media-sound/gsm )
|
||||||
|
"
|
||||||
|
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
|
BDEPEND="
|
||||||
|
qt5? ( dev-qt/linguist-tools )
|
||||||
|
sys-devel/bison
|
||||||
|
sys-devel/flex
|
||||||
|
"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local mycmakeargs=(
|
||||||
|
-DWITH_QT5=$(usex qt5)
|
||||||
|
-DWITH_ZRTP=OFF # not ported yet
|
||||||
|
-DWITH_ALSA=$(usex alsa)
|
||||||
|
-DWITH_SPEEX=$(usex speex)
|
||||||
|
-DWITH_ILBC=OFF # requires old version
|
||||||
|
-DWITH_G729=$(usex g729) # broken as well
|
||||||
|
-DWITH_GSM=$(usex gsm)
|
||||||
|
)
|
||||||
|
cmake_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
xdg_icon_cache_update
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
xdg_icon_cache_update
|
||||||
|
}
|
Loading…
Reference in a new issue