summaryrefslogtreecommitdiff
path: root/media-video/motion/motion-4.5.1-r2.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'media-video/motion/motion-4.5.1-r2.ebuild')
-rw-r--r--media-video/motion/motion-4.5.1-r2.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/media-video/motion/motion-4.5.1-r2.ebuild b/media-video/motion/motion-4.5.1-r2.ebuild
index 55cb4df6acd2..8e786bb8fe9e 100644
--- a/media-video/motion/motion-4.5.1-r2.ebuild
+++ b/media-video/motion/motion-4.5.1-r2.ebuild
@@ -8,6 +8,7 @@ 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"
@@ -34,6 +35,9 @@ DEPEND="${RDEPEND}
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
@@ -51,8 +55,6 @@ To install motion as a service, use:
- systemctl enable motion.service # with systemd
"
-S="${WORKDIR}"/${PN}-release-${PV}
-
src_prepare() {
default
eautoreconf