Browse Source

mjpg-streamer: cleanup V4L selection and dependency

Signed-off-by: Ted Hess <thess@kitschensync.net>
lilik-openwrt-22.03
Ted Hess 11 years ago
parent
commit
f5324a5fa0
2 changed files with 6 additions and 3 deletions
  1. +1
    -1
      multimedia/mjpg-streamer/Config.in
  2. +5
    -2
      multimedia/mjpg-streamer/Makefile

+ 1
- 1
multimedia/mjpg-streamer/Config.in View File

@ -6,8 +6,8 @@ if PACKAGE_mjpg-streamer
config MJPG_STREAMER_V4L2
bool "Compile input_uvc with libv4l2 (camera controls)"
depends on PACKAGE_libv4l
default n
select PACKAGE_libv4l
config MJPG_STREAMER_INPUT_FILE
bool "Install input file plugin"


+ 5
- 2
multimedia/mjpg-streamer/Makefile View File

@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=mjpg-streamer
PKG_REV:=182
PKG_VERSION:=r$(PKG_REV)
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_MAINTAINER:=Roger D <rogerdammit@gmail.com>
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).1.tar.bz2
@ -28,7 +28,10 @@ define Package/mjpg-streamer
SECTION:=multimedia
CATEGORY:=Multimedia
TITLE:=MJPG-streamer
DEPENDS:=+libpthread +libjpeg +PACKAGE_libv4l:libv4l
DEPENDS:=+libpthread +libjpeg
ifeq ($(CONFIG_MJPG_STREAMER_V4L2),y)
DEPENDS+=+libv4l
endif
URL:=http://mjpg-streamer.wiki.sourceforge.net/
MENU:=1
endef


Loading…
Cancel
Save