summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-irc/weechat/weechat_4.6.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-networking/recipes-irc/weechat/weechat_4.6.0.bb')
-rw-r--r--meta-networking/recipes-irc/weechat/weechat_4.6.0.bb34
1 files changed, 34 insertions, 0 deletions
diff --git a/meta-networking/recipes-irc/weechat/weechat_4.6.0.bb b/meta-networking/recipes-irc/weechat/weechat_4.6.0.bb
new file mode 100644
index 0000000000..da79c59ba5
--- /dev/null
+++ b/meta-networking/recipes-irc/weechat/weechat_4.6.0.bb
@@ -0,0 +1,34 @@
1SUMMARY = "Full-featured IRC plugin: multi-servers, proxy support, IPv6, SASL authentication, nicklist, DCC, and many other features"
2HOMEPAE = "https://weechat.org/"
3SECTION = "net"
4LICENSE = "GPL-3.0-only"
5LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464"
6
7DEPENDS = "zlib libgcrypt gnutls curl aspell zstd cjson gettext-native"
8
9SRC_URI = "https://weechat.org/files/src/weechat-${PV}.tar.xz"
10
11SRC_URI[sha256sum] = "2681fc662996fead9d66a26d81740088e4284cf4e6dfe6b834f3b98fc703597f"
12
13inherit cmake pkgconfig
14
15PACKAGECONFIG ??= " ncurses python"
16PACKAGECONFIG[ncurses] = "-DENABLE_NCURSES=ON,-DENABLE_NCURSES=OFF,ncurses"
17PACKAGECONFIG[python] = "-DENABLE_PYTHON=ON,-DENABLE_PYTHON=OFF,python3,python3"
18
19EXTRA_OECMAKE:append = " -DENABLE_PHP=OFF -DENABLE_TCL=OFF -DENABLE_LUA=OFF \
20 -DENABLE_JAVASCRIPT=OFF -DENABLE_RUBY=OFF \
21 -DENABLE_GUILE=OFF -DENABLE_PERL=OFF -DENABLE_ASPELL=ON \
22 -DLIBDIR=${libdir}"
23
24do_configure:prepend(){
25 # Make sure we get dependencies from recipe-sysroot
26 sed -i -e 's# /usr/bin# ${RECIPE_SYSROOT}/${bindir}/#g' ${S}/cmake/FindPerl.cmake
27 sed -i -e 's# /usr/local/bin##g' ${S}/cmake/FindPerl.cmake
28 sed -i -e 's# /usr/pkg/bin##g' ${S}/cmake/FindPerl.cmake
29}
30
31do_install:append(){
32 rm -rf ${D}/${datadir}
33}
34