net-im/teams-bin: Add version 1.3.00.5153
[shuber-gentoo-overlay.git] / media-video / obs-v4l2sink / obs-v4l2sink-0.1.0.ebuild
1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
3
4 EAPI=7
5
6 inherit eutils cmake-utils
7
8 case ${PV} in
9 9999)
10 inherit git-r3
11 KEYWORDS=""
12 EGIT_REPO_URI="git://github.com/CatxFish/obs-v4l2sink.git"
13 ;;
14 *)
15 KEYWORDS="~amd64 ~x86"
16 SNAPSHOT_COMMIT=""
17 SRC_URI="https://github.com/CatxFish/obs-v4l2sink/archive/${PV}.tar.gz -> ${P}.tar.gz
18 https://github.com/obsproject/obs-studio/archive/25.0.0-rc6.tar.gz -> obs-studio-25.0.0-rc6.tar.gz"
19 ;;
20 esac
21
22 DESCRIPTION="OBS studio plugin for output to v4l2 loopback device"
23 HOMEPAGE="https://github.com/CatxFish/obs-v4l2sink"
24
25 LICENSE="GPL-2"
26 SLOT="0"
27 IUSE=""
28
29 DEPEND="
30 media-video/obs-studio
31 media-video/v4l2loopback
32 "
33 RDEPEND="${DEPEND}"
34 #PATCHES="${FILESDIR}/lib64.patch"
35
36 src_prepare() {
37 sed -i "s_/lib/_/$(get_libdir)/_" CMakeLists.txt
38 cmake-utils_src_prepare
39 }
40
41 src_configure() {
42 local mycmakeargs=(
43 -DLIBOBS_INCLUDE_DIR="${WORKDIR}/obs-studio-25.0.0-rc6/libobs"
44 )
45 cmake-utils_src_configure
46 }