summaryrefslogtreecommitdiff
path: root/homebrew/minidlna
diff options
context:
space:
mode:
authorMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-20 20:49:46 -0500
committerMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-23 20:18:47 -0500
commit12335518ab39608d58370c85ff9f5384ad2aa5f7 (patch)
tree352d81f2a2de3f1252af732080ec0fde38c13b4d /homebrew/minidlna
parenta2b26ad12d4fa12f0273645caf4be6d0b8b71e7c (diff)
Ported in the homebrew-marauder for a hacky update/import system.
TODO: Maybe add a license & fix up messy code.
Diffstat (limited to 'homebrew/minidlna')
-rw-r--r--homebrew/minidlna/.beer70
-rw-r--r--homebrew/minidlna/.make.sh-auto7
-rw-r--r--homebrew/minidlna/_metadata/description1
-rw-r--r--homebrew/minidlna/_metadata/homepage1
-rw-r--r--homebrew/minidlna/_metadata/name1
-rw-r--r--homebrew/minidlna/_metadata/version1
-rwxr-xr-xhomebrew/minidlna/download.sh1
7 files changed, 82 insertions, 0 deletions
diff --git a/homebrew/minidlna/.beer b/homebrew/minidlna/.beer
new file mode 100644
index 000000000..c743decf6
--- /dev/null
+++ b/homebrew/minidlna/.beer
@@ -0,0 +1,70 @@
+{
+ "name": "Minidlna",
+ "description": "Media server software, compliant with DLNA/UPnP-AV clients",
+ "url": "https://downloads.sourceforge.net/project/minidlna/minidlna/1.2.1/minidlna-1.2.1.tar.gz",
+ "mirror": null,
+ "homepage": "https://sourceforge.net/projects/minidlna/",
+ "depends": [
+ {
+ "depend": "autoconf",
+ "build-depend": true
+ },
+ {
+ "depend": "automake",
+ "build-depend": true
+ },
+ {
+ "depend": "gettext",
+ "build-depend": true
+ },
+ {
+ "depend": "libtool",
+ "build-depend": true
+ },
+ {
+ "depend": "ffmpeg",
+ "build-depend": false
+ },
+ {
+ "depend": "flac",
+ "build-depend": false
+ },
+ {
+ "depend": "jpeg",
+ "build-depend": false
+ },
+ {
+ "depend": "libexif",
+ "build-depend": false
+ },
+ {
+ "depend": "libid3tag",
+ "build-depend": false
+ },
+ {
+ "depend": "libogg",
+ "build-depend": false
+ },
+ {
+ "depend": "libvorbis",
+ "build-depend": false
+ },
+ {
+ "depend": "sqlite",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "(pkgshare/\"minidlna.conf\").write <<~EOS",
+ "friendly_name=Mac DLNA Server",
+ "media_dir=#{ENV[\"HOME\"]}/.config/minidlna/media",
+ "db_dir=#{ENV[\"HOME\"]}/.config/minidlna/cache",
+ "log_dir=#{ENV[\"HOME\"]}/.config/minidlna",
+ "EOS"
+ ],
+ "version": "1.2.1",
+ "file": "minidlna.rb"
+} \ No newline at end of file
diff --git a/homebrew/minidlna/.make.sh-auto b/homebrew/minidlna/.make.sh-auto
new file mode 100644
index 000000000..b61e44711
--- /dev/null
+++ b/homebrew/minidlna/.make.sh-auto
@@ -0,0 +1,7 @@
+pkg:setup
+(pkgshare/"minidlna.conf").write <<~EOS
+friendly_name=Mac DLNA Server
+media_dir=#{ENV["HOME"]}/.config/minidlna/media
+db_dir=#{ENV["HOME"]}/.config/minidlna/cache
+log_dir=#{ENV["HOME"]}/.config/minidlna
+EOS
diff --git a/homebrew/minidlna/_metadata/description b/homebrew/minidlna/_metadata/description
new file mode 100644
index 000000000..eff1cd743
--- /dev/null
+++ b/homebrew/minidlna/_metadata/description
@@ -0,0 +1 @@
+Media server software, compliant with DLNA/UPnP-AV clients
diff --git a/homebrew/minidlna/_metadata/homepage b/homebrew/minidlna/_metadata/homepage
new file mode 100644
index 000000000..dcbe30be4
--- /dev/null
+++ b/homebrew/minidlna/_metadata/homepage
@@ -0,0 +1 @@
+https://sourceforge.net/projects/minidlna/
diff --git a/homebrew/minidlna/_metadata/name b/homebrew/minidlna/_metadata/name
new file mode 100644
index 000000000..401813efe
--- /dev/null
+++ b/homebrew/minidlna/_metadata/name
@@ -0,0 +1 @@
+Minidlna
diff --git a/homebrew/minidlna/_metadata/version b/homebrew/minidlna/_metadata/version
new file mode 100644
index 000000000..6085e9465
--- /dev/null
+++ b/homebrew/minidlna/_metadata/version
@@ -0,0 +1 @@
+1.2.1
diff --git a/homebrew/minidlna/download.sh b/homebrew/minidlna/download.sh
new file mode 100755
index 000000000..d468cab00
--- /dev/null
+++ b/homebrew/minidlna/download.sh
@@ -0,0 +1 @@
+wget https://downloads.sourceforge.net/project/minidlna/minidlna/1.2.1/minidlna-1.2.1.tar.gz \ No newline at end of file