mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 10:57:07 -08:00
Closes: https://github.com/gentoo/gentoo/pull/14246 Signed-off-by: Michał Górny <mgorny@gentoo.org>
43 lines
1014 B
Bash
43 lines
1014 B
Bash
# Copyright 1999-2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=6
|
|
PYTHON_COMPAT=( python3_6 )
|
|
|
|
inherit python-any-r1 xdg
|
|
|
|
DESCRIPTION="GStreamer Transcoding API"
|
|
HOMEPAGE="https://github.com/pitivi/gst-transcoder"
|
|
SRC_URI="https://github.com/pitivi/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 x86"
|
|
IUSE=""
|
|
|
|
RDEPEND="
|
|
dev-libs/gobject-introspection:=
|
|
dev-libs/glib:2
|
|
>=media-libs/gstreamer-${PV}:1.0[introspection]
|
|
>=media-libs/gst-plugins-base-${PV}:1.0[introspection]
|
|
"
|
|
DEPEND="${RDEPEND}
|
|
${PYTHON_DEPS}
|
|
>=dev-util/meson-0.28.0
|
|
virtual/pkgconfig
|
|
"
|
|
|
|
src_configure() {
|
|
# Not a normal configure
|
|
# --buildtype=plain needed for honoring CFLAGS/CXXFLAGS and not
|
|
# defaulting to debug
|
|
./configure --prefix="${EPREFIX}/usr" --libdir="$(get_libdir)" --buildtype=plain || die
|
|
}
|
|
|
|
src_compile() {
|
|
addpredict /dev #590848
|
|
# We cannot use 'make' as it won't allow us to build verbosely
|
|
cd mesonbuild || die
|
|
ninja -v || die
|
|
}
|