summaryrefslogtreecommitdiff
path: root/media-video/webcamoid
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-11-11 09:29:30 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-11-11 09:29:30 +0000
commit7d6f532c36268a2a8f53fa33c8e547c59702faa6 (patch)
tree6fd7a5cb102e736fe8969482dbce6c8a98808f6f /media-video/webcamoid
parentb4899ed9fc78f45325ef4e2ebd460869e53a605d (diff)
gentoo auto-resync : 11:11:2022 - 09:29:30
Diffstat (limited to 'media-video/webcamoid')
-rw-r--r--media-video/webcamoid/Manifest2
-rw-r--r--media-video/webcamoid/webcamoid-9.0.0.ebuild81
2 files changed, 83 insertions, 0 deletions
diff --git a/media-video/webcamoid/Manifest b/media-video/webcamoid/Manifest
index 43a20f080399..929bd38a24ed 100644
--- a/media-video/webcamoid/Manifest
+++ b/media-video/webcamoid/Manifest
@@ -1,4 +1,6 @@
AUX webcamoid-8.7.1-gcc11.patch 469 BLAKE2B e6994f1f0bd90a83ee1a3510990ff3e31867f89da9a66ff755a60f364f4bdbbbd5e8130816329beec533a48d1517261f60f2650fa9ff45a7e1536066d8fc7d3e SHA512 ac225037ef06604d413452447d863875a10f896a396ffc0def178e3bab447f3f2357558724f00ab9128f94a8f916a4d454e9fef2915e17465d4166508f9c2012
DIST webcamoid-8.8.0.tar.gz 8887888 BLAKE2B d0c3f0cee1fe487e8e61cb50148415899f2df8bdd1c48f1d944cece167e69fc6872cc7a45dbf441d6b4b88d0ae99c1a227339594a6ad94416b765a89eb1a70e0 SHA512 e21e3f6b7ad4f4031658033e94f377db06e06d5bad8f0540af6ac824972aa2811336d5edfef19c674e9b98d0bf9d96f22ac46623d5cb4c39bc310d248daf0bfa
+DIST webcamoid-9.0.0.tar.gz 9257331 BLAKE2B df7044650c92fd1e557043e2a721079dcc2531a59fb9859c19e02f95bd091fb33cec5e69bbc323baf8c11faad404824f875afe643e9d21085d3496a78acc04f4 SHA512 0de39dc6a5bc3fb8d6477728d971bca933c57e354a6d041389b33c3e48ec7c7912007f6f87bc9be5db303f58ddc5143bb28dc1b475c9ca361f579e1532b515a4
EBUILD webcamoid-8.8.0.ebuild 1741 BLAKE2B f80de276c25421a4187139976551e07192f2d716750e444e66633da59621d87a72cbf26d3afce398beda4486f3900ebab6885ce4009de59c71ce1a12992dbaa0 SHA512 b03f081bb55d6279657d6b05ce7eede8476669bfaf6a2e1fbdc48ac93648fc2012b8e08cad2487057308b032a65534deb1cd5e95ebd4baf6511319bf5fa607ec
+EBUILD webcamoid-9.0.0.ebuild 2038 BLAKE2B e6258d0bdbd1daa20eb70b1b877eccf1c969bd3df28784838b9676ce706bc7bfe412f8626df80305fb994ae92da8cb1c789e8be8c694df280b4200aed7f8f52c SHA512 130c085ab6410400c1e49eb3c19ee0d9104de01a9cae038be002b6d03c7c37c2866886c0bad12d8f5391d4057e90482955236ac6b73c81723e17d6f36fa4467f
MISC metadata.xml 586 BLAKE2B 55df36c3b4fd6319354c699e5e789b47dfd6f223068721ae842cdfae1dd158b3765e5796deabe8ca63a50da450f541e37f194c8665c7a7a1a6c2272677159d5d SHA512 729ba6c451fcc437d71c0c379179913b22e169368695daaf3452313d061641d647697f47a76684fd4bfcac318c5c7126a5214d5e0e1474c6685cbbc29fd8d0e8
diff --git a/media-video/webcamoid/webcamoid-9.0.0.ebuild b/media-video/webcamoid/webcamoid-9.0.0.ebuild
new file mode 100644
index 000000000000..2f9d1d781288
--- /dev/null
+++ b/media-video/webcamoid/webcamoid-9.0.0.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake xdg-utils
+
+DESCRIPTION="A full featured webcam capture application"
+HOMEPAGE="https://webcamoid.github.io"
+SRC_URI="https://github.com/webcamoid/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+RESTRICT="mirror"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+IUSE="alsa coreaudio ffmpeg gstreamer jack libuvc oss pulseaudio qtaudio v4lutils videoeffects debug headers v4l"
+
+REQUIRED_USE="v4lutils? ( v4l )"
+
+COMMON_DEPEND="
+ dev-qt/qtconcurrent:5
+ dev-qt/qtcore:5
+ dev-qt/qtdeclarative:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtopengl:5
+ dev-qt/qtquickcontrols2:5
+ dev-qt/qtsvg:5
+ dev-qt/qtwidgets:5
+ ffmpeg? ( media-video/ffmpeg:= )
+ gstreamer? ( >=media-libs/gstreamer-1.6.0 )
+ jack? ( virtual/jack )
+ libuvc? ( media-libs/libuvc )
+ pulseaudio? ( media-sound/pulseaudio )
+ qtaudio? ( dev-qt/qtmultimedia:5 )
+ v4l? ( media-libs/libv4l )
+"
+DEPEND="${COMMON_DEPEND}
+ >=sys-kernel/linux-headers-3.6
+"
+RDEPEND="${COMMON_DEPEND}
+ virtual/opengl
+"
+
+src_configure() {
+ #Disable git in package source. If not disabled the cmake configure process will show a lot of "fatal not a git repository" errors
+ sed -i 's|find_program(GIT_BIN git)|#find_program(GIT_BIN git)|' libAvKys/cmake/ProjectCommons.cmake || die
+
+ local mycmakeargs=(
+ "-DNOMEDIAFOUNDATION=1"
+ "-DNOAVFOUNDATION=1"
+ "-DNODSHOW=1"
+ "-DNOWASAPI=1"
+ "-DNOVLC=1"
+ "-DNOPIPEWIRE=1"
+ "-DNOALSA=$(usex alsa 0 1)"
+ "-DNOCOREAUDIO=$(usex coreaudio 0 1)"
+ "-DNOFFMPEG=$(usex ffmpeg 0 1)"
+ "-DNOGSTREAMER=$(usex gstreamer 0 1)"
+ "-DNOJACK=$(usex jack 0 1)"
+ "-DNOLIBUVC=$(usex libuvc 0 1)"
+ "-DNOPULSEAUDIO=$(usex pulseaudio 0 1)"
+ "-DNOV4L2=$(usex v4l 0 1)"
+ "-DNOV4LUTILS=$(usex v4lutils 0 1)"
+ "-DNOVIDEOEFFECTS=$(usex videoeffects 0 1)"
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ docompress -x /usr/share/man/${PN}.1.gz
+ cmake_src_install
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}