diff options
author | Sam James <sam@gentoo.org> | 2023-02-15 06:26:10 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-02-15 06:26:51 +0000 |
commit | 5d43c7f07be00ab49834b32ee3a7fd3de12400eb (patch) | |
tree | 3f31db8e1a71160a302ab7cb10db4dc0e7a28340 /media-video/noad/noad-0.8.7-r1.ebuild | |
parent | dev-util/maturin: enable password-storage in 1.0.0_beta1 (diff) | |
download | gentoo-5d43c7f07be00ab49834b32ee3a7fd3de12400eb.tar.gz gentoo-5d43c7f07be00ab49834b32ee3a7fd3de12400eb.tar.bz2 gentoo-5d43c7f07be00ab49834b32ee3a7fd3de12400eb.zip |
media-video/noad: revbump for missing slot operator dep
Fixes: 3d1263e7486432859276f19e2341c4fcfd5b98f5
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-video/noad/noad-0.8.7-r1.ebuild')
-rw-r--r-- | media-video/noad/noad-0.8.7-r1.ebuild | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/media-video/noad/noad-0.8.7-r1.ebuild b/media-video/noad/noad-0.8.7-r1.ebuild new file mode 100644 index 000000000000..25ba24135bd4 --- /dev/null +++ b/media-video/noad/noad-0.8.7-r1.ebuild @@ -0,0 +1,71 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools toolchain-funcs + +DESCRIPTION="Mark commercial breaks in VDR recordings" +HOMEPAGE="https://github.com/madmartin/noad" +SRC_URI="https://github.com/madmartin/noad/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="+ffmpeg imagemagick libmpeg2" + +BDEPEND="virtual/pkgconfig" +# <ffmpeg-5 dep for bug #834408, https://github.com/madmartin/noad/issues/2 +DEPEND=" + libmpeg2? ( media-libs/libmpeg2:= ) + ffmpeg? ( <media-video/ffmpeg-5:= ) + imagemagick? ( media-gfx/imagemagick )" +RDEPEND="${DEPEND}" + +REQUIRED_USE="|| ( ffmpeg libmpeg2 )" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf \ + $(usex imagemagick '--with-magick') \ + $(usex ffmpeg '' '--without-ffmpeg') \ + $(usex libmpeg2 '' '--without-libmpeg2') \ + --with-tools +} + +src_install() { + dobin noad showindex checkMarks + use imagemagick && dobin markpics + + dodoc README* INSTALL + # example scripts are installed as dokumentation + dodoc allnewnoad allnoad allnoadnice allnoaduncut checkAllMarks clearlogos noadcall.sh noadifnew stat2html statupd + + newconfd "${FILESDIR}"/confd_vdraddon.noad vdraddon.noad + + insinto /usr/share/vdr/record + doins "${FILESDIR}"/record-50-noad.sh + + insinto /usr/share/vdr/shutdown + doins "${FILESDIR}"/pre-shutdown-15-noad.sh + + insinto /etc/vdr/reccmds + doins "${FILESDIR}"/reccmds.noad.conf + + exeinto /usr/share/vdr/bin + doexe "${FILESDIR}"/noad-reccmd +} + +pkg_postinst() { + elog + elog "To integrate noad in VDR you should do this:" + elog + elog "start and set Parameter in /etc/conf.d/vdraddon.noad" + elog + elog "Note: You can use here all parameters for noad," + elog "please look in the documentation of noad." +} |