diff options
Diffstat (limited to 'community/libavif/APKBUILD')
-rw-r--r-- | community/libavif/APKBUILD | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/community/libavif/APKBUILD b/community/libavif/APKBUILD deleted file mode 100644 index 8db94001df8..00000000000 --- a/community/libavif/APKBUILD +++ /dev/null @@ -1,57 +0,0 @@ -# Contributor: Bart Ribbers <bribbers@disroot.org> -# Maintainer: Bart Ribbers <bribbers@disroot.org> -pkgname=libavif -pkgver=0.9.3 -pkgrel=0 -pkgdesc="Library for encoding and decoding .avif files" -url="https://aomediacodec.github.io/av1-avif/" -arch="all" -license="BSD-2-Clause" -makedepends=" - aom-dev - cmake - dav1d-dev - libjpeg-turbo-dev - libpng-dev - zlib-dev - " -subpackages="$pkgname-dev $pkgname-apps" -source="https://github.com/AOMediaCodec/libavif/archive/v$pkgver/libavif-v$pkgver.tar.gz" -case $CARCH in - s390x) - # core dump https://github.com/AOMediaCodec/libavif/issues/731 - options="!check" - ;; -esac - -build() { - cmake -B build \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=lib \ - -DAVIF_BUILD_APPS=ON \ - -DAVIF_BUILD_TESTS=ON \ - -DAVIF_CODEC_AOM=ON \ - -DAVIF_CODEC_DAV1D=ON - cmake --build build -} - -check() { - # cmake --build build --target avif_test_all - - # https://github.com/AOMediaCodec/libavif/issues/800 - cd "$builddir"/build - ./aviftest ../tests/data --io-only -} - -package() { - DESTDIR="$pkgdir" cmake --install build -} - -apps() { - amove usr/bin -} - -sha512sums=" -8e95666c784d1badc7e18d27a7c21cae3b8ef3b8da9a762eb8f7216d77fba29b9ca309c01d13bcf4890e03c6bc335ba4baf3f5877396bd0584be9ea60018daa7 libavif-v0.9.3.tar.gz -" |