aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2018-12-16 19:46:13 +0000
committerng0 <ng0@n0.is>2018-12-16 19:46:13 +0000
commitc867f605e4c97c85a6859d49a47d6c73a9f83e52 (patch)
tree10f7ace984c12f2fbf08e045bbe0c23beb0c68b2
parentba2ba34b7f256350c6b7230973034a9065a81a0f (diff)
downloadyoubroketheinternet-overlay-c867f605e4c97c85a6859d49a47d6c73a9f83e52.tar.gz
youbroketheinternet-overlay-c867f605e4c97c85a6859d49a47d6c73a9f83e52.zip
gajim-9999
-rw-r--r--net-im/gajim/gajim-9999.ebuild116
1 files changed, 116 insertions, 0 deletions
diff --git a/net-im/gajim/gajim-9999.ebuild b/net-im/gajim/gajim-9999.ebuild
new file mode 100644
index 0000000..cc00ab0
--- /dev/null
+++ b/net-im/gajim/gajim-9999.ebuild
@@ -0,0 +1,116 @@
1# Copyright 1999-2018 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2
3
4EAPI=5
5
6PYTHON_COMPAT=( python3_{5,6} )
7PYTHON_REQ_USE="sqlite,xml"
8DISTUTILS_SINGLE_IMPL=1
9
10AUTOTOOLS_AUTORECONF=true
11
12inherit autotools-utils git-r3 python-r1 versionator
13
14DESCRIPTION="Jabber client written in PyGTK"
15HOMEPAGE="http://www.gajim.org/"
16EGIT_REPO_URI="https://dev.gajim.org/gajim/gajim.git"
17
18LICENSE="GPL-3"
19SLOT="0"
20KEYWORDS=""
21IUSE="crypt dbus gnome gnome-keyring kde idle jingle libnotify networkmanager nls spell +srv test X xhtml zeroconf"
22
23REQUIRED_USE="
24 ${PYTHON_REQUIRED_USE}
25 libnotify? ( dbus )
26 gnome? ( gnome-keyring )
27 zeroconf? ( dbus )"
28
29COMMON_DEPEND="
30 ${PYTHON_DEPS}
31 dev-python/pygtk:2[${PYTHON_USEDEP}]
32 x11-libs/gtk+:2"
33DEPEND="${COMMON_DEPEND}
34 >=dev-util/intltool-0.40.1
35 virtual/pkgconfig
36 >=sys-devel/gettext-0.17-r1"
37RDEPEND="${COMMON_DEPEND}
38 dev-python/pyasn1[${PYTHON_USEDEP}]
39 >=dev-python/pyopenssl-0.14[${PYTHON_USEDEP}]
40 >=dev-python/python-nbxmpp-0.5.3[${PYTHON_USEDEP}]
41 crypt? (
42 app-crypt/gnupg
43 dev-python/pycrypto[${PYTHON_USEDEP}]
44 )
45 dbus? (
46 dev-python/dbus-python[${PYTHON_USEDEP}]
47 dev-libs/dbus-glib
48 libnotify? ( dev-python/notify-python[${PYTHON_USEDEP}] )
49 zeroconf? ( net-dns/avahi[dbus,gtk,python,${PYTHON_USEDEP}] )
50 )
51 gnome? (
52 dev-python/libgnome-python[${PYTHON_USEDEP}]
53 dev-python/egg-python[${PYTHON_USEDEP}]
54 )
55 gnome-keyring? ( dev-python/gnome-keyring-python[${PYTHON_USEDEP}] )
56 idle? ( x11-libs/libXScrnSaver )
57 jingle? ( net-libs/farstream:0.1[python,${PYTHON_USEDEP}] )
58 kde? ( kde-apps/kwalletmanager )
59 networkmanager? (
60 dev-python/dbus-python[${PYTHON_USEDEP}]
61 net-misc/networkmanager
62 )
63 spell? ( app-text/gtkspell:2 )
64 srv? (
65 || (
66 dev-python/libasyncns-python[${PYTHON_USEDEP}]
67 net-dns/bind-tools
68 )
69 )
70 xhtml? ( dev-python/docutils[${PYTHON_USEDEP}] )"
71
72RESTRICT="test"
73
74src_prepare() {
75 autotools-utils_src_prepare
76 python_copy_sources
77}
78
79src_configure() {
80 configuration() {
81 local myeconfargs=(
82 $(use_enable nls)
83 $(use_with X x)
84 --docdir="/usr/share/doc/${PF}"
85 --libdir="$(python_get_sitedir)"
86 --enable-site-packages
87 )
88 run_in_build_dir autotools-utils_src_configure
89 }
90 python_foreach_impl configuration
91}
92
93src_compile() {
94 compilation() {
95 run_in_build_dir autotools-utils_src_compile
96 }
97 python_foreach_impl compilation
98}
99
100src_test() {
101 testing() {
102 run_in_build_dir ${PYTHON} test/runtests.py --verbose 3 || die
103 }
104 python_foreach_impl testing
105}
106
107src_install() {
108 installation() {
109 run_in_build_dir autotools-utils_src_install
110 python_optimize
111 }
112 python_foreach_impl installation
113
114 rm "${ED}/usr/share/doc/${PF}/README.html" || die
115 dohtml README.html
116}