commit:     1f3f26edc5a68c2d536ebc17db6a1bf652a3e8fa
Author:     ChaosEngine <andrzej.pauli <AT> gmail <DOT> com>
AuthorDate: Sat Dec 12 10:42:19 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Aug 13 23:28:07 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f3f26ed

media-video/mjpg-streamer: misc fixes

* Adding ~arm64 keyword
* RDEPEND from acct-group/video when UVC input plugin is enabled with some info

Package-Manager: Portage-2.3.99, Repoman 2.3.22
Signed-off-by: Andrzej Pauli <andrzej.pauli <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../mjpg-streamer/mjpg-streamer-0_pre20200524-r1.ebuild      | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/media-video/mjpg-streamer/mjpg-streamer-0_pre20200524-r1.ebuild 
b/media-video/mjpg-streamer/mjpg-streamer-0_pre20200524-r1.ebuild
index e0d1f254f9e..231db6a85a2 100644
--- a/media-video/mjpg-streamer/mjpg-streamer-0_pre20200524-r1.ebuild
+++ b/media-video/mjpg-streamer/mjpg-streamer-0_pre20200524-r1.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/jacksonliam/${PN}/archive/${EGIT_COMMIT}.tar.gz -> $
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~x86"
 
 INPUT_PLUGINS="input-testpicture input-control input-file input-uvc input-http 
input-ptp2"
 OUTPUT_PLUGINS="output-file output-udp output-http output-autofocus 
output-rtsp output-viewer output-zmqserver"
@@ -24,7 +24,7 @@ REQUIRED_USE="|| ( ${INPUT_PLUGINS} )
        || ( ${OUTPUT_PLUGINS} )"
 
 RDEPEND="virtual/jpeg
-       input-uvc? ( media-libs/libv4l )
+       input-uvc? ( media-libs/libv4l acct-group/video )
        input-ptp2? ( media-libs/libgphoto2 )
        output-zmqserver? (
                dev-libs/protobuf-c
@@ -81,11 +81,17 @@ src_install() {
 }
 
 pkg_postinst() {
+       einfo
        elog "Remember to set an input and output plugin for mjpg-streamer."
 
+       if use input-uvc ; then
+               elog "To use the UVC plugin as a regular user, you must be a 
part of the video group"
+       fi
+
        if use www ; then
-               echo
+               einfo
                elog "An example webinterface has been installed into"
                elog "/usr/share/mjpg-streamer/www for your usage."
        fi
+       einfo
 }

Reply via email to