[arch-commits] Commit in playitslowly/repos/community-any (6 files)
Balló György
bgyorgy at archlinux.org
Sun May 23 16:38:28 UTC 2021
Date: Sunday, May 23, 2021 @ 16:38:27
Author: bgyorgy
Revision: 943495
archrelease: copy trunk to community-any
Added:
playitslowly/repos/community-any/PKGBUILD
(from rev 943494, playitslowly/trunk/PKGBUILD)
playitslowly/repos/community-any/gtk-version.patch
(from rev 943494, playitslowly/trunk/gtk-version.patch)
playitslowly/repos/community-any/playitslowly.appdata.xml
(from rev 943494, playitslowly/trunk/playitslowly.appdata.xml)
Deleted:
playitslowly/repos/community-any/PKGBUILD
playitslowly/repos/community-any/gtk-version.patch
playitslowly/repos/community-any/playitslowly.appdata.xml
--------------------------+
PKGBUILD | 95 ++++++++++++++++++++++-----------------------
gtk-version.patch | 48 +++++++++++-----------
playitslowly.appdata.xml | 44 ++++++++++----------
3 files changed, 94 insertions(+), 93 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-23 16:38:19 UTC (rev 943494)
+++ PKGBUILD 2021-05-23 16:38:27 UTC (rev 943495)
@@ -1,47 +0,0 @@
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-# Contributor: mrxx <mrxx at cyberhome dot at>
-# Contributor: Limao Luo <luolimao+AUR at gmail.com>
-# Contributor: sausageandeggs <sausageandeggs at archlinux.us>
-
-pkgname=playitslowly
-pkgver=1.5.1
-pkgrel=7
-pkgdesc='Play back audio files at a different speed or pitch'
-arch=('any')
-url='https://29a.ch/playitslowly'
-license=('GPL3')
-depends=('gst-plugins-bad' 'gst-plugins-base' 'gst-python' 'gtk3' 'python-gobject')
-optdepends=('gst-plugins-good: Extra media codecs'
- 'gst-plugins-ugly: Extra media codecs'
- 'gst-libav: Extra media codecs')
-source=("http://29a.ch/$pkgname/$pkgname-$pkgver.tar.gz"
- 'gtk-version.patch'
- 'playitslowly.appdata.xml')
-sha256sums=('7dfe3da5417971183a13002d1e4ba4f30770baaf1ae3f9ef0ac66a6727f476aa'
- '397b430ad7bc16c606e466d53000c5c4ac57ee0b5390ddd8276bf46dbc17dd26'
- 'ebe2890f7e42dfb7988d4304a4faee6d5657556f12bcebcd3279e9de86ec1ae4')
-
-prepare() {
- cd $pkgname-$pkgver
-
- # Specify required GTK version
- patch -Np1 -i ../gtk-version.patch
-
- # Move files to their right places
- mkdir -p share/icons/hicolor/{32x32,128x128,scalable}/apps share/metainfo
- mv share/pixmaps/playitslowly.png share/icons/hicolor/128x128/apps/playitslowly.png
- mv share/icons/hicolor/32x32/playitslowly.png share/icons/hicolor/32x32/apps/playitslowly.png
- mv share/icons/hicolor/scalable/playitslowly.svg share/icons/hicolor/scalable/apps/playitslowly.svg
- cp ../playitslowly.appdata.xml share/metainfo/playitslowly.appdata.xml
- rm -r share/pixmaps
-}
-
-build() {
- cd $pkgname-$pkgver
- python setup.py build
-}
-
-package() {
- cd $pkgname-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}
Copied: playitslowly/repos/community-any/PKGBUILD (from rev 943494, playitslowly/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-23 16:38:27 UTC (rev 943495)
@@ -0,0 +1,48 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: mrxx <mrxx at cyberhome dot at>
+# Contributor: Limao Luo <luolimao+AUR at gmail.com>
+# Contributor: sausageandeggs <sausageandeggs at archlinux.us>
+
+pkgname=playitslowly
+pkgver=1.5.1
+pkgrel=8
+pkgdesc='Play back audio files at a different speed or pitch'
+arch=('any')
+url='https://29a.ch/playitslowly'
+license=('GPL3')
+depends=('gst-plugins-bad' 'gst-plugins-base' 'gst-plugins-good' 'gst-python' 'gtk3'
+ 'python-gobject')
+optdepends=('gst-plugins-ugly: Extra media codecs'
+ 'gst-libav: Extra media codecs')
+source=("http://29a.ch/$pkgname/$pkgname-$pkgver.tar.gz"
+ 'gtk-version.patch'
+ 'playitslowly.appdata.xml')
+sha256sums=('7dfe3da5417971183a13002d1e4ba4f30770baaf1ae3f9ef0ac66a6727f476aa'
+ '397b430ad7bc16c606e466d53000c5c4ac57ee0b5390ddd8276bf46dbc17dd26'
+ 'ebe2890f7e42dfb7988d4304a4faee6d5657556f12bcebcd3279e9de86ec1ae4')
+
+prepare() {
+ cd $pkgname-$pkgver
+
+ # Specify required GTK version
+ patch -Np1 -i ../gtk-version.patch
+
+ # Move files to their right places
+ mkdir -p share/icons/hicolor/{32x32,128x128,scalable}/apps share/metainfo
+ mv share/pixmaps/playitslowly.png share/icons/hicolor/128x128/apps/playitslowly.png
+ mv share/icons/hicolor/32x32/playitslowly.png share/icons/hicolor/32x32/apps/playitslowly.png
+ mv share/icons/hicolor/scalable/playitslowly.svg \
+ share/icons/hicolor/scalable/apps/playitslowly.svg
+ cp ../playitslowly.appdata.xml share/metainfo/playitslowly.appdata.xml
+ rm -r share/pixmaps
+}
+
+build() {
+ cd $pkgname-$pkgver
+ python setup.py build
+}
+
+package() {
+ cd $pkgname-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
Deleted: gtk-version.patch
===================================================================
--- gtk-version.patch 2021-05-23 16:38:19 UTC (rev 943494)
+++ gtk-version.patch 2021-05-23 16:38:27 UTC (rev 943495)
@@ -1,24 +0,0 @@
-From be3acf296a230b13cf27409d6f313c810277897e Mon Sep 17 00:00:00 2001
-From: sylvain <sylv1pdt at gmail.com>
-Date: Fri, 12 Mar 2021 22:34:44 +0100
-Subject: [PATCH] Force Gtk version 3.0
-
-Import fails when using gtk4: AttributeError: 'gi.repository.Gtk'
-object has no attribute 'Container'
-https://gitlab.gnome.org/GNOME/pygobject/-/issues/423
----
- playitslowly/app.py | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/playitslowly/app.py b/playitslowly/app.py
-index 32ad43b..9dbcbc2 100755
---- a/playitslowly/app.py
-+++ b/playitslowly/app.py
-@@ -32,6 +32,7 @@
-
- import gi
- gi.require_version('Gst', '1.0')
-+gi.require_version('Gtk', '3.0')
-
- from gi.repository import Gtk, GObject, Gst, Gio, Gdk
-
Copied: playitslowly/repos/community-any/gtk-version.patch (from rev 943494, playitslowly/trunk/gtk-version.patch)
===================================================================
--- gtk-version.patch (rev 0)
+++ gtk-version.patch 2021-05-23 16:38:27 UTC (rev 943495)
@@ -0,0 +1,24 @@
+From be3acf296a230b13cf27409d6f313c810277897e Mon Sep 17 00:00:00 2001
+From: sylvain <sylv1pdt at gmail.com>
+Date: Fri, 12 Mar 2021 22:34:44 +0100
+Subject: [PATCH] Force Gtk version 3.0
+
+Import fails when using gtk4: AttributeError: 'gi.repository.Gtk'
+object has no attribute 'Container'
+https://gitlab.gnome.org/GNOME/pygobject/-/issues/423
+---
+ playitslowly/app.py | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/playitslowly/app.py b/playitslowly/app.py
+index 32ad43b..9dbcbc2 100755
+--- a/playitslowly/app.py
++++ b/playitslowly/app.py
+@@ -32,6 +32,7 @@
+
+ import gi
+ gi.require_version('Gst', '1.0')
++gi.require_version('Gtk', '3.0')
+
+ from gi.repository import Gtk, GObject, Gst, Gio, Gdk
+
Deleted: playitslowly.appdata.xml
===================================================================
--- playitslowly.appdata.xml 2021-05-23 16:38:19 UTC (rev 943494)
+++ playitslowly.appdata.xml 2021-05-23 16:38:27 UTC (rev 943495)
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<application>
- <id type="desktop">ch.x29a.playitslowly</id>
- <launchable type="desktop-id">playitslowly.desktop</launchable>
- <provides>
- <id>playitslowly.desktop</id>
- </provides>
- <name>Play it Slowly</name>
- <summary>Play music at a different speed</summary>
- <description>
- <p>
- Play music at a different speed or pitch.
- </p>
- </description>
- <url type="homepage">https://29a.ch/playitslowly/</url>
- <content_rating type="oars-1.1" />
- <screenshots>
- <screenshot type="default">https://29a.ch/playitslowly/screenshot.png</screenshot>
- </screenshots>
- <project_license>GPL-3.0+</project_license>
- <metadata_license>CC0-1.0</metadata_license>
-</application>
Copied: playitslowly/repos/community-any/playitslowly.appdata.xml (from rev 943494, playitslowly/trunk/playitslowly.appdata.xml)
===================================================================
--- playitslowly.appdata.xml (rev 0)
+++ playitslowly.appdata.xml 2021-05-23 16:38:27 UTC (rev 943495)
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<application>
+ <id type="desktop">ch.x29a.playitslowly</id>
+ <launchable type="desktop-id">playitslowly.desktop</launchable>
+ <provides>
+ <id>playitslowly.desktop</id>
+ </provides>
+ <name>Play it Slowly</name>
+ <summary>Play music at a different speed</summary>
+ <description>
+ <p>
+ Play music at a different speed or pitch.
+ </p>
+ </description>
+ <url type="homepage">https://29a.ch/playitslowly/</url>
+ <content_rating type="oars-1.1" />
+ <screenshots>
+ <screenshot type="default">https://29a.ch/playitslowly/screenshot.png</screenshot>
+ </screenshots>
+ <project_license>GPL-3.0+</project_license>
+ <metadata_license>CC0-1.0</metadata_license>
+</application>
More information about the arch-commits
mailing list