mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-05-13 10:24:46 +02:00
36 lines
1.3 KiB
Text
36 lines
1.3 KiB
Text
# Contributor: Carlo Landmeter
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=rtmpdump
|
|
pkgver=2.4_git20190330
|
|
pkgrel=5
|
|
pkgdesc="A tool to download rtmp:// and rtmpe:// streams"
|
|
url="http://rtmpdump.mplayerhq.hu/"
|
|
arch="all"
|
|
options="!check" # No test suite.
|
|
license="GPL-2.0-or-later"
|
|
depends_dev="zlib-dev"
|
|
makedepends="$depends_dev linux-headers gnutls-dev"
|
|
subpackages="$pkgname-static $pkgname-dev $pkgname-doc librtmp"
|
|
source="https://dev.alpinelinux.org/archive/rtmpdump/rtmpdump-$pkgver.tar.gz
|
|
fix-chunk-size.patch
|
|
gnutls.patch
|
|
"
|
|
|
|
build() {
|
|
make
|
|
}
|
|
|
|
package() {
|
|
make -j1 prefix=/usr MANDIR="$pkgdir/usr/share/man" DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
librtmp() {
|
|
pkgdesc="Real Time Messaging Protocol (RTMP) library"
|
|
replaces="rtmpdump"
|
|
mkdir -p "$subpkgdir"/usr
|
|
mv "$pkgdir"/usr/lib "$subpkgdir"/usr/
|
|
}
|
|
|
|
sha512sums="36da645a0ef2c7c15d69cf89fff9ec9504f9ac965b99c12af3eb9cf8ca53d9af22c8461f3118919d3cdca5599acbdcadc797982f9556ebe3c1adec142d930f8a rtmpdump-2.4_git20190330.tar.gz
|
|
f97b4780fb8cfffccf59785c5a89c8d4929e21ec587192f10602caaf9a0b008dfbfebaa09db1d9d955fc9911fc443d76bf19972cc59fedfab5a8889f7fe70b5d fix-chunk-size.patch
|
|
4ceeca738be76824b57ee29840af258097bc9d6ed562ddacc843e03bfbc577533053adc7eb4d00b2365884e9d0fb5fb17d96f0644156df2863f19ed61ac09f27 gnutls.patch"
|