mjpg-streamer: cleanup V4L selection and dependency
Signed-off-by: Ted Hess <thess@kitschensync.net>
This commit is contained in:
parent
d8caaf6ea5
commit
f5324a5fa0
2 changed files with 6 additions and 3 deletions
|
@ -6,8 +6,8 @@ if PACKAGE_mjpg-streamer
|
||||||
|
|
||||||
config MJPG_STREAMER_V4L2
|
config MJPG_STREAMER_V4L2
|
||||||
bool "Compile input_uvc with libv4l2 (camera controls)"
|
bool "Compile input_uvc with libv4l2 (camera controls)"
|
||||||
depends on PACKAGE_libv4l
|
|
||||||
default n
|
default n
|
||||||
|
select PACKAGE_libv4l
|
||||||
|
|
||||||
config MJPG_STREAMER_INPUT_FILE
|
config MJPG_STREAMER_INPUT_FILE
|
||||||
bool "Install input file plugin"
|
bool "Install input file plugin"
|
||||||
|
|
|
@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
|
||||||
PKG_NAME:=mjpg-streamer
|
PKG_NAME:=mjpg-streamer
|
||||||
PKG_REV:=182
|
PKG_REV:=182
|
||||||
PKG_VERSION:=r$(PKG_REV)
|
PKG_VERSION:=r$(PKG_REV)
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
PKG_MAINTAINER:=Roger D <rogerdammit@gmail.com>
|
PKG_MAINTAINER:=Roger D <rogerdammit@gmail.com>
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).1.tar.bz2
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).1.tar.bz2
|
||||||
|
@ -28,7 +28,10 @@ define Package/mjpg-streamer
|
||||||
SECTION:=multimedia
|
SECTION:=multimedia
|
||||||
CATEGORY:=Multimedia
|
CATEGORY:=Multimedia
|
||||||
TITLE:=MJPG-streamer
|
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/
|
URL:=http://mjpg-streamer.wiki.sourceforge.net/
|
||||||
MENU:=1
|
MENU:=1
|
||||||
endef
|
endef
|
||||||
|
|
Loading…
Reference in a new issue