mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 00:45:07 +03:00
rtmpdump.mplayerhq.hu (#1937)
* Create package.yml * hmm * curl $PATCH | tac | tac | patch -p0 || true * Update package.yml * modified: projects/rtmpdump.mplayerhq.hu/package.yml * modified: projects/rtmpdump.mplayerhq.hu/package.yml * fixes * build deps * more * sigh * one more * diagnostics * doesn't support openssl^3 --------- Co-authored-by: Jacob Heider <jacob@tea.xyz>
This commit is contained in:
parent
7c9a2c1f5c
commit
b4452328bb
1 changed files with 50 additions and 0 deletions
50
projects/rtmpdump.mplayerhq.hu/package.yml
Normal file
50
projects/rtmpdump.mplayerhq.hu/package.yml
Normal file
|
@ -0,0 +1,50 @@
|
||||||
|
distributable:
|
||||||
|
url: http://rtmpdump.mplayerhq.hu/download/rtmpdump-{{version.marketing}}.tgz
|
||||||
|
strip-components: 1
|
||||||
|
|
||||||
|
display-name: rtmpdump
|
||||||
|
|
||||||
|
versions:
|
||||||
|
url: http://rtmpdump.mplayerhq.hu/download/
|
||||||
|
match: /rtmpdump-\d+\.\d+\.tgz/
|
||||||
|
strip:
|
||||||
|
- /^rtmpdump-/
|
||||||
|
- /.tgz$/
|
||||||
|
|
||||||
|
dependencies:
|
||||||
|
openssl.org: ^1.1
|
||||||
|
zlib.net: '*'
|
||||||
|
|
||||||
|
build:
|
||||||
|
dependencies:
|
||||||
|
tea.xyz/gx/cc: c99
|
||||||
|
tea.xyz/gx/make: '*'
|
||||||
|
gnu.org/patch: '*'
|
||||||
|
curl.se: '*'
|
||||||
|
script:
|
||||||
|
- curl $PATCH | patch -p0 || true
|
||||||
|
|
||||||
|
# need to make XCFLAGS/XLDFLAGS in the script for quoting reasons
|
||||||
|
- make XCFLAGS="$CFLAGS" XLDFLAGS="$LDFLAGS" $ARGS install
|
||||||
|
env:
|
||||||
|
PATCH: 'https://raw.githubusercontent.com/Homebrew/formula-patches/85fa66a9/rtmpdump/openssl-1.1.diff'
|
||||||
|
ARGS:
|
||||||
|
- CC=cc
|
||||||
|
- prefix={{prefix}}
|
||||||
|
- SHARED=no
|
||||||
|
darwin:
|
||||||
|
ARGS:
|
||||||
|
- SYS="darwin"
|
||||||
|
linux:
|
||||||
|
ARGS:
|
||||||
|
- SYS="posix"
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- bin/rtmpdump
|
||||||
|
- bin/rtmpgw
|
||||||
|
- bin/rtmpsrv
|
||||||
|
- bin/rtmpsuck
|
||||||
|
|
||||||
|
test:
|
||||||
|
- rtmpdump -h
|
||||||
|
- rtmpdump -h 2>&1 | grep {{version.marketing}}
|
Loading…
Reference in a new issue