mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-10 20:18:41 -04:00
38 lines
721 B
Bash
38 lines
721 B
Bash
# Copyright 2021-2022 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
GST_ORG_MODULE=gst-plugins-good
|
|
|
|
inherit gstreamer-meson qmake-utils
|
|
|
|
DESCRIPTION="Qt5 QML video sink plugin for GStreamer"
|
|
|
|
LICENSE="GPL-2+"
|
|
KEYWORDS="~amd64"
|
|
IUSE="+egl wayland +X"
|
|
|
|
REQUIRED_USE="
|
|
wayland? ( egl )
|
|
"
|
|
|
|
RDEPEND="
|
|
>=media-libs/gst-plugins-base-${PV}:${SLOT}[egl?,opengl,wayland?,X?]
|
|
media-libs/mesa[egl(+)?,wayland?,X?]
|
|
dev-qt/qtcore:5
|
|
dev-qt/qtdeclarative:5
|
|
dev-qt/qtgui:5
|
|
egl? ( dev-qt/qtgui:5[eglfs] )
|
|
wayland? ( dev-qt/qtwayland:5 )
|
|
X? ( dev-qt/qtx11extras:5 )
|
|
"
|
|
DEPEND="${RDEPEND}"
|
|
|
|
GST_PLUGINS_BUILD_DIR="qt"
|
|
|
|
src_prepare() {
|
|
export PATH="${PATH}:$(qt5_get_bindir)"
|
|
default
|
|
}
|