2016-02-26 01:13:52 +00:00
|
|
|
description "Library for encoding/decoding .flac lossless audio files"
|
2017-01-15 00:40:49 +00:00
|
|
|
dependencies libogg
|
2016-02-19 04:12:07 +00:00
|
|
|
check_pkgconfig flac
|
2016-07-08 23:45:30 +00:00
|
|
|
# We use a repacked mirror since flac is released as .xz rather than .gz:
|
2023-05-14 18:16:43 +00:00
|
|
|
variant stable fetch_download $CHOCPKG_MIRRORS/flac-1.4.2.tar.gz \
|
|
|
|
eb35ea3a4ddf6308c21f6a47699a43e9349ca432409242e1852f483fe5898a18
|
2023-05-14 16:20:12 +00:00
|
|
|
GIT_URL=https://github.com/xiph/flac.git
|
2023-05-14 18:16:43 +00:00
|
|
|
variant stable_git fetch_git $GIT_URL 1.4.2
|
2023-05-14 16:20:12 +00:00
|
|
|
variant latest fetch_git $GIT_URL master
|
2016-02-17 04:00:20 +00:00
|
|
|
|
2016-02-17 05:30:59 +00:00
|
|
|
# Compile problems :(
|
2023-05-14 18:16:43 +00:00
|
|
|
build_autotools --disable-asm-optimizations --disable-cpplibs \
|
|
|
|
--disable-programs --disable-examples \
|
|
|
|
--disable-oggtest
|