blob: 5ff8496b83e4552bd132f5038534bf377f502aeb [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001HOMEPAGE = "http://alumnit.ca/wiki/index.php?page=WvStreams"
2SUMMARY = "WvStreams is a network programming library in C++"
3
4LICENSE = "LGPLv2"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=55ca817ccb7d5b5b66355690e9abc605"
6
7DEPENDS = "zlib openssl (>= 0.9.8) dbus readline"
Patrick Williams213cb262021-08-07 19:21:33 -05008DEPENDS:append:libc-musl = " argp-standalone libexecinfo"
Patrick Williamsb48b7b42016-08-17 15:04:38 -05009
Andrew Geisslerd688a012020-09-18 13:36:00 -050010SRC_URI = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/${BPN}/${BP}.tar.gz \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050011 file://04_signed_request.diff \
12 file://05_gcc.diff \
13 file://06_gcc-4.7.diff \
14 file://07_buildflags.diff \
Brad Bishop6e60e8b2018-02-01 10:27:11 -050015 file://gcc-6.patch \
16 file://argp.patch \
17 file://0001-Check-for-limits.h-during-configure.patch \
Brad Bishop6e60e8b2018-02-01 10:27:11 -050018 file://0003-wvtask-Check-for-HAVE_LIBC_STACK_END-only-on-glibc-s.patch \
19 file://0004-wvcrash-Replace-use-of-basename-API.patch \
20 file://0005-check-for-libexecinfo-during-configure.patch \
21 file://0001-build-fix-parallel-make.patch \
22 file://0002-wvrules.mk-Use-_DEFAULT_SOURCE.patch \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080023 file://openssl-buildfix.patch \
24 file://0001-Forward-port-to-OpenSSL-1.1.x.patch \
Brad Bishope42b3e32020-01-15 22:08:42 -050025 file://0001-Fix-narrowing-conversion-error.patch \
Brad Bishop6e60e8b2018-02-01 10:27:11 -050026 "
Patrick Williamsb48b7b42016-08-17 15:04:38 -050027
28SRC_URI[md5sum] = "2760dac31a43d452a19a3147bfde571c"
29SRC_URI[sha256sum] = "8403f5fbf83aa9ac0c6ce15d97fd85607488152aa84e007b7d0621b8ebc07633"
30
Patrick Williams213cb262021-08-07 19:21:33 -050031COMPATIBLE_HOST:libc-musl = "null"
Brad Bishop6a62e0e2019-10-21 08:11:42 -040032
Patrick Williamsb48b7b42016-08-17 15:04:38 -050033inherit autotools-brokensep pkgconfig
34
Patrick Williams213cb262021-08-07 19:21:33 -050035TARGET_CFLAGS:append = " -fno-tree-dce -fno-optimize-sibling-calls"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050036
Patrick Williams213cb262021-08-07 19:21:33 -050037LDFLAGS:append = " -Wl,-rpath-link,${CROSS_DIR}/${TARGET_SYS}/lib"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050038
39EXTRA_OECONF = " --without-tcl --without-qt --without-pam --without-valgrind"
40
Patrick Williams213cb262021-08-07 19:21:33 -050041PACKAGES:prepend = "libuniconf "
42PACKAGES:prepend = "uniconfd "
43PACKAGES:prepend = "libwvstreams-base "
44PACKAGES:prepend = "libwvstreams-extras "
45PACKAGES:prepend = "${PN}-valgrind "
Patrick Williamsb48b7b42016-08-17 15:04:38 -050046
Patrick Williams213cb262021-08-07 19:21:33 -050047RPROVIDES:${PN}-dbg += "libuniconf-dbg uniconfd-dbg libwvstreams-base-dbg libwvstreams-extras-dbg"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080048
Patrick Williams213cb262021-08-07 19:21:33 -050049FILES:libuniconf = "${libdir}/libuniconf.so.*"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050050
Patrick Williams213cb262021-08-07 19:21:33 -050051FILES:uniconfd = "${sbindir}/uniconfd ${sysconfdir}/uniconf.conf ${localstatedir}/uniconf"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050052
Patrick Williams213cb262021-08-07 19:21:33 -050053FILES:libwvstreams-base = "${libdir}/libwvutils.so.*"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050054
Patrick Williams213cb262021-08-07 19:21:33 -050055FILES:libwvstreams-extras = "${libdir}/libwvbase.so.* ${libdir}/libwvstreams.so.*"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050056
Patrick Williams213cb262021-08-07 19:21:33 -050057FILES:${PN}-valgrind = "${libdir}/valgrind/wvstreams.supp"
58RDEPENDS:${PN} += "perl"