Commit 8bf503cd authored by Gangstead's avatar Gangstead Committed by GitHub

Merge pull request #1591 from uberhacker/update-rtmpdump-package

Fix error while loading shared libraries: librtmp.so.1: cannot open shared object file: No such file or directory
parents a53c21a6 df9a831c
......@@ -3,24 +3,19 @@ require 'package'
class Rtmpdump < Package
description 'rtmpdump is a toolkit for RTMP streams.'
homepage 'https://rtmpdump.mplayerhq.hu/'
version 'fa8646d'
version 'fa8646da'
source_url 'https://git.ffmpeg.org/gitweb/rtmpdump.git/snapshot/fa8646daeb19dfd12c181f7d19de708d623704c0.tar.gz'
source_sha256 'dba4d4d2e1c7de6884b01d98194b83cab6784669089fa3c919152087a3a38fd2'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/rtmpdump-fa8646d-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/rtmpdump-fa8646d-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/rtmpdump-fa8646d-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/rtmpdump-fa8646d-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '562e165ac1cbb290e9b450a27492f4eabbd36774326a8d023d17ddf4c2661db3',
armv7l: '562e165ac1cbb290e9b450a27492f4eabbd36774326a8d023d17ddf4c2661db3',
i686: '73c220545ca018ae7191533423f17ede1be7366fe189d5aff3b0c2a0777063cd',
x86_64: 'bac487e52b05e2b61754a22fe92df0f4178a34479679b7d526fd31460e1951b9',
})
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"
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