dvdauthor 0.7.0

This commit is contained in:
Adam Vandenberg 2011-03-14 13:12:36 -07:00
parent 109eca18a3
commit 58b7d6ad49

View file

@ -1,42 +1,23 @@
require 'formula' require 'formula'
# Dvdauthor will optionally detect ImageMagick or GraphicsMagick, too.
# But we don't add either as deps because they are big.
class Dvdauthor < Formula class Dvdauthor < Formula
url 'http://downloads.sourceforge.net/project/dvdauthor/dvdauthor/0.6.14/dvdauthor-0.6.14.tar.gz' url 'http://downloads.sourceforge.net/project/dvdauthor/dvdauthor/0.7.0/dvdauthor-0.7.0.tar.gz'
homepage 'http://dvdauthor.sourceforge.net/' homepage 'http://dvdauthor.sourceforge.net/'
md5 'bd646b47950c4091ffd781d43fd2c5e9' md5 '33a447fb98ab3293ac40f869eedc17ff'
depends_on 'pkg-config' => :build
depends_on 'libdvdread' depends_on 'libdvdread'
depends_on 'libpng'
def patches
# won't compile without including iconv headers in readxml.c
DATA
end
def install def install
system "./configure", "--disable-debug", "--disable-dependency-tracking", ENV.x11 # For libpng, etc.
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}", "--prefix=#{prefix}",
"--mandir=#{man}" "--mandir=#{man}"
system "make" system "make"
ENV.j1 # Install isn't parallel-safe
# regular install will error out due to attempts to create the same
# directories twice. mkdir -p will mitigate this.
ENV['MKDIRPROG'] = '/bin/mkdir -p'
system "make install" system "make install"
end end
end end
__END__
diff --git a/src/readxml.c b/src/readxml.c
index e96f869..5ff2b5d 100644
--- a/src/readxml.c
+++ b/src/readxml.c
@@ -28,6 +28,8 @@
#include <libxml/xmlreader.h>
+#include <iconv.h>
+
#include "readxml.h"
#ifdef HAVE_LANGINFO_CODESET