summaryrefslogtreecommitdiff
path: root/homebrew/mpc
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/mpc')
-rw-r--r--homebrew/mpc/.beer37
-rw-r--r--homebrew/mpc/.make.sh-auto6
-rw-r--r--homebrew/mpc/_metadata/description1
-rw-r--r--homebrew/mpc/_metadata/homepage1
-rw-r--r--homebrew/mpc/_metadata/name1
-rw-r--r--homebrew/mpc/_metadata/version1
-rwxr-xr-xhomebrew/mpc/download.sh1
7 files changed, 48 insertions, 0 deletions
diff --git a/homebrew/mpc/.beer b/homebrew/mpc/.beer
new file mode 100644
index 000000000..0f085d861
--- /dev/null
+++ b/homebrew/mpc/.beer
@@ -0,0 +1,37 @@
+{
+ "name": "Mpc",
+ "description": "Command-line music player client for mpd",
+ "url": "https://www.musicpd.org/download/mpc/0/mpc-0.31.tar.xz",
+ "mirror": null,
+ "homepage": "https://www.musicpd.org/clients/mpc/",
+ "depends": [
+ {
+ "depend": "meson",
+ "build-depend": true
+ },
+ {
+ "depend": "ninja",
+ "build-depend": true
+ },
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ },
+ {
+ "depend": "libmpdclient",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"meson\", \"--prefix=#{prefix}\", \".\", \"output\"",
+ "system \"ninja\", \"-C\", \"output\"",
+ "system \"ninja\", \"-C\", \"output\", \"install\"",
+ "bash_completion.install \"contrib/mpc-completion.bash\" => \"mpc\"",
+ "rm share/\"doc/mpc/contrib/mpc-completion.bash\""
+ ],
+ "version": "0.31",
+ "file": "mpc.rb"
+} \ No newline at end of file
diff --git a/homebrew/mpc/.make.sh-auto b/homebrew/mpc/.make.sh-auto
new file mode 100644
index 000000000..f3e3e697a
--- /dev/null
+++ b/homebrew/mpc/.make.sh-auto
@@ -0,0 +1,6 @@
+pkg:setup
+meson --prefix=${PKG_TAPF} . output
+ninja -C output
+ninja -C output install
+bash_completion.install "contrib/mpc-completion.bash" => "mpc"
+rm share/"doc/mpc/contrib/mpc-completion.bash"
diff --git a/homebrew/mpc/_metadata/description b/homebrew/mpc/_metadata/description
new file mode 100644
index 000000000..306946884
--- /dev/null
+++ b/homebrew/mpc/_metadata/description
@@ -0,0 +1 @@
+Command-line music player client for mpd
diff --git a/homebrew/mpc/_metadata/homepage b/homebrew/mpc/_metadata/homepage
new file mode 100644
index 000000000..9b1f2e72d
--- /dev/null
+++ b/homebrew/mpc/_metadata/homepage
@@ -0,0 +1 @@
+https://www.musicpd.org/clients/mpc/
diff --git a/homebrew/mpc/_metadata/name b/homebrew/mpc/_metadata/name
new file mode 100644
index 000000000..60d5e6968
--- /dev/null
+++ b/homebrew/mpc/_metadata/name
@@ -0,0 +1 @@
+Mpc
diff --git a/homebrew/mpc/_metadata/version b/homebrew/mpc/_metadata/version
new file mode 100644
index 000000000..48b9990e0
--- /dev/null
+++ b/homebrew/mpc/_metadata/version
@@ -0,0 +1 @@
+0.31
diff --git a/homebrew/mpc/download.sh b/homebrew/mpc/download.sh
new file mode 100755
index 000000000..0618be986
--- /dev/null
+++ b/homebrew/mpc/download.sh
@@ -0,0 +1 @@
+wget https://www.musicpd.org/download/mpc/0/mpc-0.31.tar.xz \ No newline at end of file