summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rwxr-xr-xvideo/obs-studio/BUILD4
-rwxr-xr-xvideo/obs-studio/DEPENDS36
-rwxr-xr-xvideo/obs-studio/DETAILS18
-rw-r--r--video/obs-studio/HISTORY2
5 files changed, 63 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 3af97aaf47..f17910f2c3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2021-09-04 Ismael Luceno <ismael@sourcemage.org>
+ * video/obs-studio: new spell, Open Broadcaster Software
+
2021-08-30 Ismael Luceno <ismael@sourcemage.org>
* python-pypi/rmtoo: new spell, Requirements Management Tool
* python-pypi/python-stevedore: new spell, Manage Dynamic Plugins
diff --git a/video/obs-studio/BUILD b/video/obs-studio/BUILD
new file mode 100755
index 0000000000..38090f001d
--- /dev/null
+++ b/video/obs-studio/BUILD
@@ -0,0 +1,4 @@
+# XXX obs-filters plugin can't build with -ffast-math
+CFLAGS="${CFLAGS//-ffast-math}" &&
+OPTS+=' -DBUILD_BROWSER=OFF -DBUILD_VST=OFF' &&
+default_build
diff --git a/video/obs-studio/DEPENDS b/video/obs-studio/DEPENDS
new file mode 100755
index 0000000000..edd284a8da
--- /dev/null
+++ b/video/obs-studio/DEPENDS
@@ -0,0 +1,36 @@
+. "$GRIMOIRE"/CMAKE_DEPENDS &&
+depends qtbase &&
+depends OPENGL &&
+depends libxcb &&
+optional_depends alsa-lib \
+ "" \
+ "-DDISABLE_ALSA=1" \
+ "for ALSA audio support" &&
+optional_depends JACK-DRIVER \
+ "" \
+ "-DDISABLE_JACK=1" \
+ "for JACK audio support" &&
+optional_depends LIBPULSE \
+ "" \
+ "-DDISABLE_PULSEAUDIO=1" \
+ "for PulseAudio support" &&
+optional_depends libv4l \
+ "" \
+ "-DDISABLE_V4L2=1" \
+ "for V4L device support" &&
+# FIXME
+depends LIBAVCODEC &&
+#optional_depends LIBAVCODEC \
+# "" \
+# "-DDISABLE_FFMPEG=1" \
+# "" &&
+# FIXME
+depends x264 &&
+#optional_depends x264 \
+# "" \
+# "-DDISABLE_X264=1" \
+# "" &&
+optional_depends sndio \
+ "" \
+ "-DDISABLE_SNDIO=1" \
+ "for Sndio audio support"
diff --git a/video/obs-studio/DETAILS b/video/obs-studio/DETAILS
new file mode 100755
index 0000000000..7a2cc6b200
--- /dev/null
+++ b/video/obs-studio/DETAILS
@@ -0,0 +1,18 @@
+. "$GRIMOIRE"/CMAKE_FUNCTIONS
+ SPELL=obs-studio
+ VERSION=27.0.1
+ SOURCE="$SPELL-$VERSION.tar.gz"
+ SOURCE_URL[0]=https://github.com/obsproject/$SPELL/archive/refs/tags/$VERSION.tar.gz
+ SOURCE_HASH=sha512:c15dda62c1f212f623914e61a90c6b1e035720fb84d64726c14f43d77ae7569777a23d04221db34347ce610e7c3407c29e726ae36412e98e34ea2ddb2072b7f3
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
+ WEB_SITE="https://obsproject.com/"
+ LICENSE[0]="GPL-2.0-or-later"
+ ENTERED=20210904
+ KEYWORDS=""
+ SHORT="Open Broadcaster Software"
+cat << EOF
+Free and open source software for video recording and live streaming.
+
+OBS Studio is designed for capturing, compositing, encoding, recording,
+and streaming video content, efficiently.
+EOF
diff --git a/video/obs-studio/HISTORY b/video/obs-studio/HISTORY
new file mode 100644
index 0000000000..0645a640ec
--- /dev/null
+++ b/video/obs-studio/HISTORY
@@ -0,0 +1,2 @@
+2021-09-04 Ismael Luceno <ismael@sourcemage.org>
+ * BUILD, DEPENDS, DETAILS: spell created