diff options
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 +} |