[arch-commits] Commit in gst-plugins-espeak/trunk (PKGBUILD fix-build.patch)
Balló György
bgyorgy at archlinux.org
Fri Oct 4 10:37:37 UTC 2019
Date: Friday, October 4, 2019 @ 10:37:36
Author: bgyorgy
Revision: 512704
upgpkg: gst-plugins-espeak 0.5.0-2
Fix build with GStreamer 1.14
Added:
gst-plugins-espeak/trunk/fix-build.patch
Modified:
gst-plugins-espeak/trunk/PKGBUILD
-----------------+
PKGBUILD | 14 +++++++++++---
fix-build.patch | 26 ++++++++++++++++++++++++++
2 files changed, 37 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-04 10:23:05 UTC (rev 512703)
+++ PKGBUILD 2019-10-04 10:37:36 UTC (rev 512704)
@@ -2,15 +2,23 @@
pkgname=gst-plugins-espeak
pkgver=0.5.0
-pkgrel=1
+pkgrel=2
pkgdesc="Use espeak as a sound source for gstreamer"
arch=('x86_64')
url="https://wiki.sugarlabs.org/go/Activity_Team/gst-plugins-espeak"
license=('LGPL')
depends=('gst-plugins-base-libs' 'espeak')
-source=(https://download.sugarlabs.org/sources/honey/$pkgname/$pkgname-$pkgver.tar.gz)
-sha256sums=('9696278924ef3ba6c4d8b579bd349c81ed42879554d45f0e2be230cf0a893704')
+source=(https://download.sugarlabs.org/sources/honey/$pkgname/$pkgname-$pkgver.tar.gz
+ fix-build.patch)
+sha256sums=('9696278924ef3ba6c4d8b579bd349c81ed42879554d45f0e2be230cf0a893704'
+ 'aea0d1df4753584925e864450bce2d6ce8a7f1d7108e164057140bc5d7bb63fc')
+prepare() {
+ cd $pkgname-$pkgver
+ patch -Np1 -i ../fix-build.patch
+ autoreconf -fi
+}
+
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr
Added: fix-build.patch
===================================================================
--- fix-build.patch (rev 0)
+++ fix-build.patch 2019-10-04 10:37:36 UTC (rev 512704)
@@ -0,0 +1,26 @@
+From 56a5a56a38cf460d9af4bef12327b39aef3bfa6e Mon Sep 17 00:00:00 2001
+From: Adrian Bunk <bunk at debian.org>
+Date: Sat, 28 Apr 2018 20:07:31 +0300
+Subject: [PATCH] Stop using -export-symbols-regex
+
+The old regex is no longer correct for GStreamer 1.14.
+
+Bug-Debian: https://bugs.debian.org/894642
+Signed-off-by: James Cameron <quozl at laptop.org>
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index c6eda69..1b69262 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -42,7 +42,7 @@ GST_ALL_LDFLAGS="-no-undefined"
+ AC_SUBST(GST_ALL_LDFLAGS)
+
+ dnl set proper LDFLAGS for plugins
+-GST_PLUGIN_LDFLAGS="-module -avoid-version -export-symbols-regex '^_*gst_plugin_desc\$\$' $GST_ALL_LDFLAGS"
++GST_PLUGIN_LDFLAGS="-module -avoid-version $GST_ALL_LDFLAGS"
+ AC_SUBST(GST_PLUGIN_LDFLAGS)
+
+ AC_OUTPUT(Makefile m4/Makefile src/Makefile)
More information about the arch-commits
mailing list