moc: remove devel spec

This commit is contained in:
commitay 2018-10-20 22:46:28 +10:00 committed by FX Coudert
parent 9312be128e
commit 04bdad9a0f

View file

@ -43,54 +43,13 @@ class Moc < Formula
sha256 "9e39666cb49b6fd60c16b1b4535d0b39363fcc655e6495cc17d74923df13ff27" => :el_capitan sha256 "9e39666cb49b6fd60c16b1b4535d0b39363fcc655e6495cc17d74923df13ff27" => :el_capitan
end end
devel do
url "http://ftp.daper.net/pub/soft/moc/unstable/moc-2.6-alpha3.tar.xz"
sha256 "a27b8888984cf8dbcd758584961529ddf48c237caa9b40b67423fbfbb88323b1"
# Patch for clock_gettime issue
# https://moc.daper.net/node/1576
patch do
url "https://raw.githubusercontent.com/Homebrew/patches/78d5908905c6848bb75ae41b70d6bbb46abaa69b/moc/r2936-clock_gettime.patch"
sha256 "601b5cdf59db67f180f1aaa6cc90804c1cb69c44cdecb2e8149338782e4f21a8"
end
depends_on "popt"
# Remove for > 2.6-alpha3; FFmpeg 4.0 compatibility
# 01 to 05 below provided 26 Apr 2018 by upstream's John Fitzgerald
patch do
url "https://raw.githubusercontent.com/Homebrew/formula-patches/514941c/moc/01-codec.patch"
sha256 "c424fcfff8f318896c868ae2e019120b78857f6ef1ccf1000df92fbe571d1f69"
end
patch do
url "https://raw.githubusercontent.com/Homebrew/formula-patches/514941c/moc/02-codecpar.patch"
sha256 "4bcc745a484c3ffd4c5cf169fd299b6ab18d387740f77d9cc9eec3f57f5fcf7c"
end
patch do
url "https://raw.githubusercontent.com/Homebrew/formula-patches/514941c/moc/03-defines.patch"
sha256 "088596c51f47d5b4a47fb00def2a832536cba2cdb6bb4dc767af5f2edb33164e"
end
patch do
url "https://raw.githubusercontent.com/Homebrew/formula-patches/514941c/moc/04-lockmgr.patch"
sha256 "a83d86ac4f0d88afddd0d76516b95071e4b876d51f85ee2c876be9c6f7ce6cc9"
end
patch do
url "https://raw.githubusercontent.com/Homebrew/formula-patches/514941c/moc/05-audio4.patch"
sha256 "05d467cc7b1f9529187d0fcf5375ccb2088a606fd5ecd75a8330b8f68676eefc"
end
end
head do head do
url "svn://daper.net/moc/trunk" url "svn://daper.net/moc/trunk"
depends_on "popt" depends_on "popt"
end end
# Remove autoconf, automake and gettext when > 2.5.2 and > 2.6-alpha3 come out # Remove autoconf, automake and gettext for > 2.5.2
depends_on "autoconf" => :build depends_on "autoconf" => :build
depends_on "automake" => :build depends_on "automake" => :build
depends_on "gettext" => :build depends_on "gettext" => :build
@ -102,7 +61,7 @@ class Moc < Formula
depends_on "ncurses" depends_on "ncurses"
def install def install
# Not needed for stable or devel when > 2.5.2 and > 2.6-alpha3 come out # Not needed for > 2.5.2
system "autoreconf", "-fvi" system "autoreconf", "-fvi"
system "./configure", "--disable-debug", "--prefix=#{prefix}" system "./configure", "--disable-debug", "--prefix=#{prefix}"
system "make", "install" system "make", "install"