pavucontrol: sideload our own desktop file and icon from flathub

This commit is contained in:
Tim Biermann 2022-05-22 14:53:16 +02:00
parent 80d5658f97
commit e1829132bb
5 changed files with 29 additions and 5 deletions

View File

@ -6,3 +6,5 @@ drwxr-xr-x root/root usr/share/applications/
-rw-r--r-- root/root usr/share/applications/pavucontrol.desktop
drwxr-xr-x root/root usr/share/pavucontrol/
-rw-r--r-- root/root usr/share/pavucontrol/pavucontrol.glade
drwxr-xr-x root/root usr/share/pixmaps/
-rwxr-xr-x root/root usr/share/pixmaps/pavucontrol.png

View File

@ -1,5 +1,7 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF33AOFbc5oci42T8L5PnOqjwiN8Gi8fTtjfU97npCj7Rl8IBWwn2EJNl7BC17b8mY1bSXSP7NQyJa4X5JuDCUPA4=
SHA256 (Pkgfile) = 49adff0dd6ccf3f821ac7ef0d52be07edef40b61fde891b2d6c6d3c98fea5b7d
SHA256 (.footprint) = 2ae4a8558a5cd916b6b53832e0cf33f910cea8f90ab8ce249c67d83db2dfcfc1
RWSagIOpLGJF38gNqAvmLf4BYAsV9nsmQjX0WYmXJwMsfFGw52ENKl0Ss29yDtkvG6QcPTPN23i+yzuP/v2qTSs8MizeP04EBwI=
SHA256 (Pkgfile) = b488cc76d3295a1c9f0ad0f82cc43324c03ad78e3047da9e95004b99cf01084d
SHA256 (.footprint) = fe3cc07f9e2fc6acb78b68ee2c09640e11e6cc9d6ad148192aae2adfb9c77d08
SHA256 (pavucontrol-5.0.tar.gz) = 816ad421867f2575e19cfc08e37a2f75ea380303e9227acb51ac11ab6ab1800e
SHA256 (pavucontrol.desktop) = 0b09da226157f87a4a13c95780ddc5d2337f2c10bb713dad4037d3af36025001
SHA256 (org.pulseaudio.pavucontrol.png) = 32d002e39f709ca347aa86c4e902e2bd5cb1341bf4857d9e6f89fd05a9d6554a

View File

@ -5,16 +5,24 @@
name=pavucontrol
version=5.0
release=1
source=(http://freedesktop.org/software/pulseaudio/$name/$name-$version.tar.gz)
release=2
source=(http://freedesktop.org/software/pulseaudio/$name/$name-$version.tar.gz
# https://dl.flathub.org/repo/appstream/x86_64/icons/128x128/org.pulseaudio.pavucontrol.png
pavucontrol.desktop
org.pulseaudio.pavucontrol.png)
build() {
export CXXFLAGS="${CXXFLAGs} -std=c++11"
cd $name-$version
./configure --prefix=/usr \
--disable-lynx \
--disable-nls
make
make DESTDIR=$PKG install
rm -r $PKG/usr/share/{doc,locale}
install -Dm755 $SRC/org.pulseaudio.pavucontrol.png $PKG/usr/share/pixmaps/pavucontrol.png
install -Dm644 $SRC/$name.desktop $PKG/usr/share/applications/$name.desktop
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -0,0 +1,12 @@
[Desktop Entry]
Version=1.0
Name=PulseAudio Volume Control
GenericName=Volume Control
Comment=Adjust the volume level
Exec=pavucontrol
Icon=pavucontrol
Terminal=false
StartupNotify=true
Type=Application
Categories=AudioVideo;Audio;Mixer;GTK;Settings;X-XFCE-SettingsDialog;X-XFCE-HardwareSettings;
Keywords=pavucontrol;Microphone;Volume;Fade;Balance;Headset;Speakers;Headphones;Audio;Mixer;Output;Input;Devices;Playback;Recording;System Sounds;Sound Card;Settings;Preferences;