Browse Source

Remove readline as dependency

Signed-off-by: falkTX <falktx@falktx.com>
pull/876/head
falkTX 3 months ago
parent
commit
a0b3e3e4dd
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 5 additions and 12 deletions
  1. +5
    -5
      .cirrus.yml
  2. +0
    -7
      wscript

+ 5
- 5
.cirrus.yml View File

@@ -7,21 +7,21 @@ task:
environment:
CFLAGS: -O2 -pipe -fPIC -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include
CPPFLAGS: -O2 -pipe -fPIC -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include
LDFLAGS: -lreadline -L/usr/local/lib -fstack-protector-strong
LDFLAGS: -L/usr/local/lib -fstack-protector-strong
prepare_script:
- mkdir /Install

matrix:
- name: FreeBSD Minimal Build
dependencies_script:
- pkg install -y pkgconf python3 libsamplerate libsysinfo readline expat
- pkg install -y pkgconf python3 libsamplerate libsysinfo expat
config_script:
- python3 ./waf configure --celt=no --samplerate=yes --alsa=no --classic --readline=yes --opus=no --example-tools=no --prefix /Install --pkgconfigdir libdata/pkgconfig
- python3 ./waf configure --celt=no --samplerate=yes --alsa=no --classic --opus=no --example-tools=no --prefix /Install --pkgconfigdir libdata/pkgconfig
- name: FreeBSD All Options
dependencies_script:
- pkg install -y pkgconf python3 libsamplerate libsysinfo readline alsa-lib dbus expat opus
- pkg install -y pkgconf python3 libsamplerate libsysinfo alsa-lib dbus expat opus
config_script:
- python3 ./waf configure --celt=no --samplerate=yes --alsa=yes --dbus --classic --autostart=dbus --readline=yes --opus=yes --prefix /Install --pkgconfigdir libdata/pkgconfig
- python3 ./waf configure --celt=no --samplerate=yes --alsa=yes --dbus --classic --autostart=dbus --opus=yes --prefix /Install --pkgconfigdir libdata/pkgconfig

build_script:
- python3 ./waf


+ 0
- 7
wscript View File

@@ -191,13 +191,6 @@ def options(opt):
samplerate.check_cfg(
package='samplerate',
args='--cflags --libs')
readline = opt.add_auto_option(
'readline',
help='Build with readline')
readline.check(lib='readline')
readline.check(
header_name=['stdio.h', 'readline/readline.h'],
msg='Checking for header readline/readline.h')
sd = opt.add_auto_option(
'systemd',
help='Use systemd notify')


Loading…
Cancel
Save