blob: b4787b682ca32b2509692a4bdc3418d32e005d64 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=1
inherit eutils
DESCRIPTION="Jabbim is Jabber/XMPP client written in Python language using Qt"
HOMEPAGE="http://dev.jabbim.cz/jabbim"
SRC_URI="http://disk.jabbim.cz/michich@jabber.cz/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+ssl"
DEPEND="dev-python/ctypes
>=dev-python/PyQt4-4.3
>=dev-python/twisted-names-0.4
>=dev-python/twisted-web-0.7
>=dev-python/twisted-words-0.5
dev-python/pysqlite
ssl? ( dev-python/pyopenssl )"
RDEPEND="${DEPEND}"
src_unpack() {
unpack ${A}
# copy install scripts
cp "${FILESDIR}"/"${PV}"/Makefile "${S}"
cp "${FILESDIR}"/"${PV}"/install-files.py "${S}"
cp "${FILESDIR}"/"${PV}"/installation-blacklist "${S}"
cp "${FILESDIR}"/"${PV}"/"${PN}".in "${S}"
cd "${S}"
sed -i \
-e "s:lrelease-qt4:lrelease:" \
Makefile || die "sed Makefile failed"
}
src_compile() {
emake PREFIX="/usr/"|| die "emake failed!"
}
src_install() {
emake DESTDIR="${D}" install
make_desktop_entry "${PN}" "JabbIM"
}
|