From 454995d8794fce8ef78d0c9ab0b90a9aa979fe6c Mon Sep 17 00:00:00 2001
From: Bart Ribbers <bribbers@disroot.org>
Date: Mon, 5 Jul 2021 13:40:34 +0200
Subject: [PATCH] main/postmarketos-ui-phosh: stop providing
 mpris-proxy.desktop (MR 2314)

This is now done by Bluez itself
https://git.alpinelinux.org/aports/commit/main/bluez?id=b99445977598b3bb8cc66b3a59a2c5edbbedac26
---
 main/postmarketos-ui-phosh/APKBUILD            | 6 +-----
 main/postmarketos-ui-phosh/mpris-proxy.desktop | 8 --------
 2 files changed, 1 insertion(+), 13 deletions(-)
 delete mode 100644 main/postmarketos-ui-phosh/mpris-proxy.desktop

diff --git a/main/postmarketos-ui-phosh/APKBUILD b/main/postmarketos-ui-phosh/APKBUILD
index 85c66471d29..60275f797cb 100644
--- a/main/postmarketos-ui-phosh/APKBUILD
+++ b/main/postmarketos-ui-phosh/APKBUILD
@@ -1,6 +1,6 @@
 # Maintainer: Bart Ribbers <bribbers@disroot.org>
 pkgname=postmarketos-ui-phosh
-pkgver=11
+pkgver=12
 pkgrel=0
 pkgdesc="(Wayland) Mobile UI developed for the Librem 5 (works only with numeric passwords!)"
 url="https://puri.sm"
@@ -52,7 +52,6 @@ source="
 	02-gnome-software-no-first-run
 	dconf-profile-postmarketos
 	mimeapps.list
-	mpris-proxy.desktop
 	osk.sh
 	phosh-qt-mobile-controls.sh
 	phosh-qt-wayland.sh
@@ -72,8 +71,6 @@ package() {
 		"$pkgdir"/etc/dconf/db/postmarketos.d/01-phoc-scaling
 	install -Dm755 "$srcdir"/02-gnome-software-no-first-run \
 		"$pkgdir"/etc/dconf/db/postmarketos.d/02-gnome-software-no-first-run
-	install -Dm644 "$srcdir"/mpris-proxy.desktop \
-		"$pkgdir"/etc/xdg/autostart/mpris-proxy.desktop
 }
 
 qt_tweaks() {
@@ -89,7 +86,6 @@ b8f9bf9174c30ca5e7fe7533d119af18c73bd7c2509d7cfb1ef49a15cd1e28a35dad467d39f34d1c
 834d1c558b6a9ca26345928895a5436919aab13f944410240516953a13f8fdafae995af4b1baeee560a800c405a4d67c44bb92499bf8cacae7a17f6d9893577e  02-gnome-software-no-first-run
 e00756c2c056f68123d877f2f6a5ad3434ca7851095f021c26831c081728b821cf7947ba08d6742eee51d93dc83859a7ead553f4dcbc8b6fcefa33ae344ba178  dconf-profile-postmarketos
 0a376140da36538fd73cbd8305ff97b54d2b82831bab64a3b7167019f1d005752eda4e81ef7c19fd64fcba3a775c9e87fca1a250b55a522a0ee9728ab712f089  mimeapps.list
-9276b4282860229da47b8b690307a8bf8907370fcdebf0be4c2b71f933593e115572e61d846cb13821d51859ec9e53af6de250afa953b42c06cf0ad4905377c3  mpris-proxy.desktop
 4113ef59267e88d205ef1e1aec0ed11ccf817a25c232f2006a538b56fb466fad5025ad445d109e367ca92ee98d9b25f1f9a1a4b9bae2cb80df12a3739d62d10a  osk.sh
 bf8db527c49fa724e640a90269ba2648a2555f5867b2adbfbd88d1f685261f757339757c09ee08f590c76de4bd3d0c73a47dea9bd340644dd4707e76152cefd1  phosh-qt-mobile-controls.sh
 6e193eca3961a78d47b4656892eae34d019d9317a255a201f5ea61e3300caff04c526a27cd98d0edc072b36e3eaf3a1768f4cd27c5e2be8b19c167d535c820a6  phosh-qt-wayland.sh
diff --git a/main/postmarketos-ui-phosh/mpris-proxy.desktop b/main/postmarketos-ui-phosh/mpris-proxy.desktop
deleted file mode 100644
index 9d4426c64c7..00000000000
--- a/main/postmarketos-ui-phosh/mpris-proxy.desktop
+++ /dev/null
@@ -1,8 +0,0 @@
-[Desktop Entry]
-Name=mpris-proxy
-Comment=Daemon to make Bluetooth audio controls work
-Exec=/usr/bin/mpris-proxy
-NoDisplay=true
-Terminal=false
-Type=Application
-X-GNOME-AutoRestart=true
-- 
GitLab