v4l2camera: update to 0.2.0
authorRosen Penev <rosenp@gmail.com>
Tue, 28 May 2024 22:56:49 +0000 (15:56 -0700)
committerRosen Penev <rosenp@gmail.com>
Tue, 4 Jun 2024 21:13:57 +0000 (14:13 -0700)
fix compilation when ALSA is found

Need to link against libasound.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
multimedia/v4l2camera/Makefile

index c30be0929d19a9e242e33185c3e0ab4fcbe56c69..26e72e2db9cbb558dd02ebf513cab0dcd5514d29 100644 (file)
@@ -5,16 +5,16 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=v4l2camera
-PKG_VERSION:=0.1.8
-PKG_RELEASE:=2
+PKG_VERSION:=0.2.0
+PKG_RELEASE:=1
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=https://github.com/mpromonet/v4l2camera
 PKG_SOURCE_VERSION:=v$(PKG_VERSION)
-PKG_MIRROR_HASH:=455445e6c59faa03100706fadd00bbe4a8ccb8d1adb52f2d405f5708aa084e10
+PKG_MIRROR_HASH:=d35223631dbbe78107d807ee0de78abe1214b67df85d0140ef28c12176c924cc
 
 UI_FILE:=v4l2camera-ui-$(PKG_VERSION).tgz
-UI_HASH:=9a03905fde298abe028e01ba575006a5bff5182ed3d45da01eace045cfef2f82
+UI_HASH:=147eceba82478c53f0de0fe1c705be1025151d36a0b8f969e238267b42f5c223
 
 LIVE555_VERSION:=2023.01.19
 LIVE555_HASH:=a7c64913f7f7007c5fdc29ea811e3ca781f262271b3e42afdd4bc1041d86fa99
@@ -35,7 +35,7 @@ define Package/v4l2camera
   SECTION:=multimedia
   CATEGORY:=Multimedia
   TITLE:=v4l2camera
-  DEPENDS:=+libstdcpp 
+  DEPENDS:=+libstdcpp +alsa-lib
   URL:=https://github.com/mpromonet/v4l2camera
 endef
 
@@ -60,6 +60,8 @@ define Download/ui
        HASH:=$(UI_HASH)
 endef
 
+TARGET_LDFLAGS += -lasound
+
 define Build/Prepare
        # download live555
        $(eval $(call Download,live555))