From 12335518ab39608d58370c85ff9f5384ad2aa5f7 Mon Sep 17 00:00:00 2001 From: MCApollo <34170230+MCApollo@users.noreply.github.com> Date: Sat, 20 Apr 2019 20:49:46 -0500 Subject: Ported in the homebrew-marauder for a hacky update/import system. TODO: Maybe add a license & fix up messy code. --- homebrew/ncmpcpp/.beer | 74 ++++++++++++++++++++++++++++++++++ homebrew/ncmpcpp/.make.sh-auto | 9 +++++ homebrew/ncmpcpp/_metadata/description | 1 + homebrew/ncmpcpp/_metadata/homepage | 1 + homebrew/ncmpcpp/_metadata/name | 1 + homebrew/ncmpcpp/_metadata/version | 1 + homebrew/ncmpcpp/download.sh | 1 + 7 files changed, 88 insertions(+) create mode 100644 homebrew/ncmpcpp/.beer create mode 100644 homebrew/ncmpcpp/.make.sh-auto create mode 100644 homebrew/ncmpcpp/_metadata/description create mode 100644 homebrew/ncmpcpp/_metadata/homepage create mode 100644 homebrew/ncmpcpp/_metadata/name create mode 100644 homebrew/ncmpcpp/_metadata/version create mode 100755 homebrew/ncmpcpp/download.sh (limited to 'homebrew/ncmpcpp') 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 -- cgit v1.2.3