Commit c232c523 authored by José Mª. Fernández's avatar José Mª. Fernández

Removed media-video/motion, as the latest version is already at gentoo

parent 170b1dd0
AUX motion.confd 99 SHA256 c43ac28bcf76d96b105a03d0d3685688c5f731894bf68a501706681bba76b060 SHA512 b0135b220ac2f1857012455726fb5c5aaa73a79f864619cb7fbfbb1e8aaf95b0c4dd51bbc30f29714cc29a271f9196f3d92e160fa75a90ccbcf0024640620d5d WHIRLPOOL fc69fca880a1f6b53d216b2ca7ffba73041f696e64a9df6986ec98bc49306d0770d8b7164c17c1961bb5300cc5bb4c7665d0aad5418f2645cf1cb561743774ee
AUX motion.initd-r2 794 SHA256 08d22b00de3fc47c7a4616cbc3d8f982465e48e271a32f065535d44adf0d1360 SHA512 def3311f4493e73deae4b8a50c358f71bb24b26dbf5e56505a679fe3edab3bdfe37d5a1e377101c50fb1c828f381f4488ee308834d2acb998cf21350ba027b02 WHIRLPOOL 897d9761d2a374895184ecfeb96f0fa0dd99dac97e67381675c7592175e906eda2c47db0da661f9545b7530623b33a7a6ecfaa677780d9e9af2494f06a05fbc0
DIST motion-3.4.1.tar.gz 386808 SHA256 0d1702c7958fd03b99bf4fdcb45d8e604864e5867034f825f2fc543e8be64549 SHA512 9df34dc40f2baf2f66951d7abb70947b41f848e3c0b391468b34d45aeb131e3b2af7c8952f928cdfe7dc9bb36690cc5a41fe699d0ecb5fe14c2cc7284628b18b WHIRLPOOL 02e8b63e10dbfe5f3a3ee2899b75d51546fff977d12c13f04ff84564dc1216fa978c1964f8f416fa36e10c1c4c4fa4b9529417f67c4f80bcae6f7d8222f77a51
DIST motion-4.0.1.tar.gz 444779 SHA256 2f67669a09ce0481ecd987028dae1c5cb135dfdc3c254c06ab7c9ca0c6c183f0 SHA512 6ccde3890e6af56f28208321987dd1b9d62a55bbe7cbc3ab5600263602e6e8f47589392c2f3a3a6cb54f927ee76aea94d0e83f26ce8e4047890c891b6c2f8976 WHIRLPOOL 425587a1ff52edadddbdc7fd65cdb015324b99514128d3810a6d1bb6d2cd2f1c5daea03c1db0c4a89679358793f9201156dd821ce795d704ede12bdb151fafdd
EBUILD motion-3.4.1.ebuild 2199 SHA256 fa87b8828dedb47ea2cd9abf44d8e8829f80ff9879e8d2d531ac504aba6a63b1 SHA512 fb698dec85db104fd57ff08524b4a36c1792b0202e5adf74994db78c2a92bc8e8aae4be25696136b0ed8968c7e6ca4b4655512f97349ae2798a01a75d85157d5 WHIRLPOOL 9e7d048999e9960c1b2d8c06c2a5562c42d59454f8bb499e7f293ebcd978415094974a01bca977503084add81d1182cc85d7fbbaa3d8f16a7238ad9c7cfe0976
EBUILD motion-4.0.1.ebuild 2227 SHA256 0892d8841adceec9c9993074c3c7a87513bee99fc780bca0138b32d0a5b1bb28 SHA512 f266ec9120c1318a9e893f2e604e62e1ae4921186de306763cc10ce89e35639ef0c0e21c51bb79dab207064f12ef0bd859b8c036744fee4e5950ec552aa3c1fb WHIRLPOOL 987757a15ecade0c37b6b2ddce9e524b8034c88e08bc1fc976802423f2da0ed25f12140ea0a0b4649f4bbcf7a5bd1b45530bc45dee788ef504e736d6e94321b9
MISC metadata.xml 299 SHA256 bc0fcdc464e12971566c3231b2e27894c3eab0a53ba2372bf73a380ff0ad28fa SHA512 eab44b0e557365a9d2aebec9bcd4a2add3431a3909efb442150b629c71708fb5b20b5ab41970c91116850d2360a5b288d530c5f2a79a1554e25e6c39082b5315 WHIRLPOOL 50c9cb2dbc7def55d364c04b97ab183854197824d1fc8c3959857855787387f6e7e53beadc34b6c468ea3ed53d9c7c0d027ca2693421f94a77549fc6609d844b
# Set the user and group under which motion will be ran
MOTION_USER="motion"
MOTION_GROUP="video"
#!/sbin/openrc-run
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
extra_started_commands="reload"
_create_motion_run_dir() {
local dir="/var/run/motion"
if ! [ -d "$dir" ]; then
mkdir -p -m750 "$dir"
chown ${MOTION_USER}:${MOTION_GROUP} "$dir"
fi
}
depend() {
need modules
after mysql
}
start() {
_create_motion_run_dir
ebegin "Starting motion detection"
start-stop-daemon --start -u ${MOTION_USER} -g ${MOTION_GROUP} --quiet --exec /usr/bin/motion
eend $?
}
stop() {
ebegin "Stopping motion detection"
start-stop-daemon --stop --quiet --exec /usr/bin/motion
eend $?
}
reload() {
ebegin "Reloading motion detection configuration"
start-stop-daemon --stop --signal HUP --exec /usr/bin/motion
eend $?
}
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>media-video@gentoo.org</email>
</maintainer>
<upstream>
<remote-id type="sourceforge">motion</remote-id>
</upstream>
</pkgmetadata>
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit autotools eutils readme.gentoo user
DESCRIPTION="A software motion detector"
HOMEPAGE="http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome"
SRC_URI="https://github.com/Motion-Project/${PN}/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-release-${PV}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~ppc ~x86"
IUSE="ffmpeg libav mysql postgres sdl sqlite +v4l"
RDEPEND="
sys-libs/zlib
virtual/jpeg
sdl? ( media-libs/libsdl )
ffmpeg? (
libav? ( media-video/libav:= )
!libav? ( media-video/ffmpeg:0= )
)
mysql? ( virtual/mysql )
postgres? ( dev-db/postgresql )
sqlite? ( dev-db/sqlite )
"
# note: libv4l is only in dependencies for the libv4l1-videodev.h header file
# used by the -workaround-v4l1_deprecation.patch.
DEPEND="${RDEPEND}
v4l? ( virtual/os-headers media-libs/libv4l )
"
DISABLE_AUTOFORMATTING="yes"
DOC_CONTENTS="You need to setup /etc/motion.conf before running
motion for the first time.
You can install motion detection as a service, use:
rc-update add motion default
"
pkg_setup() {
enewuser motion -1 -1 -1 video
}
src_prepare() {
# epatch \
# "${FILESDIR}"/ffmpeg-1.patch \
# "${FILESDIR}"/ffmpeg-2.patch \
# "${FILESDIR}"/ffmpeg-3.patch \
# "${FILESDIR}"/ffmpeg-4.patch \
# "${FILESDIR}"/ffmpeg-5.patch \
# "${FILESDIR}"/libav-9.patch \
# "${FILESDIR}"/${P}-workaround-v4l1_deprecation.patch
eautoreconf
}
src_configure() {
econf \
$(use_with sdl) \
$(use_with v4l) \
$(use_with ffmpeg) \
$(use_with mysql) \
$(use_with postgres pgsql) \
$(use_with sqlite sqlite3) \
--without-optimizecpu
}
src_install() {
emake \
DESTDIR="${D}" \
DOC='CHANGELOG CODE_STANDARD CREDITS FAQ README' \
docdir=/usr/share/doc/${PF} \
EXAMPLES='thread*.conf' \
examplesdir=/usr/share/doc/${PF}/examples \
install
dohtml *.html
newinitd "${FILESDIR}"/motion.initd-r2 motion
newconfd "${FILESDIR}"/motion.confd motion
for A in 1 2 3 4 ; do
mv -vf "${D}"etc/motion/thread${A}{-dist,}.conf || die
done
mv -vf "${D}"etc/motion/motion{-dist,}.conf || die
readme.gentoo_create_doc
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment