diff options
| author | David Christenson | 2014-09-13 20:44:18 -0600 |
|---|---|---|
| committer | Mike McQuaid | 2014-09-15 12:11:45 +0100 |
| commit | e53201530e0f685e2786eb32e3dbd53e8781701f (patch) | |
| tree | 24b862ce760391c12d4313e1483cabc59aa307e1 /Library/Formula | |
| parent | 2cc793e438771e7d7976cdda425f5e9b0c5e6f8e (diff) | |
| download | homebrew-e53201530e0f685e2786eb32e3dbd53e8781701f.tar.bz2 | |
minidlna 1.1.4
Update to latest stable release, update (only different line numbers)
and integrate patch.
Remove unused libav dependency in favor of ffmpeg.
Compilation with Clang was fixed in 1.1.3.
Add git repo as HEAD, add dependencies for building from git master.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/minidlna.rb | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/Library/Formula/minidlna.rb b/Library/Formula/minidlna.rb index 86852014b..9628e16f2 100644 --- a/Library/Formula/minidlna.rb +++ b/Library/Formula/minidlna.rb @@ -2,10 +2,18 @@ require "formula" class Minidlna < Formula homepage "http://sourceforge.net/projects/minidlna/" - url "https://downloads.sourceforge.net/project/minidlna/minidlna/1.1.3/minidlna-1.1.3.tar.gz" - sha1 "3e5b907fd35b667eb50af98e1f986c7f461a6042" + url "https://downloads.sourceforge.net/project/minidlna/minidlna/1.1.4/minidlna-1.1.4.tar.gz" + sha1 "56f333f8af91105ce5f0861d1f1918ebf5b0a028" + + head do + url "git://git.code.sf.net/p/minidlna/git" + depends_on "autoconf" => :build + depends_on "automake" => :build + depends_on "libtool" => :build + depends_on "gettext" => :build + depends_on "xz" => :build + end - depends_on "libav" depends_on "libexif" depends_on "jpeg" depends_on "libid3tag" @@ -15,13 +23,9 @@ class Minidlna < Formula depends_on "sqlite" depends_on "ffmpeg" - patch do - url "http://sourceforge.net/p/minidlna/patches/104/attachment/0001-Remove-check-for-getifaddr-returning-IFF_SLAVE-if-IF.patch" - sha1 "768b119a59c803af4d074138b70b245aa72e426f" - end - def install ENV.append_to_cflags "-std=gnu89" + system "./autogen.sh" if build.head? system "./configure", "--exec-prefix=#{prefix}" system "make", "install" sample_config_path.write sample_config |
