commit 00fb57bca19e009551ae64484d55d86acb45726a Author: Tim Biermann <tbier@posteo.de> Date: Sun Oct 30 10:55:46 2022 +0000 libavif: initial commit, version 0.11.1 diff --git a/libavif/.footprint b/libavif/.footprint new file mode 100644 index 000000000..e6f5c854d --- /dev/null +++ b/libavif/.footprint @@ -0,0 +1,25 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/avifdec +-rwxr-xr-x root/root usr/bin/avifenc +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/avif/ +-rw-r--r-- root/root usr/include/avif/avif.h +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/lib/cmake/ +drwxr-xr-x root/root usr/lib/cmake/libavif/ +-rw-r--r-- root/root usr/lib/cmake/libavif/libavif-config-release.cmake +-rw-r--r-- root/root usr/lib/cmake/libavif/libavif-config-version.cmake +-rw-r--r-- root/root usr/lib/cmake/libavif/libavif-config.cmake +drwxr-xr-x root/root usr/lib/gdk-pixbuf-2.0/ +drwxr-xr-x root/root usr/lib/gdk-pixbuf-2.0/2.10.0/ +drwxr-xr-x root/root usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/ +-rwxr-xr-x root/root usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-avif.so +lrwxrwxrwx root/root usr/lib/libavif.so -> libavif.so.15 +lrwxrwxrwx root/root usr/lib/libavif.so.15 -> libavif.so.15.0.1 +-rwxr-xr-x root/root usr/lib/libavif.so.15.0.1 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/libavif.pc +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/thumbnailers/ +-rw-r--r-- root/root usr/share/thumbnailers/avif.thumbnailer diff --git a/libavif/.signature b/libavif/.signature new file mode 100644 index 000000000..62ed5c78f --- /dev/null +++ b/libavif/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF357Z+PFyFWOMyfKL/ms2Lg1L5kaEvzG8cug/IH6BQGkPUORNpkEG7KcWqxOQA+XTmet8/NaAgj5aAmUV0xbJzwY= +SHA256 (Pkgfile) = d6ec1646df8babb2a37d14c8ea9082fc96f1333513c5320120021aec4ead8441 +SHA256 (.footprint) = 998ea563e6ad11c6fdf6e31d56efbd58190d073427774deaf8d4b7173d011a80 +SHA256 (libavif-0.11.1.tar.gz) = 0eb49965562a0e5e5de58389650d434cff32af84c34185b6c9b7b2fccae06d4e diff --git a/libavif/Pkgfile b/libavif/Pkgfile new file mode 100644 index 000000000..e241979a5 --- /dev/null +++ b/libavif/Pkgfile @@ -0,0 +1,28 @@ +# Description: Library for encoding and decoding .avif files +# URL: https://github.com/AOMediaCodec/libavif +# Maintainer: Tim Biermann, tbier at posteo dot de +# Depends on: aom dav1d gdk-pixbuf libjpeg-turbo libpng libyuv nasm rav1e svt-av1 + +name=libavif +version=0.11.1 +release=1 +source=(https://github.com/AOMediaCodec/libavif/archive/v$version/$name-$version.tar...) + +build() { + cmake -S $name-$version -B build -G Ninja \ + -D CMAKE_INSTALL_PREFIX=/usr \ + -D CMAKE_INSTALL_LIBDIR=lib \ + -D CMAKE_BUILD_TYPE=Release \ + -D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \ + -D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \ + -D AVIF_BUILD_APPS=ON \ + -D AVIF_CODEC_AOM=ON \ + -D AVIF_CODEC_DAV1D=ON \ + -D AVIF_CODEC_RAV1E=ON \ + -D AVIF_CODEC_SVT=ON \ + -D AVIF_BUILD_GDK_PIXBUF=ON \ + -Wno-dev + + cmake --build build + DESTDIR=$PKG cmake --install build +}