-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 28499d8
Showing
10 changed files
with
135 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
*~ | ||
*.kate-swp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Make obs-studio always visible. | ||
=media-video/obs-studio-9999::obs-studio ** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Unmask qt-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/qtxmlpatterns:5 | ||
dev-qt/qtx11extras:5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
OBS Studio Overlay | ||
------------------ | ||
|
||
`USE=pulseaudio` is highly recommended (if you would like to capture audio). | ||
PulseAudio is the only available method to capture audio in OBS Studio. | ||
|
||
QT 5 is required for OBS Studio. It is currently masked in the portage tree. | ||
|
||
To unmask the required QT 5 packages, symlink Documentation/package.unmask/obs-studio | ||
into /etc/portage/package.unmask/. | ||
|
||
``` | ||
ln -s <path to overlay>/Documentation/package.unmask/obs-studio \ | ||
/etc/portage/package.unmask/obs-studio | ||
``` | ||
|
||
Only a live ebuild is available for obs-studio, so you will also need to add | ||
it to package.keywords. | ||
|
||
``` | ||
ln -s <path to overlay>/Documentation/package.keywords/obs-studio-live \ | ||
/etc/portage/package.keywords/obs-studio-live | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# ChangeLog for media-video/obs-studio | ||
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 | ||
# $Header: $ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
EBUILD obs-studio-9999.ebuild 1666 SHA256 aea09c99f23b723777e097b0e38beca7d2644b7a0b705e5121b267e1a1333ca4 SHA512 2abb494b0b8fd2e21d13ffe2cca0e357a25fa2008107f008feb2629d251e6f37be377c4327dd64a9c5cdf59cf6bce2a618d6b95870688739227f0b82bffadb43 WHIRLPOOL 5925f56688e83bc1616a7d2a2a491b418542e3cf6e803636e39248a0934e107079474eb083b7bc78cc4af1df3a25eebb95cc8f84e7c820194d5d79ef46ab568d | ||
MISC ChangeLog 122 SHA256 d7a34d53e294d4c0ce54341ebf48c802fc875ec31f90a3535837df51fcdf9bd6 SHA512 25c74a357aebac41128a5ca27885fc751c98d75a5a834aca03bae075daa08050cf08458eea7ec62dafa6c5eb85e0f6f6853faeb1029587d8456cce0668954f0d WHIRLPOOL 3e50eec5a8c81ccd1621d116785ebd01e4dbceb0fcf5907e4b685e2d37d0b32da5f4763da0b35a7a5c3d8e5446fa10ad638d3e93ac29f782764c33d3f9bba418 | ||
MISC metadata.xml 719 SHA256 1bf6ba991590655e783e9f8affd4df9637b4a40557bcaa06db92b896e1399bd4 SHA512 0f97af62c49dbddff3443138335d345603c7ff6a5f5781b995c5143a69276ffa3aa4417ccc1a5308d9989424315b141f20d0d2acea8a5cec2c5d4658e526ca05 WHIRLPOOL 1d4e9a302d7497d734fd993c52679e631f7ab0566905b685e67b7616105980fe06c780dcdedd5dbf92b86a422939e31663fcc0e95ae1e7062d1ecc58df29946d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> | ||
<pkgmetadata> | ||
<maintainer> | ||
<email>[email protected]</email> | ||
</maintainer> | ||
<longdescription>A rewrite of what was formerly known as "Open Broadcaster | ||
Software", software originally designed for recording and streaming live | ||
video content, efficiently.</longdescription> | ||
<use> | ||
<flag name="fdk">Use the <pkg>media-sound/fdk-aac</pkg>library for AAC encoding.</flag> | ||
<flag name="imagemagick">Use ImageMagick in place of ffmpeg for loading images.</flag> | ||
<flag name="pulseaudio">Enable audio capture from the PulseAudio sound server.</flag> | ||
<flag name="qt5">Enable the QT 5 GUI</flag> | ||
</use> | ||
</pkgmetadata> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
# Copyright 1999-2014 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Header: $ | ||
EAPI=5 | ||
inherit eutils git-r3 cmake-utils | ||
|
||
DESCRIPTION="Software for recording and streaming live video content" | ||
HOMEPAGE="https://obsproject.com" | ||
LICENSE="GPL-2" | ||
KEYWORDS="" | ||
EGIT_REPO_URI="https://github.com/jp9000/obs-studio.git | ||
git://github.com/jp9000/obs-studio.git" | ||
|
||
SLOT="0" | ||
IUSE="fdk imagemagick +pulseaudio +qt5 truetype v4l" | ||
|
||
DEPEND=">=dev-libs/jansson-2.5 | ||
media-libs/x264 | ||
media-video/ffmpeg | ||
x11-libs/libXinerama | ||
x11-libs/libXcomposite | ||
x11-libs/libXrandr | ||
fdk? ( media-libs/fdk-aac ) | ||
imagemagick? ( media-gfx/imagemagick ) | ||
pulseaudio? ( media-sound/pulseaudio ) | ||
qt5? ( | ||
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 | ||
) | ||
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 mycmakeargs=( | ||
$(cmake-utils_use_find_package fdk Libfdk) | ||
$(cmake-utils_use imagemagick LIBOBS_PREFER_IMAGEMAGICK) | ||
$(cmake-utils_use_find_package pulseaudio PulseAudio) | ||
$(cmake-utils_use_enable qt5 UI) | ||
$(cmake-utils_use_disable qt5 UI) | ||
$(cmake-utils_use_find_package truetype Freetype) | ||
$(cmake-utils_use_find_package v4l Libv4l2) | ||
-DUNIX_STRUCTURE=1 | ||
) | ||
|
||
cmake-utils_src_configure | ||
} | ||
|
||
pkg_postinst() { | ||
if ! use pulseaudio; then | ||
ewarn "Without PulseAudio, you will not have audio capture capability." | ||
fi | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
masters = gentoo | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
obs-studio |