summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Farina <zerochaos@gentoo.org>2020-05-14 11:57:24 -0400
committerRick Farina <zerochaos@gentoo.org>2020-05-14 11:57:46 -0400
commit30e73a60e242fbee1782a42832f6528b1474a9e1 (patch)
tree922fd6c3fe0b8d58bad634ff0cdb42cc26429a9b /media-video/obs-v4l2sink
parentmedia-video/obs-studio: install additional header (diff)
downloadgentoo-30e73a60e242fbee1782a42832f6528b1474a9e1.tar.gz
gentoo-30e73a60e242fbee1782a42832f6528b1474a9e1.tar.bz2
gentoo-30e73a60e242fbee1782a42832f6528b1474a9e1.zip
media-video/obs-v4l2sink: initial ebuild
might even work Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Rick Farina <zerochaos@gentoo.org>
Diffstat (limited to 'media-video/obs-v4l2sink')
-rw-r--r--media-video/obs-v4l2sink/Manifest1
-rw-r--r--media-video/obs-v4l2sink/metadata.xml11
-rw-r--r--media-video/obs-v4l2sink/obs-v4l2sink-0.1.0_p20181012.ebuild38
3 files changed, 50 insertions, 0 deletions
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>zerochaos@gentoo.org</email>
+ <name>Rick Farina</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">CatxFish/obs-v4l2sink</remote-id>
+ </upstream>
+</pkgmetadata>
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
+}