summaryrefslogtreecommitdiff
path: root/pavucontrol
diff options
context:
space:
mode:
authorTim Biermann <tbier@posteo.de>2022-05-22 14:53:16 +0200
committerTim Biermann <tbier@posteo.de>2022-05-22 14:53:37 +0200
commite1829132bbc77715240bbddab0d2e2084d482489 (patch)
treec8baeb81d7d2372d6cdb845ab52eda3ff4161b66 /pavucontrol
parent80d5658f978c5cdf6551d9e8d6207d04d637fba5 (diff)
downloadcontrib-e1829132bbc77715240bbddab0d2e2084d482489.tar.gz
contrib-e1829132bbc77715240bbddab0d2e2084d482489.tar.xz
pavucontrol: sideload our own desktop file and icon from flathub
Diffstat (limited to 'pavucontrol')
-rw-r--r--pavucontrol/.footprint2
-rw-r--r--pavucontrol/.signature8
-rw-r--r--pavucontrol/Pkgfile12
-rw-r--r--pavucontrol/org.pulseaudio.pavucontrol.pngbin0 -> 11895 bytes
-rw-r--r--pavucontrol/pavucontrol.desktop12
5 files changed, 29 insertions, 5 deletions
diff --git a/pavucontrol/.footprint b/pavucontrol/.footprint
index 7290ae890..70b693596 100644
--- a/pavucontrol/.footprint
+++ b/pavucontrol/.footprint
@@ -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
diff --git a/pavucontrol/.signature b/pavucontrol/.signature
index b5a2fca3c..6557f08cc 100644
--- a/pavucontrol/.signature
+++ b/pavucontrol/.signature
@@ -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
diff --git a/pavucontrol/Pkgfile b/pavucontrol/Pkgfile
index 48907368b..204e5e867 100644
--- a/pavucontrol/Pkgfile
+++ b/pavucontrol/Pkgfile
@@ -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
}
diff --git a/pavucontrol/org.pulseaudio.pavucontrol.png b/pavucontrol/org.pulseaudio.pavucontrol.png
new file mode 100644
index 000000000..0be8b253a
--- /dev/null
+++ b/pavucontrol/org.pulseaudio.pavucontrol.png
Binary files differ
diff --git a/pavucontrol/pavucontrol.desktop b/pavucontrol/pavucontrol.desktop
new file mode 100644
index 000000000..a1cd01af8
--- /dev/null
+++ b/pavucontrol/pavucontrol.desktop
@@ -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;

Generated by cgit