diff options
author | Martin Dummer <martin.dummer@gmx.net> | 2021-01-16 10:34:04 +0100 |
---|---|---|
committer | Joerg Bornkessel <hd_brummy@gentoo.org> | 2021-02-14 15:10:59 +0100 |
commit | 6d2d5612a48f269d16496808b5f96a062928ffdc (patch) | |
tree | 3554ec0ef94b4acc4d0567a9cd5f7dc137348e6d /media-plugins/vdr-vaapidevice | |
parent | profiles/package.mask: unmask rust-1.50.0 (diff) | |
download | gentoo-6d2d5612a48f269d16496808b5f96a062928ffdc.tar.gz gentoo-6d2d5612a48f269d16496808b5f96a062928ffdc.tar.bz2 gentoo-6d2d5612a48f269d16496808b5f96a062928ffdc.zip |
media-plugins/vdr-vaapidevice: new package
This is an output device plugin for media-video/vdr
Closes: https://bugs.gentoo.org/765610
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Martin Dummer <martin.dummer@gmx.net>
Revied-by: Joerg Bornkessel <hd_brummy@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/19077
Signed-off-by: Joerg Bornkessel <hd_brummy@gentoo.org>
Diffstat (limited to 'media-plugins/vdr-vaapidevice')
-rw-r--r-- | media-plugins/vdr-vaapidevice/Manifest | 1 | ||||
-rw-r--r-- | media-plugins/vdr-vaapidevice/files/confd | 30 | ||||
-rw-r--r-- | media-plugins/vdr-vaapidevice/metadata.xml | 16 | ||||
-rw-r--r-- | media-plugins/vdr-vaapidevice/vdr-vaapidevice-1.0.0_p20190526.ebuild | 50 |
4 files changed, 97 insertions, 0 deletions
diff --git a/media-plugins/vdr-vaapidevice/Manifest b/media-plugins/vdr-vaapidevice/Manifest new file mode 100644 index 000000000000..4296d801d926 --- /dev/null +++ b/media-plugins/vdr-vaapidevice/Manifest @@ -0,0 +1 @@ +DIST vdr-vaapidevice-1.0.0_p20190526.tar.gz 122374 BLAKE2B 740bf6244205eacc89cb9517fc25f7a947f67f14eda990688f86f6c6ebb3da9d648ee3cb6798d4c27bd8bde04c4354b35fb4d4a5d0ed30dcdd1e04293d0744a5 SHA512 f67caa3f052479ac8339700766471f0f36369b152c84c84ed7479ddb67235fa527465dffae6f3b0d57f6cae12ed3d4c290a7cd65ad32af1421943b8adcad8e5b diff --git a/media-plugins/vdr-vaapidevice/files/confd b/media-plugins/vdr-vaapidevice/files/confd new file mode 100644 index 000000000000..4d25501b1493 --- /dev/null +++ b/media-plugins/vdr-vaapidevice/files/confd @@ -0,0 +1,30 @@ +# vaapidevice - VA-API Output Device +# +# -a device audio device (fe. alsa: hw:0,0 oss: /dev/dsp) +# -p device audio device for pass-through (hw:0,1 or /dev/dsp1) +# -c channel audio mixer channel name (fe. PCM) +# -d display display of x11 server (fe. :0.0) +# -f start with fullscreen window (only with window manager) +# -g geometry x11 window geometry wxh+x+y +# -t tracemode set the trace mode for debugging +# -v device video driver device (vaapi, noop) +# -s start in suspended mode +# -x start x11 server, with -xx try to connect, if this fails +# -X args X11 server arguments (f.e. -nocursor) +# -D start in detached mode +# +# -w workaround enable/disable workarounds +# no-hw-decoder disable hw decoder, use software decoder only +# no-mpeg-hw-decoder disable hw decoder for mpeg only +# still-hw-decoder enable hardware decoder for still-pictures +# still-h264-hw-decoder enable h264 hw decoder for still-pictures +# alsa-driver-broken disable broken alsa driver message +# alsa-no-close-open disable close open to fix alsa no sound bug +# alsa-close-open-delay enable close open delay to fix no sound bug +# ignore-repeat-pict disable repeat pict message +# +# no default parameters +# uncomment the next line and add your personal settings + +#_EXTRAOPTS="" + diff --git a/media-plugins/vdr-vaapidevice/metadata.xml b/media-plugins/vdr-vaapidevice/metadata.xml new file mode 100644 index 000000000000..cd73dfdd5965 --- /dev/null +++ b/media-plugins/vdr-vaapidevice/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>martin.dummer@gmx.net</email> + <name>Martin Dummer</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <maintainer type="project"> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + </maintainer> +</pkgmetadata> diff --git a/media-plugins/vdr-vaapidevice/vdr-vaapidevice-1.0.0_p20190526.ebuild b/media-plugins/vdr-vaapidevice/vdr-vaapidevice-1.0.0_p20190526.ebuild new file mode 100644 index 000000000000..7c751a098dc6 --- /dev/null +++ b/media-plugins/vdr-vaapidevice/vdr-vaapidevice-1.0.0_p20190526.ebuild @@ -0,0 +1,50 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit vdr-plugin-2 + +GIT_COMMIT="d19657bae399e79df107e316ca40922d21393f80" + +DESCRIPTION="VDR Plugin: A VA-API output device plugin for VDR" +HOMEPAGE="https://github.com/pesintta/vdr-plugin-vaapidevice" +SRC_URI="https://github.com/pesintta/vdr-plugin-vaapidevice/archive/${GIT_COMMIT}.tar.gz -> ${P}.tar.gz" + +KEYWORDS="~amd64 ~x86" + +LICENSE="AGPL-3" +SLOT="0" +IUSE="debug" + +RDEPEND=" + media-video/vdr + media-video/ffmpeg[vaapi,X] + x11-libs/libva[X] + x11-libs/libva-intel-driver[X] + x11-libs/libX11 + x11-libs/libxcb + x11-libs/xcb-util + x11-libs/xcb-util-wm + x11-libs/xcb-util-keysyms + media-libs/alsa-lib +" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig +" + +QA_FLAGS_IGNORED=" + usr/lib/vdr/plugins/libvdr-vaapidevice.* + usr/lib64/vdr/plugins/libvdr-vaapidevice.* +" +S="${WORKDIR}/vdr-plugin-vaapidevice-${GIT_COMMIT}" + +src_prepare() { + vdr-plugin-2_src_prepare + + use debug && append-cppflags -DDEBUG + + local GIT_COMMIT_SHORT=${GIT_COMMIT:0:7} + sed -i -e "s:GIT_REV =.*:GIT_REV=-${GIT_COMMIT_SHORT}:" Makefile || die "Failed to modify Makefile" +} |