@ -6,22 +6,21 @@
i n c l u d e $( TOPDIR ) / r u l e s . m k
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := v4l-utils
PKG_NAME := v4l-utils
PKG_VERSION := 1.16.6
PKG_RELEASE := 3
PKG_VERSION := 1.16.8
PKG_RELEASE := 1
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.bz2
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.bz2
PKG_SOURCE_URL := https://www.linuxtv.org/downloads/v4l-utils
PKG_SOURCE_URL := https://www.linuxtv.org/downloads/v4l-utils
PKG_HASH := f9dac1878e3d5636eab7f56bb209fdfc66b94ee8a2aae54dcb4282fe63a678ae
PKG_HASH := 84346bf200bd30efb8a80a65ded1b81d39ae7e0ff2272e98f478b4eee8f40d13
PKG_MAINTAINER := Ted Hess <thess@kitschensync.net>
PKG_MAINTAINER := Ted Hess <thess@kitschensync.net>
PKG_LICENSE := GPL-2.0 LGPL-2.1
PKG_LICENSE_FILES := COPYING COPYING.libv4l
PKG_USE_MIPS16 := 0
PKG_USE_MIPS16 := 0
PKG_FIXUP := autoreconf
PKG_FIXUP := autoreconf
PKG_INSTALL := 1
PKG_INSTALL := 1
PKG_BUILD_PARALLEL := 1
PKG_BUILD_DEPENDS := argp-standalone
PKG_BUILD_DEPENDS := !USE_GLIBC: argp-standalone
i n c l u d e $( INCLUDE_DIR ) / u c l i b c + + . m k
i n c l u d e $( INCLUDE_DIR ) / u c l i b c + + . m k
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 ) / p a c k a g e . m k
@ -53,6 +52,8 @@ define Package/libv4l
CATEGORY:= Libraries
CATEGORY:= Libraries
TITLE += wrapper libraries
TITLE += wrapper libraries
DEPENDS := +libpthread +librt $( ICONV_DEPENDS)
DEPENDS := +libpthread +librt $( ICONV_DEPENDS)
LICENSE:= LGPL-2.1-or-later
LICENSE_FILES:= COPYING.libv4l
e n d e f
e n d e f
d e f i n e P a c k a g e / l i b v 4 l / d e s c r i p t i o n
d e f i n e P a c k a g e / l i b v 4 l / d e s c r i p t i o n
@ -64,7 +65,9 @@ define Package/v4l-utils
SECTION:= utils
SECTION:= utils
CATEGORY:= Utilities
CATEGORY:= Utilities
TITLE += utilities
TITLE += utilities
DEPENDS := +libv4l $( CXX_DEPENDS) $( ICONV_DEPENDS) $( INTL_DEPENDS)
DEPENDS:= +libv4l $( CXX_DEPENDS) $( ICONV_DEPENDS) $( INTL_DEPENDS)
LICENSE:= GPL-2.0-or-later
LICENSE_FILES:= COPYING
e n d e f
e n d e f
d e f i n e P a c k a g e / v 4 l - u t i l s / d e s c r i p t i o n
d e f i n e P a c k a g e / v 4 l - u t i l s / d e s c r i p t i o n
@ -73,7 +76,10 @@ define Package/v4l-utils/description
e n d e f
e n d e f
TARGET_CFLAGS += -flto
TARGET_CFLAGS += -flto
TARGET_LDFLAGS += -largp -Wl,--gc-sections
TARGET_CXXFLAGS += -std= c++11
TARGET_LDFLAGS += \
$( if $( CONFIG_LIBC_USE_GLIBC) ,,-largp) \
-Wl,--gc-sections,--as-needed
CONFIGURE_ARGS += \
CONFIGURE_ARGS += \
--disable-bpf \
--disable-bpf \
@ -81,7 +87,7 @@ CONFIGURE_ARGS+= \
--disable-libdvbv5 \
--disable-libdvbv5 \
--disable-qv4l2 \
--disable-qv4l2 \
--disable-qvidcap \
--disable-qvidcap \
--without-jpeg \
--without-jpeg
d e f i n e B u i l d / I n s t a l l D e v
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
$( INSTALL_DIR) $( 1) /usr/include