* [gentoo-commits] repo/gentoo:master commit in: media-video/mjpg-streamer/
@ 2015-12-21 14:50 Patrick Lauer
0 siblings, 0 replies; 7+ messages in thread
From: Patrick Lauer @ 2015-12-21 14:50 UTC (permalink / raw
To: gentoo-commits
commit: 2ed3a7bf9e80c6b492daef3d1cef77a81a1eb8d0
Author: Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 21 14:50:06 2015 +0000
Commit: Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Mon Dec 21 14:50:06 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ed3a7bf
media-video/mjpg-streamer: Whitespace
media-video/mjpg-streamer/mjpg-streamer-0_pre20120621-r1.ebuild | 1 -
1 file changed, 1 deletion(-)
diff --git a/media-video/mjpg-streamer/mjpg-streamer-0_pre20120621-r1.ebuild b/media-video/mjpg-streamer/mjpg-streamer-0_pre20120621-r1.ebuild
index 7c0a0c2..a527458 100644
--- a/media-video/mjpg-streamer/mjpg-streamer-0_pre20120621-r1.ebuild
+++ b/media-video/mjpg-streamer/mjpg-streamer-0_pre20120621-r1.ebuild
@@ -33,7 +33,6 @@ src_prepare() {
epatch "${FILESDIR}/${PV}-make-var-instead-of-cmd.patch"
epatch "${FILESDIR}/${PV}-to-work-with-kernel-3.18.patch"
-
local flag switch
for flag in ${IUSE_PLUGINS}; do
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-video/mjpg-streamer/
@ 2018-02-11 11:02 Michał Górny
0 siblings, 0 replies; 7+ messages in thread
From: Michał Górny @ 2018-02-11 11:02 UTC (permalink / raw
To: gentoo-commits
commit: e64ea72e1cf04628e0de002d503aceb9f1a67efc
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 11 11:01:12 2018 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb 11 11:01:12 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e64ea72e
media-video/mjpg-streamer: Remove useless maintainer <description/>
Remove useless/redundant maintainer <description/>. It does not benefit
bug wrangling, and only wastes developer's time on reading it. Few tips:
- assignee/CC is implied by ordering, there is no reason to repeat it,
- we know that maintainer is maintainer (la la la la la),
- most of adjectives for maintainer are of no value and/or are obvious.
media-video/mjpg-streamer/metadata.xml | 2 --
1 file changed, 2 deletions(-)
diff --git a/media-video/mjpg-streamer/metadata.xml b/media-video/mjpg-streamer/metadata.xml
index 289845ee13a..492364ee19f 100644
--- a/media-video/mjpg-streamer/metadata.xml
+++ b/media-video/mjpg-streamer/metadata.xml
@@ -4,12 +4,10 @@
<maintainer type="person">
<email>andrzej.pauli@gmail.com</email>
<name>Andrzej Pauli</name>
- <description>Maintainer. Assign bugs to him.</description>
</maintainer>
<maintainer type="person">
<email>aidecoe@gentoo.org</email>
<name>Amadeusz Żołnowski</name>
- <description>Proxy maintainer. CC him on bugs.</description>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-video/mjpg-streamer/
@ 2021-08-13 23:29 Sam James
0 siblings, 0 replies; 7+ messages in thread
From: Sam James @ 2021-08-13 23:29 UTC (permalink / raw
To: gentoo-commits
commit: 7cc95ee5bc24d47a8720bcc29c4f45faceab2e61
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 13 23:26:44 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Aug 13 23:28:11 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cc95ee5
media-video/mjpg-streamer: fix IncorrectCopyright
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-video/mjpg-streamer/mjpg-streamer-0_pre20200524-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 6e33ef5d6e9..4e5e920bd58 100644
--- a/media-video/mjpg-streamer/mjpg-streamer-0_pre20200524-r1.ebuild
+++ b/media-video/mjpg-streamer/mjpg-streamer-0_pre20200524-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-video/mjpg-streamer/
@ 2021-08-13 23:29 Sam James
0 siblings, 0 replies; 7+ messages in thread
From: Sam James @ 2021-08-13 23:29 UTC (permalink / raw
To: gentoo-commits
commit: 756b6abf8f45094c7b649fd00878ed7d80db7905
Author: ChaosEngine <andrzej.pauli <AT> gmail <DOT> com>
AuthorDate: Fri Dec 18 18:37:24 2020 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Aug 13 23:28:08 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=756b6abf
media-video/mjpg-streamer: Raspberry Pi camera support via the input_raspicam plugin
Closes: https://github.com/gentoo/gentoo/pull/16015
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>
media-video/mjpg-streamer/metadata.xml | 1 +
media-video/mjpg-streamer/mjpg-streamer-0_pre20200524-r1.ebuild | 7 +++++--
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/media-video/mjpg-streamer/metadata.xml b/media-video/mjpg-streamer/metadata.xml
index 3df394f71ec..8e9f536d7b3 100644
--- a/media-video/mjpg-streamer/metadata.xml
+++ b/media-video/mjpg-streamer/metadata.xml
@@ -26,6 +26,7 @@
compatible camera</flag>
<flag name="input-http">Plugin that takes http-input</flag>
<flag name="input-ptp2">Plugin that sends video stream from PTP2 compatible camera</flag>
+ <flag name="input-raspicam">Raspberry Pi camera support via the input_raspicam plugin</flag>
<flag name="output-file">Plugin that saves received content under given
location</flag>
<flag name="output-udp">Plugin receiving content over UDP and storing to
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 231db6a85a2..6e33ef5d6e9 100644
--- a/media-video/mjpg-streamer/mjpg-streamer-0_pre20200524-r1.ebuild
+++ b/media-video/mjpg-streamer/mjpg-streamer-0_pre20200524-r1.ebuild
@@ -14,10 +14,10 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
-INPUT_PLUGINS="input-testpicture input-control input-file input-uvc input-http input-ptp2"
+INPUT_PLUGINS="input-testpicture input-control input-file input-uvc input-http input-ptp2 input-raspicam"
OUTPUT_PLUGINS="output-file output-udp output-http output-autofocus output-rtsp output-viewer output-zmqserver"
IUSE_PLUGINS="${INPUT_PLUGINS} ${OUTPUT_PLUGINS}"
-IUSE="input-testpicture input-control +input-file input-uvc input-http input-ptp2
+IUSE="input-testpicture input-control +input-file input-uvc input-http input-ptp2 input-raspicam
output-file output-udp +output-http output-autofocus output-rtsp output-viewer output-zmqserver
www http-management wxp-compat"
REQUIRED_USE="|| ( ${INPUT_PLUGINS} )
@@ -26,6 +26,9 @@ REQUIRED_USE="|| ( ${INPUT_PLUGINS} )
RDEPEND="virtual/jpeg
input-uvc? ( media-libs/libv4l acct-group/video )
input-ptp2? ( media-libs/libgphoto2 )
+ input-raspicam? (
+ || ( media-libs/raspberrypi-userland media-libs/raspberrypi-userland-bin )
+ )
output-zmqserver? (
dev-libs/protobuf-c
net-libs/zeromq
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-video/mjpg-streamer/
@ 2021-08-13 23:29 Sam James
0 siblings, 0 replies; 7+ messages in thread
From: Sam James @ 2021-08-13 23:29 UTC (permalink / raw
To: gentoo-commits
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
}
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-video/mjpg-streamer/
@ 2021-08-13 23:29 Sam James
0 siblings, 0 replies; 7+ messages in thread
From: Sam James @ 2021-08-13 23:29 UTC (permalink / raw
To: gentoo-commits
commit: 547d473472b58b22729234b9d213f2a2abdca3fd
Author: ChaosEngine <andrzej.pauli <AT> gmail <DOT> com>
AuthorDate: Sat May 30 14:11:09 2020 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Aug 13 23:28:06 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=547d4734
media-video/mjpg-streamer: bump to 0_pre20200524-r1
Closes: https://bugs.gentoo.org/724802
Closes: https://bugs.gentoo.org/665122
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>
media-video/mjpg-streamer/Manifest | 1 +
media-video/mjpg-streamer/metadata.xml | 6 ++
.../mjpg-streamer-0_pre20200524-r1.ebuild | 91 ++++++++++++++++++++++
3 files changed, 98 insertions(+)
diff --git a/media-video/mjpg-streamer/Manifest b/media-video/mjpg-streamer/Manifest
index d7dd0161571..0cc52fbbb0e 100644
--- a/media-video/mjpg-streamer/Manifest
+++ b/media-video/mjpg-streamer/Manifest
@@ -1 +1,2 @@
DIST mjpg-streamer-0_pre20120621.tar.bz2 471546 BLAKE2B 3ede2a60062bba7c91ddfa0d7151e32cd8dac11a083cc6a88dc350a523174685b2ff066fa99db13b82a6a4960d370b97b27aa3663ac323fa54908bb0108857d0 SHA512 dfc6077ec03fe4f239d8e25b65b7808bd489a954d8cf3aeed444e68fd9536720c2c888a5fa9f4b8d0152dab5ca0bd166a46f2cb22a357ba816eb5bc79ff11332
+DIST mjpg-streamer-0_pre20200524.tar.gz 711183 BLAKE2B 3a40f20f518a53c0c6046cf37728c46c2a843a1dd0ef0086c77940b5133f1337445b1edb2c21edc1bbacc588f7c7b45b1530871c944695c2ae02cf327fde6847 SHA512 d6e910f6693b27c16c33749458affcb4d9336bd15c642156c452fcbc4a8c2ba9f4a6102e6b94f698fc6fb48da9564a09cb0f804a5ac52201e566adf798a70ba2
diff --git a/media-video/mjpg-streamer/metadata.xml b/media-video/mjpg-streamer/metadata.xml
index 2e4cb6515fd..3df394f71ec 100644
--- a/media-video/mjpg-streamer/metadata.xml
+++ b/media-video/mjpg-streamer/metadata.xml
@@ -24,6 +24,8 @@
it's content</flag>
<flag name="input-uvc">Plugin that sends video stream from UVC
compatible camera</flag>
+ <flag name="input-http">Plugin that takes http-input</flag>
+ <flag name="input-ptp2">Plugin that sends video stream from PTP2 compatible camera</flag>
<flag name="output-file">Plugin that saves received content under given
location</flag>
<flag name="output-udp">Plugin receiving content over UDP and storing to
@@ -33,7 +35,11 @@
<flag name="output-autofocus">Auto focusing plugin</flag>
<flag name="output-rtsp">Plugin which provides a mechanism to take
snapshots with a trigger from a UDP packet</flag>
+ <flag name="output-viewer">Plugin which allows to see output with viewer</flag>
+ <flag name="output-zmqserver">Plugin which provides zmqserver processing</flag>
<flag name="www">Installs WWW content</flag>
+ <flag name="http-management">Enable experimental HTTP management option</flag>
+ <flag name="wxp-compat">Enable camera WXP compatible format</flag>
</use>
<upstream>
<remote-id type="sourceforge">mjpg-streamer</remote-id>
diff --git a/media-video/mjpg-streamer/mjpg-streamer-0_pre20200524-r1.ebuild b/media-video/mjpg-streamer/mjpg-streamer-0_pre20200524-r1.ebuild
new file mode 100644
index 00000000000..e0d1f254f9e
--- /dev/null
+++ b/media-video/mjpg-streamer/mjpg-streamer-0_pre20200524-r1.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit systemd
+
+DESCRIPTION="MJPG-streamer takes JPGs from Linux-UVC compatible webcams"
+HOMEPAGE="https://github.com/jacksonliam/mjpg-streamer"
+EGIT_COMMIT="85f89a8c321e799fabb1693c5d133f3fb48ee748"
+SRC_URI="https://github.com/jacksonliam/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~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"
+IUSE_PLUGINS="${INPUT_PLUGINS} ${OUTPUT_PLUGINS}"
+IUSE="input-testpicture input-control +input-file input-uvc input-http input-ptp2
+ output-file output-udp +output-http output-autofocus output-rtsp output-viewer output-zmqserver
+ www http-management wxp-compat"
+REQUIRED_USE="|| ( ${INPUT_PLUGINS} )
+ || ( ${OUTPUT_PLUGINS} )"
+
+RDEPEND="virtual/jpeg
+ input-uvc? ( media-libs/libv4l )
+ input-ptp2? ( media-libs/libgphoto2 )
+ output-zmqserver? (
+ dev-libs/protobuf-c
+ net-libs/zeromq
+ )"
+DEPEND="${RDEPEND}
+ input-testpicture? ( media-gfx/imagemagick )"
+
+S="${WORKDIR}/${PN}-${EGIT_COMMIT}/${PN}-experimental"
+
+src_prepare() {
+ sed -i -e "s|.*RPATH.*||g" CMakeLists.txt || die
+ if use wxp-compat; then
+ sed -i -e \
+ 's|^add_feature_option(WXP_COMPAT "Enable compatibility with WebcamXP" OFF)|add_feature_option(WXP_COMPAT "Enable compatibility with WebcamXP" ON)|g' \
+ CMakeLists.txt || die
+ fi
+
+ local flag switch
+ for flag in ${IUSE_PLUGINS}; do
+ use ${flag} && switch='' || switch='#'
+ flag=${flag/input-/input_}
+ flag=${flag/output-/output_}
+ sed -i -e \
+ "s|^add_subdirectory(plugins\/${flag})|${switch}add_subdirectory(plugins/${flag})|" \
+ CMakeLists.txt || die
+ done
+ if use http-management; then
+ sed -i -e \
+ 's|^add_feature_option(ENABLE_HTTP_MANAGEMENT "Enable experimental HTTP management option" OFF)|add_feature_option(ENABLE_HTTP_MANAGEMENT "Enable experimental HTTP management option" ON)|g' \
+ plugins/output_http/CMakeLists.txt || die
+ fi
+ sed -e "s|@LIBDIR@|$(get_libdir)/${PN}/$(get_libdir)|g" "${FILESDIR}/${PN}.initd" > ${PN}.initd || die
+
+ default
+}
+
+src_install() {
+ into /usr
+ dobin ${PN//-/_}
+ into "/usr/$(get_libdir)/${PN}"
+ dolib.so *.so
+
+ if use www ; then
+ insinto /usr/share/${PN}
+ doins -r www
+ fi
+
+ dodoc README.md TODO
+
+ newinitd ${PN}.initd ${PN}
+ newconfd "${FILESDIR}"/${PN}.confd ${PN}
+ systemd_dounit mjpg_streamer@.service
+}
+
+pkg_postinst() {
+ elog "Remember to set an input and output plugin for mjpg-streamer."
+
+ if use www ; then
+ echo
+ elog "An example webinterface has been installed into"
+ elog "/usr/share/mjpg-streamer/www for your usage."
+ fi
+}
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-video/mjpg-streamer/
@ 2024-02-10 21:24 James Le Cuirot
0 siblings, 0 replies; 7+ messages in thread
From: James Le Cuirot @ 2024-02-10 21:24 UTC (permalink / raw
To: gentoo-commits
commit: 56f89e5f51a8919b5724d9959823f1ea82851638
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 14 09:10:47 2023 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sat Feb 10 21:23:27 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56f89e5f
media-video/mjpg-streamer: Drop Raspberry Pi support in revbump
media-libs/raspberrypi-userland(-bin) is being last-rited. It is now possible
to use mjpg-streamer with input-uvc and libcamera's Pi support instead.
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
.../mjpg-streamer-0_pre20200524-r2.ebuild | 97 ++++++++++++++++++++++
1 file changed, 97 insertions(+)
diff --git a/media-video/mjpg-streamer/mjpg-streamer-0_pre20200524-r2.ebuild b/media-video/mjpg-streamer/mjpg-streamer-0_pre20200524-r2.ebuild
new file mode 100644
index 000000000000..4348f911ad5d
--- /dev/null
+++ b/media-video/mjpg-streamer/mjpg-streamer-0_pre20200524-r2.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit systemd
+
+DESCRIPTION="MJPG-streamer takes JPGs from Linux-UVC compatible webcams"
+HOMEPAGE="https://github.com/jacksonliam/mjpg-streamer"
+EGIT_COMMIT="85f89a8c321e799fabb1693c5d133f3fb48ee748"
+SRC_URI="https://github.com/jacksonliam/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+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"
+IUSE_PLUGINS="${INPUT_PLUGINS} ${OUTPUT_PLUGINS}"
+IUSE="input-testpicture input-control +input-file input-uvc input-http input-ptp2
+ output-file output-udp +output-http output-autofocus output-rtsp output-viewer output-zmqserver
+ www http-management wxp-compat"
+REQUIRED_USE="|| ( ${INPUT_PLUGINS} )
+ || ( ${OUTPUT_PLUGINS} )"
+
+RDEPEND="media-libs/libjpeg-turbo:=
+ input-uvc? ( media-libs/libv4l acct-group/video )
+ input-ptp2? ( media-libs/libgphoto2 )
+ output-zmqserver? (
+ dev-libs/protobuf-c
+ net-libs/zeromq
+ )"
+DEPEND="${RDEPEND}
+ input-testpicture? ( media-gfx/imagemagick )"
+
+S="${WORKDIR}/${PN}-${EGIT_COMMIT}/${PN}-experimental"
+
+src_prepare() {
+ sed -i -e "s|.*RPATH.*||g" CMakeLists.txt || die
+ if use wxp-compat; then
+ sed -i -e \
+ 's|^add_feature_option(WXP_COMPAT "Enable compatibility with WebcamXP" OFF)|add_feature_option(WXP_COMPAT "Enable compatibility with WebcamXP" ON)|g' \
+ CMakeLists.txt || die
+ fi
+
+ local flag switch
+ for flag in ${IUSE_PLUGINS}; do
+ use ${flag} && switch='' || switch='#'
+ flag=${flag/input-/input_}
+ flag=${flag/output-/output_}
+ sed -i -e \
+ "s|^add_subdirectory(plugins\/${flag})|${switch}add_subdirectory(plugins/${flag})|" \
+ CMakeLists.txt || die
+ done
+ if use http-management; then
+ sed -i -e \
+ 's|^add_feature_option(ENABLE_HTTP_MANAGEMENT "Enable experimental HTTP management option" OFF)|add_feature_option(ENABLE_HTTP_MANAGEMENT "Enable experimental HTTP management option" ON)|g' \
+ plugins/output_http/CMakeLists.txt || die
+ fi
+ sed -e "s|@LIBDIR@|$(get_libdir)/${PN}/$(get_libdir)|g" "${FILESDIR}/${PN}.initd" > ${PN}.initd || die
+
+ default
+}
+
+src_install() {
+ into /usr
+ dobin ${PN//-/_}
+ into "/usr/$(get_libdir)/${PN}"
+ dolib.so *.so
+
+ if use www ; then
+ insinto /usr/share/${PN}
+ doins -r www
+ fi
+
+ dodoc README.md TODO
+
+ newinitd ${PN}.initd ${PN}
+ newconfd "${FILESDIR}"/${PN}.confd ${PN}
+ systemd_dounit mjpg_streamer@.service
+}
+
+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
+ einfo
+ elog "An example webinterface has been installed into"
+ elog "/usr/share/mjpg-streamer/www for your usage."
+ fi
+ einfo
+}
^ permalink raw reply related [flat|nested] 7+ messages in thread
end of thread, other threads:[~2024-02-10 21:25 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-11 11:02 [gentoo-commits] repo/gentoo:master commit in: media-video/mjpg-streamer/ Michał Górny
-- strict thread matches above, loose matches on Subject: below --
2024-02-10 21:24 James Le Cuirot
2021-08-13 23:29 Sam James
2021-08-13 23:29 Sam James
2021-08-13 23:29 Sam James
2021-08-13 23:29 Sam James
2015-12-21 14:50 Patrick Lauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox