summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorIsmael Luceno2021-09-04 12:25:30 +0200
committerIsmael Luceno2021-09-04 12:26:26 +0200
commite6981dbf3c623037c897ec128214607114a85c78 (patch)
tree3a73b0969ae4762a9012365f58abc03f7dbe7aa5 /video
parentf6266927bd109d557ab851ecef7c487aaeaf13d0 (diff)
obs-studio: new spell, Open Broadcaster Software
Diffstat (limited to 'video')
-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
4 files changed, 60 insertions, 0 deletions
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