diff options
| author | ohnoes_ohnoes <ohnoes_ohnoes@noreply.codeberg.org> | 2026-05-23 17:38:26 -0300 |
|---|---|---|
| committer | ohnoes_ohnoes <ohnoes_ohnoes@noreply.codeberg.org> | 2026-05-23 17:38:26 -0300 |
| commit | f498757145fdb8c0f90af0d3bc39d347dd307ae5 (patch) | |
| tree | 670c29b43b3983166064b5e43af9a384bd86c9f6 /repos/community/libflac/abuild | |
| parent | 054236d7ef0398d83118cd1f031581f7ec9953d5 (diff) | |
| parent | c6e05105528b47a952d5367d5326a349608e456e (diff) | |
| download | alicelinux-f498757145fdb8c0f90af0d3bc39d347dd307ae5.tar.gz alicelinux-f498757145fdb8c0f90af0d3bc39d347dd307ae5.zip | |
Merge branch 'main' into newsraft
This also adds 'comunity' repo
Diffstat (limited to 'repos/community/libflac/abuild')
| -rw-r--r-- | repos/community/libflac/abuild | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/repos/community/libflac/abuild b/repos/community/libflac/abuild new file mode 100644 index 00000000..7b8d1f40 --- /dev/null +++ b/repos/community/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 +} |