linphone_3.11.2.inc 6.58 KB
Newer Older
1 2 3 4 5 6 7 8
DESCRIPTION = "Audio/video SIP-based IP phone (console edition)"
LICENSE = "GPLv2"
HOMEPAGE = "http://www.linphone.org/technical-corner/linphone/overview"
SECTION = "network"
SECTION_linphonec =  "console/network"

INC_PR = "r0"

9
DEPENDS = "libbellesip libortp libmediastreamer2 libxml2 mswebrtc opus-bc bctoolbox"
10 11 12 13 14 15
RDEPENDS_${PN} = "opus-bc mswebrtc"

PROVIDES = "liblinphone linphonec"

S = "${WORKDIR}/git"

16
inherit cmake gettext
17 18

PACKAGECONFIG ??= "sqlite zlib video"
19
PACKAGECONFIG[sqlite] = "-DENABLE_SQLITE_STORAGE=yes, -DENABLE_SQLITE_STORAGE=no, sqlite3"
20
PACKAGECONFIG[zlib] = ", --disable-zlib, zlib"
Sandrine Avakian's avatar
Sandrine Avakian committed
21
PACKAGECONFIG[video]= ",-DENABLE_VIDEO=NO"
22

23
EXTRA_OECMAKE += " -DENABLE_CONSOLE_UI=NO -DENABLE_GTK_UI=NO -DCMAKE_SKIP_INSTALL_RPATH=ON"
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

INSANE_SKIP_${PN} += "dev-deps"

PACKAGES += " ${PN}c ${PN}-common ${PN}-utils ${PN}-tester ${PN}-rings"

FILES_${PN} += "${bindir}/linphone-daemon \
		${bindir}/linphone-daemon-pipetest \
		${libdir}/liblinphone.so.9.0.0 \
		${libdir}/liblinphone.so.9 "

FILES_${PN}-common = "${bindir}/lp-gen-wrappers \
			${datadir}/pixmaps \
			${datadir}/applications \
			${datadir}/gnome \
			${datadir}/tutorials \
			${datadir}/linphone \
			${datadir}/sounds/linphone/hello8000.wav \
			${datadir}/sounds/linphone/hello16000.wav \
			${datadir}/sounds/linphone/incoming_chat.wav \
			${datadir}/sounds/linphone/ringback.wav \
			${datadir}/images/nowebcamCIF.jpg \
			${datadir}/appdata/linphone.appdata.xml \
			${datadir}/icons"
  
FILES_${PN}-utils = "${bindir}/lp-test-ecc \
			${bindir}/lp-autoanswer \
			${bindir}/xml2lpc_test \
			${bindir}/lpc2xml_test \
			${bindir}/lp-sendmsg \"

