commit:     7f6f8a7a31551079b73f5d25db426585a1be3880
Author:     Dale Showers <gentoo <AT> fictx <DOT> com>
AuthorDate: Tue Sep  2 21:07:11 2025 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Tue Sep  2 21:07:48 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7f6f8a7a

media-video/motioneye: new package, add 0.43.1_beta4

Signed-off-by: Dale Showers <gentoo <AT> fictx.com>

 media-video/motioneye/Manifest                     |  1 +
 media-video/motioneye/metadata.xml                 | 14 +++++
 .../motioneye/motioneye-0.43.1_beta4.ebuild        | 68 ++++++++++++++++++++++
 3 files changed, 83 insertions(+)

diff --git a/media-video/motioneye/Manifest b/media-video/motioneye/Manifest
new file mode 100644
index 0000000000..da92bffe08
--- /dev/null
+++ b/media-video/motioneye/Manifest
@@ -0,0 +1 @@
+DIST 0.43.1b4.tar.gz 1387648 BLAKE2B 
96732de3ebc02d6c95c673c8ba5c82d0b522792d79049c83038ec3bb76c82fc81fd1107cfef5a4bc37f7721a441579dc8398b3e118b49bd5e417fe75ed163c6d
 SHA512 
492aa342d26485cae46eb9d87affba2b4d32153445d43cf85f6184ac8352ec040b30ee4620edb62fdcfdb03800866cc8ec9482de12bf6fed584705d7e86b229c

diff --git a/media-video/motioneye/metadata.xml 
b/media-video/motioneye/metadata.xml
new file mode 100644
index 0000000000..71313c7ed4
--- /dev/null
+++ b/media-video/motioneye/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+    <maintainer type="person">
+        <name>Dale Showers</name>
+        <email>[email protected]</email>
+    </maintainer>
+    <upstream>
+        
<changelog>https://github.com/motioneye-project/motioneye/releases</changelog>
+        <doc>https://github.com/motioneye-project/motioneye/wiki</doc>
+        
<bugs-to>https://github.com/motioneye-project/motioneye/issues</bugs-to>
+        <remote-id type="github">motioneye-project/motioneye</remote-id>
+    </upstream>
+</pkgmetadata>

diff --git a/media-video/motioneye/motioneye-0.43.1_beta4.ebuild 
b/media-video/motioneye/motioneye-0.43.1_beta4.ebuild
new file mode 100644
index 0000000000..6ca21568c5
--- /dev/null
+++ b/media-video/motioneye/motioneye-0.43.1_beta4.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{7..13} )
+DISTUTILS_USE_PEP517=setuptools
+
+inherit readme.gentoo-r1 systemd distutils-r1
+
+DESCRIPTION="A web frontend for the motion daemon, Python 3"
+HOMEPAGE="https://github.com/motioneye-project/motioneye";
+MY_PV="b4"
+SRC_URI="https://github.com/${PN}-project/${PN}/archive/refs/tags/$(ver_cut 
1-3)${MY_PV}.tar.gz"
+S="${WORKDIR}/${PN}-$(ver_cut 1-3)${MY_PV}"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="dev-python/babel
+               dev-python/boto3
+               dev-python/jinja2
+               dev-python/pillow
+               dev-python/pycurl
+               dev-python/tornado
+               media-video/motion[ffmpeg,v4l]"
+
+DEPEND="${RDEPEND}"
+
+BDEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
+
+DISABLE_AUTOFORMATTING="yes"
+DOC_CONTENTS="
+Motioneye is run under the motion user installed via the media-video/motion 
package.
+
+Configuration files are under /etc/motioneye and need to be writable by the 
motion user.
+Copy /etc/motioneye/motioneye.conf.sample to /etc/motioneye/motioneye.conf and 
edit
+Logs are located by default under /var/log/motioneye and must be writable by 
the motion user.
+Videos are saved by default under /var/lib/motioneye and must be writable by 
the motion user.
+
+Web interface
+- default listens on 0.0.0.0:8765
+- default login user=admin pasword left blank
+
+To install motioneye as a service, use:
+- rc-update add motioneye default # with OpenRC
+- systemctl enable motioneye.service # with systemd
+"
+distutils_enable_tests pytest
+src_install() {
+       distutils-r1_src_install
+       diropts -omotion -gmotion
+       keepdir /var/lib/${PN}
+       keepdir /var/log/${PN}
+       dodir /etc/${PN}
+       insopts -m 660 -omotion -gmotion
+       insinto /etc/${PN}
+       doins "$S/${PN}/extra/${PN}.conf.sample"
+
+       newinitd "$S/${PN}/extra/${PN}.sysv" "${PN}"
+       systemd_newunit "$S/${PN}/extra/${PN}.systemd" "${PN}.service"
+       readme.gentoo_create_doc
+}
+
+pkg_postinst () {
+       readme.gentoo_print_elog
+}

Reply via email to