summaryrefslogtreecommitdiff
path: root/homebrew/libcec
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/libcec')
-rw-r--r--homebrew/libcec/.beer31
-rw-r--r--homebrew/libcec/.make.sh-auto7
-rw-r--r--homebrew/libcec/_metadata/description1
-rw-r--r--homebrew/libcec/_metadata/homepage1
-rw-r--r--homebrew/libcec/_metadata/name1
-rw-r--r--homebrew/libcec/_metadata/version1
-rwxr-xr-xhomebrew/libcec/download.sh1
7 files changed, 43 insertions, 0 deletions
diff --git a/homebrew/libcec/.beer b/homebrew/libcec/.beer
new file mode 100644
index 000000000..f9bb4a73c
--- /dev/null
+++ b/homebrew/libcec/.beer
@@ -0,0 +1,31 @@
+{
+ "name": "Libcec",
+ "description": "Control devices with TV remote control and HDMI cabling",
+ "url": "https://github.com/Pulse-Eight/libcec/archive/libcec-4.0.4.tar.gz",
+ "mirror": null,
+ "homepage": "http://libcec.pulse-eight.com/",
+ "depends": [
+ {
+ "depend": "cmake",
+ "build-depend": true
+ }
+ ],
+ "resource": [
+ {
+ "name": "p8-platform",
+ "url": "https://github.com/Pulse-Eight/platform/archive/p8-platform-2.1.0.1.tar.gz"
+ }
+ ],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "ENV.cxx11",
+ "resource(\"p8-platform\").stage do",
+ "mkdir \"build\" do",
+ "system \"cmake\", \"..\", *std_cmake_args",
+ "system \"make\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "4.0.4",
+ "file": "libcec.rb"
+} \ No newline at end of file
diff --git a/homebrew/libcec/.make.sh-auto b/homebrew/libcec/.make.sh-auto
new file mode 100644
index 000000000..946861aca
--- /dev/null
+++ b/homebrew/libcec/.make.sh-auto
@@ -0,0 +1,7 @@
+pkg:setup
+ENV.cxx11
+resource("p8-platform").stage do
+mkdir "build" && cd build
+cmake .. -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE}
+make
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/libcec/_metadata/description b/homebrew/libcec/_metadata/description
new file mode 100644
index 000000000..2bafd87cb
--- /dev/null
+++ b/homebrew/libcec/_metadata/description
@@ -0,0 +1 @@
+Control devices with TV remote control and HDMI cabling
diff --git a/homebrew/libcec/_metadata/homepage b/homebrew/libcec/_metadata/homepage
new file mode 100644
index 000000000..8b1a2ff0b
--- /dev/null
+++ b/homebrew/libcec/_metadata/homepage
@@ -0,0 +1 @@
+http://libcec.pulse-eight.com/
diff --git a/homebrew/libcec/_metadata/name b/homebrew/libcec/_metadata/name
new file mode 100644
index 000000000..df2a3b63a
--- /dev/null
+++ b/homebrew/libcec/_metadata/name
@@ -0,0 +1 @@
+Libcec
diff --git a/homebrew/libcec/_metadata/version b/homebrew/libcec/_metadata/version
new file mode 100644
index 000000000..c5106e6d1
--- /dev/null
+++ b/homebrew/libcec/_metadata/version
@@ -0,0 +1 @@
+4.0.4
diff --git a/homebrew/libcec/download.sh b/homebrew/libcec/download.sh
new file mode 100755
index 000000000..416a1c1c6
--- /dev/null
+++ b/homebrew/libcec/download.sh
@@ -0,0 +1 @@
+wget https://github.com/Pulse-Eight/libcec/archive/libcec-4.0.4.tar.gz \ No newline at end of file