Skip to content

Commit

Permalink
initial debianize: all-in-one binary package
Browse files Browse the repository at this point in the history
Signed-off-by: Eugene Rush rush.zlo@gmail.com
  • Loading branch information
RushOnline committed Mar 8, 2021
1 parent 310b29f commit fb2bc5e
Show file tree
Hide file tree
Showing 6 changed files with 54 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mjpg-streamer-experimental/debian/changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
mjpg-streamer (1.0) unstable; urgency=medium

* Initial release

-- Rush Future <rush.zlo@gmail.com> Sat, 06 Mar 2021 13:41:05 +0300
1 change: 1 addition & 0 deletions mjpg-streamer-experimental/debian/compat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
10
23 changes: 23 additions & 0 deletions mjpg-streamer-experimental/debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
Source: mjpg-streamer
Section: utils
Priority: optional
Maintainer: Rush Future <rush.zlo@gmail.com>
Build-Depends: debhelper (>= 10),
devscripts,
cmake,
libgphoto2-dev,
libopencv-dev,
python3-numpy,
python3-dev,
libzmq3-dev,
libprotobuf-c-dev,
protobuf-c-compiler
Standards-Version: 4.1.2
Homepage: https://github.com/RushOnline/mjpg-streamer

Package: mjpg-streamer
Section: utils
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends},
Description: Move JPEG from input to output plugin
mjpg-streamer is a command line application that copies JPEG frames from one or more input plugins to multiple output plugins. It can be used to stream JPEG files over an IP-based network from a webcam to various types of viewers such as Chrome, Firefox, Cambozola, VLC, mplayer, and other software capable of receiving MJPG streams.
10 changes: 10 additions & 0 deletions mjpg-streamer-experimental/debian/mjpg-streamer@.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[Unit]
Description=A server for streaming Motion-JPEG from a video capture device
After=network.target

[Service]
User=mjpg_streamer
ExecStart=/usr/bin/mjpg_streamer -i 'input_uvc.so -d /dev/%I' -o 'output_http.so -w /usr/share/mjpg_streamer/www'

[Install]
WantedBy=multi-user.target
14 changes: 14 additions & 0 deletions mjpg-streamer-experimental/debian/rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/usr/bin/make -f

export DH_VERBOSE = 1

%:
dh $@ --buildsystem=cmake


override_dh_auto_configure:
dh_auto_configure -- -DENABLE_HTTP_MANAGEMENT=1

override_dh_auto_install:
dh_auto_install
dh_systemd_enable
1 change: 1 addition & 0 deletions mjpg-streamer-experimental/debian/source/format
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.0 (native)

0 comments on commit fb2bc5e

Please sign in to comment.