pantry/projects/libsdl.org/package.yml
Sanchit Ram Arvind f812a14770
+sdl2 (#1316)
* +whisper.cpp

- Breaks at fetch model at tea +sentencepiece upgrade-model.py 7B
- Is `mv $SRCROOT/examples {{prefix}}/share` needed?
- What if you want to use gpt4all instead of llama?

* base model & build

* added props

* fix-up tbin file

* +sdl2

* Delete whisper from sdl2

* Delete whisper from sdl2 (again)

* rename to `libsdl.org`

---------

Co-authored-by: Jacob Heider <jacob@tea.xyz>
2023-04-10 18:50:36 -04:00

43 lines
1,016 B
YAML

distributable:
url: https://github.com/libsdl-org/SDL/archive/refs/tags/release-{{version}}.tar.gz
strip-components: 1
versions:
github: libsdl-org/SDL/releases
build:
dependencies:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
freedesktop.org/pkg-config: ~0.29
gnu.org/autoconf: '*'
gnu.org/automake: '*'
gnu.org/libtool: 2.4.7
script: |
./configure $ARGS
make --jobs {{ hw.concurrency }} install
env:
ARGS:
- --prefix="{{prefix}}"
- --with-x
- --enable-hidapi
- --enable-pulseaudio
- --enable-pulseaudio-shared
- --enable-video-dummy
- --enable-video-opengl
- --enable-video-opengles
- --enable-video-x11
- --enable-video-x11-scrnsaver
- --enable-video-x11-xcursor
- --enable-video-x11-xinerama
- --enable-video-x11-xinput
- --enable-video-x11-xrandr
- --enable-video-x11-xshape
- --enable-x11-shared
provides:
- bin/sdl2-config
test:
script:
sdl2-config --version