mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 18:25:08 +03:00
+libbluray (#1873)
* +libbluray * cleanup brewisms --------- Co-authored-by: Jacob Heider <jacob@tea.xyz>
This commit is contained in:
parent
bc5a88ce8f
commit
bff3b77d71
2 changed files with 49 additions and 0 deletions
42
projects/videolan.org/libbluray/package.yml
Normal file
42
projects/videolan.org/libbluray/package.yml
Normal file
|
@ -0,0 +1,42 @@
|
|||
distributable:
|
||||
url: https://download.videolan.org/videolan/libbluray/{{version}}/libbluray-{{version}}.tar.bz2
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
url: http://download.videolan.org/videolan/libbluray/
|
||||
match: /\d+\.\d+\.\d+\//
|
||||
strip:
|
||||
- /\/$/
|
||||
|
||||
dependencies:
|
||||
freedesktop.org/fontconfig: '*'
|
||||
freetype.org: '*'
|
||||
darwin:
|
||||
gnome.org/libxml2: '*'
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
gnu.org/automake: '*'
|
||||
gnu.org/autoconf: '*'
|
||||
gnu.org/libtool: '*'
|
||||
freedesktop.org/pkg-config: '*'
|
||||
script: |
|
||||
./bootstrap
|
||||
./configure $ARGS
|
||||
make
|
||||
make install
|
||||
env:
|
||||
ARGS:
|
||||
- --prefix={{prefix}}
|
||||
- --disable-dependency-tracking
|
||||
- --disable-silent-rules
|
||||
- --disable-bdjava-jar
|
||||
|
||||
test:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
script: |
|
||||
cc test.c -lbluray -o test
|
||||
./test
|
7
projects/videolan.org/libbluray/test.c
Normal file
7
projects/videolan.org/libbluray/test.c
Normal file
|
@ -0,0 +1,7 @@
|
|||
#include <libbluray/bluray.h>
|
||||
|
||||
int main(void) {
|
||||
BLURAY *bluray = bd_init();
|
||||
bd_close(bluray);
|
||||
return 0;
|
||||
}
|
Loading…
Reference in a new issue