summaryrefslogtreecommitdiff
path: root/homebrew/ortp
diff options
context:
space:
mode:
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