Commit cb2b3719 authored by Sandrine Avakian's avatar Sandrine Avakian

Merge branch 'yocto-krogoth'

# Conflicts:
#	recipes-bc/linphone/ortp/ortp.inc
parents 434fc3a4 17359984
......@@ -10,11 +10,11 @@ PROVIDES = "libantlr3c-bc"
S = "${WORKDIR}/git/runtime/C"
ALLOW_EMPTY_${PN}="1"
inherit autotools pkgconfig
inherit cmake pkgconfig
do_autoreconf() {
./autogen.sh
}
#do_autoreconf() {
# ./autogen.sh
#}
do_install_append() {
mkdir -p ${STAGING_DIR_HOST}/usr/share/java
......
......@@ -4,17 +4,19 @@ SECTION = "libs/network"
INC_PR = "r0"
DEPENDS = "libpolarssl-bc bcunit"
DEPENDS = "mbedtls bcunit"
PROVIDES = "bctoolbox"
S = "${WORKDIR}/git"
INSANE_SKIP_${PN} += "dev-deps "
inherit cmake
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_TESTS_COMPONENT=OFF -DCMAKE_SKIP_INSTALL_RPATH=ON"
do_autoreconf () {
./autogen.sh
}
FILESEXTRAPATHS_prepend := "${THISDIR}/files/:"
SRC_URI += "file://cmakelists.patch \
file://pc.patch"
--- a/CMakeLists.txt 2017-04-21 15:40:04.000000000 +0200
+++ b/CMakeLists.txt 2017-04-21 15:39:56.000000000 +0200
@@ -94,7 +94,7 @@
endif()
if(POLARSSL_FOUND)
get_filename_component(polarssl_library_path "${POLARSSL_LIBRARIES}" PATH)
- set(LIBS_PRIVATE "${LIBS_PRIVATE} -L${polarssl_library_path} -lpolarssl")
+ set(LIBS_PRIVATE "${LIBS_PRIVATE} -lpolarssl")
endif()
if(ENABLE_TESTS_COMPONENT)
--- a/cmake/FindMbedTLS.cmake 2017-04-06 12:38:13.000000000 +0200
+++ b/cmake/FindMbedTLS.cmake 2017-04-20 17:16:01.000000000 +0200
@@ -40,6 +40,7 @@
# find the three mbedtls library
find_library(MBEDTLS_LIBRARY
NAMES mbedtls
+ PATH_SUFFIXES bin lib
)
find_library(MBEDX509_LIBRARY
--- a/bctoolbox.pc.in 2017-04-21 15:40:12.000000000 +0200
+++ b/bctoolbox.pc.in 2017-04-21 15:39:46.000000000 +0200
@@ -6,5 +6,5 @@
Description: A common set of tools used by Belledonne Communication's softwares
Version: @PROJECT_VERSION@
Libs: -L@CMAKE_INSTALL_FULL_LIBDIR@ -lbctoolbox
-Libs.private: @LIBS_PRIVATE@
+Libs.private: -L@CMAKE_INSTALL_FULL_LIBDIR@ @LIBS_PRIVATE@
Cflags: -I@CMAKE_INSTALL_FULL_INCLUDEDIR@
......@@ -9,12 +9,9 @@ PN = "bcunit"
PROVIDES = "bcunit"
S = "${WORKDIR}/git"
EXTRA_OECONF += " --enable-shared"
EXTRA_OECMAKE += " -DENABLE_SHARED=ON"
FILES_${PN} += "${datadir}/CUnit \
/usr/doc"
inherit autotools pkgconfig
inherit cmake pkgconfig
do_autoreconf () {
./autogen.sh
}
FILESEXTRAPATHS_prepend := "${THISDIR}/files/:"
SRC_URI += " file://pc.patch"
......@@ -5,18 +5,32 @@ SECTION = "libs/network"
INC_PR = "r0"
DEPENDS = "libantlr3c-bc bctoolbox libpolarssl-bc zlib"
DEPENDS = "libantlr3c-bc bctoolbox zlib"
PROVIDES = "libbellesip"
S = "${WORKDIR}/git"
EXTRA_OECONF += "--disable-strict --with-antlr=${STAGING_DIR_HOST}${layout_exec_prefix}/usr "
inherit pkgconfig cmake gettext
EXTRA_OECMAKE += " -DENABLE_STRICT=NO -DCMAKE_SKIP_INSTALL_RPATH=ON"
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"
inherit autotools pkgconfig
do_autoreconf () {
./autogen.sh
}
FILES_${PN}-dev = " \
${includedir} \
${libdir}/lib*.so \
${libdir}/*.la \
${libdir}/*.a \
${libdir}/*.o \
${libdir}/pkgconfig \
${prefix}/share/BelleSIP"
......
--- a/CMakeLists.txt 2017-04-06 12:38:13.000000000 +0200
+++ b/CMakeLists.txt 2017-04-28 15:09:09.000000000 +0200
@@ -123,9 +123,9 @@
set(libdir ${prefix}/lib)
set(includedir ${prefix}/include)
get_filename_component(antlr3c_library_path "${ANTLR3C_LIBRARIES}" PATH)
-set(LIBS_PRIVATE "-L${antlr3c_library_path} -lantlr3c")
+set(LIBS_PRIVATE " -lantlr3c")
get_filename_component(bctoolbox_library_path "${BCTOOLBOX_CORE_LIBRARIES}" PATH)
-set(LIBS_PRIVATE "${LIBS_PRIVATE} -L${bctoolbox_library_path} -lbctoolbox")
+set(LIBS_PRIVATE "${LIBS_PRIVATE} -lbctoolbox")
if(ZLIB_FOUND)
set(REQUIRES_PRIVATE "${REQUIRES_PRIVATE} z")
endif()
--- a/belle-sip.pc.in 2017-04-28 14:47:09.000000000 +0200
+++ b/belle-sip.pc.in 2017-04-28 15:08:05.000000000 +0200
@@ -9,5 +9,5 @@
Requires.private: @REQUIRES_PRIVATE@ @TLS_PC@
Version: @VERSION@
Libs: -L@libdir@ -lbellesip
-Libs.private: @LIBS_PRIVATE@
+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}
......@@ -11,4 +11,4 @@ S = "${WORKDIR}/git"
EXTRA_OECONF = " --prefix=${STAGING_DIR_HOST}${layout_exec_prefix}/usr"
inherit autotools pkgconfig
inherit cmake
......@@ -5,30 +5,14 @@ LICENSE = "libgsm"
INC_PR = "r2"
SRC_URI = "http://www.quut.com/gsm/gsm-${PV}.tar.gz \
file://01_makefile.patch \
file://02_cplusplus.patch \
file://03_config.patch \
file://04_includes.patch \
file://05_compiler_warnings.patch \
"
inherit cmake pkgconfig
CFLAGS += "-c -g -fPIC -Wall -D_GNU_SOURCE -D_REENTRANT -DNeedFunctionPrototypes=1 -DWAV49 -I./inc"
PROVIDES = "libgsm"
PACKAGES = " ${PN}-dbg ${PN} ${PN}-doc ${PN}-dev "
PARALLEL_MAKE = ""
#EXTRA_OECMAKE += " -DCMAKE_SKIP_INSTALL_RPATH=ON"
FILES_${PN} += " \
${libdir}/lib*.so "
do_compile() {
unset LD
oe_runmake CCFLAGS="${CFLAGS}"
}
do_install() {
oe_libinstall -a -C lib libgsm ${D}${libdir}
oe_libinstall -so -C lib libgsm ${D}${libdir}
install -d ${D}${includedir}/gsm
install -m 0644 ${S}/inc/gsm.h ${D}${includedir}/gsm/
cd ${D}${includedir}
ln -s gsm/gsm.h gsm.h
}
LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=fc1372895b173aaf543a122db37e04f5"
\ No newline at end of file
FILES_${PN}-dbg += "\
${libdir}/.debug/ \"
require libgsm.inc
inherit gitpkgv
PR = "${INC_PR}.0"
S = "${WORKDIR}/gsm-1.0-pl13/"
S = "${WORKDIR}/git"
SRC_URI[md5sum] = "c1ba392ce61dc4aff1c29ea4e92f6df4"
SRC_URI[sha256sum] = "52c518244d428c2e56c543b98c9135f4a76ff780c32455580b793f60a0a092ad"
SRCREV = "0f8822b5326c76bb9dc4c6b552631f51792c3982"
SRC_URI = "git://git.linphone.org/gsm.git;branch=linphone"
PV = "git_${SRCREV}"
PKGV = "${GITPKGVTAG}"
LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=fc1372895b173aaf543a122db37e04f5"
......@@ -4,7 +4,7 @@ inherit gitpkgv
PR = "${INC_PR}.0"
SRCREV = "f499b34e2a8b9c7d4a7651f947f7a0d45089ee91"
SRCREV = "e28e14d4bd4a5f1ed118048b8740dae3461108c7"
SRC_URI = "git://git.linphone.org/linphone.git"
PV = "git_${SRCREV}"
PKGV = "${GITPKGVTAG}"
......
......@@ -13,14 +13,15 @@ PROVIDES = "liblinphone linphonec"
S = "${WORKDIR}/git"
inherit autotools pkgconfig gettext
inherit cmake gettext
PACKAGECONFIG ??= "sqlite zlib video"
PACKAGECONFIG[sqlite] = "--enable-msg-storage=yes, --enable-msg-storage=no, sqlite3"
PACKAGECONFIG[sqlite] = "-DENABLE_SQLITE_STORAGE=yes, -DENABLE_SQLITE_STORAGE=no, sqlite3"
PACKAGECONFIG[zlib] = ", --disable-zlib, zlib"
PACKAGECONFIG[video]= ",--disable-video"
PACKAGECONFIG[video]= ",-DENABLE_VIDEO=NO"
EXTRA_OECMAKE += " -DENABLE_CONSOLE_UI=NO -DENABLE_GTK_UI=NO -DCMAKE_SKIP_INSTALL_RPATH=ON"
EXTRA_OECONF += " --without-readline --enable-external-mediastreamer=yes --enable-external-ortp=yes --enable-gtk_ui=no --disable-x11"
INSANE_SKIP_${PN} += "dev-deps"
PACKAGES += " ${PN}c ${PN}-common ${PN}-utils ${PN}-tester ${PN}-rings"
......@@ -132,6 +133,13 @@ FILES_${PN}c = "${bindir}/linphonec \
FILES_${PN}-rings = "${datadir}/sounds/linphone/rings"
FILES_${PN}-dev += " \
${includedir} \
${libdir}/pkgconfig \
${prefix}/share/Linphone "
do_configure_prepend() {
#!/bin/sh
echo 'Deleting mediastreamer2 and oRTP'
......@@ -139,3 +147,4 @@ do_configure_prepend() {
rm -rf ${S}/oRTP
echo 'mediastreamer2 and oRTP have been removed'
}
--- a/src/CMakeLists.txt 2017-05-02 15:02:55.000000000 +0200
+++ b/src/CMakeLists.txt 2017-05-02 15:04:01.000000000 +0200
@@ -31,7 +31,7 @@
find_library(LIBMINGWEX NAMES mingwex)
endif()
-find_program(AWK_PROGRAM awk)
+find_program(AWK_PROGRAM awk NO_CMAKE_FIND_ROOT_PATH)
if(NOT AWK_PROGRAM)
message(FATAL_ERROR "You need the awk program to build mediastreamer2.")
endif()
--- a/src/CMakeLists.txt 2017-05-02 15:02:55.000000000 +0200
+++ b/src/CMakeLists.txt 2017-05-02 15:04:01.000000000 +0200
@@ -461,7 +464,7 @@
if(APPLE OR ANDROID OR OPENGL_FOUND OR GLX_FOUND OR QTANGLE_FOUND)
find_package(PythonInterp REQUIRED)
- find_program(SED_PROGRAM sed)
+ find_program(SED_PROGRAM sed NO_CMAKE_FIND_ROOT_PATH)
if(NOT SED_PROGRAM)
message(FATAL_ERROR "You need the sed program to build mediastreamer2.")
endif()
--- a/src/CMakeLists.txt 2017-05-02 15:02:55.000000000 +0200
+++ b/src/CMakeLists.txt 2017-05-02 15:04:01.000000000 +0200
@@ -31,7 +31,7 @@
find_library(LIBMINGWEX NAMES mingwex)
endif()
-find_program(AWK_PROGRAM awk)
+find_program(AWK_PROGRAM awk NO_CMAKE_FIND_ROOT_PATH)
if(NOT AWK_PROGRAM)
message(FATAL_ERROR "You need the awk program to build mediastreamer2.")
endif()
--- a/src/CMakeLists.txt 2017-05-02 15:02:55.000000000 +0200
+++ b/src/CMakeLists.txt 2017-05-02 15:04:01.000000000 +0200
@@ -461,7 +464,7 @@
if(APPLE OR ANDROID OR OPENGL_FOUND OR GLX_FOUND OR QTANGLE_FOUND)
find_package(PythonInterp REQUIRED)
- find_program(SED_PROGRAM sed)
+ find_program(SED_PROGRAM sed NO_CMAKE_FIND_ROOT_PATH)
if(NOT SED_PROGRAM)
message(FATAL_ERROR "You need the sed program to build mediastreamer2.")
endif()
FILESEXTRAPATHS_prepend := "${THISDIR}/files/:"
SRC_URI += " file://mediastreamer2_cmakefile.patch"
......@@ -4,8 +4,8 @@ inherit gitpkgv
PR = "${INC_PR}.0"
SRCREV = "4e5134f8578629cd55afc3d7b8b7bdb5ff41d264"
SRC_URI = "git://git.linphone.org/mediastreamer2.git"
SRCREV = "e715cc559f1c60710dae306426d1ade42420c517"
SRC_URI = "git://git.linphone.org/mediastreamer2.git;branch=2.15.x"
PV = "git_${SRCREV}"
PKGV = "${GITPKGVTAG}"
......
......@@ -9,19 +9,32 @@ DEPENDS = "intltool-native libortp speex alsa-lib spandsp libv4l"
PROVIDES += "libmediastreamer2"
S = "${WORKDIR}/git"
PACKAGECONFIG ??= "ffmpeg vp8 opus srtp bzrtp ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}"
PACKAGECONFIG[ffmpeg] = ", --disable-ffmpeg, libav"
PACKAGECONFIG[vp8] = ", --disable-vp8, libvpx"
PACKAGECONFIG[opus] = ", --disable-opus, opus-bc"
PACKAGECONFIG[srtp] = ", --with-srtp=none, libsrtp-bc"
PACKAGECONFIG[bzrtp] = "--enable-zrtp=yes, --enable-zrtp=no, libbzrtp"
PACKAGECONFIG[x11] = "--enable-x11=yes --enable-xv=yes, --enable-x11=no --enable-xv=no, libxv"
PACKAGECONFIG ??= "ffmpeg vpx opus srtp bzrtp gsm ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}"
PACKAGECONFIG[ffmpeg] = ", -DENABLE_FFMPEG=NO, libav"
PACKAGECONFIG[vpx] = ", -DENABLE_VPX=NO, libvpx"
PACKAGECONFIG[opus] = ", -DENABLE_OPUS=NO, opus-bc"
PACKAGECONFIG[srtp] = ", -DENABLE_SRTP=NO, libsrtp-bc"
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"
EXTRA_OECONF += " --disable-glx --disable-pcap"
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"
PACKAGES += "${PN}-bin"
FILES_${PN}-bin = "${bindir}/mediastream ${bindir}/msaudiocmp"
#PACKAGES += "${PN}-bin"
#FILES_${PN}-bin = "${bindir}/mediastream ${bindir}/msaudiocmp"
FILES_${PN} += " ${libdir}/mediastreamer/plugins ${datadir}/images/nowebcamCIF.jpg"
inherit autotools pkgconfig gettext
FILES_${PN}-dev += " \
${includedir} \
${libdir}/lib*.so \
${libdir}/*.la \
${libdir}/*.a \
${libdir}/*.o \
${libdir}/pkgconfig \
${prefix}/share/Mediastreamer2 "
inherit cmake lib_package pkgconfig pythonnative
#inherit autotools pkgconfig gettext
......@@ -9,11 +9,23 @@ DEPENDS = "linphone opencore-amr"
DEPENDS_append_wideband = " vo-amrwbenc"
MSAMR_WIDEBAND = ""
MSAMR_WIDEBAND_wideband = "--enable-wideband"
MSAMR_WIDEBAND_wideband = " -DENABLE_WIDEBAND=YES"
EXTRA_OECONF = "${MSAMR_WIDEBAND}"
PACKAGES = " ${PN}-dbg ${PN} ${PN}-doc ${PN}-dev ${PN}-staticdev"
FILES_${PN} = "${libdir}/mediastreamer/plugins/*.so.*"
FILES_${PN}-dev = "${libdir}/mediastreamer/plugins/*.la ${libdir}/mediastreamer/plugins/*.so"
FILES_${PN}-dbg += "${libdir}/mediastreamer/plugins/.debug"
inherit autotools pkgconfig
EXTRA_OECMAKE = "${MSAMR_WIDEBAND}"
EXTRA_OECMAKE += " -DCMAKE_SKIP_INSTALL_RPATH=ON"
FILES_${PN} = "${libdir}/mediastreamer/plugins/*.so \
${libdir}/lib*.so "
FILES_${PN}-dbg += "\
${libdir}/.debug/ \
${libdir}/mediastreamer/plugins/.debug"
FILES_${PN}-dev = "${libdir}/mediastreamer/plugins/*.la "
FILES_${PN}-staticdev = "${libdir}/mediastreamer/plugins/*.a "
inherit cmake pkgconfig
......@@ -6,12 +6,24 @@ LICENSE = "GPLv3"
LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
EXTRA_OECONF="--with-openh264=${STAGING_DIR_HOST}/usr"
DEPENDS = "linphone openh264"
inherit autotools pkgconfig
inherit cmake pkgconfig
EXTRA_OECMAKE += " -DCMAKE_SKIP_INSTALL_RPATH=ON"
PACKAGES = " ${PN}-dbg ${PN} ${PN}-doc ${PN}-dev ${PN}-staticdev"
FILES_${PN} = "${libdir}/mediastreamer/plugins/*.so \
${libdir}/lib*.so "
FILES_${PN}-dbg += "\
${libdir}/.debug/ \
${libdir}/mediastreamer/plugins/.debug"
FILES_${PN}-dev = "${libdir}/mediastreamer/plugins/*.la "
FILES_${PN}-staticdev = "${libdir}/mediastreamer/plugins/*.a "
FILES_${PN} = "${libdir}/mediastreamer/plugins/*.so.*"
FILES_${PN}-dev = "${libdir}/mediastreamer/plugins/*.la ${libdir}/mediastreamer/plugins/*.so"
FILES_${PN}-dbg += "${libdir}/mediastreamer/plugins/.debug"
......@@ -6,13 +6,15 @@ LICENSE = "GPLv2"
DEPENDS = "mediastreamer2"
#INHIBIT_PACKAGE_STRIP = "1"
EXTRA_OECONF = "--disable-isac"
EXTRA_OECMAKE += " -DENABLE_ISAC=NO "
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}-dev += " ${libdir}/mediastreamer/plugins/*.a "
LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
inherit autotools pkgconfig
inherit cmake pkgconfig
......@@ -23,11 +23,11 @@ EXTRA_OECONF = " \
"
python () {
if d.getVar('TARGET_FPU') in [ 'soft' ]:
if d.getVar('TARGET_FPU', True) in [ 'soft' ]:
d.appendVar('PACKAGECONFIG', ' fixed-point')
# Ne10 is only available for armv7 and aarch64
if any((t.startswith('armv7') or t.startswith('aarch64')) for t in d.getVar('TUNE_FEATURES').split()):
if any((t.startswith('armv7') or t.startswith('aarch64')) for t in d.getVar('TUNE_FEATURES', True).split()):
d.appendVar('DEPENDS', ' ne10')
}
......
......@@ -3,7 +3,7 @@ require opus.inc
PR = "${INC_PR}.0"
SRCREV = "35b371a85bf2cf21ab4b12b5475c76a2775b25d1"
SRC_URI = "git://git.linphone.org/opus.git;nobranch=1"
SRC_URI = "git://git.linphone.org/opus.git;branch=linphone"
PV = "git_${SRCREV}"
LIC_FILES_CHKSUM= "file://COPYING;md5=e304cdf74c2a1b0a33a5084c128a23a3"
\ No newline at end of file
......@@ -4,9 +4,19 @@ HOMEPAGE = "http://www.linphone.org/technical-corner/ortp/overview"
SECTION = "libs/network"
INC_PR = "r0"
DEPENDS = "bctoolbox"
EXTRA_OECMAKE += " -DCMAKE_SKIP_INSTALL_RPATH=ON "
PROVIDES = "libortp"
S = "${WORKDIR}/git"
inherit autotools pkgconfig
\ No newline at end of file
inherit cmake
FILES_${PN}-dev = " \
${includedir} \
${libdir}/lib*.so \
${libdir}/*.la \
${libdir}/*.a \
${libdir}/*.o \
${libdir}/pkgconfig \
${prefix}/share/oRTP/"
......@@ -9,14 +9,11 @@ PN = "polarssl-bc"
PROVIDES = "libpolarssl-bc"
S = "${WORKDIR}/git"
EXTRA_OECONF += " --enable-shared"
EXTRA_OECMAKE += "-DENABLE_SHARED=ON"
PACKAGES += " ${PN}-utils"
FILES_${PN}-utils += "${bindir}/polarssl_*"
inherit autotools pkgconfig
inherit cmake
do_autoreconf () {
./autogen.sh
}
......@@ -13,7 +13,7 @@ INSANE_SKIP_${PN} += "dev-deps "
inherit cmake
EXTRA_OECMAKE += "-DENABLE_FIXED_POINT=ON -DENABLE_FLOAT_API=OFF"
EXTRA_OECMAKE += " -DENABLE_FIXED_POINT=ON -DENABLE_FLOAT_API=OFF"
......@@ -9,4 +9,4 @@ PN = "srtp-bc"
PROVIDES = "libsrtp-bc"
S = "${WORKDIR}/git"
inherit autotools pkgconfig
\ No newline at end of file
inherit cmake
\ No newline at end of file
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