diff options
Diffstat (limited to 'homebrew/mpd')
-rw-r--r-- | homebrew/mpd/.beer | 126 | ||||
-rw-r--r-- | homebrew/mpd/.make.sh-auto | 8 | ||||
-rw-r--r-- | homebrew/mpd/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/mpd/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/mpd/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/mpd/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/mpd/download.sh | 1 |
7 files changed, 139 insertions, 0 deletions
diff --git a/homebrew/mpd/.beer b/homebrew/mpd/.beer new file mode 100644 index 000000000..8a97de455 --- /dev/null +++ b/homebrew/mpd/.beer @@ -0,0 +1,126 @@ +{ + "name": "Mpd", + "description": "Music Player Daemon", + "url": "https://www.musicpd.org/download/mpd/0.21/mpd-0.21.7.tar.xz", + "mirror": null, + "homepage": "https://www.musicpd.org/", + "depends": [ + { + "depend": "boost", + "build-depend": true + }, + { + "depend": "meson", + "build-depend": true + }, + { + "depend": "ninja", + "build-depend": true + }, + { + "depend": "pkg-config", + "build-depend": true + }, + { + "depend": "expat", + "build-depend": false + }, + { + "depend": "faad2", + "build-depend": false + }, + { + "depend": "ffmpeg", + "build-depend": false + }, + { + "depend": "flac", + "build-depend": false + }, + { + "depend": "fluid-synth", + "build-depend": false + }, + { + "depend": "glib", + "build-depend": false + }, + { + "depend": "icu4c", + "build-depend": false + }, + { + "depend": "lame", + "build-depend": false + }, + { + "depend": "libao", + "build-depend": false + }, + { + "depend": "libgcrypt", + "build-depend": false + }, + { + "depend": "libid3tag", + "build-depend": false + }, + { + "depend": "libmpdclient", + "build-depend": false + }, + { + "depend": "libnfs", + "build-depend": false + }, + { + "depend": "libsamplerate", + "build-depend": false + }, + { + "depend": "libupnp", + "build-depend": false + }, + { + "depend": "libvorbis", + "build-depend": false + }, + { + "depend": "opus", + "build-depend": false + }, + { + "depend": "sqlite", + "build-depend": false + } + ], + "resource": [], + "conflicts": [], + "patches": [], + "install": [ + "ENV.libcxx", + "args = %W[", + "--prefix=#{prefix}", + "--sysconfdir=#{etc}", + "-Dlibwrap=disabled", + "-Dmad=disabled", + "-Dmpcdec=disabled", + "-Dsoundcloud=disabled", + "-Dao=enabled", + "-Dbzip2=enabled", + "-Dexpat=enabled", + "-Dffmpeg=enabled", + "-Dfluidsynth=enabled", + "-Dnfs=enabled", + "-Dupnp=enabled", + "-Dvorbisenc=enabled", + "]", + "system \"meson\", *args, \"output/release\", \".\"", + "system \"ninja\", \"-C\", \"output/release\"", + "ENV.deparallelize ", + "system \"ninja\", \"-C\", \"output/release\", \"install\"", + "(etc/\"mpd\").install \"doc/mpdconf.example\" => \"mpd.conf\"" + ], + "version": "0.21.7", + "file": "mpd.rb" +}
\ No newline at end of file diff --git a/homebrew/mpd/.make.sh-auto b/homebrew/mpd/.make.sh-auto new file mode 100644 index 000000000..c5ab1c1de --- /dev/null +++ b/homebrew/mpd/.make.sh-auto @@ -0,0 +1,8 @@ +pkg:setup +ENV.libcxx +args = %W[--prefix=#{prefix} --sysconfdir=#{etc} -Dlibwrap=disabled -Dmad=disabled -Dmpcdec=disabled -Dsoundcloud=disabled -Dao=enabled -Dbzip2=enabled -Dexpat=enabled -Dffmpeg=enabled -Dfluidsynth=enabled -Dnfs=enabled -Dupnp=enabled -Dvorbisenc=enabled ] +meson *args output/release . +ninja -C output/release +ENV.deparallelize +ninja -C output/release install +(etc/"mpd").install "doc/mpdconf.example" => "mpd.conf" diff --git a/homebrew/mpd/_metadata/description b/homebrew/mpd/_metadata/description new file mode 100644 index 000000000..d28cf6e8c --- /dev/null +++ b/homebrew/mpd/_metadata/description @@ -0,0 +1 @@ +Music Player Daemon diff --git a/homebrew/mpd/_metadata/homepage b/homebrew/mpd/_metadata/homepage new file mode 100644 index 000000000..f43e89a65 --- /dev/null +++ b/homebrew/mpd/_metadata/homepage @@ -0,0 +1 @@ +https://www.musicpd.org/ diff --git a/homebrew/mpd/_metadata/name b/homebrew/mpd/_metadata/name new file mode 100644 index 000000000..b4fff470c --- /dev/null +++ b/homebrew/mpd/_metadata/name @@ -0,0 +1 @@ +Mpd diff --git a/homebrew/mpd/_metadata/version b/homebrew/mpd/_metadata/version new file mode 100644 index 000000000..aa53fc84d --- /dev/null +++ b/homebrew/mpd/_metadata/version @@ -0,0 +1 @@ +0.21.7 diff --git a/homebrew/mpd/download.sh b/homebrew/mpd/download.sh new file mode 100755 index 000000000..b75f0415a --- /dev/null +++ b/homebrew/mpd/download.sh @@ -0,0 +1 @@ +wget https://www.musicpd.org/download/mpd/0.21/mpd-0.21.7.tar.xz
\ No newline at end of file |