From 61b6d74591d9acd2bf9565f9670323e83632d151 Mon Sep 17 00:00:00 2001 From: Johannes Date: Mon, 3 Jun 2019 15:12:39 +0200 Subject: [PATCH] gst1-python3: update to 1.14.5. --- srcpkgs/gst1-python3/template | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/srcpkgs/gst1-python3/template b/srcpkgs/gst1-python3/template index bacf830fa4..e9c8847b2a 100644 --- a/srcpkgs/gst1-python3/template +++ b/srcpkgs/gst1-python3/template @@ -1,21 +1,25 @@ # Template file for 'gst1-python3' pkgname=gst1-python3 -version=1.14.4 -revision=2 +version=1.14.5 +revision=1 wrksrc="gst-python-${version}" build_style=gnu-configure configure_args="--disable-static" pycompile_module="gi/overrides" hostmakedepends="pkg-config python3" -makedepends="libglib-devel python-gobject-devel gst-plugins-base1-devel" +makedepends="libglib-devel python3-devel python-gobject-devel gst-plugins-base1-devel" depends="python3-gobject" short_desc="Python3 bindings for GStreamer 1.x" maintainer="Juan RP " license="LGPL-2.1-or-later" homepage="https://gstreamer.freedesktop.org" distfiles="${homepage}/src/gst-python/gst-python-${version}.tar.xz" -checksum=d0fdb24f93b6d889f309d2f526b8ea9577e0084ff0a62b4623ef1aed52e85a1b +checksum=18afc00a2d67e6c1bae172241ac2521b3c2cc74b8b0273433e71edc9572add5a pre_configure() { export PYTHON=/usr/bin/python3 + if [ "$CROSS_BUILD" ]; then + vsed -i -e "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python3.6m,g" configure + vsed -i -e "s,PYTHON_LIBS=.*,PYTHON_LIBS=-lpython3.6m,g" configure + fi }