From a762c8c335e6040773b3fef7d346390e614918f9 Mon Sep 17 00:00:00 2001 From: Kristofer Berggren Date: Sun, 24 Mar 2024 15:33:51 +0800 Subject: [PATCH] add make.sh deps support for openSUSE --- lib/common/src/version.h | 2 +- make.sh | 2 ++ src/nchat.1 | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/common/src/version.h b/lib/common/src/version.h index 8f1284aa..bfb48a80 100644 --- a/lib/common/src/version.h +++ b/lib/common/src/version.h @@ -7,4 +7,4 @@ #pragma once -#define NCHAT_VERSION "4.42" +#define NCHAT_VERSION "4.43" diff --git a/make.sh b/make.sh index 3a5fa672..f5fe1769 100755 --- a/make.sh +++ b/make.sh @@ -147,6 +147,8 @@ if [[ "${DEPS}" == "1" ]]; then sudo xbps-install ${YES} base-devel go ccache cmake gperf help2man libmagick-devel readline-devel sqlite-devel file-devel openssl-devel || exiterr "deps failed (${NAME}), exiting." elif [[ "${NAME}" == "Alpine Linux" ]]; then sudo apk add git build-base cmake ncurses-dev openssl-dev sqlite-dev file-dev go linux-headers zlib-dev ccache gperf readline || exiterr "deps failed (${NAME}), exiting." + elif [[ "${NAME}" == "openSUSE Tumbleweed" ]]; then + sudo zypper install ${YES} -t pattern devel_C_C++ && sudo zypper install ${YES} go ccache cmake libopenssl-devel sqlite3-devel file-devel readline-devel || exiterr "deps failed (${NAME}), exiting." else exiterr "deps failed (unsupported linux distro ${NAME}), exiting." fi diff --git a/src/nchat.1 b/src/nchat.1 index 15115207..5803d2ac 100644 --- a/src/nchat.1 +++ b/src/nchat.1 @@ -1,5 +1,5 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man. -.TH NCHAT "1" "March 2024" "nchat v4.42" "User Commands" +.TH NCHAT "1" "March 2024" "nchat v4.43" "User Commands" .SH NAME nchat \- ncurses chat .SH SYNOPSIS