From 355abcf62d2bfe4e24adcc7c930b44e7cb0608fa Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Wed, 17 Jun 2020 15:14:10 -0700 Subject: [PATCH] motion: add support for raspberrypi mmal Currently motion is failing to compile on bcm27xx because of a missing dependency. Sorted the configure options based on the order they appear in the configure script. Also removed outdated ones. Signed-off-by: Rosen Penev --- multimedia/motion/Makefile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/multimedia/motion/Makefile b/multimedia/motion/Makefile index c23e1c787..283adc721 100644 --- a/multimedia/motion/Makefile +++ b/multimedia/motion/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=motion PKG_VERSION:=4.3.1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-release-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/Motion-Project/motion/tar.gz/release-$(PKG_VERSION)? @@ -31,7 +31,7 @@ include $(INCLUDE_DIR)/nls.mk define Package/motion SECTION:=multimedia CATEGORY:=Multimedia - DEPENDS:=+libjpeg +libpthread +libmicrohttpd $(INTL_DEPENDS) + DEPENDS:=+libjpeg +libpthread +libmicrohttpd $(INTL_DEPENDS) +TARGET_bcm27xx:bcm27xx-userland TITLE:=webcam motion sensing and logging URL:=https://motion-project.github.io/ endef @@ -42,15 +42,15 @@ define Package/motion/conffiles endef CONFIGURE_ARGS += \ - --without-optimizecpu \ + --without-bktr \ + --without-webp \ + --with$(if $(CONFIG_TARGET_bcm27xx),,out)-mmal \ --without-ffmpeg \ - --without-jpeg-mmx \ - --without-sdl \ + --without-mariadb \ --without-mysql \ --without-pgsql \ --without-sqlite3 \ - --without-bktr \ - --without-webp + --without-optimizecpu define Package/motion/install $(INSTALL_DIR) $(1)/etc/config $(1)/etc/init.d