Gentoo Archives: gentoo-commits

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