diff options
| author | ohnoes_ohnoes <ohnoes_ohnoes@noreply.codeberg.org> | 2026-05-11 14:50:35 -0300 |
|---|---|---|
| committer | ohnoes_ohnoes <ohnoes_ohnoes@noreply.codeberg.org> | 2026-05-11 14:50:35 -0300 |
| commit | 69e60d0dffbf7cc5ad218fc5e635929ebe39b276 (patch) | |
| tree | eca61637957cf00b9b2f9e76e28f06f3c5182581 /repos/extra/libflac/abuild | |
| parent | 827a633416597c2dbd192557b49711694b745a88 (diff) | |
| download | alicelinux-69e60d0dffbf7cc5ad218fc5e635929ebe39b276.tar.gz alicelinux-69e60d0dffbf7cc5ad218fc5e635929ebe39b276.zip | |
libflac: updated to 1.5.0
Diffstat (limited to 'repos/extra/libflac/abuild')
| -rw-r--r-- | repos/extra/libflac/abuild | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/repos/extra/libflac/abuild b/repos/extra/libflac/abuild new file mode 100644 index 00000000..7b8d1f40 --- /dev/null +++ b/repos/extra/libflac/abuild @@ -0,0 +1,19 @@ +name=libflac +version=1.5.0 +release=1 +source=https://ftp.osuosl.org/pub/xiph/releases/flac/flac-$version.tar.xz + +build() { + cmake -B build \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_C_FLAGS_RELEASE="$CFLAGS" \ + -DCMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \ + -DBUILD_SHARED_LIBS=ON \ + -DBUILD_EXAMPLES=OFF \ + -DBUILD_TESTING=OFF \ + -Wno-dev + cmake --build build + DESTDIR=$PKG cmake --install build +} |