diff options
Diffstat (limited to 'homebrew/qmmp')
-rw-r--r-- | homebrew/qmmp/.beer | 96 | ||||
-rw-r--r-- | homebrew/qmmp/.make.sh-auto | 9 | ||||
-rw-r--r-- | homebrew/qmmp/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/qmmp/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/qmmp/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/qmmp/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/qmmp/download.sh | 1 |
7 files changed, 110 insertions, 0 deletions
diff --git a/homebrew/qmmp/.beer b/homebrew/qmmp/.beer new file mode 100644 index 000000000..42e375769 --- /dev/null +++ b/homebrew/qmmp/.beer @@ -0,0 +1,96 @@ +{ + "name": "Qmmp", + "description": "Qt-based Multimedia Player", + "url": "http://qmmp.ylsoftware.com/files/qmmp-1.2.4.tar.bz2", + "mirror": null, + "homepage": "http://qmmp.ylsoftware.com/", + "depends": [ + { + "depend": "cmake", + "build-depend": true + }, + { + "depend": "faad2", + "build-depend": false + }, + { + "depend": "ffmpeg", + "build-depend": false + }, + { + "depend": "flac", + "build-depend": false + }, + { + "depend": "libbs2b", + "build-depend": false + }, + { + "depend": "libmms", + "build-depend": false + }, + { + "depend": "libogg", + "build-depend": false + }, + { + "depend": "libsamplerate", + "build-depend": false + }, + { + "depend": "libsndfile", + "build-depend": false + }, + { + "depend": "libsoxr", + "build-depend": false + }, + { + "depend": "libvorbis", + "build-depend": false + }, + { + "depend": "mad", + "build-depend": false + }, + { + "depend": "mplayer", + "build-depend": false + }, + { + "depend": "musepack", + "build-depend": false + }, + { + "depend": "opus", + "build-depend": false + }, + { + "depend": "opusfile", + "build-depend": false + }, + { + "depend": "qt", + "build-depend": false + }, + { + "depend": "taglib", + "build-depend": false + } + ], + "resource": [], + "conflicts": [], + "patches": [], + "install": [ + "system \"cmake\", \"./\", \"-USE_SKINNED\", \"-USE_ENCA\", \"-USE_QMMP_DIALOG\", *std_cmake_args", + "system \"make\", \"install\"", + "cd (lib.to_s) do", + "Dir[\"*.dylib\", \"qmmp/*/*.so\"].select { |f| File.ftype(f) == \"file\" }.each do |f|", + "MachO::Tools.dylibs(f).select { |d| d.start_with?(\"/tmp\") }.each do |d|", + "bname = File.dirname(d)", + "d_new = d.sub(bname, opt_lib.to_s)", + "MachO::Tools.change_install_name(f, d, d_new)" + ], + "version": "1.2.4", + "file": "qmmp.rb" +}
\ No newline at end of file diff --git a/homebrew/qmmp/.make.sh-auto b/homebrew/qmmp/.make.sh-auto new file mode 100644 index 000000000..9d0f4d3a1 --- /dev/null +++ b/homebrew/qmmp/.make.sh-auto @@ -0,0 +1,9 @@ +pkg:setup +cmake ./ -USE_SKINNED -USE_ENCA -USE_QMMP_DIALOG -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE} +make DESTDIR=${PKG_DEST} install +cd (lib.to_s) +Dir["*.dylib", "qmmp/*/*.so"].select { |f| File.ftype(f) == "file" }.each do |f| +MachO::Tools.dylibs(f).select { |d| d.start_with?("/tmp") }.each do |d| +bname = File.dirname(d) +d_new = d.sub(bname, opt_lib.to_s) +MachO::Tools.change_install_name(f, d, d_new) diff --git a/homebrew/qmmp/_metadata/description b/homebrew/qmmp/_metadata/description new file mode 100644 index 000000000..42bfccbb5 --- /dev/null +++ b/homebrew/qmmp/_metadata/description @@ -0,0 +1 @@ +Qt-based Multimedia Player diff --git a/homebrew/qmmp/_metadata/homepage b/homebrew/qmmp/_metadata/homepage new file mode 100644 index 000000000..3e04ab883 --- /dev/null +++ b/homebrew/qmmp/_metadata/homepage @@ -0,0 +1 @@ +http://qmmp.ylsoftware.com/ diff --git a/homebrew/qmmp/_metadata/name b/homebrew/qmmp/_metadata/name new file mode 100644 index 000000000..ec8c0048d --- /dev/null +++ b/homebrew/qmmp/_metadata/name @@ -0,0 +1 @@ +Qmmp diff --git a/homebrew/qmmp/_metadata/version b/homebrew/qmmp/_metadata/version new file mode 100644 index 000000000..e8ea05db8 --- /dev/null +++ b/homebrew/qmmp/_metadata/version @@ -0,0 +1 @@ +1.2.4 diff --git a/homebrew/qmmp/download.sh b/homebrew/qmmp/download.sh new file mode 100755 index 000000000..fbd7cbafd --- /dev/null +++ b/homebrew/qmmp/download.sh @@ -0,0 +1 @@ +wget http://qmmp.ylsoftware.com/files/qmmp-1.2.4.tar.bz2
\ No newline at end of file |