mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Merge branch 'master' into plugins
This commit is contained in:
commit
1d476c35ff
@ -187,8 +187,9 @@ PKG_CHECK_MODULES([ncursesw], [ncursesw],
|
||||
[NCURSES_CFLAGS="$ncursesw_CFLAGS"; NCURSES_LIBS="$ncursesw_LIBS"; NCURSES="ncursesw"],
|
||||
[PKG_CHECK_MODULES([ncurses], [ncurses],
|
||||
[NCURSES_CFLAGS="$ncurses_CFLAGS"; NCURSES_LIBS="$ncurses_LIBS"; NCURSES="ncurses"],
|
||||
[AC_CHECK_LIB([ncurses], [main], [],
|
||||
[AC_MSG_ERROR([ncurses is required for profanity])])])])
|
||||
[AC_CHECK_LIB([ncursesw], [main], [],
|
||||
[AC_CHECK_LIB([ncurses], [main], [],
|
||||
[AC_MSG_ERROR([ncurses is required for profanity])])])])])
|
||||
AM_CPPFLAGS="$AM_CPPFLAGS $NCURSES_CFLAGS"
|
||||
LIBS="$LIBS $NCURSES_LIBS"
|
||||
|
||||
|
@ -39,6 +39,14 @@ fedora_prepare()
|
||||
sudo yum -y install gcc git autoconf automake openssl-devel.$ARCH expat-devel.$ARCH ncurses-devel.$ARCH glib2-devel.$ARCH libnotify-devel.$ARCH libcurl-devel.$ARCH libXScrnSaver-devel.$ARCH libotr3-devel.$ARCH
|
||||
}
|
||||
|
||||
opensuse_prepare()
|
||||
{
|
||||
echo
|
||||
echo Profanity installer...installing dependencies
|
||||
echo
|
||||
sudo zypper -n in gcc git automake make autoconf libopenssl-devel expat libexpat-devel ncurses-devel glib2-devel libnotify-devel libcurl-devel libXScrnSaver-devel libotr-devel
|
||||
}
|
||||
|
||||
cygwin_prepare()
|
||||
{
|
||||
echo
|
||||
@ -148,6 +156,8 @@ if [ "${OS}" = "Linux" ]; then
|
||||
DIST=fedora
|
||||
elif [ -f /etc/debian_version ]; then
|
||||
DIST=debian
|
||||
elif [ -f /etc/os-release ]; then
|
||||
DIST=opensuse
|
||||
fi
|
||||
else
|
||||
echo $OS | grep -i cygwin
|
||||
@ -169,6 +179,10 @@ debian) debian_prepare
|
||||
install_lib_strophe
|
||||
install_profanity
|
||||
;;
|
||||
opensuse) opensuse_prepare
|
||||
install_lib_strophe
|
||||
install_profanity
|
||||
;;
|
||||
cygwin) cygwin_prepare
|
||||
cyg_install_lib_strophe
|
||||
cyg_install_profanity
|
||||
|
Loading…
Reference in New Issue
Block a user