From 5f7c78e540c77475615913e193351e78227c49d2 Mon Sep 17 00:00:00 2001 From: ibrokemypie Date: Tue, 25 Apr 2017 00:38:48 +1000 Subject: [PATCH] qmmp 1.1.8 (new formula) Closes #12830. Signed-off-by: Alex Dunn --- Formula/qmmp.rb | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 Formula/qmmp.rb diff --git a/Formula/qmmp.rb b/Formula/qmmp.rb new file mode 100644 index 0000000000..29e33ed241 --- /dev/null +++ b/Formula/qmmp.rb @@ -0,0 +1,35 @@ +class Qmmp < Formula + desc "Qt-based Multimedia Player" + homepage "http://qmmp.ylsoftware.com" + url "http://qmmp.ylsoftware.com/files/qmmp-1.1.8.tar.bz2" + sha256 "17bc88d00ea0753e6fc7273592e894320f05cae807f7cc2c6a5351c73217f010" + head "http://svn.code.sf.net/p/qmmp-dev/code/branches/qmmp-1.2/" + + depends_on "cmake" => :build + depends_on "qt" + depends_on "ffmpeg" + depends_on "flac" + depends_on "libvorbis" + depends_on "mad" + depends_on "libogg" + depends_on "libsoxr" + depends_on "faad2" + depends_on "opus" + depends_on "opusfile" + depends_on "mplayer" + depends_on "libbs2b" + depends_on "libsndfile" + depends_on "musepack" + depends_on "taglib" + depends_on "libmms" + depends_on "libsamplerate" + + def install + system "cmake", "./", "-USE_SKINNED", "-USE_ENCA", "-USE_QMMP_DIALOG", *std_cmake_args + system "make", "install" + end + + test do + system bin/"qmmp", "--version" + end +end