[arch-commits] Commit in libffado/repos/community-x86_64 (4 files)
David Runge
dvzrv at gemini.archlinux.org
Tue Jul 12 19:56:49 UTC 2022
Date: Tuesday, July 12, 2022 @ 19:56:49
Author: dvzrv
Revision: 1251210
archrelease: copy trunk to community-x86_64
Added:
libffado/repos/community-x86_64/PKGBUILD
(from rev 1251209, libffado/trunk/PKGBUILD)
libffado/repos/community-x86_64/libffado-2.4.2-python38.patch
(from rev 1251209, libffado/trunk/libffado-2.4.2-python38.patch)
Deleted:
libffado/repos/community-x86_64/PKGBUILD
libffado/repos/community-x86_64/libffado-2.4.2-python38.patch
-------------------------------+
PKGBUILD | 108 ++++++++++++++++++++--------------------
libffado-2.4.2-python38.patch | 48 ++++++++---------
2 files changed, 78 insertions(+), 78 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-07-12 19:56:43 UTC (rev 1251209)
+++ PKGBUILD 2022-07-12 19:56:49 UTC (rev 1251210)
@@ -1,54 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-# Contributor: Ray Rashif <schiv at archlinux.org>
-# Contributor: galiyosha at gmail.com
-# Contributor: Jon Kristian Nilsen <jokr.nilsen at gmail.com>
-
-pkgname=libffado
-pkgver=2.4.5
-pkgrel=1
-pkgdesc="Driver for FireWire audio devices"
-arch=(x86_64)
-url="http://www.ffado.org/"
-license=(GPL3)
-depends=(gcc-libs glibc glibmm hicolor-icon-theme libavc1394
-libiec61883 libxml++ python-dbus)
-makedepends=(alsa-lib dbus-c++ jack libconfig python-pyqt5 scons)
-optdepends=('python-pyqt5: ffado-mixer')
-provides=(libffado.so)
-options=(debug)
-source=(http://www.ffado.org/files/$pkgname-$pkgver.tgz)
-sha512sums=('a2c1d0515e14015b7803c4d52d67605afec27ae2569888dec085375ed4a488f4885b5033369e52305e668a35289d3bd749a9babb5778df339fa93553c23af30f')
-b2sums=('18c260b782c9a97e3f2c8689a218f7a4925158c3e3cb14987182bf04043438d1325a9ababfe29860f6769a5eeabb49a843a8d15072b24b914334c447b5c7238d')
-
-prepare() {
- cd $pkgname-$pkgver
- # fix icon name, so it's coherent with XDG desktop file name
- sed -e 's/hi64-apps-ffado/ffado-mixer/g' -i support/xdg/ffado.org-ffadomixer.desktop
- # fix id, so it's coherent with XDG desktop file name
- sed -e 's/ffado.org-ffadomixer.desktop/ffado-mixer.desktop/g' -i support/xdg/ffado-mixer.appdata.xml
-}
-
-build() {
- local python_version=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
-
- cd $pkgname-$pkgver
- scons PREFIX=/usr \
- DEBUG=no \
- CUSTOM_ENV=True \
- MANDIR=/usr/share/man \
- PYTHON_INTERPRETER=/usr/bin/python3 \
- PYPKGDIR=/usr/lib/python$python_version/site-packages \
- UDEVDIR=/usr/lib/udev/rules.d
-}
-
-package() {
- depends+=(libasound.so libconfig++.so libdbus-c++-1.so)
-
- cd $pkgname-$pkgver
- scons DESTDIR="$pkgdir" WILL_DEAL_WITH_XDG_MYSELF=True install
- install -vDm 644 support/xdg/ffado.org-ffadomixer.desktop "$pkgdir/usr/share/applications/ffado-mixer.desktop"
- install -vDm 644 support/xdg/hi64-apps-ffado.png "$pkgdir/usr/share/icons/hicolor/64x64/apps/ffado-mixer.png"
- install -vDm 644 {AUTHORS,README} -t "$pkgdir/usr/share/doc/$pkgname/"
-}
-
-# vim:set ts=2 sw=2 et:
Copied: libffado/repos/community-x86_64/PKGBUILD (from rev 1251209, libffado/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-07-12 19:56:49 UTC (rev 1251210)
@@ -0,0 +1,54 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Ray Rashif <schiv at archlinux.org>
+# Contributor: galiyosha at gmail.com
+# Contributor: Jon Kristian Nilsen <jokr.nilsen at gmail.com>
+
+pkgname=libffado
+pkgver=2.4.6
+pkgrel=1
+pkgdesc="Driver for FireWire audio devices"
+arch=(x86_64)
+url="http://www.ffado.org/"
+license=(GPL3)
+depends=(gcc-libs glibc glibmm hicolor-icon-theme libavc1394
+libiec61883 libxml++ python-dbus)
+makedepends=(alsa-lib dbus-c++ jack libconfig python-pyqt5 scons)
+optdepends=('python-pyqt5: ffado-mixer')
+provides=(libffado.so)
+options=(debug)
+source=(http://www.ffado.org/files/$pkgname-$pkgver.tgz)
+sha512sums=('dac651233ea94c19834e810c64230bcbd5516de9e694ced1b6497ad927d734c527b3a556281676393674d33da768cb2431e7da1a0fdfc6ceb268e897029aa584')
+b2sums=('1e86e7f9179e94c00a74514dbd7c0c299de6d1870f22c4d9ba14cb6b105b41c9dda62d19d0d660e84eee7e0f02c0bf7c44fbe58e24634ccf9cc9e41f1d38b5c2')
+
+prepare() {
+ cd $pkgname-$pkgver
+ # fix icon name, so it's coherent with XDG desktop file name
+ sed -e 's/hi64-apps-ffado/ffado-mixer/g' -i support/xdg/ffado.org-ffadomixer.desktop
+ # fix id, so it's coherent with XDG desktop file name
+ sed -e 's/ffado.org-ffadomixer.desktop/ffado-mixer.desktop/g' -i support/xdg/ffado-mixer.appdata.xml
+}
+
+build() {
+ local python_version=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
+
+ cd $pkgname-$pkgver
+ scons PREFIX=/usr \
+ DEBUG=no \
+ CUSTOM_ENV=True \
+ MANDIR=/usr/share/man \
+ PYTHON_INTERPRETER=/usr/bin/python3 \
+ PYPKGDIR=/usr/lib/python$python_version/site-packages \
+ UDEVDIR=/usr/lib/udev/rules.d
+}
+
+package() {
+ depends+=(libasound.so libconfig++.so libdbus-c++-1.so)
+
+ cd $pkgname-$pkgver
+ scons DESTDIR="$pkgdir" WILL_DEAL_WITH_XDG_MYSELF=True install
+ install -vDm 644 support/xdg/ffado.org-ffadomixer.desktop "$pkgdir/usr/share/applications/ffado-mixer.desktop"
+ install -vDm 644 support/xdg/hi64-apps-ffado.png "$pkgdir/usr/share/icons/hicolor/64x64/apps/ffado-mixer.png"
+ install -vDm 644 {AUTHORS,README} -t "$pkgdir/usr/share/doc/$pkgname/"
+}
+
+# vim:set ts=2 sw=2 et:
Deleted: libffado-2.4.2-python38.patch
===================================================================
--- libffado-2.4.2-python38.patch 2022-07-12 19:56:43 UTC (rev 1251209)
+++ libffado-2.4.2-python38.patch 2022-07-12 19:56:49 UTC (rev 1251210)
@@ -1,24 +0,0 @@
-diff -ruN a/support/mixer-qt4/ffado/configuration.py b/support/mixer-qt4/ffado/configuration.py
---- a/support/mixer-qt4/ffado/configuration.py 2017-03-28 13:38:34.000000000 +0200
-+++ b/support/mixer-qt4/ffado/configuration.py 2019-11-24 20:55:05.284341627 +0100
-@@ -20,7 +20,8 @@
- # along with this program. If not, see <http://www.gnu.org/licenses/>.
- #
-
--import re, os
-+import os
-+import dbus
-
- import shlex
-
-@@ -53,6 +54,10 @@
- self.addDevice( dev )
-
- def getDeviceById( self, vendor, model ):
-+ if isinstance(vendor, dbus.Int32):
-+ vendor = str(int(vendor))
-+ if isinstance(model, dbus.Int32):
-+ model = str(int(model))
- log.debug("DeviceList::getDeviceById( %s, %s )" % (vendor, model ))
- for dev in self.devices:
- if int("%s" % dev['vendorid'], 0) == int("%s" % vendor, 0) and \
Copied: libffado/repos/community-x86_64/libffado-2.4.2-python38.patch (from rev 1251209, libffado/trunk/libffado-2.4.2-python38.patch)
===================================================================
--- libffado-2.4.2-python38.patch (rev 0)
+++ libffado-2.4.2-python38.patch 2022-07-12 19:56:49 UTC (rev 1251210)
@@ -0,0 +1,24 @@
+diff -ruN a/support/mixer-qt4/ffado/configuration.py b/support/mixer-qt4/ffado/configuration.py
+--- a/support/mixer-qt4/ffado/configuration.py 2017-03-28 13:38:34.000000000 +0200
++++ b/support/mixer-qt4/ffado/configuration.py 2019-11-24 20:55:05.284341627 +0100
+@@ -20,7 +20,8 @@
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
+ #
+
+-import re, os
++import os
++import dbus
+
+ import shlex
+
+@@ -53,6 +54,10 @@
+ self.addDevice( dev )
+
+ def getDeviceById( self, vendor, model ):
++ if isinstance(vendor, dbus.Int32):
++ vendor = str(int(vendor))
++ if isinstance(model, dbus.Int32):
++ model = str(int(model))
+ log.debug("DeviceList::getDeviceById( %s, %s )" % (vendor, model ))
+ for dev in self.devices:
+ if int("%s" % dev['vendorid'], 0) == int("%s" % vendor, 0) and \
More information about the arch-commits
mailing list