wok-6.x rev 13959
Add: volumeicon (0.4.6)
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Wed Jan 30 15:59:41 2013 -0200 (2013-01-30) |
parents | 140beba5e02a |
children | 934d6099191f |
files | volumeicon/receipt volumeicon/stuff/alsa_backend.patch |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/volumeicon/receipt Wed Jan 30 15:59:41 2013 -0200 1.3 @@ -0,0 +1,28 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="volumeicon" 1.7 +VERSION="0.4.6" 1.8 +CATEGORY="multimedia" 1.9 +SHORT_DESC="Volumeicon is a lightweight volume control in your systray." 1.10 +MAINTAINER="claudinei@slitaz.org" 1.11 +WEB_SITE="http://softwarebakery.com/maato/volumeicon.html" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WGET_URL="http://softwarebakery.com/maato/files/$PACKAGE/$TARBALL" 1.14 + 1.15 +DEPENDS="gtk+ alsa-lib libnotify" 1.16 +BUILD_DEPENDS="gtk+-dev alsa-lib-dev libnotify-dev" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + patch -p0 < $stuff/alsa_backend.patch 1.22 + ./configure --enable-notify $CONFIGURE_ARGS && 1.23 + make && 1.24 + make install 1.25 +} 1.26 + 1.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.28 +genpkg_rules() 1.29 +{ 1.30 + cp -a $install/* $fs 1.31 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/volumeicon/stuff/alsa_backend.patch Wed Jan 30 15:59:41 2013 -0200 2.3 @@ -0,0 +1,14 @@ 2.4 +--- src/alsa_backend.new.c 2.5 ++++ src/alsa_backend.c 2.6 +@@ -22,10 +22,7 @@ 2.7 + //############################################################################## 2.8 + 2.9 + #include <alsa/asoundlib.h> 2.10 +-#include <glib/gstring.h> 2.11 +-#include <glib/gstdio.h> 2.12 +-#include <glib/glist.h> 2.13 +-#include <glib/giochannel.h> 2.14 ++#include <glib.h> 2.15 + 2.16 + #include "alsa_backend.h" 2.17 +