avatar
Rosa has added 0447a3beb0
Automatic import for version 0.4.1
... ... --- /dev/null
... ... +++ b/.abf.yml
... ... @@ -0,0 +1,2 @@
1
sources:
2
  "volumeicon-0.4.1.tar.gz": f88497927f96d234939f3a957f5610256352e3af
view file @ 0447a3beb0
... ... --- /dev/null
... ... +++ b/volumeicon.spec
... ... @@ -0,0 +1,91 @@
1
%define	name	volumeicon
2
%define	version	0.4.1
3
%define	release	%mkrel	4
4
5
Summary:	Lightweight volume control
6
Name:		%{name}
7
Version:	%{version}
8
Release:	%{release}
9
Group:		Graphical desktop/Other
10
License:	GPLv3
11
URL:		http://www.softwarebakery.com/maato/home.html
12
Source:         http://www.softwarebakery.com/maato/home.html/%{name}-%{version}.tar.gz
13
Patch0:		volumeicon_lxde.patch
14
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot
15
BuildRequires:	gtk2-devel intltool
16
%if %mdvver >= 201100 
17
Buildrequires: 	%{_lib}alsa-devel
18
%else
19
Buildrequires:	%{_lib}alsa2-devel
20
%endif
21
22
Obsoletes: %name < %version
23
24
%description
25
Volume Icon aims to be a lightweight volume control that sits in your systray.
26
Features
27
28
* Change volume by scrolling on the systray icon
29
* Ability to choose which channel to control
30
* Configurable stepsize (percentage of volume increase/decrease per scrollwheel step)
31
* Several icon themes (with gtk theme as default)
32
* Configurable external mixer
33
* Volume Slider
34
35
%prep
36
%setup -q 
37
%patch0 -p0
38
39
%build
40
%configure2_5x 
41
       
42
%make 
43
44
%install
45
rm -rf %{buildroot}
46
%makeinstall_std
47
mkdir -p %{buildroot}%_sysconfdir/xdg/autostart/
48
cat > %{buildroot}%_sysconfdir/xdg/autostart/%{name}.desktop << EOF
49
[Desktop Entry]
50
Encoding=UTF-8
51
Name=volumeicon
52
Comment=Volume Icon
53
Exec=%{name}
54
Terminal=false
55
Type=Application
56
Icon=%{_datadir}/%{name}/gui/appicon.svg
57
Categories=AudioVideo;Audio;X-MandrivaLinux-Multimedia-Sound
58
EOF
59
60
%find_lang %{name}
61
62
%clean
63
rm -rf %{buildroot}
64
65
%files -f %{name}.lang
66
%defattr(-,root,root)
67
%doc AUTHORS COPYING ChangeLog
68
%_sysconfdir/xdg/autostart/%{name}.desktop
69
%{_bindir}/%{name}
70
%{_datadir}/%{name}
71
72
73
%changelog
74
* Tue Jul 19 2011 Александр Казанцев <kazancas@mandriva.org> 0.4.1-4mdv2011.0
75
+ Revision: 690606
76
- change left mouse button action to view volume slider by default
77
78
* Sat Jun 25 2011 Александр Казанцев <kazancas@mandriva.org> 0.4.1-3
79
+ Revision: 687151
80
- add localized version. You may now translate it.
81
- fix backports buildrequires issue
82
83
* Mon Jun 13 2011 Александр Казанцев <kazancas@mandriva.org> 0.4.1-1
84
+ Revision: 684445
85
- new version 0.4.1
86
- import volumeicon
87
88
89
* Tue Apr 06 2010 slick50 <lxgator@gmail.com> 0.2.1-1pclos2010
90
- initial pkg
91
view file @ 0447a3beb0
... ... --- /dev/null
... ... +++ b/volumeicon_lxde.patch
... ... @@ -0,0 +1,27 @@
1
--- src/config.c.old	2011-06-12 21:33:01.000000000 +0400
2
+++ src/config.c	2011-07-19 13:22:17.832652199 +0400
3
@@ -44,7 +44,7 @@
4
 static gchar * m_hotkey_down = NULL;
5
 static gchar * m_hotkey_mute = NULL;
6
 static int m_stepsize = 0;
7
-static gboolean m_lmb_slider = FALSE;
8
+static gboolean m_lmb_slider = TRUE;
9
 static gboolean m_mmb_mute = FALSE;
10
 static gboolean m_hotkey_up_enabled = FALSE;
11
 static gboolean m_hotkey_down_enabled = FALSE;
12
@@ -56,13 +56,13 @@
13
 static void config_load_default()
14
 {
15
 	if(!m_helper_program)
16
-		config_set_helper("xterm -e 'alsamixer'");
17
+		config_set_helper("lxterminal -e 'alsamixer'");
18
 	if(!m_channel)
19
 		config_set_channel(NULL);
20
 	if(!m_stepsize)
21
 		config_set_stepsize(5);
22
 	if(!m_theme)
23
-		config_set_theme("Default");
24
+		config_set_theme("White Gnome");
25
 	if(!m_hotkey_up)
26
 		config_set_hotkey_up("XF86_AudioRaiseVolume");
27
 	if(!m_hotkey_down)

Comments