Skip to content

Commit

Permalink
Boost-url Move to latest version
Browse files Browse the repository at this point in the history
This commit aims to update the version of boost-url to latest, and to
make compatibility changes to make the latest version build.

As of 0b96da0e4727c692c48cc95a32d82634cb41aaaf on the boost url repo,
the standalone build type has been removed, which breaks this recipe.  A
quick discussion with the maintainers [1] shows that the cmake was never
really intended to be used for installation, even if it worked in the
past, and in the future only intended for use within the boost
superproject.  They recommended that since this is a header only
library, that a simple copy would be a better way to stay up to date
with this library.  As such, this commit removes the cmake bbclass, and
replaces it with a simple do_install that is a simply copy into the
include directories.

At the same time, the previous patch to add GNUInstallDirs support to
the cmake no longer applies, and is no longer needed, so it is removed
at the same time.

The SHA1 is also updated to the latest available.

[1] https://cpplang.slack.com/archives/C01JR6C9C4U/p1631654296241200

Signed-off-by: Ed Tanous <ed@tanous.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
  • Loading branch information
edtanous authored and kraj committed Sep 15, 2021
1 parent e4a3c66 commit 5eb46e3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 63 deletions.

This file was deleted.

13 changes: 7 additions & 6 deletions meta-oe/recipes-devtools/boost-url/boost-url_git.bb
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,17 @@ SECTION = "libs"
LICENSE = "BSL-1.0"
LIC_FILES_CHKSUM = "file://LICENSE_1_0.txt;md5=e4224ccaecb14d942c71d31bef20d78c"

SRC_URI = "git://github.com/CPPAlliance/url.git;branch=develop \
file://0001-Use-GNUInstallDirs-instead-of-hard-wiring-install-di.patch \
"
SRC_URI = "git://github.com/CPPAlliance/url.git;branch=develop"

SRCREV = "2c867fbe284ae532f1329b87a86ad3f8cd382867"
SRCREV = "4f712ed69a04a344957d22efa5dc111b415b3aff"

S = "${WORKDIR}/git"

inherit cmake

DEPENDS = "boost"

BBCLASSEXTEND = "native nativesdk"

do_install() {
mkdir -p ${D}/${includedir}
cp -r ${S}/include/** ${D}/${includedir}/
}

0 comments on commit 5eb46e3

Please sign in to comment.