mirror of
https://github.com/ivabus/pantry
synced 2024-11-29 11:45:07 +03:00
d7adf09a43
* update(slirp) * update(poppler-data) * update(doxygen) * update(xcb) * update(sm) * update(xdmcp) * update(ice) * update(util-macros) * update(xtrans) * update(xmu) * update(xt) * update(xau) * update(xrender) * update(x11) * update(xcb-proto) * update(xpm) * update(xaw) * update(xorg-protocol) * update(exts) * update(lame) * update(nmap) * update(cairo) * update(unicode) * update(gts) * update(vim) * update(libtiff) * update(lua) * comment(bpb) * update(giflib) * update(gdk-pixbuf) * update(gobj-intro) * update(libcap2) * update(gnuplot) * update(dav1d) * update(wumpus) * update(librist) * update(subversion) * comment(jbig2dec) * update(moreutils) * update(eigen) * update(ogg) * update(musl) * update(libtool) * update(isl) * update(coreutils) * update(wget) * update(gmp) * update(libiconv) * update(stow) * update(sed) * update(gperf) * update(libunistring) * update(grep) * update(patch) * update(tar) * update(autoconf) * update(libgpg-error) * update(automake) * update(libksba) * update(npth) * update(libgcrypt) * update(libidn) * update(libassuan) * update(gnupg) * update(libtasn1) * update(ncdu) * update(freexl) * update(nasm) * update(ffmpeg) * update(libsodium) * update(mpg123) * update(freetype) * update(dnsmasq) * update(postgres) * update(xz) * update(docutils) * update(aom) * update(libssh) * update(gitlab-cli) * update(watch) * update(tree) * update(c-ares) * update(mpdecimal) * update(lzo) * update(graphviz) * update(nano) * update(yasm) * update(expect) * update(pcre) * update(file) * update(shared-mime-info) * use `gitlab:` builtin
56 lines
1.3 KiB
YAML
56 lines
1.3 KiB
YAML
distributable:
|
|
url: https://downloads.xiph.org/releases/ogg/libogg-{{version}}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
url: https://downloads.xiph.org/releases/ogg/
|
|
match: /libogg-(\d+\.\d+\.\d+)\.tar\.gz/
|
|
strip:
|
|
- /libogg-/
|
|
- /.tar.gz/
|
|
|
|
build:
|
|
dependencies:
|
|
tea.xyz/gx/cc: c99
|
|
tea.xyz/gx/make: '*'
|
|
script: |
|
|
./configure $ARGS
|
|
make --jobs {{ hw.concurrency }}
|
|
make install
|
|
env:
|
|
ARGS:
|
|
- --prefix="{{prefix}}"
|
|
- --disable-dependency-tracking
|
|
|
|
test:
|
|
fixture: |
|
|
#include <ogg/ogg.h>
|
|
#include <stdio.h>
|
|
int main (void) {
|
|
ogg_sync_state oy;
|
|
ogg_stream_state os;
|
|
ogg_page og;
|
|
ogg_packet op;
|
|
char *buffer;
|
|
int bytes;
|
|
ogg_sync_init (&oy);
|
|
buffer = ogg_sync_buffer (&oy, 4096);
|
|
bytes = fread(buffer, 1, 4096, stdin);
|
|
ogg_sync_wrote (&oy, bytes);
|
|
if (ogg_sync_pageout (&oy, &og) != 1)
|
|
return 1;
|
|
ogg_stream_init (&os, ogg_page_serialno (&og));
|
|
if (ogg_stream_pagein (&os, &og) < 0)
|
|
return 1;
|
|
if (ogg_stream_packetout (&os, &op) != 1)
|
|
return 1;
|
|
return 0;
|
|
}
|
|
dependencies:
|
|
tea.xyz/gx/cc: c99
|
|
gnu.org/wget: '*'
|
|
script: |
|
|
wget https://upload.wikimedia.org/wikipedia/commons/c/c8/Example.ogg -O test.ogg
|
|
mv $FIXTURE test.c
|
|
cc test.c -logg
|
|
./a.out < test.ogg
|