hasufell-repository/packages/dev-python/python-sipsimple/python-sipsimple-3.3.0-r1.exheres-0
Tom Briden 7e9f4bf7c5
sipsimple: add icu as a dependency
having removed old icu slots, i now get an error running blink

  File "/usr/host/bin/blink", line 67, in <module>
    from blink import Blink
  File "/usr/x86_64-pc-linux-gnu/lib/python2.7/site-packages/blink/__init__.py", line 15, in <module>
    from sipsimple.account import Account, AccountManager, BonjourAccount
  File "/usr/x86_64-pc-linux-gnu/lib/python2.7/site-packages/sipsimple/account/__init__.py", line 23, in <module>
    from sipsimple.account.bonjour import BonjourServices, _bonjour
  File "/usr/x86_64-pc-linux-gnu/lib/python2.7/site-packages/sipsimple/account/bonjour/__init__.py", line 21, in <module>
    from sipsimple.core import FrozenSIPURI, SIPCoreError, NoGRUU
  File "/usr/x86_64-pc-linux-gnu/lib/python2.7/site-packages/sipsimple/core/__init__.py", line 2, in <module>
    from sipsimple.core._core import *
ImportError: libicui18n.so.62: cannot open shared object file: No such file or directory
2019-01-23 10:21:48 +00:00

61 lines
1.9 KiB
Bash

# Copyright 2016 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
require github [ user="AGProjects" tag="release-${PV}" ]
require setup-py [ import=distutils blacklist="3" work="${PN}-release-${PV}" ]
SUMMARY="SIP SIMPLE client SDK is a Software Development Kit"
HOMEPAGE="http://sipsimpleclient.org ${HOMEPAGE}"
LICENCES="GPL-3"
SLOT="0"
PLATFORMS="~amd64 ~x86"
MYOPTIONS="
( providers: libressl openssl ) [[ number-selected = exactly-one ]]
( providers: ffmpeg libav ) [[ number-selected = exactly-one ]]
"
DEPENDENCIES="
build:
dev-python/Cython[python_abis:*(-)?]
virtual/pkg-config
build+run:
dev-db/sqlite:3
dev-libs/icu:62.1
dev-python/python-application[>=2.5.0][python_abis:*(-)?]
media-libs/libvpx
media-libs/v4l-utils
sys-apps/util-linux
sys-sound/alsa-lib
providers:ffmpeg? ( media/ffmpeg[h264] )
providers:libav? ( media/libav[h264] )
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:*(-)?]
dev-python/python-msrplib[>=0.19.0][python_abis:*(-)?]
dev-python/python-otr[>=1.2.0][python_abis:*(-)?]
dev-python/python-xcaplib[python_abis:*(-)?]
dev-python/zopeinterface[python_abis:*(-)?]
media-libs/x264[-10bit]
net-twisted/TwistedCore[python_abis:*(-)?]
"
DEFAULT_SRC_PREPARE_PATCHES=(
"${FILES}"/${PNV}-fix-build.patch
)
src_compile() {
# breaks horribly with 'ld'
export LD=${CC}
setup-py_src_compile
}