summaryrefslogtreecommitdiff
path: root/media-video/webcamoid
diff options
context:
space:
mode:
Diffstat (limited to 'media-video/webcamoid')
-rw-r--r--media-video/webcamoid/Manifest2
-rw-r--r--media-video/webcamoid/webcamoid-8.7.1.ebuild73
2 files changed, 75 insertions, 0 deletions
diff --git a/media-video/webcamoid/Manifest b/media-video/webcamoid/Manifest
index a8110c78cfcd..b4e059323633 100644
--- a/media-video/webcamoid/Manifest
+++ b/media-video/webcamoid/Manifest
@@ -1,4 +1,6 @@
AUX webcamoid-8.1.0-ffmpeg-4.patch 7369 BLAKE2B 64c7e45b9b8b29efe6982dff8205eb30d51fbbca751fed9afca0644d571c2a99b9151130f90c7fbe3cc20d08b40ed5585cdd34e59cf405c71fd89e6b9fcf294d SHA512 0e91d8e5b85972ccb057ef56a847e8dbe48f09eaea6de3cb37a483f04dc2a79379ca847ce3e13701ff33b697e02db46c1786d79198f4476279e296acdf314d8e
DIST webcamoid-8.1.0.tar.gz 10062681 BLAKE2B e9501ace9ba42abdae4be4e9e689329b02796198fe2610ef3a404535d389a6aa7a7e540148548dd63ea6ba78c9b650b30f5497396e49b37d7ab06ca8708ad056 SHA512 6db53ed29288889c05955967d961b53fa0e4171aeed12cd1557829c26bb2e2031804319fcead4c5b888a695cfd84f531a27f992be56c38366076ff2945ec2dbb
+DIST webcamoid-8.7.1.tar.gz 8900338 BLAKE2B f379811cf9e44e67caa80c301c2774f13c686fa4721b5adc85dcd803ea97edb07073e53575c7dae8dab4ebfa0a9ee4f3691511cc7ddd6b55f84ae2cc77cd3c52 SHA512 b9a4b1dd4c863ab126e304eabce47c025ec0e3eb85a5b42035d26caa004399bde733913c0a5598ada3deb01673bd42ea54c9d2b06d300608582e63dda75d9bf6
EBUILD webcamoid-8.1.0-r1.ebuild 2173 BLAKE2B 88a417bdc552eb7967c408a61530d5ed28f3f2b8939a67aa9f62d9503be42c217ce07bc5f3590a2a75cc6765ebbd54cab90c12e15147d1a89b4e7eeba709b7bb SHA512 1ca411734d92988a89b25fa4fe81dda185ce5f2676da6623b886941bbfec779f203f5896083f145327601f82f19b9132f43a416dfac86fb954289c5f2f2abdfc
+EBUILD webcamoid-8.7.1.ebuild 1579 BLAKE2B 412bb6fe657f6615c5c71955944335b5e3969c591932c57bbafa78a3d9740861ce06ddfd78ca0578994a80c1fa3f5c76d8c2b8b237395059da0bf7aff0c5f127 SHA512 b2e297c1d07aa4b77ef53d922acf142b6180bdff973872b4f41f9499a7c1fd672ea2f3fd2338a520386af4951df44bc78ab57bfa38364c1c04e880cde1ec5cfa
MISC metadata.xml 784 BLAKE2B ce617d4a9bcbf3f8e4ce651fd673bf3c0015e13bc8814d4b4e97eaa4a6c5428553d4a314054315fd3dc8a6b1362b4a322a4af78745f3c3d2378e2e731bdc9ef9 SHA512 6518965213e9deffdb6163243865c9e37ec0a14b6e83558761ff27ad7984003be1b6c6518d455631cd2af29f663b6e91f60dd061151e63b3a4f5ad73e35df5cf
diff --git a/media-video/webcamoid/webcamoid-8.7.1.ebuild b/media-video/webcamoid/webcamoid-8.7.1.ebuild
new file mode 100644
index 000000000000..fb51238ea518
--- /dev/null
+++ b/media-video/webcamoid/webcamoid-8.7.1.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit qmake-utils
+
+DESCRIPTION="A full featured webcam capture application"
+HOMEPAGE="https://webcamoid.github.io"
+SRC_URI="https://github.com/webcamoid/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE_AVKYS=( alsa coreaudio ffmpeg gstreamer jack libuvc oss pulseaudio qtaudio v4lutils videoeffects )
+IUSE="${IUSE_AVKYS[@]} 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
+"
+BDEPEND="
+ dev-qt/linguist-tools:5
+ virtual/pkgconfig
+"
+
+src_configure() {
+ local myqmakeargs=(
+ "CONFIG+=debug"
+ "PREFIX=/usr"
+ "BUILDDOCS=0"
+ "INSTALLDEVHEADERS=$(usex headers 1 0)"
+ "INSTALLQMLDIR=$(qt5_get_libdir)/qt5/qml"
+ "LIBDIR=/usr/$(get_libdir)"
+ "NOAVFOUNDATION=1"
+ "NODSHOW=1"
+ "NOVCAMWIN=1"
+ "NOWASAPI=1"
+ )
+
+ use v4l || myqmakeargs+=( "NOV4L2=1" )
+
+ for x in ${IUSE_AVKYS[@]}; do
+ use ${x} || myqmakeargs+=( "NO${x^^}=1" )
+ done
+
+ eqmake5 ${myqmakeargs[@]}
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install
+ einstalldocs
+}