Disable ALAC by default due to security issues.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
c2d2a52614
commit
fe503892ba
|
@ -18,7 +18,7 @@ steps:
|
||||||
- git clone --depth 1 https://gitlab.xiph.org/xiph/libopusenc.git && cd libopusenc && ./autogen.sh && ./configure --prefix /usr && make && make install && cd ..
|
- git clone --depth 1 https://gitlab.xiph.org/xiph/libopusenc.git && cd libopusenc && ./autogen.sh && ./configure --prefix /usr && make && make install && cd ..
|
||||||
- git clone --depth 1 https://git.gammaspectra.live/S.O.N.G/alac.git && cd alac && autoreconf -fi && ./configure --prefix /usr && make && make install && cd ..
|
- git clone --depth 1 https://git.gammaspectra.live/S.O.N.G/alac.git && cd alac && autoreconf -fi && ./configure --prefix /usr && make && make install && cd ..
|
||||||
- go test -cover -v ./...
|
- go test -cover -v ./...
|
||||||
- go test -cover -v -tags=disable_codec_libfdk-aac,disable_codec_lame,disable_codec_tta ./...
|
- go test -cover -v -tags=disable_codec_libfdk-aac,disable_codec_lame,disable_codec_tta,enable_codec_libalac ./...
|
||||||
- go test -cover -v -tags=disable_format_aac,disable_format_alac,disable_format_mp3,disable_format_opus,disable_format_tta,disable_format_vorbis ./...
|
- go test -cover -v -tags=disable_format_aac,disable_format_alac,disable_format_mp3,disable_format_opus,disable_format_tta,disable_format_vorbis ./...
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
|
@ -40,6 +40,6 @@ steps:
|
||||||
- git clone --depth 1 https://github.com/mstorsjo/fdk-aac.git && cd fdk-aac && ./autogen.sh && ./configure --prefix /usr && make -j$(nproc) && make install && cd ..
|
- git clone --depth 1 https://github.com/mstorsjo/fdk-aac.git && cd fdk-aac && ./autogen.sh && ./configure --prefix /usr && make -j$(nproc) && make install && cd ..
|
||||||
- git clone --depth 1 https://git.gammaspectra.live/S.O.N.G/alac.git && cd alac && autoreconf -fi && ./configure --prefix /usr && make && make install && cd ..
|
- git clone --depth 1 https://git.gammaspectra.live/S.O.N.G/alac.git && cd alac && autoreconf -fi && ./configure --prefix /usr && make && make install && cd ..
|
||||||
- go test -cover -v ./...
|
- go test -cover -v ./...
|
||||||
- go test -cover -v -tags=disable_codec_libfdk-aac,disable_codec_lame,disable_codec_tta ./...
|
- go test -cover -v -tags=disable_codec_libfdk-aac,disable_codec_lame,disable_codec_tta,enable_codec_libalac ./...
|
||||||
- go test -cover -v -tags=disable_format_aac,disable_format_alac,disable_format_mp3,disable_format_opus,disable_format_tta,disable_format_vorbis ./...
|
- go test -cover -v -tags=disable_format_aac,disable_format_alac,disable_format_mp3,disable_format_opus,disable_format_tta,disable_format_vorbis ./...
|
||||||
...
|
...
|
||||||
|
|
|
@ -121,6 +121,12 @@ This tag disables the [TTA](https://git.gammaspectra.live/S.O.N.G/go-tta) suppor
|
||||||
|
|
||||||
This is equivalent to `disable_format_tta`.
|
This is equivalent to `disable_format_tta`.
|
||||||
|
|
||||||
|
### enable_codec_libalac
|
||||||
|
This tag enables the [libalac](https://git.gammaspectra.live/S.O.N.G/go-alac) support for decoding/encoding ALAC.
|
||||||
|
|
||||||
|
This library has vast security issues, enable on your own risk. An alternate codec for decoding might be added in the future.
|
||||||
|
|
||||||
|
|
||||||
## Licenses
|
## Licenses
|
||||||
|
|
||||||
### Kirika
|
### Kirika
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
//go:build !disable_format_alac
|
//go:build !disable_format_alac && enable_codec_libalac
|
||||||
// +build !disable_format_alac
|
// +build !disable_format_alac,enable_codec_libalac
|
||||||
|
|
||||||
package alac
|
package alac
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
//go:build !disable_format_alac
|
//go:build !disable_format_alac && enable_codec_libalac
|
||||||
// +build !disable_format_alac
|
// +build !disable_format_alac,enable_codec_libalac
|
||||||
|
|
||||||
package alac
|
package alac
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
//go:build !disable_format_alac
|
//go:build !disable_format_alac && enable_codec_libalac
|
||||||
// +build !disable_format_alac
|
// +build !disable_format_alac,enable_codec_libalac
|
||||||
|
|
||||||
package guess
|
package guess
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue