[arch-commits] Commit in pyglet/trunk (PKGBUILD)

Kyle Keen kkeen at archlinux.org
Sat May 2 09:24:54 UTC 2020


    Date: Saturday, May 2, 2020 @ 09:24:54
  Author: kkeen
Revision: 624345

upgpkg: pyglet 1.5.4-2 FS#66491

Modified:
  pyglet/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-02 09:01:20 UTC (rev 624344)
+++ PKGBUILD	2020-05-02 09:24:54 UTC (rev 624345)
@@ -6,7 +6,7 @@
 pkgbase=pyglet
 pkgname=('python-pyglet')
 pkgver=1.5.4
-pkgrel=1
+pkgrel=2
 pkgdesc="A cross-platform windowing and multimedia library for Python"
 arch=('any')
 url="https://github.com/pyglet/pyglet"
@@ -19,10 +19,13 @@
 md5sums=('550b7423f156dc5a1d8196e3effcdd10')
 
 prepare() {
-	cd "$srcdir"
+	cd "$srcdir/$pkgbase-$pkgver"
 
 	# https://bitbucket.org/pyglet/pyglet/issues/157/please-do-not-bundle-the-future-module
-	rm -rf pyglet-$pkgver/pyglet/extlibs/future/
+	rm -rf pyglet/extlibs/future/
+
+	# FS#66491, remove on 1.5.5
+	sed -i "s|from_string('audio/x-raw|&, format=S16LE|" pyglet/media/codecs/gstreamer.py 
 }
 
 build() {



More information about the arch-commits mailing list