public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrew Ammerlaan" <andrewammerlaan@riseup.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: media-tv/droidcam/, media-tv/droidcam/files/
Date: Wed, 22 Apr 2020 17:45:40 +0000 (UTC)	[thread overview]
Message-ID: <1587577492.ea18bc40836fb8bc19243de01b6cd3116c4fac84.andrewammerlaan@gentoo> (raw)

commit:     ea18bc40836fb8bc19243de01b6cd3116c4fac84
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Wed Apr 22 17:44:52 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> 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 <andrewammerlaan <AT> 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


WARNING: multiple messages have this Message-ID (diff)
From: "Andrew Ammerlaan" <andrewammerlaan@riseup.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: media-tv/droidcam/, media-tv/droidcam/files/
Date: Wed, 22 Apr 2020 17:45:05 +0000 (UTC)	[thread overview]
Message-ID: <1587577492.ea18bc40836fb8bc19243de01b6cd3116c4fac84.andrewammerlaan@gentoo> (raw)
Message-ID: <20200422174505.Ns58dviYPFE3lOidrUyHd_QXG7PXnIPBoOO7QuQ3nM0@z> (raw)

commit:     ea18bc40836fb8bc19243de01b6cd3116c4fac84
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Wed Apr 22 17:44:52 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> 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 <andrewammerlaan <AT> 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


             reply	other threads:[~2020-04-22 17:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-22 17:45 Andrew Ammerlaan [this message]
2020-04-22 17:45 ` [gentoo-commits] repo/proj/guru:dev commit in: media-tv/droidcam/, media-tv/droidcam/files/ Andrew Ammerlaan
  -- strict thread matches above, loose matches on Subject: below --
2020-07-29 11:22 [gentoo-commits] repo/proj/guru:dev commit in: media-tv/droidcam/files/, media-tv/droidcam/ Andrew Ammerlaan
2020-07-29 11:24 ` [gentoo-commits] repo/proj/guru:master commit in: media-tv/droidcam/, media-tv/droidcam/files/ Andrew Ammerlaan
2020-10-02 14:08 Andrew Ammerlaan
2021-01-13 16:46 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2021-01-13 16:51 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2021-03-05 21:12 [gentoo-commits] repo/proj/guru:dev commit in: media-tv/droidcam/files/, media-tv/droidcam/ Andrew Ammerlaan
2021-03-05 21:12 ` [gentoo-commits] repo/proj/guru:master commit in: media-tv/droidcam/, media-tv/droidcam/files/ Andrew Ammerlaan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1587577492.ea18bc40836fb8bc19243de01b6cd3116c4fac84.andrewammerlaan@gentoo \
    --to=andrewammerlaan@riseup.net \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox