public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: media-plugins/vdr-vaapidevice/files/, media-plugins/vdr-vaapidevice/
@ 2021-02-14 14:11 Jörg Bornkessel
  0 siblings, 0 replies; only message in thread
From: Jörg Bornkessel @ 2021-02-14 14:11 UTC (permalink / raw
  To: gentoo-commits

commit:     6d2d5612a48f269d16496808b5f96a062928ffdc
Author:     Martin Dummer <martin.dummer <AT> gmx <DOT> net>
AuthorDate: Sat Jan 16 09:34:04 2021 +0000
Commit:     Jörg Bornkessel <hd_brummy <AT> gentoo <DOT> org>
CommitDate: Sun Feb 14 14:10:59 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d2d5612

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 <AT> gmx.net>
Revied-by: Joerg Bornkessel <hd_brummy <AT> gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/19077
Signed-off-by: Joerg Bornkessel <hd_brummy <AT> gentoo.org>

 media-plugins/vdr-vaapidevice/Manifest             |  1 +
 media-plugins/vdr-vaapidevice/files/confd          | 30 +++++++++++++
 media-plugins/vdr-vaapidevice/metadata.xml         | 16 +++++++
 .../vdr-vaapidevice-1.0.0_p20190526.ebuild         | 50 ++++++++++++++++++++++
 4 files changed, 97 insertions(+)

diff --git a/media-plugins/vdr-vaapidevice/Manifest b/media-plugins/vdr-vaapidevice/Manifest
new file mode 100644
index 00000000000..4296d801d92
--- /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 00000000000..4d25501b149
--- /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 00000000000..cd73dfdd596
--- /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 00000000000..7c751a098dc
--- /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"
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-02-14 14:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-14 14:11 [gentoo-commits] repo/gentoo:master commit in: media-plugins/vdr-vaapidevice/files/, media-plugins/vdr-vaapidevice/ Jörg Bornkessel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox