aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-05-07 06:38:16 -0300
committerRasmus Thomsen <oss@cogitri.dev>2020-05-08 14:28:56 +0200
commit1269edced8f355b21dacb87d4532ed191fefed7a (patch)
tree8fcf83bfc54b41fc750e43a400bba9b9a3b9b787
parent2a729e2d0f70313be66a392452f74d60c299f6a6 (diff)
downloadaports-1269edced8f355b21dacb87d4532ed191fefed7a.tar.bz2
aports-1269edced8f355b21dacb87d4532ed191fefed7a.tar.xz
community/pipewire: upgrade to 0.3.4
-rw-r--r--community/pipewire/APKBUILD8
-rw-r--r--community/pipewire/e83bf8a33f720050c7f1ec5f00530fafd5af5698.patch28
2 files changed, 33 insertions, 3 deletions
diff --git a/community/pipewire/APKBUILD b/community/pipewire/APKBUILD
index 2369710bde..229547aa07 100644
--- a/community/pipewire/APKBUILD
+++ b/community/pipewire/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=pipewire
-pkgver=0.3.2
+pkgver=0.3.4
pkgrel=0
pkgdesc="Multimedia processing graphs"
url="https://pipewire.org/"
@@ -14,6 +14,7 @@ options="!check" # no tests
subpackages="$pkgname-dev $pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/PipeWire/pipewire/archive/$pkgver.tar.gz
fix-s390x.patch
+ e83bf8a33f720050c7f1ec5f00530fafd5af5698.patch
"
build() {
@@ -37,5 +38,6 @@ package() {
DESTDIR="$pkgdir" ninja -C output install
}
-sha512sums="03e3ef5e45d56f8082e782a475136fdbce27767faeb2e80c0a6319d321bdcd74622ed0e17f720e403b2f91caa7f1d63ef5080b01a46dc94e9a81dfa3a48928e0 pipewire-0.3.2.tar.gz
-576a6fbb7d457bda70822a175a188b6f9dbf3b5cf9efa660e458f6d54ff6b88376821164534ec073f20b929d81c2232783f63612fc9ec5803bfe23356449f314 fix-s390x.patch"
+sha512sums="d53990e54a657e58fcab52bb75c0b8b81cc621c8e1ed851d8780e2940bb19bdc8f9e894fe261a11180579a9536ade92f93278b31ff04bba35f51e252f00376eb pipewire-0.3.4.tar.gz
+576a6fbb7d457bda70822a175a188b6f9dbf3b5cf9efa660e458f6d54ff6b88376821164534ec073f20b929d81c2232783f63612fc9ec5803bfe23356449f314 fix-s390x.patch
+5fca169b5f16b60cc3e0bd5ce9f3ee2a76300811868f11590dd4a752cb5dd63f98391e6b526c4711338b1829a0a6cd02b451aca53ad9936e87b99814b5ed8d5c e83bf8a33f720050c7f1ec5f00530fafd5af5698.patch"
diff --git a/community/pipewire/e83bf8a33f720050c7f1ec5f00530fafd5af5698.patch b/community/pipewire/e83bf8a33f720050c7f1ec5f00530fafd5af5698.patch
new file mode 100644
index 0000000000..da63b22a27
--- /dev/null
+++ b/community/pipewire/e83bf8a33f720050c7f1ec5f00530fafd5af5698.patch
@@ -0,0 +1,28 @@
+Upstream: Yes
+Reason: Fix compilation with -Werror=suggest-attribute=format
+From e83bf8a33f720050c7f1ec5f00530fafd5af5698 Mon Sep 17 00:00:00 2001
+From: Wim Taymans <wtaymans@redhat.com>
+Date: Fri, 1 May 2020 11:18:28 +0200
+Subject: [PATCH] log: use printf attribute for log fallback
+
+Fixes #233
+---
+ spa/include/spa/support/log.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/spa/include/spa/support/log.h b/spa/include/spa/support/log.h
+index c97cc8e5..51b3e741 100644
+--- a/spa/include/spa/support/log.h
++++ b/spa/include/spa/support/log.h
+@@ -139,7 +139,7 @@ struct spa_log_methods {
+ #else
+
+ #define SPA_LOG_FUNC(name,lev) \
+-static inline void spa_log_##name (struct spa_log *l, const char *format, ...) \
++static inline SPA_PRINTF_FUNC(2,3) void spa_log_##name (struct spa_log *l, const char *format, ...) \
+ { \
+ if (SPA_UNLIKELY(spa_log_level_enabled(l, lev))) { \
+ va_list varargs; \
+--
+2.26.2
+