uvcdynctrl: get rid of udev
The udev rule installed was ineffective as udev cannot run in coexistence with procd. If needed, it should be reimplemented as rule under /etc/hotplug.d/ Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
parent
bc0085a70f
commit
3d50afdf3c
1 changed files with 2 additions and 17 deletions
|
@ -9,6 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=uvcdynctrl
|
PKG_NAME:=uvcdynctrl
|
||||||
PKG_VERSION:=0.2.4
|
PKG_VERSION:=0.2.4
|
||||||
|
PKG_REV:=2
|
||||||
|
|
||||||
PKG_SOURCE:=libwebcam-src-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=libwebcam-src-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=@SF/libwebcam
|
PKG_SOURCE_URL:=@SF/libwebcam
|
||||||
|
@ -23,7 +24,7 @@ include $(INCLUDE_DIR)/cmake.mk
|
||||||
define Package/uvcdynctrl
|
define Package/uvcdynctrl
|
||||||
SECTION:=utils
|
SECTION:=utils
|
||||||
CATEGORY:=Utilities
|
CATEGORY:=Utilities
|
||||||
DEPENDS:=+libwebcam +PACKAGE_UVCDYNCTRL_UDEV_RULE:udev
|
DEPENDS:=+libwebcam
|
||||||
TITLE:=Manage dynamic controls in uvcvideo
|
TITLE:=Manage dynamic controls in uvcvideo
|
||||||
URL:=http://sourceforge.net/projects/libwebcam/
|
URL:=http://sourceforge.net/projects/libwebcam/
|
||||||
MENU:=1
|
MENU:=1
|
||||||
|
@ -35,16 +36,6 @@ define Package/uvcdynctrl/description
|
||||||
- uvcdynctrl: Manage dynamic controls in uvcvideo (GPL)
|
- uvcdynctrl: Manage dynamic controls in uvcvideo (GPL)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/uvcdynctrl/config
|
|
||||||
config PACKAGE_UVCDYNCTRL_UDEV_RULE
|
|
||||||
bool "uvcdynctrl udev rule, selects udev"
|
|
||||||
depends on PACKAGE_uvcdynctrl
|
|
||||||
default no
|
|
||||||
help
|
|
||||||
Installs an udev rule to load uvcdynctrl with dynamic controls
|
|
||||||
from xml files in /usr/share/uvcdynctrl when a webcam is attached.
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/libwebcam
|
define Package/libwebcam
|
||||||
SECTION:=libs
|
SECTION:=libs
|
||||||
CATEGORY:=Libraries
|
CATEGORY:=Libraries
|
||||||
|
@ -64,12 +55,6 @@ define Package/uvcdynctrl/install
|
||||||
$(INSTALL_DIR) $(1)/usr/{bin,share}
|
$(INSTALL_DIR) $(1)/usr/{bin,share}
|
||||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/uvcdynctrl* $(1)/usr/bin/
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/uvcdynctrl* $(1)/usr/bin/
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/share/uvcdynctrl/ $(1)/usr/share/
|
$(CP) $(PKG_INSTALL_DIR)/usr/share/uvcdynctrl/ $(1)/usr/share/
|
||||||
|
|
||||||
ifeq ($(CONFIG_PACKAGE_UVCDYNCTRL_UDEV_RULE),y)
|
|
||||||
$(INSTALL_DIR) $(1)/lib/udev/rules.d
|
|
||||||
$(CP) $(PKG_INSTALL_DIR)/lib/udev/rules.d/*.rules $(1)/lib/udev/rules.d/
|
|
||||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/lib/udev/uvcdynctrl $(1)/lib/udev/
|
|
||||||
endif
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/libwebcam/install
|
define Package/libwebcam/install
|
||||||
|
|
Loading…
Reference in a new issue