wok diff motion/receipt @ rev 25017

updated openjpeg, openjpeg-dev and openjpeg-tools (1.5.0 -> 1.5.2)
author Hans-G?nter Theisgen
date Wed May 18 06:55:41 2022 +0100 (2022-05-18)
parents 5ea0ce1cecc0
children 67fca9298007
line diff
     1.1 --- a/motion/receipt	Tue Jun 08 08:46:05 2021 +0000
     1.2 +++ b/motion/receipt	Wed May 18 06:55:41 2022 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="motion"
     1.7 -VERSION="4.3.0"
     1.8 +VERSION="4.4.0"
     1.9  CATEGORY="multimedia"
    1.10  SHORT_DESC="Monitors the video signal from cameras."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 @@ -12,8 +12,8 @@
    1.13  WGET_URL="https://github.com/Motion-Project/$PACKAGE/archive/release-$VERSION.tar.gz"
    1.14  
    1.15  DEPENDS="ffmpeg jpeg libmicrohttpd libpthread-stubs libv4l"
    1.16 -BUILD_DEPENDS="automake ffmpeg-dev jpeg-dev libmicrohttpd-dev libpthread-stubs \
    1.17 -	libtool libv4l-dev"
    1.18 +BUILD_DEPENDS="automake ffmpeg-dev jpeg-dev libatomic libmicrohttpd-dev
    1.19 +	libpthread-stubs libtool libv4l-dev"
    1.20  
    1.21  current_version()
    1.22  {
    1.23 @@ -24,12 +24,15 @@
    1.24  # Rules to configure and make the package.
    1.25  compile_rules()
    1.26  {
    1.27 -	sed -i 's@<linux/videodev.h>@<libv4l1.h>\n#include <linux/videodev2.h>@' \
    1.28 -		src/*.c \
    1.29 -		src/*.h
    1.30 +#	sed -i 's@<linux/videodev.h>@<libv4l1.h>\n#include <linux/videodev2.h>@' \
    1.31 +#		src/*.c \
    1.32 +#		src/*.h
    1.33  
    1.34  	autoreconf -fiv &&
    1.35 -	./configure			\
    1.36 +	./configure				\
    1.37 +		CFLAGS="$CFLAGS -lvpx"		\
    1.38 +		LDFLAGS="$LDFLAGS -latomic"	\
    1.39 +		--disable-nls			\
    1.40  		--sysconfdir=/etc/motion &&
    1.41  	make &&
    1.42  	make install