[arch-commits] Commit in pyglet/repos/community-any (PKGBUILD PKGBUILD)

Kyle Keen kkeen at archlinux.org
Sat May 2 09:25:16 UTC 2020


    Date: Saturday, May 2, 2020 @ 09:25:16
  Author: kkeen
Revision: 624346

archrelease: copy trunk to community-any

Added:
  pyglet/repos/community-any/PKGBUILD
    (from rev 624345, pyglet/trunk/PKGBUILD)
Deleted:
  pyglet/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   79 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 41 insertions(+), 38 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-02 09:24:54 UTC (rev 624345)
+++ PKGBUILD	2020-05-02 09:25:16 UTC (rev 624346)
@@ -1,38 +0,0 @@
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-# Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
-# Contributor: Ryan Coyner <rcoyner at gmail.com>
-# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
-
-pkgbase=pyglet
-pkgname=('python-pyglet')
-pkgver=1.5.4
-pkgrel=1
-pkgdesc="A cross-platform windowing and multimedia library for Python"
-arch=('any')
-url="https://github.com/pyglet/pyglet"
-license=('BSD')
-depends=('python' 'glu' 'python-future')
-makedepends=('python-setuptools')
-optdepends=('ffmpeg: provides audio&video support'
-            'openal: live audio')
-source=("https://files.pythonhosted.org/packages/source/p/pyglet/pyglet-$pkgver.zip")
-md5sums=('550b7423f156dc5a1d8196e3effcdd10')
-
-prepare() {
-	cd "$srcdir"
-
-	# https://bitbucket.org/pyglet/pyglet/issues/157/please-do-not-bundle-the-future-module
-	rm -rf pyglet-$pkgver/pyglet/extlibs/future/
-}
-
-build() {
-	cd "$srcdir/$pkgbase-$pkgver"
-	python3 setup.py build
-}
-
-package_python-pyglet() {
-	depends=('python' 'glu' 'python-future')
-	cd "$srcdir/$pkgbase-$pkgver"
-	python3 setup.py install --root="$pkgdir" --optimize=1
-	install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}

Copied: pyglet/repos/community-any/PKGBUILD (from rev 624345, pyglet/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-02 09:25:16 UTC (rev 624346)
@@ -0,0 +1,41 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
+# Contributor: Ryan Coyner <rcoyner at gmail.com>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+
+pkgbase=pyglet
+pkgname=('python-pyglet')
+pkgver=1.5.4
+pkgrel=2
+pkgdesc="A cross-platform windowing and multimedia library for Python"
+arch=('any')
+url="https://github.com/pyglet/pyglet"
+license=('BSD')
+depends=('python' 'glu' 'python-future')
+makedepends=('python-setuptools')
+optdepends=('ffmpeg: provides audio&video support'
+            'openal: live audio')
+source=("https://files.pythonhosted.org/packages/source/p/pyglet/pyglet-$pkgver.zip")
+md5sums=('550b7423f156dc5a1d8196e3effcdd10')
+
+prepare() {
+	cd "$srcdir/$pkgbase-$pkgver"
+
+	# https://bitbucket.org/pyglet/pyglet/issues/157/please-do-not-bundle-the-future-module
+	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() {
+	cd "$srcdir/$pkgbase-$pkgver"
+	python3 setup.py build
+}
+
+package_python-pyglet() {
+	depends=('python' 'glu' 'python-future')
+	cd "$srcdir/$pkgbase-$pkgver"
+	python3 setup.py install --root="$pkgdir" --optimize=1
+	install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}


More information about the arch-commits mailing list