Commit 5638fd76 authored by jehan's avatar jehan

cmake port for fido

parent 2f5e24d3
......@@ -9,20 +9,35 @@ DEPENDS = "libsofia-sip-ua-bc libortp"
RDEPENDS_${PN} = "lsb"
S = "${WORKDIR}/git"
EXTRA_OECONF = "--enable-redis=no \
--enable-protobuf=no \
--enable-transcoder=no \
--enable-xsd=no \
--enable-snmp=no \
--enable-soci=no \
--enable-doc=no \
--prefix=${D}${prefix} \
--exec_prefix=${D}${exec_prefix} \
--with-mysql=${D}${includedir}/mysql/ "
inherit cmake update-rc.d
EXTRA_OECMAKE += "-DCMAKE_INSTALL_DATAROOTDIR=share -DCMAKE_INSTALL_LIBDIR=lib"
EXTRA_OECMAKE += " -DCMAKE_SKIP_INSTALL_RPATH=ON \
-DENABLE_REDIS=NO \
-DENABLE_PROTOBUF=NO \
-DENABLE_TRANSCODER=NO \
-DENABLE_SNMP=NO \
-DENABLE_SOCI=NO \
-DENABLE_DOC=NO "
FILES_${PN} += "${libdir}/*.so"
FILES_${PN} += "${bindir}/flexisip"
FILES_${PN}-dev = "${bindir}/flexisip_pusher"
FILES_${PN}-dev += "${bindir}/flexisip_serializer"
#EXTRA_OECONF = "--enable-redis=no \
# --enable-protobuf=no \
# --enable-transcoder=no \
# --enable-xsd=no \
# --enable-snmp=no \
# --enable-soci=no \
# --enable-doc=no \
# --prefix=${D}${prefix} \
# --exec_prefix=${D}${exec_prefix} \
# --with-mysql=${D}${includedir}/mysql/ "
INITSCRIPT_NAME = "flexisip"
INITSCRIPT_PARAMS = "defaults"
inherit autotools pkgconfig update-rc.d
......@@ -4,7 +4,7 @@ inherit gitpkgv
PR = "${INC_PR}.0"
SRCREV = "1d4f50ebf166dff565735bf28d037697f8adb7e0"
SRCREV = "dbfc16402db47558ef97090b302715e3556c15b2"
SRC_URI = "git://git.linphone.org/flexisip.git"
PV = "git_${SRCREV}"
PKGV = "${GITPKGVTAG}"
......
......@@ -2,7 +2,7 @@ require sofia-sip.inc
PR = "${INC_PR}.0"
SRCREV = "a96cf7e458c8b62ed17f3673147df256dcb4a94d"
SRCREV = "97c1824a4769c34add85e6ff306bf3aa34116c75"
SRC_URI = "git://git.linphone.org/sofia-sip.git;nobranch=1"
PV = "git_${SRCREV}"
......
......@@ -6,7 +6,7 @@ INC_PR = "r0"
DEPENDS = "libpolarssl-bc bcunit"
PROVIDES = "bctoolbox"
PROVIDES = "libbctoolbox"
S = "${WORKDIR}/git"
......@@ -17,6 +17,7 @@ inherit distutils-base cmake pkgconfig
#PACKAGES = "${PN}-dbg ${PN} ${PN}-doc ${PN}-dev "
#-DCMAKE_BUILD_TYPE=Release
EXTRA_OECMAKE += " -DENABLE_STATIC=NO -DENABLE_TESTS=OFF -DENABLE_TESTS_COMPONENT=OFF -DCMAKE_SKIP_INSTALL_RPATH=ON"
EXTRA_OECMAKE += " -DENABLE_STATIC=NO -DENABLE_TESTS=OFF -DENABLE_TESTS_COMPONENT=OFF -DCMAKE_SKIP_INSTALL_RPATH=ON "
EXTRA_OECMAKE += "-DCMAKE_INSTALL_DATAROOTDIR=share -DCMAKE_INSTALL_LIBDIR=lib"
......@@ -3,7 +3,7 @@ require bctoolbox.inc
inherit gitpkgv
PR = "${INC_PR}.0"
SRCREV = "38850d8bedbfc106f72536063ff786371eb3a672"
SRCREV = "74918554d02e66e2fb1df0bbedcf7f19a7266584"
SRC_URI = "git://git.linphone.org/bctoolbox.git;commit=${SRCREV}"
PV = "git_${SRCREV}"
PKGV = "${GITPKGVTAG}"
......
DESCRIPTION = "Belcard is a C++ library to manipulate VCard standard format"
LICENSE = "GPLv2"
HOMEPAGE = "http://www.linphone.org/"
SECTION = "libs/network"
INC_PR = "r0"
DEPENDS = "libbelr"
EXTRA_OECMAKE += " -DCMAKE_SKIP_INSTALL_RPATH=ON "
EXTRA_OECMAKE += "-DCMAKE_INSTALL_DATAROOTDIR=share -DCMAKE_INSTALL_LIBDIR=lib"
PROVIDES = "libbelcard"
S = "${WORKDIR}/git"
inherit cmake
FILES_${PN}-dev = " \
${includedir} \
${libdir}/lib*.so \
${libdir}/*.a \
${prefix}/share/Belcard"
require belcard.inc
inherit gitpkgv
PR = "${INC_PR}.0"
SRCREV = "b9e1951be4575c62e326d761a7f7c79c5cce9cb9"
SRC_URI = "git://git.linphone.org/belcard.git"
PV = "git_${SRCREV}"
PKGV = "${GITPKGVTAG}"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
require belle-sip_1.6.1.inc
require belle-sip.inc
inherit gitpkgv
PR = "${INC_PR}.0"
SRCREV = "1ff6f71692ad204180f380158e8036b86e13190d"
SRCREV = "c840e2192b2d0151cc895b844e44bfe0d2103fcf"
SRC_URI = "git://git.linphone.org/belle-sip.git;commit=${SRCREV}"
PV = "git_${SRCREV}"
PKGV = "${GITPKGVTAG}"
LIC_FILES_CHKSUM = "file://COPYING;md5=9f9938e31db89d55a796e86808c96848;rev={SRCREV}"
......@@ -14,21 +14,20 @@ inherit pkgconfig cmake gettext
EXTRA_OECMAKE += " -DENABLE_STRICT=NO -DCMAKE_SKIP_INSTALL_RPATH=ON"
EXTRA_OECMAKE += "-DJava_JAVA_EXECUTABLE=${JAVA_HOME}/bin/java"
EXTRA_OECMAKE += "-DCMAKE_INSTALL_DATAROOTDIR=share -DCMAKE_INSTALL_LIBDIR=lib"
ANTLR_CFLAGS += " -I ${STAGING_DIR_HOST}/usr/include"
ANTLR_LIBS += " -L ${STAGING_DIR_HOST}/usr/lib"
CFLAGS += " ${ANTLR_CFLAGS} ${ANTLR_LIBS} -lantlr3c"
INSANE_SKIP_${PN} += "dev-deps"
FILES_${PN}-dev = " \
${includedir} \
${libdir}/lib*.so \
${libdir}/*.la \
${libdir}/*.a \
${libdir}/*.o \
${libdir}/pkgconfig \
${libdir}/*.a \
${prefix}/share/BelleSIP"
......
......@@ -23,27 +23,3 @@
+Libs.private: -L@CMAKE_INSTALL_FULL_LIBDIR@ @LIBS_PRIVATE@
Cflags: -I@includedir@
--- a/cmake/FindAntlr3.cmake 2017-04-28 15:17:49.000000000 +0200
+++ b/cmake/FindAntlr3.cmake 2017-04-28 15:18:03.000000000 +0200
@@ -27,7 +27,6 @@
# ANTLR3C_LIBRARIES - The libraries needed to use antlr3c
# ANTLR3_COMMAND - The command to run the antlr jar
-find_package(Java COMPONENTS Runtime REQUIRED)
set(_ANTLR3C_ROOT_PATHS
${CMAKE_INSTALL_PREFIX}
@@ -59,10 +58,12 @@
NAMES antlr3
HINTS ${_ANTLR3_JAR_ROOT_PATHS}
PATH_SUFFIXES bin
+ NO_CMAKE_FIND_ROOT_PATH
)
if(NOT ANTLR3_COMMAND)
# antlr3 command not found, search for the jar file
+ find_package(Java COMPONENTS Runtime REQUIRED)
find_file(ANTLR3_JAR_PATH
NAMES antlr3.jar antlr.jar
HINTS ${_ANTLR3_JAR_ROOT_PATHS}
DESCRIPTION = "Belr is Belledonne Communications' language recognition library."
LICENSE = "GPLv2"
HOMEPAGE = "http://www.linphone.org/"
SECTION = "libs/network"
INC_PR = "r0"
DEPENDS = "bctoolbox"
EXTRA_OECMAKE += " -DCMAKE_SKIP_INSTALL_RPATH=ON "
EXTRA_OECMAKE += "-DCMAKE_INSTALL_DATAROOTDIR=share -DCMAKE_INSTALL_LIBDIR=lib"
PROVIDES = "libbelr"
S = "${WORKDIR}/git"
inherit cmake
FILES_${PN}-dev = " \
${includedir} \
${libdir}/lib*.so \
${libdir}/*.a \
${prefix}/share/Belr"
require belr.inc
inherit gitpkgv
PR = "${INC_PR}.0"
SRCREV = "4f32b9c29c4ab8c4ccfc1e0899019a811d495054"
SRC_URI = "git://git.linphone.org/belr.git"
PV = "git_${SRCREV}"
PKGV = "${GITPKGVTAG}"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
......@@ -9,6 +9,7 @@ DEPENDS = "bctoolbox libxml2 zlib polarssl-bc"
PROVIDES = "libbzrtp"
S = "${WORKDIR}/git"
EXTRA_OECONF = " --prefix=${STAGING_DIR_HOST}${layout_exec_prefix}/usr"
EXTRA_OECMAKE += " -DENABLE_STATIC=NO -DENABLE_TESTS=OFF"
EXTRA_OECMAKE += "-DCMAKE_INSTALL_DATAROOTDIR=share -DCMAKE_INSTALL_LIBDIR=lib"
inherit cmake
......@@ -4,7 +4,7 @@ inherit gitpkgv
PR = "${INC_PR}.0"
SRCREV = "37542faebc1c938ec6d831e629c7a8ae937a14f7"
SRCREV = "37adaa0536432149a51332d8eb04973a3ba6bac9"
SRC_URI = "git://git.linphone.org/bzrtp.git"
PV = "git_${SRCREV}"
PKGV = "${GITPKGVTAG}"
......
require linphone_3.11.1.inc
require linphone.inc
inherit gitpkgv
PR = "${INC_PR}.0"
SRCREV = "83b94af9a4fa3a78292511976edd0c2c19a41149"
SRCREV = "7e2a6a56fa6a70a6ec3875cea26f1f1e17910917"
SRC_URI = "git://git.linphone.org/linphone.git"
PV = "git_${SRCREV}"
PKGV = "${GITPKGVTAG}"
......
......@@ -6,30 +6,31 @@ SECTION_linphonec = "console/network"
INC_PR = "r0"
DEPENDS = "libbellesip libortp libmediastreamer2 libxml2 mswebrtc opus-bc bctoolbox"
RDEPENDS_${PN} = "opus-bc mswebrtc"
DEPENDS = "libbellesip libortp libmediastreamer2 libxml2 libmswebrtc opus-bc libbctoolbox"
RDEPENDS_${PN} = "opus-bc "
PROVIDES = "liblinphone linphonec"
S = "${WORKDIR}/git"
inherit cmake gettext
inherit cmake gettext pythonnative
PACKAGECONFIG ??= "sqlite zlib video"
PACKAGECONFIG[sqlite] = "-DENABLE_SQLITE_STORAGE=yes, -DENABLE_SQLITE_STORAGE=no, sqlite3"
PACKAGECONFIG[zlib] = ", --disable-zlib, zlib"
PACKAGECONFIG[video]= ",-DENABLE_VIDEO=NO"
EXTRA_OECMAKE += " -DENABLE_CONSOLE_UI=NO -DENABLE_GTK_UI=NO -DCMAKE_SKIP_INSTALL_RPATH=ON"
EXTRA_OECMAKE += " -DENABLE_CONSOLE_UI=NO -DENABLE_GTK_UI=NO -DCMAKE_SKIP_INSTALL_RPATH=ON -DENABLE_CXX_WRAPPER=NO -DENABLE_VCARD=NO"
EXTRA_OECMAKE += "-DCMAKE_INSTALL_DATAROOTDIR=share -DCMAKE_INSTALL_LIBDIR=lib"
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 "
${bindir}/linphone-daemon-pipetest "
# ${libdir}/liblinphone.so.9.0.0 \
# ${libdir}/liblinphone.so.9 "
FILES_${PN}-common = "${bindir}/lp-gen-wrappers \
${datadir}/pixmaps \
......@@ -140,11 +141,4 @@ FILES_${PN}-dev += " \
${prefix}/share/Linphone "
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'
}
......@@ -5,7 +5,7 @@ SECTION = "libs/network"
INC_PR = "r0"
DEPENDS = "intltool-native libortp speex alsa-lib spandsp libv4l"
DEPENDS = "libortp speex alsa-lib spandsp libv4l virtual/gettext"
PROVIDES += "libmediastreamer2"
S = "${WORKDIR}/git"
......@@ -18,7 +18,9 @@ PACKAGECONFIG[bzrtp] = " -DENABLE_BZRTP=YES, -DENABLE_BZRTP=NO, libbzrtp"
PACKAGECONFIG[gsm] = " -DENABLE_GSM=YES, -DENABLE_GSM=NO, libgsm"
PACKAGECONFIG[x11] = " -DENABLE_X11=YES -DENABLE_XV=YES, -DENABLE_X11=NO -DENABLE_XV=NO, libxv"
inherit cmake lib_package pkgconfig pythonnative
EXTRA_OECMAKE += " -DCMAKE_SKIP_INSTALL_RPATH=ON -DENABLE_GLX=NO -DENABLE_GL=NO -DENABLE_GLX_DEFAULT_VALUE=NO -DENABLE_PCAP=NO -DENABLE_BV16=NO -DENABLE_DOC=NO"
EXTRA_OECMAKE += "-DCMAKE_INSTALL_DATAROOTDIR=share -DCMAKE_INSTALL_LIBDIR=lib"
#PACKAGES += "${PN}-bin"
......@@ -31,10 +33,8 @@ FILES_${PN}-dev += " \
${libdir}/lib*.so \
${libdir}/*.la \
${libdir}/*.a \
${libdir}/*.o \
${libdir}/pkgconfig \
${prefix}/share/Mediastreamer2 "
inherit cmake lib_package pkgconfig pythonnative
#inherit autotools pkgconfig gettext
require mediastreamer2_2.15.1.inc
require mediastreamer2.inc
inherit gitpkgv
PR = "${INC_PR}.0"
SRCREV = "e715cc559f1c60710dae306426d1ade42420c517"
SRC_URI = "git://git.linphone.org/mediastreamer2.git;branch=2.15.x"
SRCREV = "1afe5d921a30b8dc2dffb8838e600b4bf97e623d"
SRC_URI = "git://git.linphone.org/mediastreamer2.git"
PV = "git_${SRCREV}"
PKGV = "${GITPKGVTAG}"
......
......@@ -3,18 +3,20 @@ DESCRIPTION = "Mediastreamer2 plugin adding support for WebRTC features (iSAC co
SECTION = "libs"
PRIORITY = "optional"
LICENSE = "GPLv2"
DEPENDS = "mediastreamer2"
DEPENDS = "libmediastreamer2"
PROVIDES = "libmswebrtc"
#INHIBIT_PACKAGE_STRIP = "1"
EXTRA_OECMAKE += " -DENABLE_ISAC=NO "
EXTRA_OECMAKE += " -DCMAKE_SKIP_INSTALL_RPATH=ON -DENABLE_ISAC=NO -DENABLE_AECM=YES -DENABLE_AEC=NO"
EXTRA_OECMAKE += "-DCMAKE_INSTALL_DATAROOTDIR=share -DCMAKE_INSTALL_LIBDIR=lib"
FILES_${PN} = "${libdir}/mediastreamer/plugins/*.so.*"
FILES_${PN}-dev = "${libdir}/mediastreamer/plugins/*.la ${libdir}/mediastreamer/plugins/*.so"
FILES_${PN}-dbg = "${libdir}/mediastreamer/plugins/.debug/*.so.* /usr/src/debug"
FILES_${PN} = "${libdir}/mediastreamer/plugins/*.so"
#FILES_${PN}-dev = "${libdir}/mediastreamer/plugins/*.so"
FILES_${PN}-dbg = "${libdir}/mediastreamer/plugins/.debug ${libdir}/mediastreamer/plugins/.debug/*.so.* /usr/src/debug"
FILES_${PN}-dev += " ${libdir}/mediastreamer/plugins/*.a "
FILES_${PN}-staticdev += " ${libdir}/mediastreamer/plugins/*.a "
LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
inherit cmake pkgconfig
inherit cmake
PR = "r3"
SRC_URI = "gitsm://git.linphone.org/mswebrtc.git;protocol=git"
SRCREV = "0aed416cce8d30e8c2c83033f59468b4c0584d29"
SRCREV = "19814348807cdab7f13637993a05a696f47685eb"
S = "${WORKDIR}/git"
require mswebrtc-common.inc
......@@ -4,8 +4,9 @@ HOMEPAGE = "http://www.linphone.org/technical-corner/ortp/overview"
SECTION = "libs/network"
INC_PR = "r0"
DEPENDS = "bctoolbox"
DEPENDS = "libbctoolbox"
EXTRA_OECMAKE += " -DCMAKE_SKIP_INSTALL_RPATH=ON "
EXTRA_OECMAKE += "-DCMAKE_INSTALL_DATAROOTDIR=share -DCMAKE_INSTALL_LIBDIR=lib"
PROVIDES = "libortp"
S = "${WORKDIR}/git"
......
......@@ -4,7 +4,7 @@ inherit gitpkgv
PR = "${INC_PR}.0"
SRCREV = "e55122a5ffed11dbae6f8e0ca0f5c0ccb60cc7c2"
SRCREV = "5f8fcddce392f1510768949a4691f9e8c170badb"
SRC_URI = "git://git.linphone.org/ortp.git"
PV = "git_${SRCREV}"
PKGV = "${GITPKGVTAG}"
......
......@@ -2,8 +2,8 @@ require polarssl.inc
PR = "${INC_PR}.0"
SRCREV = "bd496b8b93ade4ea69e5f2bee6376c6e2b3ae8f9"
SRCREV = "809679830c015534314b9d5fb7d46cf81a7bb946"
SRC_URI = "git://git.linphone.org/polarssl.git;nobranch=1"
PV = "git_${SRCREV}"
LIC_FILES_CHKSUM = "file://LICENSE;md5=751419260aa954499f7abaabaa882bbe"
\ No newline at end of file
LIC_FILES_CHKSUM = "file://LICENSE;md5=751419260aa954499f7abaabaa882bbe"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment