[Lunar-commits] <moonbase-other> pavucontrol: add the desktop file.

Florin Braescu florin at lunar-linux.org
Fri Aug 15 13:41:45 CEST 2014


commit 500ffc54b3bdad4099baed6c3c19c89bda3576f8
Author: Florin Braescu <florin at lunar-linux.org>
Date: Fri, 15 Aug 2014 14:41:23 +0300
URL: https://github.com/lunar-linux/moonbase-other/commit/500ffc54b3bdad4099baed6c3c19c89bda3576f8

pavucontrol: add the desktop file.
---
  audio/pavucontrol/BUILD               | +4/-1     
  audio/pavucontrol/pavucontrol.desktop | +11/-0    
  2 files changed, 15 insertions(+), 1 deletion(-)

--- a/audio/pavucontrol/BUILD
+++ b/audio/pavucontrol/BUILD
@@ -1,4 +1,4 @@
-OPTS+=" --disable-gtk3" &&
+OPTS+=" --disable-gtk3"
 
 # hm, maybe gtk3mm has this as a RefPtr?
 sedit "s/Gtk::Adjustment::create/new Gtk::Adjustment/" src/devicewidget.cc &&
@@ -6,3 +6,6 @@ sedit "s/configure(offsetAdjustment/configure(*offsetAdjustment/" src/devicewidg
 sedit "s/.*offsetAdjustment/Gtk::Adjustment *offsetAdjustment/" src/devicewidget.h &&
 
 default_build
+
+install -Dm 644 {"$SCRIPT_DIRECTORY",/usr/share/applications}/pavucontrol.desktop
+
--- /dev/null
+++ b/audio/pavucontrol/pavucontrol.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Version=1.0
+Name=PulseAudio Volume Control
+GenericName=Volume Control
+Comment=Adjust the volume level
+Exec=pavucontrol
+Icon=multimedia-volume-control
+StartupNotify=true
+Type=Application
+Categories=AudioVideo;Audio;
+GenericName[en_GB]=Volume Control




More information about the Lunar-commits mailing list