FILES_${PN}-tester ="${bindir}/liblinphone_tester \
			${datadir}/liblinphone_tester/messages.db \
			${datadir}/liblinphone_tester/tester_hosts \
			${datadir}/liblinphone_tester/certificates \
			${datadir}/liblinphone_tester/images \
			${datadir}/liblinphone_tester/common \
			${datadir}/liblinphone_tester/rcfiles \
			${datadir}/liblinphone_tester/sounds \
			${datadir}/liblinphone_tester/sipp \
			${datadir}/liblinphone_tester/certificates/cn \
			${datadir}/liblinphone_tester/certificates/altname \
			${datadir}/liblinphone_tester/certificates/cn/openssl-cn.cnf \
			${datadir}/liblinphone_tester/certificates/cn/cafile.pem \
			${datadir}/liblinphone_tester/certificates/cn/agent.pem \
			${datadir}/liblinphone_tester/certificates/altname/cafile.pem \
			${datadir}/liblinphone_tester/certificates/altname/openssl-altname.cnf \
			${datadir}/liblinphone_tester/certificates/altname/agent.pem \
			${datadir}/liblinphone_tester/images/nowebcamCIF.jpg \
			${datadir}/liblinphone_tester/common/bc_completion \
			${datadir}/liblinphone_tester/rcfiles/marie_remote_invalid_uri_rc \
			${datadir}/liblinphone_tester/rcfiles/marie_rc \
			${datadir}/liblinphone_tester/rcfiles/pauline_alt_rc \
			${datadir}/liblinphone_tester/rcfiles/pauline_zrtp_srtpsuite_aes256_rc \
			${datadir}/liblinphone_tester/rcfiles/multi_account_rc \
			${datadir}/liblinphone_tester/rcfiles/michelle_rc \
			${datadir}/liblinphone_tester/rcfiles/pauline_rc_rtcp_xr \
			${datadir}/liblinphone_tester/rcfiles/marie_remote_https_rc \
			${datadir}/liblinphone_tester/rcfiles/zero_length_params_rc \
			${datadir}/liblinphone_tester/rcfiles/marie_remote_404_rc \
			${datadir}/liblinphone_tester/rcfiles/stun_rc \
			${datadir}/liblinphone_tester/rcfiles/marie_zrtp_srtpsuite_aes256_rc \
			${datadir}/liblinphone_tester/rcfiles/pauline_sips_rc \
			${datadir}/liblinphone_tester/rcfiles/upnp_rc \
			${datadir}/liblinphone_tester/rcfiles/marie_remote_invalid_rc \
			${datadir}/liblinphone_tester/rcfiles/marie_zrtp_b256_rc \
			${datadir}/liblinphone_tester/rcfiles/marie_sips_rc \
			${datadir}/liblinphone_tester/rcfiles/marie_remote_localfile_rc \
			${datadir}/liblinphone_tester/rcfiles/pauline_h264_rc \
			${datadir}/liblinphone_tester/rcfiles/marie_remote_localfile2_rc \
			${datadir}/liblinphone_tester/rcfiles/laure_rc \
			${datadir}/liblinphone_tester/rcfiles/marie_remote_localfile_win10_rc \
			${datadir}/liblinphone_tester/rcfiles/marie_remote_default_values_rc \
			${datadir}/liblinphone_tester/rcfiles/remote_zero_length_params_rc \
			${datadir}/liblinphone_tester/rcfiles/marie_remote_rc \
			${datadir}/liblinphone_tester/rcfiles/pauline_wild_rc \
			${datadir}/liblinphone_tester/rcfiles/pauline_zrtp_b256_rc \
			${datadir}/liblinphone_tester/rcfiles/marie_transient_remote_rc \
			${datadir}/liblinphone_tester/rcfiles/marie_early_rc \
			${datadir}/liblinphone_tester/rcfiles/empty_rc \
			${datadir}/liblinphone_tester/rcfiles/pauline_tcp_rc \
			${datadir}/liblinphone_tester/rcfiles/pauline_zrtp_aes256_rc \
			${datadir}/liblinphone_tester/rcfiles/marie_remote_localfile_android_rc \
			${datadir}/liblinphone_tester/rcfiles/laure_call_logs_rc \
			${datadir}/liblinphone_tester/rcfiles/pauline_rc \
			${datadir}/liblinphone_tester/rcfiles/marie_rc_rtcp_xr \
			${datadir}/liblinphone_tester/rcfiles/marie_quality_reporting_rc \
			${datadir}/liblinphone_tester/rcfiles/marie_h264_rc \
			${datadir}/liblinphone_tester/rcfiles/marie_zrtp_aes256_rc \
			${datadir}/liblinphone_tester/sounds/ringback.wav \
			${datadir}/liblinphone_tester/sounds/sintel_trailer_opus_h264.mkv \
			${datadir}/liblinphone_tester/sounds/hello8000.wav \
			${datadir}/liblinphone_tester/sounds/vrroom.wav \
			${datadir}/liblinphone_tester/sounds/sintel_trailer_pcmu_h264.mkv \
			${datadir}/liblinphone_tester/sounds/hello8000.mkv \
			${datadir}/liblinphone_tester/sounds/oldphone.wav \
			${datadir}/liblinphone_tester/sounds/hello8000_mkv_ref.wav \
			${datadir}/liblinphone_tester/sounds/ahbahouaismaisbon.wav \
			${datadir}/liblinphone_tester/sounds/sintel_trailer_opus_vp8.mkv \
			${datadir}/liblinphone_tester/sipp/call_with_audio_mline_before_video_in_sdp.xml \
			${datadir}/liblinphone_tester/sipp/call_with_multiple_video_mline_in_sdp.xml \
			${datadir}/liblinphone_tester/sipp/call_with_video_mline_before_audio_in_sdp.xml \
			${datadir}/liblinphone_tester/sipp/sip_update_within_icoming_reinvite_with_no_sdp.xml \
			${datadir}/liblinphone_tester/sipp/call_with_multiple_audio_mline_in_sdp.xml \
			${datadir}/liblinphone_tester/sipp/call_invite_200ok_without_contact_header.xml"

FILES_${PN}c = "${bindir}/linphonec \
		${bindir}/linphonecsh \
		${datadir}/sounds/linphone/ringback.wav \
		${datadir}/sounds/linphone/rings/oldphone-mono.wav"

FILES_${PN}-rings = "${datadir}/sounds/linphone/rings"

136 137 138 139 140 141

FILES_${PN}-dev += " \
    ${includedir} \
    ${libdir}/pkgconfig \
    ${prefix}/share/Linphone "

Sandrine Avakian's avatar
Sandrine Avakian committed
142

143 144 145 146 147 148 149
do_configure_prepend() {
    #!/bin/sh
    echo 'Deleting mediastreamer2 and oRTP'
    rm -rf ${S}/mediastreamer2
    rm -rf ${S}/oRTP
    echo 'mediastreamer2 and oRTP have been removed'
}
Sandrine Avakian's avatar
Sandrine Avakian committed
150