blob: 64a8a9cd5f21c666752cd0d1e47d6edc8bb9b216 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
CMAKE_REMOVE_MODULES_LIST="FindLibObs"
inherit cmake
DESCRIPTION="obs studio output plugin for Video4Linux2 device"
HOMEPAGE="https://github.com/CatxFish/obs-v4l2sink"
COMMIT="1ec3c8ada0e1040d867ce567f177be55cd278378"
SRC_URI="https://github.com/CatxFish/obs-v4l2sink/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=">=media-video/obs-studio-25.0.8-r1
dev-qt/qtwidgets:5
dev-qt/qtgui:5
dev-qt/qtcore:5
"
RDEPEND="${DEPEND}"
BDEPEND=""
src_prepare() {
sed -i -e '/include(external\/FindLibObs.cmake)/d' -e 's#../UI#UI#' CMakeLists.txt
cmake_src_prepare
}
src_configure() {
mycmakeargs=(
-DLIBOBS_INCLUDE_DIR="/usr/include/obs/"
)
cmake_src_configure
}
|