Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-plugins/gst-transcoder/
Date: Fri, 25 Nov 2016 21:40:49
Message-Id: 1480110036.8a4cbcabf84526ca02327bdd8f2fb53b5b94e583.monsieurp@gentoo
1 commit: 8a4cbcabf84526ca02327bdd8f2fb53b5b94e583
2 Author: Jouni Kosonen <jouni.kosonen <AT> tukesoft <DOT> com>
3 AuthorDate: Fri Oct 21 19:38:50 2016 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Fri Nov 25 21:40:36 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a4cbcab
7
8 media-plugins/gst-transcoder: Ensure sane libdir value and add prefix support.
9
10 Gentoo-Bug: https://bugs.gentoo.org/591564
11 Closes: https://github.com/gentoo/gentoo/pull/2624
12
13 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
14
15 .../gst-transcoder/gst-transcoder-1.8.2-r1.ebuild | 43 ++++++++++++++++++++++
16 1 file changed, 43 insertions(+)
17
18 diff --git a/media-plugins/gst-transcoder/gst-transcoder-1.8.2-r1.ebuild b/media-plugins/gst-transcoder/gst-transcoder-1.8.2-r1.ebuild
19 new file mode 100644
20 index 00000000..c72095d
21 --- /dev/null
22 +++ b/media-plugins/gst-transcoder/gst-transcoder-1.8.2-r1.ebuild
23 @@ -0,0 +1,43 @@
24 +# Copyright 1999-2016 Gentoo Foundation
25 +# Distributed under the terms of the GNU General Public License v2
26 +# $Id$
27 +
28 +EAPI=6
29 +PYTHON_COMPAT=( python{3_4,3_5} )
30 +
31 +inherit python-any-r1 xdg
32 +
33 +DESCRIPTION="GStreamer Transcoding API"
34 +HOMEPAGE="https://github.com/pitivi/gst-transcoder"
35 +SRC_URI="https://github.com/pitivi/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
36 +
37 +LICENSE="GPL-2"
38 +SLOT="0"
39 +KEYWORDS="~amd64 ~x86"
40 +IUSE=""
41 +
42 +RDEPEND="
43 + dev-libs/gobject-introspection:=
44 + dev-libs/glib:2
45 + >=media-libs/gstreamer-${PV}:1.0[introspection]
46 + >=media-libs/gst-plugins-base-${PV}:1.0[introspection]
47 +"
48 +DEPEND="${RDEPEND}
49 + ${PYTHON_DEPS}
50 + >=dev-util/meson-0.28.0
51 + virtual/pkgconfig
52 +"
53 +
54 +src_configure() {
55 + # Not a normal configure
56 + # --buildtype=plain needed for honoring CFLAGS/CXXFLAGS and not
57 + # defaulting to debug
58 + ./configure --prefix="${EPREFIX}/usr" --libdir="$(get_libdir)" --buildtype=plain || die
59 +}
60 +
61 +src_compile() {
62 + addpredict /dev #590848
63 + # We cannot use 'make' as it won't allow us to build verbosely
64 + cd mesonbuild || die
65 + ninja -v || die
66 +}