Lines 13-19
Link Here
|
13 |
LICENSE="GPL-2" |
13 |
LICENSE="GPL-2" |
14 |
SLOT="0" |
14 |
SLOT="0" |
15 |
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
15 |
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
16 |
IUSE="avahi dbus gnome idle libnotify nls spell srv trayicon X xhtml" |
16 |
IUSE="avahi dbus gnome idle libnotify nls spell srv trayicon X xhtml gnome-keyring crypt" |
17 |
|
17 |
|
18 |
DEPEND="|| ( |
18 |
DEPEND="|| ( |
19 |
( <dev-lang/python-2.5 dev-python/pysqlite ) |
19 |
( <dev-lang/python-2.5 dev-python/pysqlite ) |
Lines 34-42
Link Here
|
34 |
idle? ( x11-libs/libXScrnSaver ) |
34 |
idle? ( x11-libs/libXScrnSaver ) |
35 |
spell? ( app-text/gtkspell ) |
35 |
spell? ( app-text/gtkspell ) |
36 |
avahi? ( net-dns/avahi[dbus,gtk,python] ) |
36 |
avahi? ( net-dns/avahi[dbus,gtk,python] ) |
|
|
37 |
gnome-keyring? ( dev-python/gnome-keyring-python ) |
38 |
crypt? ( dev-python/py-gnupg dev-python/pycrypto ) |
37 |
dev-python/pyopenssl |
39 |
dev-python/pyopenssl |
38 |
dev-python/sexy-python |
40 |
dev-python/sexy-python" |
39 |
dev-python/pycrypto" |
|
|
40 |
|
41 |
|
41 |
pkg_setup() { |
42 |
pkg_setup() { |
42 |
if ! use dbus; then |
43 |
if ! use dbus; then |
Lines 52-66
Link Here
|
52 |
} |
53 |
} |
53 |
|
54 |
|
54 |
src_prepare() { |
55 |
src_prepare() { |
55 |
# bug #251466 move *.py out of /usr/share |
|
|
56 |
# upstream: (http://trac.gajim.org/ticket/4770) |
57 |
epatch "${FILESDIR}/fix_autotools_and_search_dirs.patch" |
58 |
# not upstream: |
56 |
# not upstream: |
59 |
epatch "${FILESDIR}/0.12.1_autotools_install_pyfiles_in_pkglibdir.patch" |
57 |
epatch "${FILESDIR}/0.12.2_autotools_install_pyfiles_in_pkglibdir.patch" |
60 |
# sound paths: |
58 |
# sound paths: |
61 |
epatch "${FILESDIR}/0.12.1-sound-path-fix.patch" |
59 |
epatch "${FILESDIR}/0.12.1-sound-path-fix.patch" |
62 |
# small fix from upstream |
|
|
63 |
epatch "${FILESDIR}/0.12.1-roster_window.py_r10934.patch" |
64 |
|
60 |
|
65 |
# fix datadir path (trunk use an env var for config this) |
61 |
# fix datadir path (trunk use an env var for config this) |
66 |
sed -i "s|'DATA',.*|'DATA', '/usr/share/gajim/data')|" \ |
62 |
sed -i "s|'DATA',.*|'DATA', '/usr/share/gajim/data')|" \ |