remove some extraneous .WAV files
[openembedded.git] / linphone / linphone-hh_0.12.2.hh1.oe
1 PR = "r1"
2
3 DESCRIPTION = "SIP-based IP phone (GPE edition)"
4 DEPENDS = "libosip gtk+ libogg alsa-lib"
5 SRC_URI = "http://handhelds.org/pub/linux/packages/linphone/linphone-${PV}.tar.gz \
6         file://osipua-ipv6-lossage.patch;patch=1 \
7         file://gpe-cross-lossage.patch;patch=1"
8
9 S = "${WORKDIR}/linphone-${PV}"
10
11 FILES_${PN} += "${datadir}/linphonec"
12
13 inherit autotools
14
15 EXTRA_OECONF = "--disable-gnome_ui"
16
17 do_configure() {
18         # ffmpeg is in AC_SUBDIRS, but doesn't actually use autoconf.
19         # Autoreconf will try to recurse into there and blow up.
20         for dir in . speex oRTP osipua; do
21                 ( cd $dir; libtoolize --force; aclocal; automake; autoconf )
22         done
23
24         oe_runconf
25 }
26
27 do_install_append() {
28         mv ${D}${datadir}/gnome/apps/Internet ${D}${datadir}/applications
29         rm -f ${D}${datadir}/sounds/linphone/hello*.wav
30         rm -f ${D}${datadir}/sounds/linphone/rings/oldphone.wav
31 }