From e6981dbf3c623037c897ec128214607114a85c78 Mon Sep 17 00:00:00 2001 From: Ismael Luceno Date: Sat, 4 Sep 2021 12:25:30 +0200 Subject: obs-studio: new spell, Open Broadcaster Software --- video/obs-studio/BUILD | 4 ++++ video/obs-studio/DEPENDS | 36 ++++++++++++++++++++++++++++++++++++ video/obs-studio/DETAILS | 18 ++++++++++++++++++ video/obs-studio/HISTORY | 2 ++ 4 files changed, 60 insertions(+) create mode 100755 video/obs-studio/BUILD create mode 100755 video/obs-studio/DEPENDS create mode 100755 video/obs-studio/DETAILS create mode 100644 video/obs-studio/HISTORY (limited to 'video') 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 + * BUILD, DEPENDS, DETAILS: spell created -- cgit v1.2.3