mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-03-06 14:12:23 +01:00
46 lines
1.4 KiB
Plaintext
46 lines
1.4 KiB
Plaintext
# Contributor: Carlo Landmeter
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=rtmpdump
|
|
verbase=2.4
|
|
pkgver=2.4_git20160909
|
|
pkgrel=6
|
|
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+"
|
|
depends=
|
|
depends_dev="zlib-dev"
|
|
makedepends="$depends_dev linux-headers gnutls-dev"
|
|
subpackages="$pkgname-dev $pkgname-doc librtmp"
|
|
|
|
giturl="git://git.ffmpeg.org/rtmpdump"
|
|
disturl="dev.alpinelinux.org:/archive/rtmpdump"
|
|
source="https://dev.alpinelinux.org/archive/rtmpdump/rtmpdump-${pkgver}.tar.gz
|
|
fix-chunk-size.patch
|
|
gnutls.patch
|
|
"
|
|
|
|
builddir="$srcdir"/$pkgname-$pkgver
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
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="e42eda75679addb6f919f42ddce2d27a6988f505602bb70ecb4d071324b59f21d573f8b73fda3b29960c095e20303b84f6eb6254cd327803430d8065cf5d172b rtmpdump-2.4_git20160909.tar.gz
|
|
f97b4780fb8cfffccf59785c5a89c8d4929e21ec587192f10602caaf9a0b008dfbfebaa09db1d9d955fc9911fc443d76bf19972cc59fedfab5a8889f7fe70b5d fix-chunk-size.patch
|
|
4ceeca738be76824b57ee29840af258097bc9d6ed562ddacc843e03bfbc577533053adc7eb4d00b2365884e9d0fb5fb17d96f0644156df2863f19ed61ac09f27 gnutls.patch"
|