diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-01-25 11:50:47 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-01-25 11:50:47 +0000 |
commit | d42200bec37eef2a7478d88988ff00addd0a9202 (patch) | |
tree | 10394660b3cbe4b50173c06950b31302cd25d0d1 /media-video/noad/noad-0.8.6-r2.ebuild | |
parent | 580f05ea8f512d11e23e8da80177d27835cbdbbc (diff) |
gentoo resync : 25.01.2020
Diffstat (limited to 'media-video/noad/noad-0.8.6-r2.ebuild')
-rw-r--r-- | media-video/noad/noad-0.8.6-r2.ebuild | 83 |
1 files changed, 0 insertions, 83 deletions
diff --git a/media-video/noad/noad-0.8.6-r2.ebuild b/media-video/noad/noad-0.8.6-r2.ebuild deleted file mode 100644 index d9c62f84e4be..000000000000 --- a/media-video/noad/noad-0.8.6-r2.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit autotools eutils toolchain-funcs - -DESCRIPTION="Mark commercial breaks in VDR recordings" -HOMEPAGE="http://noad.net23.net/" -SRC_URI="http://noad.net23.net/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+ffmpeg imagemagick libmpeg2" - -RDEPEND=" - libmpeg2? ( media-libs/libmpeg2:= ) - ffmpeg? ( virtual/ffmpeg ) - imagemagick? ( media-gfx/imagemagick ) - !media-plugins/vdr-markad" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -REQUIRED_USE="|| ( ffmpeg libmpeg2 )" - -src_prepare() { - sed -i -e 's:2001:6419:' svdrpc.cpp main.cpp - - # wrt bug 575494 - sed -e "s:CODEC_ID_MP3:AV_CODEC_ID_MP3:" -i audiotools.cpp - sed -e "sCODEC_ID_PROBE:AV_CODEC_ID_PROBE:" -i ffmpeg_decoder.cpp - - # tested libav-9, ffmepg-2.2.9 - eapply "${FILESDIR}/patches-0.8.x/${P}-libav9.diff" \ - "${FILESDIR}/patches-0.8.x/${P}-ffmpeg25.patch" - - eautoreconf -} - -src_configure() { - econf \ - $(usex imagemagick '--with-magick') \ - $(usex ffmpeg '' '--without-ffmpeg') \ - $(usex libmpeg2 '' '--without-libmpeg2') \ - --with-tools -} - -src_compile() { - emake AR="$(tc-getAR)" # see bug #469810 -} - -src_install() { - dobin noad showindex checkMarks - use imagemagick && dobin markpics - - dodoc README INSTALL - # example scripts are installed as dokumentation - dodoc allnewnoad allnoad allnoadnice 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." -} |