From 3cf7c3ef441822c889356fd1812ebf2944a59851 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 25 Aug 2020 10:45:55 +0100 Subject: gentoo resync : 25.08.2020 --- media-video/webcamoid/Manifest | 2 +- media-video/webcamoid/webcamoid-8.1.0-r1.ebuild | 99 +++++++++++++++++++++++++ media-video/webcamoid/webcamoid-8.1.0.ebuild | 99 ------------------------- 3 files changed, 100 insertions(+), 100 deletions(-) create mode 100644 media-video/webcamoid/webcamoid-8.1.0-r1.ebuild delete mode 100644 media-video/webcamoid/webcamoid-8.1.0.ebuild (limited to 'media-video/webcamoid') diff --git a/media-video/webcamoid/Manifest b/media-video/webcamoid/Manifest index 4ba483329ed3..a8110c78cfcd 100644 --- a/media-video/webcamoid/Manifest +++ b/media-video/webcamoid/Manifest @@ -1,4 +1,4 @@ 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 -EBUILD webcamoid-8.1.0.ebuild 2121 BLAKE2B f7d4037f1010b2731e6279121f4107bf32776656c98c5f296b366d42ab4d58d347106155ba915c48cf547d14e3bab145532dc733d7dd9623d90222f3d61f4063 SHA512 4d6af28f201077bcf7c7e159dae5990597045c42f1befa7c1614206c7aa36996df32b716e6a07e8b6c13dbc63c74eb2be317c807740afde1d3cfe28874246fa8 +EBUILD webcamoid-8.1.0-r1.ebuild 2173 BLAKE2B 88a417bdc552eb7967c408a61530d5ed28f3f2b8939a67aa9f62d9503be42c217ce07bc5f3590a2a75cc6765ebbd54cab90c12e15147d1a89b4e7eeba709b7bb SHA512 1ca411734d92988a89b25fa4fe81dda185ce5f2676da6623b886941bbfec779f203f5896083f145327601f82f19b9132f43a416dfac86fb954289c5f2f2abdfc MISC metadata.xml 784 BLAKE2B ce617d4a9bcbf3f8e4ce651fd673bf3c0015e13bc8814d4b4e97eaa4a6c5428553d4a314054315fd3dc8a6b1362b4a322a4af78745f3c3d2378e2e731bdc9ef9 SHA512 6518965213e9deffdb6163243865c9e37ec0a14b6e83558761ff27ad7984003be1b6c6518d455631cd2af29f663b6e91f60dd061151e63b3a4f5ad73e35df5cf diff --git a/media-video/webcamoid/webcamoid-8.1.0-r1.ebuild b/media-video/webcamoid/webcamoid-8.1.0-r1.ebuild new file mode 100644 index 000000000000..27a60e4ee265 --- /dev/null +++ b/media-video/webcamoid/webcamoid-8.1.0-r1.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PLOCALES="ca de el es et fr gl it ja kab ko nl pt ru uk zh_CN zh_TW" +inherit l10n 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/qtquickcontrols: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 +" + +PATCHES=( "${FILESDIR}/${P}-ffmpeg-4.patch" ) + +src_prepare() { + local tsdir="${S}/StandAlone/share/ts" + local mylrelease="$(qt5_get_bindir)"/lrelease + + prepare_locale() { + "${mylrelease}" "${tsdir}/${1}.ts" || die "preparing ${1} locale failed" + } + + rm_locale() { + sed -i \ + -e '/.*share\/ts\/'${1}'\.qm.*/d' \ + StandAlone/translations.qrc || die + } + + rm ${tsdir}/*.qm + + l10n_find_plocales_changes "${tsdir}" "" '.ts' + l10n_for_each_locale_do prepare_locale + l10n_for_each_disabled_locale_do rm_locale + + default +} + +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 +} diff --git a/media-video/webcamoid/webcamoid-8.1.0.ebuild b/media-video/webcamoid/webcamoid-8.1.0.ebuild deleted file mode 100644 index 6a7fccc1ad1b..000000000000 --- a/media-video/webcamoid/webcamoid-8.1.0.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PLOCALES="ca de el es et fr gl it ja kab ko nl pt ru uk zh_CN zh_TW" - -inherit l10n 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" - -KEYWORDS="~amd64 ~x86" -LICENSE="GPL-3" -SLOT="0" - -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/qtquickcontrols: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} - dev-qt/linguist-tools:5 - >=sys-kernel/linux-headers-3.6 - virtual/pkgconfig -" - -PATCHES=( "${FILESDIR}/${P}-ffmpeg-4.patch" ) - -src_prepare() { - local tsdir="${S}/StandAlone/share/ts" - local mylrelease="$(qt5_get_bindir)"/lrelease - - prepare_locale() { - "${mylrelease}" "${tsdir}/${1}.ts" || die "preparing ${1} locale failed" - } - - rm_locale() { - sed -i \ - -e '/.*share\/ts\/'${1}'\.qm.*/d' \ - StandAlone/translations.qrc || die - } - - rm ${tsdir}/*.qm - - l10n_find_plocales_changes "${tsdir}" "" '.ts' - l10n_for_each_locale_do prepare_locale - l10n_for_each_disabled_locale_do rm_locale - - default -} - -src_configure() { - local myqmakeargs=( - "CONFIG+=debug" - "PREFIX=/usr" - "BUILDDOCS=0" - "INSTALLDEVHEADERS=$(usex headers 1 0)" - "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 -} -- cgit v1.2.3