This commit is contained in:
TriForceX
2021-03-13 22:13:38 -03:00
parent c77595adbd
commit b3ecc6e32d
7043 changed files with 119377 additions and 73694 deletions

View File

@@ -1,3 +1,3 @@
# Locally calculated
sha256 b1a32921a8e6d79ee6c5900c8d07293026966db7c05aaac48984231befc49b71 znc-1.7.4.tar.gz
sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE
sha256 ff238aae3f2ae0e44e683c4aee17dc8e4fdd261ca9379d83b48a7d422488de0d znc-1.8.2.tar.gz
sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE

View File

@@ -4,40 +4,50 @@
#
################################################################################
ZNC_VERSION = 1.7.4
ZNC_VERSION = 1.8.2
ZNC_SITE = http://znc.in/releases/archive
ZNC_LICENSE = Apache-2.0
ZNC_LICENSE_FILES = LICENSE
ZNC_DEPENDENCIES = host-pkgconf
ZNC_CONF_OPTS = --disable-perl
ZNC_CONF_OPTS = -DWANT_CYRUS=OFF -DWANT_I18N=OFF -DWANT_PERL=OFF
# Before CMake 3.10, passing THREADS_PTHREAD_ARG=OFF was needed to
# disable a try_run() call in the FindThreads tests, which caused a
# build failure when cross-compiling.
ZNC_CONF_OPTS += -DTHREADS_PTHREAD_ARG=OFF
ifeq ($(BR2_PACKAGE_ICU),y)
ZNC_DEPENDENCIES += icu
ZNC_CONF_OPTS += --enable-charset
ZNC_CONF_OPTS += -DWANT_ICU=ON
else
ZNC_CONF_OPTS += --disable-charset
ZNC_CONF_OPTS += -DWANT_ICU=OFF
endif
ifeq ($(BR2_PACKAGE_OPENSSL),y)
ZNC_DEPENDENCIES += openssl
ZNC_CONF_OPTS += --enable-openssl
ZNC_CONF_OPTS += -DWANT_OPENSSL=ON
else
ZNC_CONF_OPTS += --disable-openssl
ZNC_CONF_OPTS += -DWANT_OPENSSL=OFF
endif
ifeq ($(BR2_PACKAGE_ZLIB),y)
ZNC_DEPENDENCIES += zlib
ZNC_CONF_OPTS += --enable-zlib
ZNC_CONF_OPTS += -DWANT_ZLIB=ON
else
ZNC_CONF_OPTS += --disable-zlib
ZNC_CONF_OPTS += -DWANT_ZLIB=OFF
endif
# python support depends on icu
ifeq ($(BR2_PACKAGE_ICU)$(BR2_PACKAGE_PYTHON3),yy)
ZNC_DEPENDENCIES += python3 host-swig
ZNC_CONF_OPTS += --enable-python=python3
ZNC_CONF_OPTS += \
-DWANT_PYTHON=ON \
-DWANT_PYTHON_VERSION=python3 \
-DWANT_SWIG=ON
else
ZNC_CONF_OPTS += --disable-python
ZNC_CONF_OPTS += \
-DWANT_PYTHON=OFF \
-DWANT_SWIG=OFF
endif
$(eval $(autotools-package))
$(eval $(cmake-package))