0
0
mirror of https://github.com/openwrt/packages.git synced 2025-09-14 06:39:41 +00:00
Files
packages/multimedia/v4l2tools/Makefile
Robert Marko 272f55e87f treewide: refresh hashes after move to use ZSTD as default
With the recent move to using ZSTD as the default compression format
for packaging git repo clones we must refresh all of the hashes for
the packages feed as well.

Signed-off-by: Robert Marko <robimarko@gmail.com>
2024-04-07 12:06:34 +02:00

45 lines
1.2 KiB
Makefile

# This software is in the public domain, furnished "as is", without technical
# support, and with no warranty, express or implied, as to its usefulness for
# any purpose.
include $(TOPDIR)/rules.mk
PKG_NAME:=v4l2tools
PKG_VERSION:=0.2.0
PKG_RELEASE:=2
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/mpromonet/v4l2tools.git
PKG_SOURCE_VERSION:=v$(PKG_VERSION)
PKG_MIRROR_HASH:=f50aa7de73d86f99b07dcf9db3e92d58996afcf0a79492b4be331fccf8bb4abc
PKG_MAINTAINER:=Michel Promonet<michel.promonet@free.fr>
PKG_LICENSE:=Unlicense
PKG_LICENSE_FILES:=LICENCE
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk
PKG_CONFIG_DEPENDS := CONFIG_PACKAGE_libvpx
define Package/v4l2tools
SECTION:=multimedia
CATEGORY:=Multimedia
TITLE:=v4l2tools
DEPENDS:=+libstdcpp +libjpeg +PACKAGE_libvpx:libvpx
URL:=https://github.com/mpromonet/v4l2tools
endef
CMAKE_OPTIONS += \
-DWITH_JPEG=ON \
-DWITH_VPX=$(if $(CONFIG_PACKAGE_libvpx),ON,OFF) \
-DWITH_X264=OFF \
-DWITH_X265=OFF
define Package/v4l2tools/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/v4l2tools-$(PKG_VERSION) $(1)/usr/bin/v4l2tools
endef
$(eval $(call BuildPackage,v4l2tools))