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'
|
require 'formula'
|
||||||
|
|
||||||
class Libdvdread < Formula
|
class Libdvdread < Formula
|
||||||
homepage 'http://www.dtek.chalmers.se/groups/dvd/'
|
homepage 'http://dvdnav.mplayerhq.hu/'
|
||||||
# Official site is down; use a mirror.
|
url 'http://dvdnav.mplayerhq.hu/releases/libdvdread-4.2.0.tar.bz2'
|
||||||
url 'http://www.mplayerhq.hu/MPlayer/releases/dvdnav-old/libdvdread-4.1.3.tar.bz2'
|
head 'svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdread'
|
||||||
md5 '6dc068d442c85a3cdd5ad3da75f6c6e8'
|
md5 'ab7a19d3ab1a437ae754ef477d6231a4'
|
||||||
|
|
||||||
depends_on 'libdvdcss' => :optional
|
depends_on 'libdvdcss' => :optional
|
||||||
|
|
||||||
def patches
|
|
||||||
# compatibility patch provided by dvdbackup
|
|
||||||
"http://dvdbackup.sourceforge.net/DVDFileStat.patch"
|
|
||||||
end
|
|
||||||
|
|
||||||
def install
|
def install
|
||||||
system "./autogen.sh"
|
if Formula.factory("libdvdcss").installed?
|
||||||
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
ENV.append "CFLAGS", "-DHAVE_DVDCSS_DVDCSS_H"
|
||||||
"--prefix=#{prefix}"
|
ENV.append "LDFLAGS", "-ldvdcss"
|
||||||
|
end
|
||||||
|
|
||||||
|
system "./autogen.sh", "--disable-debug", "--disable-dependency-tracking",
|
||||||
|
"--prefix=#{prefix}"
|
||||||
system "make install"
|
system "make install"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue