Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"

SRC_URI = "git://github.com/EVerest/everest-utils.git;branch=main;protocol=https"
require ../everest/everest-core_git.inc

SRCREV = "0b917bfea879549fd7b793d172c06f99625f0788"

S = "${WORKDIR}/git"

SETUPTOOLS_SETUP_PATH = "${S}/ev-dev-tools"
SETUPTOOLS_SETUP_PATH = "${S}/applications/utils/ev-dev-tools"

inherit setuptools3

Expand Down
Original file line number Diff line number Diff line change
@@ -1,35 +1,25 @@
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"

SRC_URI = "git://github.com/EVerest/everest-core.git;branch=main;protocol=https \
file://everest.service \
"
require everest-core_git.inc

S = "${WORKDIR}/git"

SRCREV = "c86cd9c0ada60b5797f574fd484eae4d8330017d"
SRC_URI:append = " file://everest.service"

do_compile[network] = "0"

inherit cmake pkgconfig systemd python3native
inherit cmake pkgconfig systemd python3native python3targetconfig

DEPENDS = " \
boost \
curl \
evcli-native \
everest-cmake \
everest-framework \
everest-sqlite \
libcbv2g \
ftxui \
libevent \
libevse-security \
libfsm \
libiso15118 \
liblog \
libnfc-nci \
libocpp \
libpcap \
libslac \
libtimer \
mqttc \
nodejs-native \
Expand All @@ -39,13 +29,24 @@ DEPENDS = " \
sdbus-c++ \
sigslot \
ftxui \
mosquitto \
nlohmann-json \
json-schema-validator \
fmt \
date \
catch2 \
rapidyaml \
libwebsockets \
python3-pybind11 \
python3-pybind11-json \
libcap \
"

RDEPENDS:${PN} += "libevent openssl"

INSANE_SKIP:${PN} = "already-stripped useless-rpaths arch file-rdeps"

FILES:${PN} += "${datadir}/everest/*"
FILES:${PN} += "${libdir}/everest/* ${datadir}/everest/*"

EXTRA_OECMAKE += " \
-DDISABLE_EDM=ON \
Expand All @@ -54,6 +55,9 @@ EXTRA_OECMAKE += " \
-Deverest-core_INSTALL_EV_CLI_IN_PYTHON_VENV=OFF \
-Deverest-core_USE_PYTHON_VENV=OFF \
-DEV_SETUP_PYTHON_EXECUTABLE_USE_PYTHON_VENV=OFF \
-DPYTHON_MODULE_EXTENSION=.so \
-DPYBIND11_PYTHONLIBS_OVERWRITE=OFF \
-DEVEREST_INSTALL_ADMIN_PANEL=OFF \
"

SYSTEMD_SERVICE:${PN} = "everest.service"
Expand All @@ -69,3 +73,7 @@ do_install:append() {
install -m 0644 ${WORKDIR}/everest.service ${D}${systemd_system_unitdir}/
fi
}

OECMAKE_CXX_FLAGS += "-Wno-narrowing"

EXTRA_OECMAKE:append = "${@bb.utils.contains('DISTRO_FEATURES', 'tpm2', ' -DUSING_TPM2=ON', '', d)}"
9 changes: 9 additions & 0 deletions recipes-core/everest/everest-core_git.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"

SRC_URI = "git://github.com/EVerest/everest-core.git;branch=main;protocol=https \
"

S = "${WORKDIR}/git"

SRCREV = "3c59e911a242ad5b42081391866c5a915daaab83"
48 changes: 0 additions & 48 deletions recipes-core/everest/everest-framework_0.24.0.bb
Original file line number Diff line number Diff line change
@@ -1,49 +1 @@
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"

SRC_URI = "git://github.com/EVerest/everest-framework.git;branch=main;protocol=https \
"

# ensures the everestpy python bindings build properly
inherit python3targetconfig

inherit cmake
inherit pkgconfig

S = "${WORKDIR}/git"

SRCREV = "059e95ca6cdd23f318259a87480c0b1f48d0cf72"

# FIXME (aw): due to nodejs dependency
do_configure[network] = "1"

