[arch-commits] Commit in gst-plugins-espeak/repos (3 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 17:14:33 UTC 2020


    Date: Tuesday, July 7, 2020 @ 17:14:32
  Author: felixonmars
Revision: 659628

archrelease: copy trunk to community-staging-x86_64

Added:
  gst-plugins-espeak/repos/community-staging-x86_64/
  gst-plugins-espeak/repos/community-staging-x86_64/PKGBUILD
    (from rev 659627, gst-plugins-espeak/trunk/PKGBUILD)
  gst-plugins-espeak/repos/community-staging-x86_64/fix-build.patch
    (from rev 659627, gst-plugins-espeak/trunk/fix-build.patch)

-----------------+
 PKGBUILD        |   31 +++++++++++++++++++++++++++++++
 fix-build.patch |   26 ++++++++++++++++++++++++++
 2 files changed, 57 insertions(+)

Copied: gst-plugins-espeak/repos/community-staging-x86_64/PKGBUILD (from rev 659627, gst-plugins-espeak/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 17:14:32 UTC (rev 659628)
@@ -0,0 +1,31 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=gst-plugins-espeak
+pkgver=0.5.0
+pkgrel=3
+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
+        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
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}

Copied: gst-plugins-espeak/repos/community-staging-x86_64/fix-build.patch (from rev 659627, gst-plugins-espeak/trunk/fix-build.patch)
===================================================================
--- community-staging-x86_64/fix-build.patch	                        (rev 0)
+++ community-staging-x86_64/fix-build.patch	2020-07-07 17:14:32 UTC (rev 659628)
@@ -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