50 lines
1.5 KiB
Bash
50 lines
1.5 KiB
Bash
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
require desktop-utils gtk-icon-cache
|
|
require setup-py [ import=distutils blacklist="2" multibuild=false ]
|
|
require github [ user="AGProjects" pn="blink-qt" tag="${PV}" ]
|
|
|
|
SUMMARY="A state of the art, easy to use SIP client"
|
|
HOMEPAGE="http://iCanBlink.com"
|
|
|
|
LICENCES="GPL-3"
|
|
SLOT="0"
|
|
MYOPTIONS=""
|
|
PLATFORMS="~amd64 ~x86"
|
|
|
|
DEPENDENCIES="
|
|
build:
|
|
dev-python/Cython[python_abis:*(-)?]
|
|
build+run:
|
|
net-libs/libvncserver
|
|
run:
|
|
dev-python/PyQt5[>=5.0][webkit][python_abis:*(-)?]
|
|
dev-python/google-api-python-client[python_abis:*(-)?]
|
|
dev-python/lxml[python_abis:*(-)?]
|
|
dev-python/python-application[>=3.0.3][python_abis:*(-)?]
|
|
dev-python/python-dateutil[python_abis:*(-)?]
|
|
dev-python/python-eventlib[>=0.3.0][python_abis:*(-)?]
|
|
dev-python/python-sipsimple[>=5.2.2][python_abis:*(-)?]
|
|
dev-python/zopeinterface[python_abis:*(-)?]
|
|
net-twisted/Twisted[python_abis:*(-)?]
|
|
"
|
|
|
|
DEFAULT_SRC_PREPARE_PATCHES=(
|
|
"${FILES}/${PN}-data-path.patch"
|
|
)
|
|
|
|
src_install() {
|
|
setup-py_src_install
|
|
|
|
insinto /usr/share/icons/hicolor/48x48/apps
|
|
newins resources/icons/blink48.png blink.png
|
|
insinto /usr/share/icons/hicolor/64x64/apps
|
|
newins resources/icons/blink64.png blink.png
|
|
insinto /usr/share/icons/hicolor/512x512/apps
|
|
doins resources/icons/blink.png
|
|
|
|
install_desktop_entry "Name=Blink"
|
|
}
|
|
|