-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
media-plugins/gst-transcoder: Ensure sane libdir value and add prefix…
… support. Gentoo-Bug: https://bugs.gentoo.org/591564 Closes: #2624 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
- Loading branch information
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
43 changes: 43 additions & 0 deletions
43
media-plugins/gst-transcoder/gst-transcoder-1.8.2-r1.ebuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Copyright 1999-2016 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
EAPI=6 | ||
PYTHON_COMPAT=( python{3_4,3_5} ) | ||
|
||
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 | ||
} |