1 |
commit: d12e263cd113157e5080fd72c727e9754c71539a |
2 |
Author: Jimi Huotari <chiitoo <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 24 21:05:38 2018 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 4 14:31:04 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d12e263c |
7 |
|
8 |
media-video/obs-studio: version bump to 22.0.3 |
9 |
|
10 |
Signed-off-by: Jimi Huotari <chiitoo <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.48, Repoman-2.3.10 |
12 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
13 |
|
14 |
media-video/obs-studio/Manifest | 1 + |
15 |
media-video/obs-studio/obs-studio-22.0.3.ebuild | 122 ++++++++++++++++++++++++ |
16 |
2 files changed, 123 insertions(+) |
17 |
|
18 |
diff --git a/media-video/obs-studio/Manifest b/media-video/obs-studio/Manifest |
19 |
index c905f7fa7b3..13ae8036f7c 100644 |
20 |
--- a/media-video/obs-studio/Manifest |
21 |
+++ b/media-video/obs-studio/Manifest |
22 |
@@ -1,2 +1,3 @@ |
23 |
DIST obs-studio-21.0.2.tar.gz 5904469 BLAKE2B e4e7c1f2b445f1db6b76df0c7a12dd41ffd95e7ea5669d7efc3387cc0fd15e268d864b5da3da5c07d04bc57692a88a53a67351a370621b1a6ca648405d030454 SHA512 a22597ac3a85d4c72b9b1ff886367b158498b6b0141acfd2bdb096a2bd9d29cdfad900dfc00f870eaf0aad66836093579f37b278fa90ccd7b49022e849c1c590 |
24 |
DIST obs-studio-21.1.2.tar.gz 5959232 BLAKE2B 12ae6f5e76093df52f44e7f45c06fe5486c8cea875438b8c78ae429fa82ccd0a6ff9d7ab15139877eca26713ab204158b7f92fb7cbefa52a3950814d28962fe7 SHA512 5143d3a87b3a54d2a06d236fc6f6d5945ab337004c30eda0438026f4b7607776b82771636d55fcc2c8ab34e041d8ecad99dc843b6b3f4371303d1b7dc349d938 |
25 |
+DIST obs-studio-22.0.3.tar.gz 6015365 BLAKE2B e2c3aec7f97bbad2ec70a46d59035335d605a478ab1e4ff10a077d81c9ade5deef1ca56cf3ffc46d4d2ab89339d98a68aa5ca8c6ca240ed82939b59803af151c SHA512 491f7ce44c741d144c621eb645fe00604e1eb98ff7dac03dffe51ba78a742e6015e1f96f21aad69e16a22d9546b6cdb51b5c1a4defd96e7c64f099de83a31f04 |
26 |
|
27 |
diff --git a/media-video/obs-studio/obs-studio-22.0.3.ebuild b/media-video/obs-studio/obs-studio-22.0.3.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..987d58bb89b |
30 |
--- /dev/null |
31 |
+++ b/media-video/obs-studio/obs-studio-22.0.3.ebuild |
32 |
@@ -0,0 +1,122 @@ |
33 |
+# Copyright 1999-2018 Gentoo Foundation |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=6 |
37 |
+ |
38 |
+PYTHON_COMPAT=( python{3_4,3_5,3_6} ) |
39 |
+ |
40 |
+inherit cmake-utils gnome2-utils python-single-r1 |
41 |
+ |
42 |
+if [[ ${PV} == *9999 ]]; then |
43 |
+ inherit git-r3 |
44 |
+ EGIT_REPO_URI="https://github.com/obsproject/obs-studio.git" |
45 |
+ EGIT_SUBMODULES=() |
46 |
+else |
47 |
+ SRC_URI="https://github.com/obsproject/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
48 |
+ KEYWORDS="~amd64 ~x86" |
49 |
+fi |
50 |
+ |
51 |
+DESCRIPTION="Software for Recording and Streaming Live Video Content" |
52 |
+HOMEPAGE="https://obsproject.com" |
53 |
+ |
54 |
+LICENSE="GPL-2" |
55 |
+SLOT="0" |
56 |
+IUSE="+alsa fdk imagemagick jack luajit nvenc pulseaudio python speex truetype v4l" |
57 |
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
58 |
+ |
59 |
+COMMON_DEPEND=" |
60 |
+ >=dev-libs/jansson-2.5 |
61 |
+ dev-qt/qtcore:5 |
62 |
+ dev-qt/qtdeclarative:5 |
63 |
+ dev-qt/qtgui:5 |
64 |
+ dev-qt/qtmultimedia:5 |
65 |
+ dev-qt/qtnetwork:5 |
66 |
+ dev-qt/qtquickcontrols:5 |
67 |
+ dev-qt/qtsql:5 |
68 |
+ dev-qt/qttest:5 |
69 |
+ dev-qt/qtwidgets:5 |
70 |
+ dev-qt/qtx11extras:5 |
71 |
+ media-video/ffmpeg:=[x264] |
72 |
+ net-misc/curl |
73 |
+ x11-libs/libXcomposite |
74 |
+ x11-libs/libXinerama |
75 |
+ x11-libs/libXrandr |
76 |
+ alsa? ( media-libs/alsa-lib ) |
77 |
+ fdk? ( media-libs/fdk-aac:= ) |
78 |
+ imagemagick? ( media-gfx/imagemagick:= ) |
79 |
+ jack? ( virtual/jack ) |
80 |
+ luajit? ( dev-lang/luajit:2 ) |
81 |
+ nvenc? ( media-video/ffmpeg:=[nvenc] ) |
82 |
+ pulseaudio? ( media-sound/pulseaudio ) |
83 |
+ python? ( ${PYTHON_DEPS} ) |
84 |
+ speex? ( media-libs/speexdsp ) |
85 |
+ truetype? ( |
86 |
+ media-libs/fontconfig |
87 |
+ media-libs/freetype |
88 |
+ ) |
89 |
+ v4l? ( media-libs/libv4l ) |
90 |
+" |
91 |
+DEPEND="${COMMON_DEPEND} |
92 |
+ luajit? ( dev-lang/swig ) |
93 |
+ python? ( dev-lang/swig ) |
94 |
+" |
95 |
+RDEPEND="${COMMON_DEPEND}" |
96 |
+ |
97 |
+PATCHES=( "${FILESDIR}/${PN}-21.1.2-use-less-automagic.patch" ) |
98 |
+ |
99 |
+CMAKE_REMOVE_MODULES_LIST=( FindFreetype ) |
100 |
+ |
101 |
+src_configure() { |
102 |
+ local libdir=$(get_libdir) |
103 |
+ local mycmakeargs=( |
104 |
+ -DDISABLE_ALSA=$(usex !alsa) |
105 |
+ -DDISABLE_FREETYPE=$(usex !truetype) |
106 |
+ -DDISABLE_JACK=$(usex !jack) |
107 |
+ -DDISABLE_LIBFDK=$(usex !fdk) |
108 |
+ -DDISABLE_PULSEAUDIO=$(usex !pulseaudio) |
109 |
+ -DDISABLE_SPEEXDSP=$(usex !speex) |
110 |
+ -DDISABLE_V4L2=$(usex !v4l) |
111 |
+ -DLIBOBS_PREFER_IMAGEMAGICK=$(usex imagemagick) |
112 |
+ -DOBS_MULTIARCH_SUFFIX=${libdir#lib} |
113 |
+ -DOBS_VERSION_OVERRIDE=${PV} |
114 |
+ -DUNIX_STRUCTURE=1 |
115 |
+ ) |
116 |
+ |
117 |
+ if use luajit || use python; then |
118 |
+ mycmakeargs+=( |
119 |
+ -DDISABLE_LUA=$(usex !luajit) |
120 |
+ -DDISABLE_PYTHON=$(usex !python) |
121 |
+ -DENABLE_SCRIPTING=yes |
122 |
+ ) |
123 |
+ else |
124 |
+ mycmakeargs+=( -DENABLE_SCRIPTING=no ) |
125 |
+ fi |
126 |
+ |
127 |
+ cmake-utils_src_configure |
128 |
+} |
129 |
+ |
130 |
+pkg_postinst() { |
131 |
+ gnome2_icon_cache_update |
132 |
+ |
133 |
+ if ! use alsa && ! use pulseaudio; then |
134 |
+ elog |
135 |
+ elog "For the audio capture features to be available," |
136 |
+ elog "either the 'alsa' or the 'pulseaudio' USE-flag needs to" |
137 |
+ elog "be enabled." |
138 |
+ elog |
139 |
+ fi |
140 |
+ |
141 |
+ if ! has_version "sys-apps/dbus"; then |
142 |
+ elog |
143 |
+ elog "The 'sys-apps/dbus' package is not installed, but" |
144 |
+ elog "could be used for disabling hibernating, screensaving," |
145 |
+ elog "and sleeping. Where it is not installed," |
146 |
+ elog "'xdg-screensaver reset' is used instead" |
147 |
+ elog "(if 'x11-misc/xdg-utils' is installed)." |
148 |
+ elog |
149 |
+ fi |
150 |
+} |
151 |
+ |
152 |
+pkg_postrm() { |
153 |
+ gnome2_icon_cache_update |
154 |
+} |