pantry/projects/github.com/strukturag/libde265/package.yml
Andrew 57c7dbe980
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>
2023-06-12 15:15:04 -04:00

46 lines
1 KiB
YAML

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 }}