commit:     50b16b9c1bfe581c6077efb3bf0aebdd07ba1150
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 13 20:13:47 2021 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Sat Feb 13 21:39:48 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50b16b9c

media-libs/gstreamer-editing-services: bump to 1.16.3, fix pyoverrides

Closes: https://bugs.gentoo.org/631356
Closes: https://bugs.gentoo.org/710236
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>

 media-libs/gstreamer-editing-services/Manifest     |  1 +
 .../gstreamer-editing-services-1.16.3.ebuild       | 67 ++++++++++++++++++++++
 2 files changed, 68 insertions(+)

diff --git a/media-libs/gstreamer-editing-services/Manifest 
b/media-libs/gstreamer-editing-services/Manifest
index 70e06e5f86e..d6bf05f50a4 100644
--- a/media-libs/gstreamer-editing-services/Manifest
+++ b/media-libs/gstreamer-editing-services/Manifest
@@ -1 +1,2 @@
 DIST gstreamer-editing-services-1.14.5.tar.xz 1069356 BLAKE2B 
95ddff56b56b3ae59872a340258af0277d9b5c3619fe25861ce3f65238d3802bdda3c51cf84f0a206f7ccf095ab81ff3f178b7c0322dc7687741626c3b8da947
 SHA512 
9b3d0336e596004a51069900c61f293eaf213a83655799139373c77cf5637a3511ba4ec6a1c75f53d81643539e32f7d130fd0cd58090b948f81e8e081226b5c3
+DIST gstreamer-editing-services-1.16.3.tar.xz 1091208 BLAKE2B 
d88bed4e8958a6bad05aab8d6c19cd737c6812e0780c420fd144d58fe416cd5dbd01e019c3fc53417d65cb2d6e100de123dc8183c8c3dab329fd677ba55644c5
 SHA512 
c84cc2dab2b1644ab118794b7aeb98748f893a26070359850f48e87cf362fd53b54baf8754a07e1d412cacb85cf9cfcafb3cf10d79c67bbe077e4d763f9703ef

diff --git 
a/media-libs/gstreamer-editing-services/gstreamer-editing-services-1.16.3.ebuild
 
b/media-libs/gstreamer-editing-services/gstreamer-editing-services-1.16.3.ebuild
new file mode 100644
index 00000000000..194abb60af8
--- /dev/null
+++ 
b/media-libs/gstreamer-editing-services/gstreamer-editing-services-1.16.3.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{7,8,9} )
+GNOME2_LA_PUNT="yes"
+
+inherit bash-completion-r1 gnome2 python-r1
+
+DESCRIPTION="SDK for making video editors and more"
+HOMEPAGE="http://wiki.pitivi.org/wiki/GES";
+SRC_URI="https://gstreamer.freedesktop.org/src/${PN}/${P}.tar.xz";
+
+LICENSE="LGPL-2+"
+SLOT="1.0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="+introspection"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+       ${PYTHON_DEPS}
+       >=dev-libs/glib-2.40.0:2
+       dev-libs/libxml2:2
+       >=media-libs/gstreamer-${PV}:1.0[introspection?]
+       >=media-libs/gst-plugins-base-${PV}:1.0[introspection?]
+       introspection? ( >=dev-libs/gobject-introspection-0.9.6:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+       >=dev-util/gtk-doc-am-1.3
+       virtual/pkgconfig
+"
+# XXX: tests do pass but need g-e-s to be installed due to missing
+# AM_TEST_ENVIRONMENT setup.
+RESTRICT="test"
+
+src_prepare() {
+       gnome2_src_prepare
+       # Install python overrides manually for each python and old upstream
+       # autotools code prefers python2 and installs in wrong location
+       sed -e '/WITH_PYTHON/d' -i bindings/Makefile.in || die
+}
+
+src_configure() {
+       # gtk is only used for examples
+       gnome2_src_configure \
+               $(use_enable introspection) \
+               --disable-examples \
+               --with-bash-completion-dir="$(get_bashcompdir)" \
+               --with-package-name="GStreamer editing services ebuild for 
Gentoo" \
+               
--with-package-origin="https://packages.gentoo.org/package/media-libs/gstreamer-editing-services";
+}
+
+src_compile() {
+       # Prevent sandbox violations, bug #538888
+       # https://bugzilla.gnome.org/show_bug.cgi?id=744135
+       # https://bugzilla.gnome.org/show_bug.cgi?id=744134
+       addpredict /dev
+       gnome2_src_compile
+}
+
+src_install() {
+       gnome2_src_install
+       python_moduleinto gi.overrides
+       python_foreach_impl python_domodule bindings/python/gi/overrides/GES.py
+}

Reply via email to