libdvdread: Update to 4.2.0
New homepage, HEAD URL, actually build against libdvdcss. Closes Homebrew/homebrew#8500. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
This commit is contained in:
parent
6198287bc0
commit
edcdba4885
1 changed files with 11 additions and 12 deletions
|
@ -1,22 +1,21 @@
|
|||
require 'formula'
|
||||
|
||||
class Libdvdread < Formula
|
||||
homepage 'http://www.dtek.chalmers.se/groups/dvd/'
|
||||
# Official site is down; use a mirror.
|
||||
url 'http://www.mplayerhq.hu/MPlayer/releases/dvdnav-old/libdvdread-4.1.3.tar.bz2'
|
||||
md5 '6dc068d442c85a3cdd5ad3da75f6c6e8'
|
||||
homepage 'http://dvdnav.mplayerhq.hu/'
|
||||
url 'http://dvdnav.mplayerhq.hu/releases/libdvdread-4.2.0.tar.bz2'
|
||||
head 'svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdread'
|
||||
md5 'ab7a19d3ab1a437ae754ef477d6231a4'
|
||||
|
||||
depends_on 'libdvdcss' => :optional
|
||||
|
||||
def patches
|
||||
# compatibility patch provided by dvdbackup
|
||||
"http://dvdbackup.sourceforge.net/DVDFileStat.patch"
|
||||
end
|
||||
|
||||
def install
|
||||
system "./autogen.sh"
|
||||
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
||||
"--prefix=#{prefix}"
|
||||
if Formula.factory("libdvdcss").installed?
|
||||
ENV.append "CFLAGS", "-DHAVE_DVDCSS_DVDCSS_H"
|
||||
ENV.append "LDFLAGS", "-ldvdcss"
|
||||
end
|
||||
|
||||
system "./autogen.sh", "--disable-debug", "--disable-dependency-tracking",
|
||||
"--prefix=#{prefix}"
|
||||
system "make install"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue