summaryrefslogtreecommitdiff
path: root/homebrew/sdl2
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/sdl2
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/sdl2')
-rw-r--r--homebrew/sdl2/.beer42
-rw-r--r--homebrew/sdl2/_metadata/description1
-rw-r--r--homebrew/sdl2/_metadata/homepage1
-rw-r--r--homebrew/sdl2/_metadata/name1
-rw-r--r--homebrew/sdl2/_metadata/version1
-rwxr-xr-xhomebrew/sdl2/download.sh1
-rwxr-xr-xhomebrew/sdl2/patches.sh2
7 files changed, 49 insertions, 0 deletions
diff --git a/homebrew/sdl2/.beer b/homebrew/sdl2/.beer
new file mode 100644
index 000000000..0a574c427
--- /dev/null
+++ b/homebrew/sdl2/.beer
@@ -0,0 +1,42 @@
+{
+ "name": "Sdl2",
+ "description": "Low-level access to audio, keyboard, mouse, joystick, and graphics",
+ "url": "https://libsdl.org/release/SDL2-2.0.9.tar.gz",
+ "mirror": null,
+ "homepage": "https://www.libsdl.org/",
+ "depends": [
+ {
+ "depend": "autoconf",
+ "build-depend": true
+ },
+ {
+ "depend": "automake",
+ "build-depend": true
+ },
+ {
+ "depend": "libtool",
+ "build-depend": true
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [
+ {
+ "url": "https://hg.libsdl.org/SDL/raw-rev/dcb6c57df2fc",
+ "strip": "1"
+ },
+ {
+ "url": "https://hg.libsdl.org/SDL/raw-diff/d274fa9731b1/build-scripts/ltmain.sh",
+ "strip": "1"
+ }
+ ],
+ "install": [
+ "inreplace %w[sdl2.pc.in sdl2-config.in], \"@prefix@\", HOMEBREW_PREFIX",
+ "system \"./autogen.sh\" if build.head? || build.devel?",
+ "args = %W[--prefix=#{prefix} --without-x]",
+ "system \"./configure\", *args",
+ "system \"make\", \"install\""
+ ],
+ "version": "2.0.9",
+ "file": "sdl2.rb"
+} \ No newline at end of file
diff --git a/homebrew/sdl2/_metadata/description b/homebrew/sdl2/_metadata/description
new file mode 100644
index 000000000..3c1cea52b
--- /dev/null
+++ b/homebrew/sdl2/_metadata/description
@@ -0,0 +1 @@
+Low-level access to audio, keyboard, mouse, joystick, and graphics
diff --git a/homebrew/sdl2/_metadata/homepage b/homebrew/sdl2/_metadata/homepage
new file mode 100644
index 000000000..5a96ddfa9
--- /dev/null
+++ b/homebrew/sdl2/_metadata/homepage
@@ -0,0 +1 @@
+https://www.libsdl.org/
diff --git a/homebrew/sdl2/_metadata/name b/homebrew/sdl2/_metadata/name
new file mode 100644
index 000000000..3b48c7edc
--- /dev/null
+++ b/homebrew/sdl2/_metadata/name
@@ -0,0 +1 @@
+Sdl2
diff --git a/homebrew/sdl2/_metadata/version b/homebrew/sdl2/_metadata/version
new file mode 100644
index 000000000..09843e3be
--- /dev/null
+++ b/homebrew/sdl2/_metadata/version
@@ -0,0 +1 @@
+2.0.9
diff --git a/homebrew/sdl2/download.sh b/homebrew/sdl2/download.sh
new file mode 100755
index 000000000..8c5f8732a
--- /dev/null
+++ b/homebrew/sdl2/download.sh
@@ -0,0 +1 @@
+wget https://libsdl.org/release/SDL2-2.0.9.tar.gz \ No newline at end of file
diff --git a/homebrew/sdl2/patches.sh b/homebrew/sdl2/patches.sh
new file mode 100755
index 000000000..27633b9fd
--- /dev/null
+++ b/homebrew/sdl2/patches.sh
@@ -0,0 +1,2 @@
+wget https://hg.libsdl.org/SDL/raw-rev/dcb6c57df2fc
+wget https://hg.libsdl.org/SDL/raw-diff/d274fa9731b1/build-scripts/ltmain.sh