Skip to content

Commit

Permalink
CI: use packaged libopusenc
Browse files Browse the repository at this point in the history
Suggested by Mark Harris.

Signed-off-by: Mark Harris <mark.hsj@gmail.com>
  • Loading branch information
tmatth authored and mark4o committed May 3, 2023
1 parent 4a6dd69 commit ec08f7b
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,14 @@
default:
tags:
- docker
# Image from https://hub.docker.com/_/gcc/ based on Debian
image: gcc:9
image: debian:bookworm

autoconf:
stage: build
before_script:
- apt-get update &&
apt-get install -y libogg-dev libopus-dev libopusfile-dev libflac-dev libpcap-dev zip
apt-get install -y autoconf gcc libtool make libogg-dev libopus-dev libopusenc-dev libopusfile-dev libflac-dev libpcap-dev xz-utils zip
script:
# build libopusenc
- git clone "https://gitlab.xiph.org/xiph/libopusenc.git"
- cd libopusenc
- ./autogen.sh
- ./configure --prefix="$(pwd)/_inst" || cat config.log
- make check
- make install
- export PKG_CONFIG_PATH="$(pwd)/_inst/lib/pkgconfig"
- cd ..
# build opus-tools
- ./autogen.sh
- ./configure || cat config.log
Expand Down

0 comments on commit ec08f7b

Please sign in to comment.