mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 06:32:59 -04:00
media-video/motioneye: add 0.44.0b2
Now depends on dev-python/argon2-cffi Signed-off-by: Dale Showers <gentoo@fictx.com>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST 0.43.1b5.tar.gz 1453161 BLAKE2B 09308656ffb21af03a37df94323e7f32b4aad24194b7aa6687e5c9ce030c18ca42810ba0f1631756db93668e902a818e63c68ee649c0e4f05f209400b7f85b88 SHA512 b519a595ef8a399277bca03ae451cafbfcab95f9b34ef02334e06a4e8e85fb857519bb45e8a601ec23117b2e40d40a1ad4c37d05e1fc56e5b01476b295397e6a
|
||||
DIST 0.44.0b1.tar.gz 1696296 BLAKE2B 5414e7178dd68de4077ddac33bcf64d448549ba82282e605d34e4eba6dc4d9674c6d126ca12af142760e195c2342ae960c800e8842c3c41f771d4726bfb91345 SHA512 7b5b46b8bff4263300df7fc53beed28072a5dbc9d2f97022943ebbc047c20db22aa2ca3afe915d5533462891751065fe008c13c8c4542fc229c9f5525d3565cb
|
||||
DIST 0.44.0b2.tar.gz 1750708 BLAKE2B 95da2aed3d5355d94143a051921beeb1dc4afdc7029eb07ec07274623d43952b3d87d1253567bc9e576eb83e7b5524ede6018a3c4adc24b2d5160baa4bd76518 SHA512 1cecc06518702eab4a94f590c64a23827567eeb3c9bb6e05203394450e762b035b70802810aab8aefd263d0173ac8b93f9d133718ffabf35384405f87ac83eb4
|
||||
|
||||
69
media-video/motioneye/motioneye-0.44.0_beta2.ebuild
Normal file
69
media-video/motioneye/motioneye-0.44.0_beta2.ebuild
Normal file
@@ -0,0 +1,69 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
PYTHON_COMPAT=( python3_{12..14} )
|
||||
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="b2"
|
||||
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/argon2-cffi
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user