@ -9,23 +9,27 @@ include $(TOPDIR)/rules.mk
PKG_NAME := uvcdynctrl
PKG_VERSION := 0.2.5
PKG_RELEASE := 1
PKG_RELEASE := 2
PKG_SOURCE := libwebcam-src-$( PKG_VERSION) .tar.gz
PKG_SOURCE_URL := @SF/libwebcam
PKG_HASH := 3ca5199c7b8398b655a7c38e3ad4191bb053b1486503287f20d30d141bda9d41
PKG_MAINTAINER := Roger D <rogerdammit@gmail.com>
PKG_BUILD_DIR := $( BUILD_DIR) /libwebcam-$( PKG_VERSION)
PKG_MAINTAINER := Roger D <rogerdammit@gmail.com>
CMAKE_INSTALL := 1
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
i n c l u d e $( INCLUDE_DIR ) / c m a k e . m k
i n c l u d e $( INCLUDE_DIR ) / n l s . m k
d e f i n e P a c k a g e / u v c d y n c t r l
SECTION:= utils
CATEGORY:= Utilities
DEPENDS:= +libwebcam
TITLE:= Manage dynamic controls in uvcvideo
LICENSE:= GPL-3.0-or-later
LICENSE_FILES:= uvcdynctrl/COPYING
URL:= https://sourceforge.net/projects/libwebcam/
MENU:= 1
e n d e f
@ -39,8 +43,10 @@ endef
d e f i n e P a c k a g e / l i b w e b c a m
SECTION:= libs
CATEGORY:= Libraries
DEPENDS:= +libxml2 +libiconv-full
DEPENDS:= +libxml2 $( ICONV_DEPENDS)
TITLE:= Webcam library
LICENSE:= LGPL-3.0-or-later
LICENSE_FILES:= libwebcam/COPYING.LESSER
URL:= https://sourceforge.net/projects/libwebcam/
e n d e f
@ -48,9 +54,6 @@ define Package/libwebcam/description
$( call Package/uvcdynctrl/description)
e n d e f
TARGET_CFLAGS += -I$( STAGING_DIR) /usr/lib/libiconv-full/include -liconv
TARGET_LDFLAGS += -L$( STAGING_DIR) /usr/lib/libiconv-full/lib
d e f i n e P a c k a g e / u v c d y n c t r l / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/{ bin,share}
$( INSTALL_BIN) $( PKG_INSTALL_DIR) /usr/bin/uvcdynctrl* $( 1) /usr/bin/
@ -62,11 +65,5 @@ define Package/libwebcam/install
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libwebcam.so* $( 1) /usr/lib/
e n d e f
d e f i n e B u i l d / I n s t a l l D e v
$( INSTALL_DIR) $( 1) /usr/{ include,lib}
$( CP) $( PKG_INSTALL_DIR) /usr/include/* $( 1) /usr/include/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libwebcam.{ a,so*} $( 1) /usr/lib/
e n d e f
$( eval $ ( call BuildPackage ,uvcdynctrl ) )
$( eval $ ( call BuildPackage ,libwebcam ) )