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 | |
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')
-rw-r--r-- | media-video/vdr2jpeg/metadata.xml | 18 | ||||
-rw-r--r-- | media-video/vdr2jpeg/vdr2jpeg-0.2.0-r1.ebuild | 45 |
2 files changed, 56 insertions, 7 deletions
diff --git a/media-video/vdr2jpeg/metadata.xml b/media-video/vdr2jpeg/metadata.xml index 5e673b528cd3..40d5ea0ecfe9 100644 --- a/media-video/vdr2jpeg/metadata.xml +++ b/media-video/vdr2jpeg/metadata.xml @@ -1,12 +1,16 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> + <maintainer type="person"> + <name>Joerg Bornkessel</name> + <email>hd_brummy@gentoo.org</email> + </maintainer> <maintainer type="project"> - <email>media-video@gentoo.org</email> - <name>Gentoo Video project</name> - </maintainer> - <longdescription lang="en"> - Addon needed for XXV - WWW Admin for the Video Disk Recorder - Creating jpeg pics from *.vdr files - </longdescription> + <email>media-video@gentoo.org</email> + <name>Gentoo Video project</name> + </maintainer> + <longdescription lang="en"> + Addon needed for XXV - WWW Admin for the Video Disk Recorder + Creating jpeg pics from *.vdr files + </longdescription> </pkgmetadata> 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 +} |