blob: f387acfd0c3c5dc8c932a8e585ebcfe87551fddf (
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
|
/var/paludis/repositories/gentoo/games-rpg/tmw/filesd under the terms of the GNU General Public License v2
# $Header: $
EAPI=1
inherit qt3 git autotools
DESCRIPTION="SFLphone aims to become your desktop's VoIP companion."
HOMEPAGE="http://www.sflphone.org/"
SRC_URI=""
LICENSE="GPL-2"
SLOT=""
EGIT_REPO_URI="http://sflphone.org/git/sflphone.git"
KEYWORDS="~x86 ~ppc ~amd64"
IUSE="qt3 speex zeroconf"
DEPEND=">=net-libs/libosip-2.2.2
>=net-libs/libeXosip-1.9.0
>=dev-cpp/commoncpp2-1.3.21
>=net-libs/ccrtp-1.3.5
>=media-libs/portaudio-19_pre
>=media-libs/libsamplerate-0.1.1
net-libs/pjsip
media-sound/pulseaudio
qt3? ( >=x11-libs/qt-3.3:3 )
speex? ( media-libs/speex )
zeroconf? ( net-misc/mDNSResponder )"
RDEPEND="${DEPEND}"
src_unpack() {
# unpack ${A}
git_src_unpack
cd "${S}"
eautoreconf
# fix compile error on genstef's box..doesn't seem to break anything
# sed -i -e "s/Qt::Key_Mode_switch/0x0100117e/" src/gui/qt/SFLPhoneWindow.cpp
}
src_compile () {
econf \
$(use_enable qt3 sflphoneqt) \
$(use_enable speex) \
$(use_enable zeroconf) \
|| die "econf failed"
emake || die "emake failed"
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc README
}
x11-libs/libXv )"
DEPEND="${RDEPEND}
>=sys-devel/make-3.81
>=dev-util/pkgconfig-0.12.0
>=dev-util/intltool-0.35
doc? ( app-text/scrollkeeper
app-text/gnome-doc-utils )"
DOCS="AUTHORS ChangeLog FAQ NEWS README"
pkg_setup() {
# ekiga has to be built like opal and ptlib but as opal has to be built
# like ptlib, it should be possible to check only opal but as ekiga is
# linking to both, we are cheking both
if use debug && (! built_with_use dev-libs/ptlib debug ||
! built_with_use net-libs/opal debug); then
eerror "You need to build dev-libs/ptlib and net-libs/opal with\
USE=debug enabled."
die "dev-libs/ptlib and net-libs/opal have to be built with USE=debug"
fi
if ! use debug && (built_with_use dev-libs/ptlib debug ||
built_with_use net-libs/opal debug); then
eerror "You need to build dev-libs/ptlib and net-libs/opal without\
USE=debug."
die "dev-libs/ptlib and net-libs/opal has not to be built with USE=debug"
fi
# dbus-service is always enable if dbus is enable, no reason to disable it
G2CONF="${G2CONF}
$(use_enable avahi)
$(use_enable dbus)
$(use_enable dbus dbus_service)
$(use_enable debug)
$(use_enable doc gdu)
$(use_enable eds)
$(use_enable gconf)
$(use_enable gnome)
$(use_enable ldap)
$(use_enable libnotify notify)
$(use_enable xv)
"
}
src_unpack() {
git_src_unpack
cd "${S}"
# eautoreconf
# remove call to gconftool-2 --shutdown
# sed -i -e '/gconftool-2 --shutdown/d' Makefile.in \
# || die "Patching Makefile.in failed"
# fix ekiga-helper dbus service .in file
# sed -i -e 's/@PACKAGE_NAME@/ekiga/'\
# src/components/org.ekiga.Helper.service.in \
# || die "Patching src/components/org.ekiga.Helper.service.in failed"
}
pkg_postinst() {
gnome2_pkg_postinst
if ! use gnome; then
ewarn "USE=-gnome is experimental, some weirdness with the UI and"
ewarn "config keys should appear."
fi
}
aclocal.m4
eautoreconf
}
src_compile() {
addpredict /etc/krb5.conf
local modules myconf
modules="mod_ratio:mod_readme"
use acl && modules="${modules}:mod_facl"
use ban && modules="${modules}:mod_ban"
use case && modules="${modules}:mod_case"
use clamav && modules="${modules}:mod_clamav"
use deflate && modules="${modules}:mod_deflate"
use pam && modules="${modules}:mod_auth_pam"
use radius && modules="${modules}:mod_radius"
use rewrite && modules="${modules}:mod_rewp
|