Commit ae27bd81 authored by Ed Reel's avatar Ed Reel Committed by GitHub

Update rtmpdump to c5f04a58 (#4080)

Add compatibility property

Add pre-built binaries
parent 84c883ed
......@@ -3,34 +3,32 @@ require 'package'
class Rtmpdump < Package
description 'rtmpdump is a toolkit for RTMP streams.'
homepage 'https://rtmpdump.mplayerhq.hu/'
version 'fa8646dae'
source_url 'https://git.ffmpeg.org/gitweb/rtmpdump.git/snapshot/fa8646daeb19dfd12c181f7d19de708d623704c0.tar.gz'
source_sha256 'dba4d4d2e1c7de6884b01d98194b83cab6784669089fa3c919152087a3a38fd2'
version 'c5f04a58'
#compatibility 'all'
source_url 'https://git.ffmpeg.org/gitweb/rtmpdump.git/snapshot/c5f04a58fc2aeea6296ca7c44ee4734c18401aa3.tar.gz'
source_sha256 'fd8c21263d93fbde8bee8aa6c5f6a657789674bb0f9e74f050651504d5f43b46'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/rtmpdump-fa8646dae-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/rtmpdump-fa8646dae-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/rtmpdump-fa8646dae-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/rtmpdump-fa8646dae-chromeos-x86_64.tar.xz',
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/rtmpdump-c5f04a58-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/rtmpdump-c5f04a58-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/rtmpdump-c5f04a58-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/rtmpdump-c5f04a58-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '04a7e360b0290d82402addc6432d6b4d3c551aafb99ab3902bf30df6de2bdeae',
armv7l: '04a7e360b0290d82402addc6432d6b4d3c551aafb99ab3902bf30df6de2bdeae',
i686: '2298fa49696d409dbfe0bd159d4199b1219d2da4a1746fb5c1644f2f0a94a5d7',
x86_64: '163c47847d3cfcfe9178995c96511e7642991a1bb567f90d33f26e36e85d16e6',
aarch64: '31c1053a2ba5775de0ea099447af443bdcb8732a7851c581219c7bc9177cafe4',
armv7l: '31c1053a2ba5775de0ea099447af443bdcb8732a7851c581219c7bc9177cafe4',
i686: 'f21b4f9f4c3978db0bb4e0814993b7af076e04c6b86d6a3b5fa548f6fa0cf9e6',
x86_64: '74ec242f369bdf542f725a7675a11be49d8ee898f6f2b963b406b4004d45effe',
})
depends_on 'openssl'
depends_on 'zlibpkg'
def self.build
system "sed -i 's,prefix=/usr/local,prefix=#{CREW_PREFIX},' Makefile"
system "sed -i 's,prefix=/usr/local,prefix=#{CREW_PREFIX},' librtmp/Makefile"
system "sed -i 's,libdir=\$(prefix)/lib,libdir=#{CREW_LIB_PREFIX},' librtmp/Makefile"
system "make"
system 'make'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment