diff options
| author | emmett1 <me@emmett1.my> | 2026-05-12 04:47:11 +0200 |
|---|---|---|
| committer | emmett1 <me@emmett1.my> | 2026-05-12 04:47:11 +0200 |
| commit | efd1dd4e240d7403777d6b91a0eee693df9b344c (patch) | |
| tree | 354e160829cb9717f2239fcf1a8e14cba57a9736 /repos/extra/libflac/abuild | |
| parent | 3e6175633aee0463cd8465e5af5d7756f641e87b (diff) | |
| parent | 69e60d0dffbf7cc5ad218fc5e635929ebe39b276 (diff) | |
| download | alicelinux-efd1dd4e240d7403777d6b91a0eee693df9b344c.tar.gz alicelinux-efd1dd4e240d7403777d6b91a0eee693df9b344c.zip | |
Merge pull request 'add: libflac 1.5.0' (#49) from ohnoes_ohnoes/alicelinux:libflac into main
Reviewed-on: https://codeberg.org/emmett1/alicelinux/pulls/49
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 +} |