Browse Source

Remove readline as dependency

Signed-off-by: falkTX <falktx@falktx.com>
tags/v1.9.22
falkTX 3 years 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: environment:
CFLAGS: -O2 -pipe -fPIC -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include 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 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: prepare_script:
- mkdir /Install - mkdir /Install


matrix: matrix:
- name: FreeBSD Minimal Build - name: FreeBSD Minimal Build
dependencies_script: dependencies_script:
- pkg install -y pkgconf python3 libsamplerate libsysinfo readline expat
- pkg install -y pkgconf python3 libsamplerate libsysinfo expat
config_script: 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 - name: FreeBSD All Options
dependencies_script: 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: 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: build_script:
- python3 ./waf - python3 ./waf


+ 0
- 7
wscript View File

@@ -191,13 +191,6 @@ def options(opt):
samplerate.check_cfg( samplerate.check_cfg(
package='samplerate', package='samplerate',
args='--cflags --libs') 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( sd = opt.add_auto_option(
'systemd', 'systemd',
help='Use systemd notify') help='Use systemd notify')


Loading…
Cancel
Save