crux-musl

Unnamed repository; edit this file 'description' to name the repository.
git clone https://codeberg.org/emmett1/crux-musl
Log | Files | Refs | README | LICENSE

Pkgfile (787B)


      1 # Description: Alliance for Open Media
      2 # URL: https://aomedia.org/
      3 # Maintainer: Emmett1, emmett1 dot 2miligrams at protonmail dot com
      4 # Depends on: yasm
      5 
      6 name=aom
      7 version=3.12.1
      8 release=1
      9 source=(https://storage.googleapis.com/aom-releases/libaom-$version.tar.gz)
     10 
     11 build() {
     12   # gcc14 fix
     13   #export CFLAGS="$CFLAGS -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types"
     14 
     15   cmake -S libaom-$version -B build -G Ninja \
     16     -D CMAKE_INSTALL_PREFIX=/usr \
     17     -D CMAKE_INSTALL_LIBDIR=lib \
     18     -D CMAKE_BUILD_TYPE=Release \
     19     -D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
     20     -D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
     21     -D BUILD_SHARED_LIBS=1 \
     22     -D ENABLE_TESTS=0 \
     23     -DENABLE_EXAMPLES=0 \
     24     -Wno-dev
     25 
     26   cmake --build build
     27   DESTDIR=$PKG cmake --install build
     28 }