github.com/strukturag/libde265 (#2153)

* new file:   projects/github.com/strukturag/libde265/package.yml

* Add autoconf dep

* deps & pkg-config for test

* provides

* looks like the config scripts might predate linux-arm64

* all software should use `cargo` to build

* sigh

* K.I.S.S.

---------

Co-authored-by: Jacob Heider <jacob@tea.xyz>
This commit is contained in:
Andrew 2023-06-12 22:15:04 +03:00 committed by GitHub
parent 59ae625a47
commit 57c7dbe980
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,46 @@
distributable:
url: https://github.com/strukturag/libde265/releases/download/v{{ version }}/libde265-{{ version }}.tar.gz
strip-components: 1
versions:
github: strukturag/libde265
# FIXME: linux/aarch64 build fails; suspect config scripts out of date
platforms:
- darwin
- linux/x86-64
build:
dependencies:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
gnu.org/autoconf: '*'
gnu.org/automake: '*'
script: |
./configure $ARGS
make --jobs {{ hw.concurrency }} install
env:
ARGS:
- --prefix="{{prefix}}"
- --disable-dependency-tracking
- --disable-silent-rules
- --disable-sherlock265
- --disable-dec265
darwin/aarch64:
ARGS:
- --build="aarch64-apple-darwin$(uname -r)"
provides:
- bin/acceleration_speed
- bin/bjoentegaard
- bin/block-rate-estim
- bin/gen-enc-table
- bin/rd-curves
- bin/tests
- bin/yuv-distortion
test:
dependencies:
freedesktop.org/pkg-config: '*'
script:
pkg-config --modversion libde265 | grep {{ version }}