Fixup previous ncmpcpp changes
Somehow pushed an older commit.
This commit is contained in:
parent
fa3d10ed91
commit
8a6219a3a3
2 changed files with 11 additions and 2 deletions
|
@ -21,11 +21,17 @@ class Ncmpcpp < Formula
|
|||
end
|
||||
|
||||
depends_on 'pkg-config' => :build
|
||||
depends_on 'taglib'
|
||||
depends_on 'libmpdclient'
|
||||
depends_on 'boost'
|
||||
depends_on 'readline'
|
||||
|
||||
if MacOS.version < :mavericks
|
||||
depends_on "boost" => "c++11"
|
||||
depends_on "taglib" => "c++11"
|
||||
else
|
||||
depends_on "boost"
|
||||
depends_on "taglib"
|
||||
end
|
||||
|
||||
depends_on 'fftw' if build.include? "visualizer"
|
||||
|
||||
option 'outputs', 'Compile with mpd outputs control'
|
||||
|
|
|
@ -15,7 +15,10 @@ class Taglib < Formula
|
|||
|
||||
depends_on 'cmake' => :build
|
||||
|
||||
option :cxx11
|
||||
|
||||
def install
|
||||
ENV.cxx11 if build.cxx11?
|
||||
ENV.append 'CXXFLAGS', "-DNDEBUG=1"
|
||||
system "cmake", "-DWITH_MP4=ON", "-DWITH_ASF=ON", *std_cmake_args
|
||||
system "make"
|
||||
|
|
Loading…
Reference in a new issue