summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-video/obs-studio/Manifest1
-rw-r--r--media-video/obs-studio/obs-studio-0.16.2.ebuild104
2 files changed, 105 insertions, 0 deletions
diff --git a/media-video/obs-studio/Manifest b/media-video/obs-studio/Manifest
index efa7c5f2f32..1976b0f1552 100644
--- a/media-video/obs-studio/Manifest
+++ b/media-video/obs-studio/Manifest
@@ -1,3 +1,4 @@
DIST obs-studio-0.14.2.tar.gz 3406086 SHA256 b4076f1b92e9566f9f3c3c4cfb5e123210e149bb3cec3f9fb5d6cd6394b268b1 SHA512 17548841d81073595282cbe4f2f217a67b5a3050e5660b43affa1501cb88bfb8d2728d610e758ebc217733f7a50945b9078d28285a76fbc5fe0c104570faba32 WHIRLPOOL cc6a0e93274f8abc06af4ac802cbbf8f5195848b805642399f4daa503562ec747ce7f1791fc30cf316f2fd80d4576ab05b7c89da98f2adda971fa62ae9c1ff86
DIST obs-studio-0.15.1.tar.gz 3457064 SHA256 4ff360c04cf18720bdabdbd64b83262651bb809685a5d578425148dacf63dea1 SHA512 0a7f366dbb63b1200fc96ceb3ea756d3b165a7ead2d1227d578c96e68d7d3c3d540557264c064715f8b89f68fdacc5e4363cbee297e7e280fcf670efaefc0e9f WHIRLPOOL c820843b1cdc5b474ba8b56b88324d221ee4dc3a8e54987ca0fb08b9137f13348af7a215c83b0ccbaee43a4760157d083edc83ce8e34508deadfbe2db1f6beeb
DIST obs-studio-0.15.3.tar.gz 4868410 SHA256 ba9ff4259408583aa1bb7ac2315865c1ef6331b0a240c2061460bc093011514b SHA512 165fcc9ab9fa498654cffa972f5cf728e7cf73e131b077c4f1a75994505d6e4b0149ab9a1b6034422cf5483f5f8ddc2d288a2700093eca0d77404a75068c8b81 WHIRLPOOL f09f105a369332db7a4f95624d09c8ad120984322ae6508a714cbd0de26bb36370ad00b9806ec2587bfbfdd7f708953a076e79e6b3e62e4d5156f524b1f617b2
+DIST obs-studio-0.16.2.tar.gz 4979287 SHA256 f5b1a5a4e3900a2b2df4ec6f4a51e0816db1ceed432849ed58301da77ccf4f5c SHA512 ef74b20aa3927134d0deb9513af67abe5dc99199626245a93011bd69d41b811695bc1f071dcd6ed826c2bd5f35247906975f74638c9cd0a39b9415ac88aac425 WHIRLPOOL 5576c4da240ea65d84e195decb655b8774b1540bcde7d01060a38b47e1c561b485c24b88b2771a10b94fe8a0d6d77c05d25ee65313278879609474ff451b2628
diff --git a/media-video/obs-studio/obs-studio-0.16.2.ebuild b/media-video/obs-studio/obs-studio-0.16.2.ebuild
new file mode 100644
index 00000000000..678d13dc8d7
--- /dev/null
+++ b/media-video/obs-studio/obs-studio-0.16.2.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+
+inherit cmake-utils
+
+if [[ ${PV} == *9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/jp9000/obs-studio.git"
+ EGIT_SUBMODULES=()
+else
+ SRC_URI="https://github.com/jp9000/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="Software for Recording and Streaming Live Video Content"
+HOMEPAGE="https://obsproject.com"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="+alsa fdk imagemagick jack pulseaudio truetype v4l"
+
+DEPEND="
+ >=dev-libs/jansson-2.5
+ dev-qt/qtcore:5
+ dev-qt/qtdeclarative:5
+ dev-qt/qtgui:5
+ dev-qt/qtmultimedia:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtquickcontrols:5
+ dev-qt/qtsql:5
+ dev-qt/qttest:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtx11extras:5
+ media-video/ffmpeg:=[x264]
+ net-misc/curl
+ x11-libs/libXcomposite
+ x11-libs/libXinerama
+ x11-libs/libXrandr
+ alsa? ( media-libs/alsa-lib )
+ fdk? ( media-libs/fdk-aac:= )
+ imagemagick? ( media-gfx/imagemagick:= )
+ jack? ( virtual/jack )
+ pulseaudio? ( media-sound/pulseaudio )
+ truetype? (
+ media-libs/fontconfig
+ media-libs/freetype
+ )
+ v4l? ( media-libs/libv4l )
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ CMAKE_REMOVE_MODULES_LIST=(FindFreetype)
+
+ cmake-utils_src_prepare
+}
+
+src_configure() {
+ local libdir="$(get_libdir)"
+ local mycmakeargs=(
+ -DDISABLE_ALSA="$(usex !alsa)"
+ -DDISABLE_FREETYPE="$(usex !truetype)"
+ -DDISABLE_JACK="$(usex !jack)"
+ -DDISABLE_LIBFDK="$(usex !fdk)"
+ -DDISABLE_PULSEAUDIO="$(usex !pulseaudio)"
+ -DDISABLE_V4L2="$(usex !v4l)"
+ -DLIBOBS_PREFER_IMAGEMAGICK="$(usex imagemagick)"
+ -DOBS_MULTIARCH_SUFFIX="${libdir#lib}"
+ -DUNIX_STRUCTURE=1
+ )
+
+ cmake-utils_src_configure
+}
+
+pkg_postinst() {
+ if ! use alsa && ! use pulseaudio; then
+ elog
+ elog "For the audio capture features to be available,"
+ elog "either the 'alsa' or the 'pulseaudio' USE-flag needs to"
+ elog "be enabled."
+ elog
+ fi
+
+ if ! has_version "sys-apps/dbus"; then
+ elog
+ elog "The 'sys-apps/dbus' package is not installed, but"
+ elog "could be used for disabling hibernating, screensaving,"
+ elog "and sleeping. Where it is not installed,"
+ elog "'xdg-screensaver reset' is used instead"
+ elog "(if 'x11-misc/xdg-utils' is installed)."
+ elog
+ fi
+
+ if ! has_version "media-libs/speex"; then
+ elog
+ elog "For the speexdsp-based noise suppression filter"
+ elog "to be available, the 'media-libs/speex' package needs"
+ elog "to be installed."
+ elog
+ fi
+}