annotate net-voip/blink/blink-3.0.3.ebuild @ 511:cde86361b26c

remove visual-studio-code ebuilds - we use vscodium
author Dirk Olmes <dirk.olmes@codedo.de>
date Thu, 09 Apr 2020 02:31:16 +0200
parents 7e560a7c788b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
445
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
1 # Copyright 1999-2017 Gentoo Foundation
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
2 # Distributed under the terms of the GNU General Public License v2
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
3
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
4 EAPI="6"
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
5
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
6 PYTHON_COMPAT=( python2_7 )
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
7 DISTUTILS_SINGLE_IMPL=1
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
8
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
9 inherit eutils gnome2-utils distutils-r1
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
10
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
11 DESCRIPTION="A state of the art, easy to use SIP client"
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
12 HOMEPAGE="http://iCanBlink.com"
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
13 SRC_URI="https://github.com/AGProjects/${PN}-qt/archive/release-${PV}.tar.gz"
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
14
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
15 S="${WORKDIR}/${PN}-qt-release-${PV}"
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
16
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
17 LICENSE="GPL-3"
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
18 SLOT="0"
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
19 IUSE=""
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
20
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
21 KEYWORDS="~amd64 ~x86"
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
22
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
23 CDEPEND="net-libs/libvncserver"
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
24 RDEPEND="${CDEPEND}
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
25 dev-python/python-application[${PYTHON_USEDEP}]
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
26 dev-python/python-cjson[${PYTHON_USEDEP}]
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
27 dev-python/python-eventlib[${PYTHON_USEDEP}]
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
28 dev-python/PyQt5[webkit,${PYTHON_USEDEP}]
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
29 dev-python/twisted-core[${PYTHON_USEDEP}]
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
30 >=dev-python/python-sipsimple-3.1.0[${PYTHON_USEDEP}]
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
31 dev-python/zope-interface[${PYTHON_USEDEP}]
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
32 dev-python/google-api-python-client[${PYTHON_USEDEP}]
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
33 dev-python/python-dateutil[${PYTHON_USEDEP}]
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
34 dev-python/gmpy:2[${PYTHON_USEDEP}]
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
35 >=dev-python/python-application-2.0.0[${PYTHON_USEDEP}]
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
36 >=dev-python/python-otr-1.2.0[${PYTHON_USEDEP}]
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
37 dev-python/python-gnutls[${PYTHON_USEDEP}]
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
38 "
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
39 DEPEND="${CDEPEND}
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
40 dev-python/cython[${PYTHON_USEDEP}]"
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
41
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
42 src_compile() {
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
43 python setup.py build_ext
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
44 }
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
45
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
46 src_install() {
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
47 python setup.py install --home "${D}" --install-purelib="${D}"usr/lib64/python2.7/site-packages --install-platlib="${D}"usr/lib64/python2.7/site-packages --install-scripts="${D}"/usr/bin --install-data="${D}"usr
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
48
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
49 newicon -s 48 resources/icons/blink48.png blink.png
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
50 newicon -s 64 resources/icons/blink64.png blink.png
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
51 doicon -s 512 resources/icons/blink.png
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
52
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
53 make_desktop_entry ${PN} Blink
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
54 }
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
55
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
56 pkg_preinst() {
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
57 gnome2_icon_savelist
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
58 }
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
59
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
60 pkg_postinst() {
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
61 gnome2_icon_cache_update
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
62 }
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
63
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
64 pkg_postrm() {
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
65 gnome2_icon_cache_update
7e560a7c788b add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
66 }