From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7DA5B138350 for ; Wed, 22 Apr 2020 17:45:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9181CE0FFB; Wed, 22 Apr 2020 17:45:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7A7A0E0FFB for ; Wed, 22 Apr 2020 17:45:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 442C234ED87 for ; Wed, 22 Apr 2020 17:45:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AAFBE150 for ; Wed, 22 Apr 2020 17:45:05 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1587577492.ea18bc40836fb8bc19243de01b6cd3116c4fac84.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: media-tv/droidcam/, media-tv/droidcam/files/ X-VCS-Repository: repo/proj/guru X-VCS-Files: media-tv/droidcam/droidcam-0_pre20200416.ebuild media-tv/droidcam/files/v4l2loopback-dc.conf X-VCS-Directories: media-tv/droidcam/files/ media-tv/droidcam/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: ea18bc40836fb8bc19243de01b6cd3116c4fac84 X-VCS-Branch: dev Date: Wed, 22 Apr 2020 17:45:05 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 71dd4b58-3268-4647-a72e-25589e5dacf1 X-Archives-Hash: c4c010115983918dd42044a914f5ad8b Message-ID: <20200422174505.Ns58dviYPFE3lOidrUyHd_QXG7PXnIPBoOO7QuQ3nM0@z> commit: ea18bc40836fb8bc19243de01b6cd3116c4fac84 Author: Andrew Ammerlaan riseup net> AuthorDate: Wed Apr 22 17:44:52 2020 +0000 Commit: Andrew Ammerlaan riseup net> CommitDate: Wed Apr 22 17:44:52 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ea18bc40 media-tv/droidcam: auto load module the module is apperently not loaded by gui/cli if not loaded so we autoload it to make sure the gui/cli does not give strange errors Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan riseup.net> media-tv/droidcam/droidcam-0_pre20200416.ebuild | 5 +++++ media-tv/droidcam/files/v4l2loopback-dc.conf | 1 + 2 files changed, 6 insertions(+) diff --git a/media-tv/droidcam/droidcam-0_pre20200416.ebuild b/media-tv/droidcam/droidcam-0_pre20200416.ebuild index 24a7733..6fb0579 100644 --- a/media-tv/droidcam/droidcam-0_pre20200416.ebuild +++ b/media-tv/droidcam/droidcam-0_pre20200416.ebuild @@ -57,6 +57,11 @@ src_install() { newicon -s 32x32 icon.png ${PN}.png newicon -s 64x64 icon2.png ${PN}.png make_desktop_entry ${PN} "Droidcam" ${PN} 'AudioVideo;Video' + + # The cli and gui do not auto load the module if unloaded (why not tho?) + # so we just put it in modules-load.d to make sure it always works + insinto /usr/lib/modules-load.d/ + doins "${FILESDIR}/v4l2loopback-dc.conf" } pkg_postinst() { diff --git a/media-tv/droidcam/files/v4l2loopback-dc.conf b/media-tv/droidcam/files/v4l2loopback-dc.conf new file mode 100644 index 0000000..7398776 --- /dev/null +++ b/media-tv/droidcam/files/v4l2loopback-dc.conf @@ -0,0 +1 @@ +v4l2loopback-dc