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@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
ChaosEngine
2021-08-14 00:28:07 +01:00
committed by Sam James
parent 547d473472
commit 1f3f26edc5
@@ -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
}