From 084a6101fc673e7a791e5846c24aaf38ec9dde1c Mon Sep 17 00:00:00 2001 From: KF-Art Date: Wed, 21 Sep 2022 20:04:04 -0400 Subject: [PATCH] Fixed pasystray-git desktop launcher and autostart With this solution, the pasystray-cereus script is no longer required. --- srcpkgs/pasystray-git/files/pasystray-cereus | 2 -- .../pasystray-git/patches/pipewire-launcher-cereus.patch | 2 +- srcpkgs/pasystray-git/template | 6 +----- 3 files changed, 2 insertions(+), 8 deletions(-) delete mode 100755 srcpkgs/pasystray-git/files/pasystray-cereus diff --git a/srcpkgs/pasystray-git/files/pasystray-cereus b/srcpkgs/pasystray-git/files/pasystray-cereus deleted file mode 100755 index f4140e7..0000000 --- a/srcpkgs/pasystray-git/files/pasystray-cereus +++ /dev/null @@ -1,2 +0,0 @@ - #!/bin/bash -pasystray --notify=sink --notify=source diff --git a/srcpkgs/pasystray-git/patches/pipewire-launcher-cereus.patch b/srcpkgs/pasystray-git/patches/pipewire-launcher-cereus.patch index 8caf108..ab2158b 100644 --- a/srcpkgs/pasystray-git/patches/pipewire-launcher-cereus.patch +++ b/srcpkgs/pasystray-git/patches/pipewire-launcher-cereus.patch @@ -7,7 +7,7 @@ index c48e124..61d3afb 100644 GenericName= Comment=An Applet for PulseAudio -Exec=pasystray -+Exec=pasystray-cereus ++Exec=sh -c 'pasystray --notify=source --notify=sink' Icon=pasystray StartupNotify=true Type=Application diff --git a/srcpkgs/pasystray-git/template b/srcpkgs/pasystray-git/template index 4df432e..27fe5e3 100644 --- a/srcpkgs/pasystray-git/template +++ b/srcpkgs/pasystray-git/template @@ -1,7 +1,7 @@ # Template file for 'pasystray-git' pkgname=pasystray-git version=2022.03.14 -revision=2 +revision=3 build_style=gnu-configure repository="cereus-extra" hostmakedepends="pkg-config intltool automake git" @@ -20,7 +20,3 @@ do_fetch() { pre_configure() { autoreconf -fi } - -post_install() { - vbin ${FILESDIR}/pasystray-cereus -}