summaryrefslogtreecommitdiff
path: root/homebrew/ncmpcpp
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/ncmpcpp')
-rw-r--r--homebrew/ncmpcpp/.beer74
-rw-r--r--homebrew/ncmpcpp/.make.sh-auto9
-rw-r--r--homebrew/ncmpcpp/_metadata/description1
-rw-r--r--homebrew/ncmpcpp/_metadata/homepage1
-rw-r--r--homebrew/ncmpcpp/_metadata/name1
-rw-r--r--homebrew/ncmpcpp/_metadata/version1
-rwxr-xr-xhomebrew/ncmpcpp/download.sh1
7 files changed, 88 insertions, 0 deletions
diff --git a/homebrew/ncmpcpp/.beer b/homebrew/ncmpcpp/.beer
new file mode 100644
index 000000000..b35cb1242
--- /dev/null
+++ b/homebrew/ncmpcpp/.beer
@@ -0,0 +1,74 @@
+{
+ "name": "Ncmpcpp",
+ "description": "Ncurses-based client for the Music Player Daemon",
+ "url": "https://rybczak.net/ncmpcpp/stable/ncmpcpp-0.8.2.tar.bz2",
+ "mirror": null,
+ "homepage": "https://rybczak.net/ncmpcpp/",
+ "depends": [
+ {
+ "depend": "autoconf",
+ "build-depend": true
+ },
+ {
+ "depend": "automake",
+ "build-depend": true
+ },
+ {
+ "depend": "libtool",
+ "build-depend": true
+ },
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ },
+ {
+ "depend": "boost",
+ "build-depend": false
+ },
+ {
+ "depend": "fftw",
+ "build-depend": false
+ },
+ {
+ "depend": "libmpdclient",
+ "build-depend": false
+ },
+ {
+ "depend": "ncurses",
+ "build-depend": false
+ },
+ {
+ "depend": "readline",
+ "build-depend": false
+ },
+ {
+ "depend": "taglib",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "ENV.cxx11",
+ "ENV.append \"LDFLAGS\", \"-liconv\"",
+ "ENV.append \"BOOST_LIB_SUFFIX\", \"-mt\"",
+ "ENV.append \"CXXFLAGS\", \"-D_XOPEN_SOURCE_EXTENDED\"",
+ "args = %W[",
+ "--disable-dependency-tracking",
+ "--prefix=#{prefix}",
+ "--enable-clock",
+ "--enable-outputs",
+ "--enable-unicode",
+ "--enable-visualizer",
+ "--with-curl",
+ "--with-taglib",
+ "]",
+ "system \"./autogen.sh\" if build.head?",
+ "system \"./configure\", *args",
+ "system \"make\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "0.8.2",
+ "file": "ncmpcpp.rb"
+} \ No newline at end of file
diff --git a/homebrew/ncmpcpp/.make.sh-auto b/homebrew/ncmpcpp/.make.sh-auto
new file mode 100644
index 000000000..22c628b6a
--- /dev/null
+++ b/homebrew/ncmpcpp/.make.sh-auto
@@ -0,0 +1,9 @@
+pkg:setup
+ENV.cxx11
+ENV.append "LDFLAGS", "-liconv"
+ENV.append "BOOST_LIB_SUFFIX", "-mt"
+ENV.append "CXXFLAGS", "-D_XOPEN_SOURCE_EXTENDED"
+args = %W[--disable-dependency-tracking --prefix=#{prefix} --enable-clock --enable-outputs --enable-unicode --enable-visualizer --with-curl --with-taglib ]
+pkg:configure *args
+make
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/ncmpcpp/_metadata/description b/homebrew/ncmpcpp/_metadata/description
new file mode 100644
index 000000000..4132ba585
--- /dev/null
+++ b/homebrew/ncmpcpp/_metadata/description
@@ -0,0 +1 @@
+Ncurses-based client for the Music Player Daemon
diff --git a/homebrew/ncmpcpp/_metadata/homepage b/homebrew/ncmpcpp/_metadata/homepage
new file mode 100644
index 000000000..80e0023bc
--- /dev/null
+++ b/homebrew/ncmpcpp/_metadata/homepage
@@ -0,0 +1 @@
+https://rybczak.net/ncmpcpp/
diff --git a/homebrew/ncmpcpp/_metadata/name b/homebrew/ncmpcpp/_metadata/name
new file mode 100644
index 000000000..be52763d3
--- /dev/null
+++ b/homebrew/ncmpcpp/_metadata/name
@@ -0,0 +1 @@
+Ncmpcpp
diff --git a/homebrew/ncmpcpp/_metadata/version b/homebrew/ncmpcpp/_metadata/version
new file mode 100644
index 000000000..100435be1
--- /dev/null
+++ b/homebrew/ncmpcpp/_metadata/version
@@ -0,0 +1 @@
+0.8.2
diff --git a/homebrew/ncmpcpp/download.sh b/homebrew/ncmpcpp/download.sh
new file mode 100755
index 000000000..08a62daf6
--- /dev/null
+++ b/homebrew/ncmpcpp/download.sh
@@ -0,0 +1 @@
+wget https://rybczak.net/ncmpcpp/stable/ncmpcpp-0.8.2.tar.bz2 \ No newline at end of file