diff options
author | Blackcrypto <cryptoanon101@protonmail.com> | 2022-10-19 22:16:19 -0500 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2022-11-11 10:33:58 +0200 |
commit | 71ef40b116d96413cdadda610860d7467e5d1784 (patch) | |
tree | 95ea7e32cc2e5068b4bfd6af2d6ca64061896f6c | |
parent | x11-drivers/nvidia-drivers: fix static-libs build without gtk+:3 (diff) | |
download | gentoo-71ef40b116d96413cdadda610860d7467e5d1784.tar.gz gentoo-71ef40b116d96413cdadda610860d7467e5d1784.tar.bz2 gentoo-71ef40b116d96413cdadda610860d7467e5d1784.zip |
media-video/webcamoid: add 9.0.0
Closes: https://github.com/gentoo/gentoo/pull/28214
Signed-off-by: Blackcrypto <cryptoanon101@protonmail.com>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
-rw-r--r-- | media-video/webcamoid/Manifest | 1 | ||||
-rw-r--r-- | media-video/webcamoid/webcamoid-9.0.0.ebuild | 82 |
2 files changed, 83 insertions, 0 deletions
diff --git a/media-video/webcamoid/Manifest b/media-video/webcamoid/Manifest index 8c530851e65c..a9066469db77 100644 --- a/media-video/webcamoid/Manifest +++ b/media-video/webcamoid/Manifest @@ -1 +1,2 @@ DIST webcamoid-8.8.0.tar.gz 8887888 BLAKE2B d0c3f0cee1fe487e8e61cb50148415899f2df8bdd1c48f1d944cece167e69fc6872cc7a45dbf441d6b4b88d0ae99c1a227339594a6ad94416b765a89eb1a70e0 SHA512 e21e3f6b7ad4f4031658033e94f377db06e06d5bad8f0540af6ac824972aa2811336d5edfef19c674e9b98d0bf9d96f22ac46623d5cb4c39bc310d248daf0bfa +DIST webcamoid-9.0.0.tar.gz 9257331 BLAKE2B df7044650c92fd1e557043e2a721079dcc2531a59fb9859c19e02f95bd091fb33cec5e69bbc323baf8c11faad404824f875afe643e9d21085d3496a78acc04f4 SHA512 0de39dc6a5bc3fb8d6477728d971bca933c57e354a6d041389b33c3e48ec7c7912007f6f87bc9be5db303f58ddc5143bb28dc1b475c9ca361f579e1532b515a4 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..2498e61d9dfe --- /dev/null +++ b/media-video/webcamoid/webcamoid-9.0.0.ebuild @@ -0,0 +1,82 @@ +# 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" +CMAKE_USE_DIR="${WORKDIR}/${PF}" +BUILD_DIR="${CMAKE_USE_DIR}/${PN}-build" + +IUSE="alsa coreaudio ffmpeg gstreamer jack libuvc oss pulseaudio qtaudio v4lutils videoeffects debug headers v4l" + +REQUIRED_USE="v4lutils? ( v4l )" + +RDEPEND=" + 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="${RDEPEND} + >=sys-kernel/linux-headers-3.6 +" + +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 's|find_program(GIT_BIN git)|#find_program(GIT_BIN git)|' libAvKys/cmake/ProjectCommons.cmake -i + + local mycmakeargs=( + "-S ${WORKDIR}/${PF}" + "-B ${WORKDIR}/${PF}/webcamoid-build" + "-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 +} |