diff options
author | Joerg Bornkessel <hd_brummy@gentoo.org> | 2020-01-25 19:59:07 +0100 |
---|---|---|
committer | Joerg Bornkessel <hd_brummy@gentoo.org> | 2020-01-25 20:00:20 +0100 |
commit | 2f0af8a1228eb22192aafe8bf774df4f5c8171cf (patch) | |
tree | 7833db21ba064a3ea63d894016cf8a1d3228e036 /media-video/vdr2jpeg/vdr2jpeg-0.2.0-r1.ebuild | |
parent | llvm.eclass: Permit LLVM 11 (diff) | |
download | gentoo-2f0af8a1228eb22192aafe8bf774df4f5c8171cf.tar.gz gentoo-2f0af8a1228eb22192aafe8bf774df4f5c8171cf.tar.bz2 gentoo-2f0af8a1228eb22192aafe8bf774df4f5c8171cf.zip |
media-video/vdr2jpeg: eapi 7; reassigned package to myself
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Joerg Bornkessel <hd_brummy@gentoo.org>
Diffstat (limited to 'media-video/vdr2jpeg/vdr2jpeg-0.2.0-r1.ebuild')
-rw-r--r-- | media-video/vdr2jpeg/vdr2jpeg-0.2.0-r1.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/media-video/vdr2jpeg/vdr2jpeg-0.2.0-r1.ebuild b/media-video/vdr2jpeg/vdr2jpeg-0.2.0-r1.ebuild new file mode 100644 index 000000000000..be8cbb63595d --- /dev/null +++ b/media-video/vdr2jpeg/vdr2jpeg-0.2.0-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +VERSION="1911" # every bump, new version + +RESTRICT="strip" + +DESCRIPTION="Addon needed for XXV - WWW Admin for the Video Disk Recorder" +HOMEPAGE="https://projects.vdr-developer.org/projects/xxv" +SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="libav" + +RDEPEND=" + libav? ( media-video/libav ) + !libav? ( media-video/ffmpeg:0 ) +" +DEPEND="${RDEPEND}" + +BDEPEND="virtual/pkgconfig" + +DOCS=( README LIESMICH ) + +src_prepare() { + sed -i Makefile \ + -e "s:usr/local:usr:" \ + -e "s:-o vdr2jpeg:\$(LDFLAGS) -o vdr2jpeg:" || die + + default +} + +src_install() { + if use libav; then + emake DESTDIR="${D}" install FFMPEG_BIN=/usr/bin/avconv + else + emake DESTDIR="${D}" install FFMPEG_BIN=/usr/bin/ffmpeg + fi + + einstalldocs +} |