-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmeta.yaml
62 lines (54 loc) · 1.86 KB
/
meta.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# Based on anaconda recipe at:
# https://github.com/AnacondaRecipes/aggregate/tree/master/libvpx-feedstock
# which in turn seems based on the arch recipe:
# https://git.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/libvpx
# which in turn... I do not know
{% set version = "1.7.0" %}
{% set p = "m2-" if win else "" %}
package:
name: libvpx
version: {{ version }}
source:
git_url: https://chromium.googlesource.com/webm/libvpx
git_tag: v{{ version }}
patches:
- 0001-Linux-Include-unistd-h-for-off_t.patch
build:
number: 0
skip: True # [win]
run_exports:
# new so names and compatibility changes on minor version
# https://abi-laboratory.pro/tracker/timeline/libvpx/
- {{ pin_subpackage('libvpx', max_pin='x.x') }}
requirements:
build:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- posix # [win]
- {{ p }}git
- {{ p }}make
- m2w64-toolchain # [win]
- yasm
run:
- m2w64-gcc-libs # [win]
test:
commands:
- test -f ${PREFIX}/lib/libvpx.a # [not win]
- test -f ${PREFIX}/lib/libvpx.so # [linux]
- test -f ${PREFIX}/lib/libvpx.dylib # [osx]
- conda inspect linkages -p $PREFIX libvpx # [not win]
- conda inspect objects -p $PREFIX libvpx # [osx]
about:
home: https://www.webmproject.org/
license: 3-clause BSD
license_family: BSD
summary: A high-quality, open video format for the web
description: |
libvpx is a free software video codec library from
Google and the Alliance for Open Media (AOMedia).
It serves as the reference software implementation for
the video coding formats VP8 and VP9, and for AV1 a
special fork named libaom that was stripped of
backwards compatibility.
doc_url: http://www.webmproject.org/vp9/
dev_url: https://chromium.googlesource.com/webm/libvpx