Lines 2-7
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: $ |
3 |
# $Header: $ |
4 |
|
4 |
|
|
|
5 |
EAPI="2" |
6 |
|
5 |
inherit eutils gnome2 |
7 |
inherit eutils gnome2 |
6 |
|
8 |
|
7 |
DESCRIPTION="H.323 and SIP VoIP softphone" |
9 |
DESCRIPTION="H.323 and SIP VoIP softphone" |
Lines 12-19
Link Here
|
12 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
14 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
13 |
IUSE="avahi dbus debug doc eds gconf gnome ldap libnotify xv" |
15 |
IUSE="avahi dbus debug doc eds gconf gnome ldap libnotify xv" |
14 |
|
16 |
|
15 |
RDEPEND=">=dev-libs/ptlib-2.4.1 |
17 |
RDEPEND=">=dev-libs/ptlib-2.4.1[debug=] |
16 |
>=net-libs/opal-3.4.1 |
18 |
>=net-libs/opal-3.4.1[debug=] |
17 |
>=x11-libs/gtk+-2.12.0 |
19 |
>=x11-libs/gtk+-2.12.0 |
18 |
>=dev-libs/glib-2.8.0 |
20 |
>=dev-libs/glib-2.8.0 |
19 |
>=dev-libs/libsigc++-2.0.0 |
21 |
>=dev-libs/libsigc++-2.0.0 |
Lines 38-60
Link Here
|
38 |
DOCS="AUTHORS ChangeLog FAQ NEWS README" |
40 |
DOCS="AUTHORS ChangeLog FAQ NEWS README" |
39 |
|
41 |
|
40 |
pkg_setup() { |
42 |
pkg_setup() { |
41 |
# ekiga has to be built like opal and ptlib but as opal has to be built |
|
|
42 |
# like ptlib, it should be possible to check only opal but as ekiga is |
43 |
# linking to both, we are cheking both |
44 |
if use debug && (! built_with_use dev-libs/ptlib debug || |
45 |
! built_with_use net-libs/opal debug); then |
46 |
eerror "You need to build dev-libs/ptlib and net-libs/opal with\ |
47 |
USE=debug enabled." |
48 |
die "dev-libs/ptlib and net-libs/opal have to be built with USE=debug" |
49 |
fi |
50 |
|
51 |
if ! use debug && (built_with_use dev-libs/ptlib debug || |
52 |
built_with_use net-libs/opal debug); then |
53 |
eerror "You need to build dev-libs/ptlib and net-libs/opal without\ |
54 |
USE=debug." |
55 |
die "dev-libs/ptlib and net-libs/opal has not to be built with USE=debug" |
56 |
fi |
57 |
|
58 |
# dbus-service is always enable if dbus is enable, no reason to disable it |
43 |
# dbus-service is always enable if dbus is enable, no reason to disable it |
59 |
G2CONF="${G2CONF} |
44 |
G2CONF="${G2CONF} |
60 |
$(use_enable avahi) |
45 |
$(use_enable avahi) |
Lines 81-91
Link Here
|
81 |
src/components/org.ekiga.Helper.service.in |
66 |
src/components/org.ekiga.Helper.service.in |
82 |
} |
67 |
} |
83 |
|
68 |
|
|
|
69 |
src_configure() { |
70 |
false # gnome2.eclass doesn't like EAPI2 |
71 |
} |
72 |
|
84 |
pkg_postinst() { |
73 |
pkg_postinst() { |
85 |
gnome2_pkg_postinst |
74 |
gnome2_pkg_postinst |
86 |
|
75 |
|
87 |
if ! use gnome; then |
76 |
if ! use gnome; then |
88 |
ewarn "USE=-gnome is experimental, some weirdness with the UI and \ |
77 |
ewarn "USE=-gnome is experimental, some weirdness with the UI and config keys" |
89 |
config keys should appear." |
78 |
ewarn "should appear." |
90 |
fi |
79 |
fi |
91 |
} |
80 |
} |