pantry/projects/github.com/libass/libass/package.yml
Joe DeCapo 30f93c02e5
+libass (#1855)
* +libass

* Fix formatting
2023-05-06 17:15:59 -04:00

44 lines
871 B
YAML

distributable:
url: https://github.com/libass/libass/archive/refs/tags/{{version}}.tar.gz
strip-components: 1
versions:
github: libass/libass/tags
dependencies:
freetype.org: 2
gnu.org/fribidi: 1
harfbuzz.org: '*'
github.com/adah1972/libunibreak: '*'
linux:
freedesktop.org/fontconfig: 2
x86-64:
nasm.us: 2
build:
dependencies:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
gnu.org/autoconf: 2
gnu.org/automake: 1
gnu.org/libtool: 2
freedesktop.org/pkg-config: '*'
script: |
./autogen.sh
./configure $ARGS
make install
env:
ARGS:
- --disable-dependency-tracking
- --prefix={{prefix}}
darwin:
ARGS:
- --disable-fontconfig # libass uses coretext on macOS, fontconfig on Linux
test:
dependencies:
tea.xyz/gx/cc: c99
script: |
c++ test.cpp -lass -o test
./test