diff options
Diffstat (limited to 'media-video/vdr2jpeg/vdr2jpeg-0.1.9-r1.ebuild')
-rw-r--r-- | media-video/vdr2jpeg/vdr2jpeg-0.1.9-r1.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/media-video/vdr2jpeg/vdr2jpeg-0.1.9-r1.ebuild b/media-video/vdr2jpeg/vdr2jpeg-0.1.9-r1.ebuild new file mode 100644 index 000000000000..39cef9de1847 --- /dev/null +++ b/media-video/vdr2jpeg/vdr2jpeg-0.1.9-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils + +VERSION="717" # every bump, new version + +RESTRICT="strip" + +DESCRIPTION="Addon needed for XXV - WWW Admin for the Video Disk Recorder" +HOMEPAGE="http://projects.vdr-developer.org/projects/xxv" +SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz + mirror://gentoo/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="virtual/ffmpeg" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + sed -i \ + -e "s:usr/local:usr:" \ + -e "s:-o vdr2jpeg:\$(LDFLAGS) -o vdr2jpeg:" \ + Makefile || die + epatch "${FILESDIR}/${P}-ffmpeg.patch" \ + "${FILESDIR}/${P}-ffmpeg1.patch" \ + "${FILESDIR}/${P}-libav9.patch" + + if has_version ">=media-video/ffmpeg-2"; then + sed -e "s:CodecID:AVCodecID:" -i ffm.cpp + fi +} + +src_install() { + dobin vdr2jpeg + dodoc README LIESMICH +} |