diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-02-17 10:35:54 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-02-17 10:35:54 +0000 |
commit | 463397cf1e064185110fe57c568d73f99a06f5d1 (patch) | |
tree | 9aa75eefc5154eaf0e3c33658b830fc54dc68052 /media-plugins/vdr-vaapidevice/vdr-vaapidevice-1.0.0_p20190526.ebuild | |
parent | c8d60dada2ec8eb48b2d2b290cd6683ccec40e39 (diff) |
gentoo resync : 17.02.2021
Diffstat (limited to 'media-plugins/vdr-vaapidevice/vdr-vaapidevice-1.0.0_p20190526.ebuild')
-rw-r--r-- | media-plugins/vdr-vaapidevice/vdr-vaapidevice-1.0.0_p20190526.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
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" +} |