2016-02-26 13:24:54 +00:00
|
|
|
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2017-03-13 20:21:21 +00:00
|
|
|
require github [ user="AGProjects" tag="release-${PV}" ]
|
|
|
|
require setup-py [ import=distutils blacklist="3" work="${PN}-release-${PV}" ]
|
2016-02-26 13:24:54 +00:00
|
|
|
|
|
|
|
SUMMARY="SIP SIMPLE client SDK is a Software Development Kit"
|
2017-03-13 20:21:21 +00:00
|
|
|
HOMEPAGE="http://sipsimpleclient.org ${HOMEPAGE}"
|
2016-02-26 13:24:54 +00:00
|
|
|
|
|
|
|
LICENCES="GPL-3"
|
|
|
|
SLOT="0"
|
|
|
|
PLATFORMS="~amd64 ~x86"
|
|
|
|
MYOPTIONS="
|
|
|
|
( providers: libressl openssl ) [[ number-selected = exactly-one ]]
|
2016-05-21 16:46:19 +00:00
|
|
|
( providers: ffmpeg libav ) [[ number-selected = exactly-one ]]
|
2016-02-26 13:24:54 +00:00
|
|
|
"
|
|
|
|
|
|
|
|
DEPENDENCIES="
|
|
|
|
build:
|
|
|
|
dev-python/Cython[python_abis:*(-)?]
|
|
|
|
virtual/pkg-config
|
|
|
|
build+run:
|
|
|
|
dev-db/sqlite:3
|
2019-06-03 08:25:01 +00:00
|
|
|
dev-libs/icu:=
|
2018-12-18 11:11:01 +00:00
|
|
|
dev-python/python-application[>=2.5.0][python_abis:*(-)?]
|
2016-02-26 13:24:54 +00:00
|
|
|
media-libs/libvpx
|
|
|
|
media-libs/v4l-utils
|
|
|
|
sys-apps/util-linux
|
|
|
|
sys-sound/alsa-lib
|
2016-05-21 16:46:19 +00:00
|
|
|
providers:ffmpeg? ( media/ffmpeg[h264] )
|
|
|
|
providers:libav? ( media/libav[h264] )
|
2016-02-26 13:24:54 +00:00
|
|
|
providers:libressl? ( dev-libs/libressl:= )
|
|
|
|
providers:openssl? ( dev-libs/openssl )
|
|
|
|
run:
|
|
|
|
dev-python/dnspython[python_abis:*(-)?]
|
|
|
|
dev-python/greenlet[python_abis:*(-)?]
|
|
|
|
dev-python/lxml[python_abis:*(-)?]
|
|
|
|
dev-python/python-cjson[python_abis:*(-)?]
|
|
|
|
dev-python/python-dateutil[python_abis:*(-)?]
|
|
|
|
dev-python/python-eventlib[python_abis:*(-)?]
|
|
|
|
dev-python/python-gnutls[python_abis:*(-)?]
|
2016-05-13 20:41:29 +00:00
|
|
|
dev-python/python-msrplib[>=0.19.0][python_abis:*(-)?]
|
2017-03-13 20:21:21 +00:00
|
|
|
dev-python/python-otr[>=1.2.0][python_abis:*(-)?]
|
2016-02-26 13:24:54 +00:00
|
|
|
dev-python/python-xcaplib[python_abis:*(-)?]
|
|
|
|
dev-python/zopeinterface[python_abis:*(-)?]
|
2016-03-16 16:11:13 +00:00
|
|
|
media-libs/x264[-10bit]
|
2019-06-04 12:21:17 +00:00
|
|
|
net-twisted/Twisted[python_abis:*(-)?]
|
2016-02-26 13:24:54 +00:00
|
|
|
"
|
|
|
|
|
2017-03-13 20:21:21 +00:00
|
|
|
DEFAULT_SRC_PREPARE_PATCHES=(
|
|
|
|
"${FILES}"/${PNV}-fix-build.patch
|
2019-12-24 21:21:12 +00:00
|
|
|
"${FILES}"/0001-Fix-build-with-LibreSSL-2.7.patch
|
2017-03-13 20:21:21 +00:00
|
|
|
)
|
|
|
|
|
2016-02-26 13:24:54 +00:00
|
|
|
src_compile() {
|
|
|
|
# breaks horribly with 'ld'
|
|
|
|
export LD=${CC}
|
|
|
|
|
|
|
|
setup-py_src_compile
|
|
|
|
}
|
|
|
|
|