summaryrefslogtreecommitdiff
path: root/homebrew/ortp
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/ortp
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/ortp')
-rw-r--r--homebrew/ortp/.beer40
-rw-r--r--homebrew/ortp/.make.sh-auto5
-rw-r--r--homebrew/ortp/_metadata/description1
-rw-r--r--homebrew/ortp/_metadata/homepage1
-rw-r--r--homebrew/ortp/_metadata/name1
-rw-r--r--homebrew/ortp/_metadata/version1
-rwxr-xr-xhomebrew/ortp/download.sh1
7 files changed, 50 insertions, 0 deletions
diff --git a/homebrew/ortp/.beer b/homebrew/ortp/.beer
new file mode 100644
index 000000000..362d45894
--- /dev/null
+++ b/homebrew/ortp/.beer
@@ -0,0 +1,40 @@
+{
+ "name": "Ortp",
+ "description": "Real-time transport protocol (RTP, RFC3550) library",
+ "url": "https://nongnu.askapache.com/linphone/ortp/sources/ortp-0.27.0.tar.gz",
+ "mirror": null,
+ "homepage": "https://www.linphone.org/technical-corner/ortp/overview",
+ "depends": [
+ {
+ "depend": "cmake",
+ "build-depend": true
+ },
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ },
+ {
+ "depend": "mbedtls",
+ "build-depend": false
+ }
+ ],
+ "resource": [
+ {
+ "name": "bctoolbox",
+ "url": "https://github.com/BelledonneCommunications/bctoolbox/archive/0.6.0.tar.gz"
+ }
+ ],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "resource(\"bctoolbox\").stage do",
+ "args = std_cmake_args + %W[",
+ "-DCMAKE_INSTALL_PREFIX=#{libexec}",
+ "-DENABLE_TESTS_COMPONENT=OFF",
+ "]",
+ "system \"cmake\", \".\", *args",
+ "system \"make\", \"install\""
+ ],
+ "version": "0.27.0",
+ "file": "ortp.rb"
+} \ No newline at end of file
diff --git a/homebrew/ortp/.make.sh-auto b/homebrew/ortp/.make.sh-auto
new file mode 100644
index 000000000..d7a01fdbe
--- /dev/null
+++ b/homebrew/ortp/.make.sh-auto
@@ -0,0 +1,5 @@
+pkg:setup
+resource("bctoolbox").stage do
+args = std_cmake_args + %W[-DCMAKE_INSTALL_PREFIX=#{libexec} -DENABLE_TESTS_COMPONENT=OFF ]
+cmake . *args
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/ortp/_metadata/description b/homebrew/ortp/_metadata/description
new file mode 100644
index 000000000..8d8499a59
--- /dev/null
+++ b/homebrew/ortp/_metadata/description
@@ -0,0 +1 @@
+Real-time transport protocol (RTP, RFC3550) library
diff --git a/homebrew/ortp/_metadata/homepage b/homebrew/ortp/_metadata/homepage
new file mode 100644
index 000000000..0b124f9b9
--- /dev/null
+++ b/homebrew/ortp/_metadata/homepage
@@ -0,0 +1 @@
+https://www.linphone.org/technical-corner/ortp/overview
diff --git a/homebrew/ortp/_metadata/name b/homebrew/ortp/_metadata/name
new file mode 100644
index 000000000..2c96ada76
--- /dev/null
+++ b/homebrew/ortp/_metadata/name
@@ -0,0 +1 @@
+Ortp
diff --git a/homebrew/ortp/_metadata/version b/homebrew/ortp/_metadata/version
new file mode 100644
index 000000000..1b58cc101
--- /dev/null
+++ b/homebrew/ortp/_metadata/version
@@ -0,0 +1 @@
+0.27.0
diff --git a/homebrew/ortp/download.sh b/homebrew/ortp/download.sh
new file mode 100755
index 000000000..fb8e8eabb
--- /dev/null
+++ b/homebrew/ortp/download.sh
@@ -0,0 +1 @@
+wget https://nongnu.askapache.com/linphone/ortp/sources/ortp-0.27.0.tar.gz \ No newline at end of file