this builds wt3 outside the source tree.
not doing so is not the recommended solution and actually breaks in 3.1.0
fixed it to use a build dir
while at it also inlined the checksums and removed them from checksums.ini
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
md5=3d35c181dfab7dfd3fe898738dffb421
sha256=64e6bd25d18e838e1c60693eccbd11926c65b228d6ac69c4dafc7ebe7341dbbf
-[http://downloads.sourceforge.net/witty/wt-3.0.0.tar.gz]
-md5=ba03acf8089dff38e106661aa1ecdcb9
-sha256=d439e96d2de8c22f682b5d3d5894974d50b3a36057a002bda1ad1cb858cd3b28
-
[http://downloads.sourceforge.net/wvware/wv-1.2.0.tar.gz]
md5=b6319d5e75611fe2210453b5feb82c0c
sha256=a76f44468e78591e6d510d326702e7c3999d2b9dd3ab8ab8c1c9811fd5b111e4
HOMEPAGE = "http://www.webtoolkit.eu/wt"
DEPENDS = "boost zlib openssl"
-INC_PR = "r0"
+INC_PR = "r1"
# package wt3 is for wt 2.99 and wt 3.*
# the api of these versions is incompatible with 2.*
-SRC_URI = "${SOURCEFORGE_MIRROR}/witty/wt-${PV}.tar.gz \
+SRC_URI = "${SOURCEFORGE_MIRROR}/witty/wt-${PV}.tar.gz;name=tarball \
file://ext.patch;patch=1 \
file://wgooglemap.patch;patch=1"
S = "${WORKDIR}/wt-${PV}"
+OECMAKE_BUILDPATH = "build"
+
inherit cmake
+
EXTRA_OECMAKE = "-DBOOST_DIR=${STAGING_DIR_HOST}${prefix} \
- -DUseQt4=0 \
+ -DUseQt4=0 ../ \
"
-
require wt3.inc
-PR = "${INC_PR}.1"
+PR = "${INC_PR}.2"
SRC_URI += "file://noqt.patch;patch=1"
+SRC_URI[tarball.md5sum] = "ba03acf8089dff38e106661aa1ecdcb9"
+SRC_URI[tarball.sha256sum] = "d439e96d2de8c22f682b5d3d5894974d50b3a36057a002bda1ad1cb858cd3b28"