diff options
author | Sam James <sam@gentoo.org> | 2023-10-08 00:24:28 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-10-08 00:25:19 +0100 |
commit | 9a3e762a530087daea0bc72e44402b75a143094f (patch) | |
tree | bf4ad0d35a32a847b3d3825473f00a5bd96b1113 /media-video/motion | |
parent | app-crypt/acme-sh: add 3.0.7, drop 3.0.6 (diff) | |
download | gentoo-9a3e762a530087daea0bc72e44402b75a143094f.tar.gz gentoo-9a3e762a530087daea0bc72e44402b75a143094f.tar.bz2 gentoo-9a3e762a530087daea0bc72e44402b75a143094f.zip |
media-video/motion: fix build w/ newer libwebp
The patch isn't perfect as upstream (even before this) called `pkgconf` directly
and this one doesn't update CFLAGS but as a driveby this is good enough.
Closes: https://bugs.gentoo.org/910601
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-video/motion')
-rw-r--r-- | media-video/motion/files/motion-4.5.1-webp-underlinking.patch | 24 | ||||
-rw-r--r-- | media-video/motion/motion-4.5.1-r3.ebuild (renamed from media-video/motion/motion-4.5.1-r2.ebuild) | 5 |
2 files changed, 28 insertions, 1 deletions
diff --git a/media-video/motion/files/motion-4.5.1-webp-underlinking.patch b/media-video/motion/files/motion-4.5.1-webp-underlinking.patch new file mode 100644 index 000000000000..19d111fd3039 --- /dev/null +++ b/media-video/motion/files/motion-4.5.1-webp-underlinking.patch @@ -0,0 +1,24 @@ +https://github.com/Motion-Project/motionplus/issues/74 +https://github.com/Motion-Project/motionplus/commit/af632f831127499ee541d9c719a930321718f294 +https://bugs.gentoo.org/910601 + +From af632f831127499ee541d9c719a930321718f294 Mon Sep 17 00:00:00 2001 +From: Mr-Dave <MotionMrDave@gmail.com> +Date: Sat, 8 Jul 2023 21:36:06 -0600 +Subject: [PATCH] Fix webp libs. Closes #74 + +--- + configure.ac | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +--- a/configure.ac 2022-12-17 17:36:49.000000000 -0700 ++++ b/configure.ac 2023-09-25 06:39:39.399220672 -0600 +@@ -192,7 +192,7 @@ + AC_MSG_RESULT(yes) + AC_DEFINE([HAVE_WEBP], [1], [Define to 1 if WEBP is around]) + TEMP_CFLAGS="$TEMP_CFLAGS "`pkg-config --cflags libwebpmux` +- TEMP_LIBS="$TEMP_LIBS "`pkg-config --libs libwebpmux` ++ TEMP_LIBS="$TEMP_LIBS "`pkg-config --libs libwebpmux libwebp` + ],[ + AC_MSG_RESULT(no) + ] diff --git a/media-video/motion/motion-4.5.1-r2.ebuild b/media-video/motion/motion-4.5.1-r3.ebuild index 8e786bb8fe9e..b145c2763090 100644 --- a/media-video/motion/motion-4.5.1-r2.ebuild +++ b/media-video/motion/motion-4.5.1-r3.ebuild @@ -36,7 +36,10 @@ DEPEND="${RDEPEND} ) " -PATCHES=( "${FILESDIR}"/${P}-fix-gettext-0.22-format-specifier.patch ) +PATCHES=( + "${FILESDIR}"/${P}-fix-gettext-0.22-format-specifier.patch + "${FILESDIR}"/${P}-webp-underlinking.patch +) DISABLE_AUTOFORMATTING="yes" DOC_CONTENTS=" |