media-video/noad - 0.8.10 (gentoo)

Search

Install

Install this version:

emerge -a =media-video/noad-0.8.10

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =media-video/noad-0.8.10

Or alternatively:

emerge --autounmask-write -a =media-video/noad-0.8.10

Package Information

Description:
Mark commercial breaks in VDR recordings
Homepage:
https://github.com/madmartin/noad
License:
GPL-2+

Ebuild Details

Version EAPI Keywords Slot
0.8.10 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 2021-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit autotools

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"
REQUIRED_USE="|| ( ffmpeg libmpeg2 )"

DEPEND="
	libmpeg2? ( media-libs/libmpeg2 )
	ffmpeg? ( media-video/ffmpeg:= )
	imagemagick? ( media-gfx/imagemagick:= )"
RDEPEND="${DEPEND}"
BDEPEND="virtual/pkgconfig"

src_prepare() {
	default
	eautoreconf
}

src_configure() {
	econf \
		$(usev imagemagick --with-magick) \
		$(usev !ffmpeg --without-ffmpeg) \
		$(usev !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."
}

USE Flags

Manage flags for this package: euse -i <flag> -p media-video/noad | euse -E <flag> -p media-video/noad | euse -D <flag> -p media-video/noad

Global/Standard Flags

ffmpeg
❓ Default: Enabled (+)

Inherited Eclasses

Dependencies

DEPEND

	libmpeg2? ( media-libs/libmpeg2 )
	ffmpeg? ( media-video/ffmpeg:= )
	imagemagick? ( media-gfx/imagemagick:= )

RDEPEND

	libmpeg2? ( media-libs/libmpeg2 )
	ffmpeg? ( media-video/ffmpeg:= )
	imagemagick? ( media-gfx/imagemagick:= )

BDEPEND

virtual/pkgconfig

Manifest for 0.8.10

Type File Size Source URLs
DIST noad-0.8.10.tar.gz 144596 bytes https://github.com/madmartin/noad/archive/v0.8.10.tar.gz