pantry/projects/gource.io/package.yml
Jacob Heider 35c0d83e6e fix(gource)
closes #6430
2024-06-17 10:16:23 -04:00

41 lines
852 B
YAML

distributable:
url: https://github.com/acaudwell/Gource/releases/download/{{version.tag}}/{{version.tag}}.tar.gz
strip-components: 1
versions:
github: acaudwell/Gource
strip: /^gource-/
#FIXME it will work on other platforms, but we couldn't get its dependency `glew` to work
platforms: darwin/aarch64
dependencies:
boost.org: ^1.82
freetype.org: ^2
libpng.org: ^1.6
pcre.org/v2: ^10
libsdl.org: ^2
glew.sourceforge.io: ^2
libsdl.org/SDL_image: ^2
build:
dependencies:
freedesktop.org/pkg-config: ^0.29
glm.g-truc.net: ^0
script: |
./configure $ARGS
make --jobs {{ hw.concurrency }} install
env:
ARGS:
- --prefix={{prefix}}
- --without-x
- --with-boost={{deps.boost.org.prefix}}
CXXFLAGS: -std=c++17
CXX: clang++
CC: clang
provides:
- bin/gource
test: gource --help