dvdauthor 0.7.0
This commit is contained in:
parent
109eca18a3
commit
58b7d6ad49
1 changed files with 9 additions and 28 deletions
|
@ -1,42 +1,23 @@
|
|||
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
|
||||
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/'
|
||||
md5 'bd646b47950c4091ffd781d43fd2c5e9'
|
||||
md5 '33a447fb98ab3293ac40f869eedc17ff'
|
||||
|
||||
depends_on 'pkg-config' => :build
|
||||
depends_on 'libdvdread'
|
||||
depends_on 'libpng'
|
||||
|
||||
def patches
|
||||
# won't compile without including iconv headers in readxml.c
|
||||
DATA
|
||||
end
|
||||
|
||||
def install
|
||||
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
||||
ENV.x11 # For libpng, etc.
|
||||
system "./configure", "--disable-dependency-tracking",
|
||||
"--prefix=#{prefix}",
|
||||
"--mandir=#{man}"
|
||||
system "make"
|
||||
|
||||
# regular install will error out due to attempts to create the same
|
||||
# directories twice. mkdir -p will mitigate this.
|
||||
ENV['MKDIRPROG'] = '/bin/mkdir -p'
|
||||
ENV.j1 # Install isn't parallel-safe
|
||||
system "make install"
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue