From: classabbyamp <classabbyamp@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] New package: motionplus-0.2.1
Date: Sat, 13 Jul 2024 01:59:59 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-51230@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 1237 bytes --]
There is a new pull request by classabbyamp against master on the void-packages repository
https://github.com/classabbyamp/void-packages motion-plus
https://github.com/void-linux/void-packages/pull/51230
New package: motionplus-0.2.1
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/51230.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-motion-plus-51230.patch --]
[-- Type: text/x-diff, Size: 2679 bytes --]
From 145b8f30f72047f57cca9757349c010d54cc88f8 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Fri, 12 Jul 2024 19:58:11 -0400
Subject: [PATCH] New package: motionplus-0.2.1
---
srcpkgs/motionplus/files/motionplus/run | 4 +++
srcpkgs/motionplus/template | 34 +++++++++++++++++++++++++
srcpkgs/motionplus/update | 1 +
3 files changed, 39 insertions(+)
create mode 100644 srcpkgs/motionplus/files/motionplus/run
create mode 100644 srcpkgs/motionplus/template
create mode 100644 srcpkgs/motionplus/update
diff --git a/srcpkgs/motionplus/files/motionplus/run b/srcpkgs/motionplus/files/motionplus/run
new file mode 100644
index 00000000000000..b800c82be3fbdd
--- /dev/null
+++ b/srcpkgs/motionplus/files/motionplus/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+exec 2>&1
+export HOME=/var/lib/motionplus
+exec chpst -u _motionplus:_motionplus:audio:video motionplus -n
diff --git a/srcpkgs/motionplus/template b/srcpkgs/motionplus/template
new file mode 100644
index 00000000000000..8a0946ba297498
--- /dev/null
+++ b/srcpkgs/motionplus/template
@@ -0,0 +1,34 @@
+# Template file for 'motionplus'
+pkgname=motionplus
+version=0.2.1
+revision=1
+build_style=gnu-configure
+configure_args="--sysconfdir=/etc"
+hostmakedepends="automake gettext-devel-tools pkgconf"
+makedepends="gettext-devel libjpeg-turbo-devel libmicrohttpd-devel ffmpeg-devel
+ libcamera-devel libopencv-devel sqlite-devel alsa-lib-devel pulseaudio-devel
+ fftw-devel v4l-utils-devel"
+short_desc="Monitor and record video signals from many types of cameras"
+maintainer="classabbyamp <void@placeviolette.net>"
+license="GPL-3.0-or-later"
+homepage="https://motion-project.github.io"
+changelog="https://github.com/Motion-Project/motionplus/releases"
+distfiles="https://github.com/Motion-Project/motionplus/archive/refs/tags/release-${version}.tar.gz"
+checksum=5f1d8ba14e476e0c905dc989ad884640d1e154adcb8d7aec9e340f1c529c8bcb
+conf_files="/etc/motionplus/motionplus.conf"
+make_dirs="/var/lib/motionplus 755 _motionplus _motionplus"
+system_accounts="_motionplus"
+_motionplus_homedir="/var/lib/motionplus"
+_motionplus_groups="audio,video"
+
+pre_configure() {
+ autoreconf -fi
+}
+
+post_install() {
+ vmkdir usr/share/examples/motionplus
+ mv "${DESTDIR}"/etc/motionplus/*dist* "${DESTDIR}"/usr/share/examples/motionplus
+ cp "${DESTDIR}"/usr/share/examples/motionplus/motionplus-dist.conf \
+ "${DESTDIR}"/etc/motionplus/motionplus.conf
+ vsv motionplus
+}
diff --git a/srcpkgs/motionplus/update b/srcpkgs/motionplus/update
new file mode 100644
index 00000000000000..d309484699391d
--- /dev/null
+++ b/srcpkgs/motionplus/update
@@ -0,0 +1 @@
+pkgname=release
next reply other threads:[~2024-07-12 23:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-12 23:59 classabbyamp [this message]
2024-07-13 5:12 ` [PR PATCH] [Updated] " classabbyamp
2024-07-13 6:33 ` classabbyamp
2024-10-12 1:57 ` github-actions
2024-10-26 1:58 ` [PR PATCH] [Closed]: " github-actions
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-51230@inbox.vuxu.org \
--to=classabbyamp@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).