DEPENDS = "\
everest-cmake \
everest-sqlite \
boost \
websocketpp \
nlohmann-json \
json-schema-validator \
mqttc \
liblog \
fmt \
date \
catch2 \
nodejs-native \
rapidyaml \
libwebsockets \
python3-pybind11 \
python3-pybind11-json \
libcap \
"

FILES:${PN} += "${libdir}/everest/* ${datadir}/everest/*"

EXTRA_OECMAKE += "\
-DDISABLE_EDM=ON \
-DNO_FETCH_CONTENT=ON \
-DPYTHON_MODULE_EXTENSION=.so \
-DPYBIND11_PYTHONLIBS_OVERWRITE=OFF \
-DEVEREST_INSTALL_ADMIN_PANEL=OFF \
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
"
18 changes: 0 additions & 18 deletions recipes-core/everest/libcbv2g_0.3.1.bb
Original file line number Diff line number Diff line change
@@ -1,19 +1 @@
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"

SRC_URI = "git://github.com/EVerest/libcbv2g.git;branch=main;protocol=https \
"

inherit cmake

S = "${WORKDIR}/git"

SRCREV = "54fed4de61d54aef497e1e3d5863bd8d4ea7d168"

DEPENDS = "\
everest-cmake \
"

# FILES:${PN} += "${datadir}/everest/*"

EXTRA_OECMAKE += "-DDISABLE_EDM=ON -DCB_V2G_INSTALL=ON -DCB_V2G_BUILD_TESTS=OFF"
26 changes: 0 additions & 26 deletions recipes-core/everest/libevse-security_0.10.0.bb
Original file line number Diff line number Diff line change
@@ -1,27 +1 @@
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"

SRC_URI = "git://github.com/EVerest/libevse-security.git;branch=main;protocol=https \
"

inherit cmake

S = "${WORKDIR}/git"

SRCREV = "06db4b29e0a4ea4c6c40d77b6ecae7c153f4d9d7"

DEPENDS = "\
date \
everest-cmake \
liblog \
libtimer \
openssl \
"

FILES:${PN} += "${datadir}/everest/*"

EXTRA_OECMAKE += "-DDISABLE_EDM=ON -DEVSE_SECURITY_INSTALL=ON -DLIBEVSE_SECURITY_BUILD_TESTING=OFF"
OECMAKE_CXX_FLAGS += "-Wno-narrowing"

# Add TPM2 support
EXTRA_OECMAKE:append = "${@bb.utils.contains('DISTRO_FEATURES', 'tpm2', ' -DUSING_TPM2=ON', '', d)}"
11 changes: 0 additions & 11 deletions recipes-core/everest/libfsm_0.2.0.bb
Original file line number Diff line number Diff line change
@@ -1,12 +1 @@
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"

SRC_URI = "git://github.com/EVerest/libfsm.git;branch=main;protocol=https"

SRCREV = "b31d5f97cc3e09186e21eddf8cb3bcb133d7bc3c"

S = "${WORKDIR}/git"

DEPENDS = "everest-cmake"

inherit cmake
21 changes: 0 additions & 21 deletions recipes-core/everest/libiso15118_0.9.0.bb

This file was deleted.

1 change: 1 addition & 0 deletions recipes-core/everest/libiso15118_git.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
LICENSE = "Apache-2.0"
30 changes: 0 additions & 30 deletions recipes-core/everest/libocpp_0.30.3.bb

This file was deleted.

1 change: 1 addition & 0 deletions recipes-core/everest/libocpp_git.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
LICENSE = "Apache-2.0"
13 changes: 0 additions & 13 deletions recipes-core/everest/libslac_0.3.1.bb
Original file line number Diff line number Diff line change
@@ -1,14 +1 @@
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"

SRC_URI = "git://github.com/EVerest/libslac.git;branch=main;protocol=https"

inherit cmake

SRCREV = "913412d0209f074b3df092f343bf0f9ac00edfce"

S = "${WORKDIR}/git"

DEPENDS = "everest-cmake"

EXTRA_OECMAKE += "-DDISABLE_EDM=ON"
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"

SRC_URI = "git://github.com/EVerest/ext-switchev-iso15118.git;protocol=https;branch=everest"

SRCREV = "36dd3ec79a106d5f29631aac85f5decdb417498e"
SRCREV = "c31c4e7f8004dc63cec28ad113bd059cbabbe321"

S = "${WORKDIR}/git"

Expand Down