1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05:00

Explain Meson in INSTALL

This commit is contained in:
ailin-nemui 2019-07-17 12:09:39 +00:00 committed by GitHub
parent d55a74587c
commit 73f6964d4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

29
INSTALL
View File

@ -4,14 +4,21 @@
To compile irssi you need:
- glib-2.6 or greater
- pkg-config
- meson-0.49 build system with ninja-1.5 or greater
- glib-2.28 or greater
- openssl (for ssl support)
- perl-5.6 or greater (for perl support)
- terminfo or ncurses (for text frontend)
For most people, this should work just fine:
meson Build
ninja -C Build
su
ninja -C Build install
For the moment, autotools is also supported:
./autogen.sh (for people who just cloned the repository)
./configure (if this script already exists, skip ./autogen.sh)
make
@ -20,39 +27,45 @@ For most people, this should work just fine:
configure options
These options can be given to meson or ./configure.
The first syntax is for meson, the 2nd for ./configure
For a complete list of options, run
meson configure / ./configure --help
--prefix
Specifies the path where irssi will be installed.
YES, you can install irssi WITHOUT ROOT permissions
by using --prefix=/home/dir
--with-proxy
-Dwith-proxy=yes / --with-proxy
Build the irssi proxy (see startup-HOWTO).
--with-perl=[yes|no|module]
-Dwith-perl=[yes|no] / --with-perl=[yes|no|module]
Enable Perl support
yes enable builtin (default)
no disable
module enable as module
--with-perl-lib=[site|vendor|DIR]
-Dwith-perl-lib=[site|vendor|DIR] / --with-perl-lib=[site|vendor|DIR]
Specify installation dir for Perl libraries
site install in dir for site-specific modules (default)
vendor install in dir for vendor-specific modules
DIR install in DIR
--with-socks
[N/A] / --with-socks
Build with socks library
--with-bot
-Dwith-bot=yes / --with-bot
Build irssi-bot
--without-textui
-Dwithout-textui=yes / --without-textui
Build without text frontend