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
|
|
|
|
|
2021-03-15 07:52:14 +00:00
|
|
|
require github [ user="AGProjects" pn="python3-sipsimple" tag="${PV}" ]
|
|
|
|
require setup-py [ import=distutils blacklist="2" multibuild=false ]
|
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 ]]
|
|
|
|
"
|
|
|
|
|
|
|
|
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:=
|
2021-03-15 07:52:14 +00:00
|
|
|
dev-python/python-application[>=3.0.3][python_abis:*(-)?]
|
2020-08-08 12:19:40 +00:00
|
|
|
media/ffmpeg[h264]
|
2016-02-26 13:24:54 +00:00
|
|
|
media-libs/libvpx
|
|
|
|
media-libs/v4l-utils
|
|
|
|
sys-apps/util-linux
|
|
|
|
sys-sound/alsa-lib
|
|
|
|
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-dateutil[python_abis:*(-)?]
|
2021-03-15 07:52:14 +00:00
|
|
|
dev-python/python-eventlib[>=0.3.0][python_abis:*(-)?]
|
|
|
|
dev-python/python-gnutls[>=3.1.8][python_abis:*(-)?]
|
|
|
|
dev-python/python-msrplib[>=0.21.0][python_abis:*(-)?]
|
|
|
|
dev-python/python-otr[>=2.0.1][python_abis:*(-)?]
|
|
|
|
dev-python/python-xcaplib[>=2.0.0][python_abis:*(-)?]
|
2016-02-26 13:24:54 +00:00
|
|
|
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=(
|
2021-03-15 07:52:14 +00:00
|
|
|
"${FILES}"/${PN}-fix-build.patch
|
2020-07-23 18:29:24 +00:00
|
|
|
"${FILES}"/${PN}-gcc10-fix.patch
|
2021-03-15 07:52:14 +00:00
|
|
|
"${FILES}"/d75b225e566cae2c998504dc5cd76bb30226cb43.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
|
|
|
|
}
|
|
|
|
|