aboutsummaryrefslogtreecommitdiff
path: root/repos/extra/libflac/abuild
diff options
context:
space:
mode:
authorohnoes_ohnoes <ohnoes_ohnoes@noreply.codeberg.org>2026-05-11 14:50:35 -0300
committerohnoes_ohnoes <ohnoes_ohnoes@noreply.codeberg.org>2026-05-11 14:50:35 -0300
commit69e60d0dffbf7cc5ad218fc5e635929ebe39b276 (patch)
treeeca61637957cf00b9b2f9e76e28f06f3c5182581 /repos/extra/libflac/abuild
parent827a633416597c2dbd192557b49711694b745a88 (diff)
downloadalicelinux-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/abuild19
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
+}