From 32c16465e56b0122cf6e5a4625e9c7b56b107b07 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 8 Oct 2023 06:02:21 +0100 Subject: gentoo auto-resync : 08:10:2023 - 06:02:21 --- media-video/Manifest.gz | Bin 25362 -> 25369 bytes media-video/motion/Manifest | 3 +- .../files/motion-4.5.1-webp-underlinking.patch | 24 ++++++ media-video/motion/motion-4.5.1-r2.ebuild | 88 -------------------- media-video/motion/motion-4.5.1-r3.ebuild | 91 +++++++++++++++++++++ 5 files changed, 117 insertions(+), 89 deletions(-) create mode 100644 media-video/motion/files/motion-4.5.1-webp-underlinking.patch delete mode 100644 media-video/motion/motion-4.5.1-r2.ebuild create mode 100644 media-video/motion/motion-4.5.1-r3.ebuild (limited to 'media-video') diff --git a/media-video/Manifest.gz b/media-video/Manifest.gz index f6b4b13c8571..c254e77d3627 100644 Binary files a/media-video/Manifest.gz and b/media-video/Manifest.gz differ diff --git a/media-video/motion/Manifest b/media-video/motion/Manifest index d4b04430bc80..15c98a30e399 100644 --- a/media-video/motion/Manifest +++ b/media-video/motion/Manifest @@ -1,7 +1,8 @@ AUX motion-4.5.1-fix-gettext-0.22-format-specifier.patch 956 BLAKE2B 4fb34190389d9373d7597bdaf0eea817c50a10d97f7e9782042eaf60c98f6c9dcaf64f8098c2a842973a6b0cd7749690b80084be1e7f208053269810a9373b46 SHA512 de2965174af33ce2a2254b8a4f784212869d2eb6ed8dafb1dfaa95f03e1d79d83878c4ad3ff0411f959a758a8a8cf58d516bdd0d1bed669e8357640c840f3919 +AUX motion-4.5.1-webp-underlinking.patch 931 BLAKE2B 278739484b7fc2b1316eb6c3922cca9cb7d854d537a04aceba4964f7caec225a66392cbbb5a2c543521833490a7a5055d4beec06a6ab42f7927be9c094c0865a SHA512 536146b4fac2fae59bbd87654b09e112b2bd8958f5190801a0786ac1ebbacdc35c0f6322e25177f58856dea7e64fc453ce33810a9f17d55a8e0e537a7b5c5fe9 AUX motion.confd-r5 884 BLAKE2B 63c497e942ae499271504d308f826f23d718ac968f7735e340ef2fa8a7b1a64d63365686cc00137141bd4b788975c00b4ea3eaf38c1dd9bd219d3d50ff0da8e0 SHA512 998dcfe4160c90adf2683f0194fcf867f0062f1e54355c1158ecb9965a5ed2c30f362147ac9a915b42ba681184d91e78c3a1d397c4b92ee48440d00f3ac0df99 AUX motion.initd-r5 1392 BLAKE2B 87ac71a1e75ace73ac28c52ff0b1d6bbce364e6d43ef8604f3b90c08646fcf4a66abb4d7b16170eb63e7f7f65e5155382c9bf12ff074feffd2c6f3f16479518c SHA512 0060c062e7ce7f3b9c6ae70d0d6830a1676d9a173072bb3464b42fc2bd595d6237524a1ea916f60268533087647e81eef3b39a1b086cf8e8970837d96e48146c AUX motion.service-r4 497 BLAKE2B 8941424317635d214e74d5d558a443212129c38fed9921b101bd3689d743ed6bd68e30748075ae8c5d26aa10732fc6ce1f08707c9ed559eb89a27322e57e0995 SHA512 44e0fa13e4d93af517a06bac5191d16d528648c6b3eb9d56f80e447db7ef46b311acf6fd1d2159a24fa22200be41bdc62eeef8670ddba918bdd28f6d710f90c0 DIST motion-release-4.5.1.tar.gz 856665 BLAKE2B 59ae638113c7f08ced4b18d7c4f19e3b3f1850ba0cd4c224b300be5ac65ae3b45aa391f26f506a91bb4c38a47b552c71db846d2b3217ccf0b2f5799873ab7ddb SHA512 3b8b60ad4f41c37cc215aa575b0295ee99b15f2d32cbf3393c0f7cdd8d87616cca1c00e11cb7bf74e4afa285caa094f08df3ba62ab21dcb28a48336e3ff5803e -EBUILD motion-4.5.1-r2.ebuild 2303 BLAKE2B 8a3100940820e1bf29711c1cbd7f09b6ca3408936757df1f55d3050dba33b1471ed853e0653f29e97a73f81194909f09820ce2ef728b08bf4f479c76138ec415 SHA512 84855758570248de10c989e035652bbe526edaa899a6af236ea17ab86ce04f46ae354314f309c565c5639d53332e43521a1fd73a9881f3997a5a55d0edf284c3 +EBUILD motion-4.5.1-r3.ebuild 2348 BLAKE2B d55e46855de12b6c63cf90540d129aa93f387cf91ff890f00a06215b583b748f0b1528d3b9a6f323424ef343fcec515566b61f26081b2684eab6b80a8feebc30 SHA512 665dcb6486be8eaf3e82c9afd93c47f6fc29361a273159873908fabfe1934d6c017a220251be20ac3a8de4a6ac591c240684646a1ef3bf6d2b72d04364e0d546 MISC metadata.xml 766 BLAKE2B 1385dc89a2d67fc06b0c430b7cb6a606ce22af15c633edc78382e48bc14e423a2a4ff1553531e0e373151e48d2fed1ab78f9da67680fda3eea6b3d717b077d22 SHA512 8c944d3b1bb54b25597bae085b3fdc3da3ff3677eb97fee314558597917355a2fa4db4216720dc51aa171bb032eb426ae8b1d3c9bc5efed3662af75d8d49cc54 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 +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-r2.ebuild deleted file mode 100644 index 8e786bb8fe9e..000000000000 --- a/media-video/motion/motion-4.5.1-r2.ebuild +++ /dev/null @@ -1,88 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools readme.gentoo-r1 systemd - -DESCRIPTION="A software motion detector" -HOMEPAGE="https://motion-project.github.io" -SRC_URI="https://github.com/Motion-Project/${PN}/archive/release-${PV}.tar.gz -> ${PN}-release-${PV}.tar.gz" -S="${WORKDIR}/${PN}-release-${PV}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86" -IUSE="ffmpeg mariadb mmal mysql postgres sqlite v4l webp" - -RDEPEND=" - acct-group/motion - acct-user/motion - net-libs/libmicrohttpd:= - media-libs/libjpeg-turbo:= - >=sys-devel/gettext-0.19 - ffmpeg? ( media-video/ffmpeg:0= ) - mariadb? ( dev-db/mariadb-connector-c ) - mmal? ( media-libs/raspberrypi-userland ) - mysql? ( dev-db/mysql-connector-c ) - postgres? ( dev-db/postgresql:= ) - sqlite? ( dev-db/sqlite:3 ) - webp? ( media-libs/libwebp:= ) -" -DEPEND="${RDEPEND} - v4l? ( - media-libs/libv4l - virtual/os-headers - ) -" - -PATCHES=( "${FILESDIR}"/${P}-fix-gettext-0.22-format-specifier.patch ) - -DISABLE_AUTOFORMATTING="yes" -DOC_CONTENTS=" -You need to setup a configuraton file (/etc/motion/motion.conf) before -running motion for the first time. - -If motion is built with the mysql or mariadb use flags then please make -sure to configure a matching database_type in the config file. - -Motion runs by default under user motion and group motion: -- change this if needed in /etc/conf.d/motion -- or add users who need access to the output files to the motion group - -To install motion as a service, use: -- rc-update add motion default # with OpenRC -- systemctl enable motion.service # with systemd -" - -src_prepare() { - default - eautoreconf -} - -src_configure() { - econf \ - $(use_with ffmpeg) \ - $(use_with mariadb) \ - $(use_with mmal) \ - $(use_with mysql) \ - $(use_with postgres pgsql) \ - $(use_with sqlite sqlite3) \ - $(use_with v4l v4l2) \ - $(use_with webp) \ - --without-optimizecpu -} - -src_install() { - emake \ - DESTDIR="${D}" \ - docdir=/usr/share/doc/${PF} \ - examplesdir=/usr/share/doc/${PF}/examples \ - install - - newinitd "${FILESDIR}/motion.initd-r5" ${PN} - newconfd "${FILESDIR}/motion.confd-r5" ${PN} - systemd_newunit "${FILESDIR}/${PN}.service-r4" "${PN}.service" - readme.gentoo_create_doc - readme.gentoo_print_elog -} diff --git a/media-video/motion/motion-4.5.1-r3.ebuild b/media-video/motion/motion-4.5.1-r3.ebuild new file mode 100644 index 000000000000..b145c2763090 --- /dev/null +++ b/media-video/motion/motion-4.5.1-r3.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools readme.gentoo-r1 systemd + +DESCRIPTION="A software motion detector" +HOMEPAGE="https://motion-project.github.io" +SRC_URI="https://github.com/Motion-Project/${PN}/archive/release-${PV}.tar.gz -> ${PN}-release-${PV}.tar.gz" +S="${WORKDIR}/${PN}-release-${PV}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86" +IUSE="ffmpeg mariadb mmal mysql postgres sqlite v4l webp" + +RDEPEND=" + acct-group/motion + acct-user/motion + net-libs/libmicrohttpd:= + media-libs/libjpeg-turbo:= + >=sys-devel/gettext-0.19 + ffmpeg? ( media-video/ffmpeg:0= ) + mariadb? ( dev-db/mariadb-connector-c ) + mmal? ( media-libs/raspberrypi-userland ) + mysql? ( dev-db/mysql-connector-c ) + postgres? ( dev-db/postgresql:= ) + sqlite? ( dev-db/sqlite:3 ) + webp? ( media-libs/libwebp:= ) +" +DEPEND="${RDEPEND} + v4l? ( + media-libs/libv4l + virtual/os-headers + ) +" + +PATCHES=( + "${FILESDIR}"/${P}-fix-gettext-0.22-format-specifier.patch + "${FILESDIR}"/${P}-webp-underlinking.patch +) + +DISABLE_AUTOFORMATTING="yes" +DOC_CONTENTS=" +You need to setup a configuraton file (/etc/motion/motion.conf) before +running motion for the first time. + +If motion is built with the mysql or mariadb use flags then please make +sure to configure a matching database_type in the config file. + +Motion runs by default under user motion and group motion: +- change this if needed in /etc/conf.d/motion +- or add users who need access to the output files to the motion group + +To install motion as a service, use: +- rc-update add motion default # with OpenRC +- systemctl enable motion.service # with systemd +" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf \ + $(use_with ffmpeg) \ + $(use_with mariadb) \ + $(use_with mmal) \ + $(use_with mysql) \ + $(use_with postgres pgsql) \ + $(use_with sqlite sqlite3) \ + $(use_with v4l v4l2) \ + $(use_with webp) \ + --without-optimizecpu +} + +src_install() { + emake \ + DESTDIR="${D}" \ + docdir=/usr/share/doc/${PF} \ + examplesdir=/usr/share/doc/${PF}/examples \ + install + + newinitd "${FILESDIR}/motion.initd-r5" ${PN} + newconfd "${FILESDIR}/motion.confd-r5" ${PN} + systemd_newunit "${FILESDIR}/${PN}.service-r4" "${PN}.service" + readme.gentoo_create_doc + readme.gentoo_print_elog +} -- cgit v1.2.3