From 30e73a60e242fbee1782a42832f6528b1474a9e1 Mon Sep 17 00:00:00 2001 From: Rick Farina Date: Thu, 14 May 2020 11:57:24 -0400 Subject: media-video/obs-v4l2sink: initial ebuild might even work Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Rick Farina --- media-video/obs-v4l2sink/Manifest | 1 + media-video/obs-v4l2sink/metadata.xml | 11 +++++++ .../obs-v4l2sink-0.1.0_p20181012.ebuild | 38 ++++++++++++++++++++++ 3 files changed, 50 insertions(+) create mode 100644 media-video/obs-v4l2sink/Manifest create mode 100644 media-video/obs-v4l2sink/metadata.xml create mode 100644 media-video/obs-v4l2sink/obs-v4l2sink-0.1.0_p20181012.ebuild (limited to 'media-video/obs-v4l2sink') diff --git a/media-video/obs-v4l2sink/Manifest b/media-video/obs-v4l2sink/Manifest new file mode 100644 index 000000000000..9688501c8157 --- /dev/null +++ b/media-video/obs-v4l2sink/Manifest @@ -0,0 +1 @@ +DIST obs-v4l2sink-0.1.0_p20181012.tar.gz 21392 BLAKE2B 7f024a89c900588a4b3a45d598622e05d25b2eabbd007d5ce701d82ab935fa5a267faaf903925ec19e74071b5f4d32a5f39c810d181c97ea047060bfa69c145c SHA512 c64cff7feff7722e8cfd66f92daa46d8cb189da5adc50dabddd21baaa97e033611b94f1dafb9a9ad9a58504930fb40e05d7e5a4d128ee703b60993be7edc063c diff --git a/media-video/obs-v4l2sink/metadata.xml b/media-video/obs-v4l2sink/metadata.xml new file mode 100644 index 000000000000..4c547b226a11 --- /dev/null +++ b/media-video/obs-v4l2sink/metadata.xml @@ -0,0 +1,11 @@ + + + + + zerochaos@gentoo.org + Rick Farina + + + CatxFish/obs-v4l2sink + + diff --git a/media-video/obs-v4l2sink/obs-v4l2sink-0.1.0_p20181012.ebuild b/media-video/obs-v4l2sink/obs-v4l2sink-0.1.0_p20181012.ebuild new file mode 100644 index 000000000000..64a8a9cd5f21 --- /dev/null +++ b/media-video/obs-v4l2sink/obs-v4l2sink-0.1.0_p20181012.ebuild @@ -0,0 +1,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 +} -- cgit v1.2.3-65-gdbad