diff options
author | miwi <miwi@FreeBSD.org> | 2013-02-10 22:09:08 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2013-02-10 22:09:08 +0800 |
commit | 2c7623196e6cc152aac9f92488ad4376f3273420 (patch) | |
tree | ee8e62f0b4fa4c8f3bbff929e94837138d168c7e /audio/gvolwheel | |
parent | 4c66749de7a495ba176a4e26bd86a89f4d649e87 (diff) | |
download | freebsd-ports-gnome-2c7623196e6cc152aac9f92488ad4376f3273420.tar.gz freebsd-ports-gnome-2c7623196e6cc152aac9f92488ad4376f3273420.tar.zst freebsd-ports-gnome-2c7623196e6cc152aac9f92488ad4376f3273420.zip |
GVolWheel is a Lightweight application which lets you control the audio
volume. GVolWheel is application which lets you control the volume easily
through a tray icon you can scroll on. Easily integrate with minimal
desktops (Openbox,IceWM,XFCE etc).
WWW: http://sourceforge.net/projects/gvolwheel/
PR: ports/175887
Submitted by: Gvozdikov Veniamin <g.veniamin@googlemail.com>
Diffstat (limited to 'audio/gvolwheel')
-rw-r--r-- | audio/gvolwheel/Makefile | 41 | ||||
-rw-r--r-- | audio/gvolwheel/distinfo | 2 | ||||
-rw-r--r-- | audio/gvolwheel/files/patch-Makefile.in | 11 | ||||
-rw-r--r-- | audio/gvolwheel/files/patch-src_oss.c | 19 | ||||
-rw-r--r-- | audio/gvolwheel/pkg-descr | 6 | ||||
-rw-r--r-- | audio/gvolwheel/pkg-plist | 14 |
6 files changed, 93 insertions, 0 deletions
diff --git a/audio/gvolwheel/Makefile b/audio/gvolwheel/Makefile new file mode 100644 index 000000000000..f8189077fda4 --- /dev/null +++ b/audio/gvolwheel/Makefile @@ -0,0 +1,41 @@ +# Created by: Gvozdikov Veniamin <g.veniamin@googlemail.com> +# $FreeBSD$ + +PORTNAME= gvolwheel +PORTVERSION= 1.0 +CATEGORIES= audio +MASTER_SITES= SF/${PORTNAME} + +MAINTAINER= g.veniamin@googlemail.com +COMMENT= Volume mixer + +LICENSE= GPLv3 + +BUILD_DEPENDS= intltoolize:${PORTSDIR}/textproc/intltool + +CONFIGURE_ARGS+=--enable-oss +GNU_CONFIGURE= yes +USE_GMAKE= yes +USE_GNOME= gnomehack gtk30 +USE_ICONV= yes +USE_PKGCONFIG= yes + +OPTIONS_DEFINE= NLS +NLS_DESC= Native language support + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MNLS} +CONFIGURE_ARGS+= --disable-nls +PLIST_SUB+= NLS="@comment " +.else +PLIST_SUB+= NLS="" +USE_GETTEXT= yes +.endif + +pre-configure: + ${ECHO} "${DOCSDIR}" + ${REINPLACE_CMD} -e 's|linux/soundcard|sys/soundcard|g' \ + ${WRKSRC}/src/callbacks.c ${WRKSRC}/src/actions.c + +.include <bsd.port.mk> diff --git a/audio/gvolwheel/distinfo b/audio/gvolwheel/distinfo new file mode 100644 index 000000000000..66b5df96995f --- /dev/null +++ b/audio/gvolwheel/distinfo @@ -0,0 +1,2 @@ +SHA256 (gvolwheel-1.0.tar.gz) = 43f5fa526865055d7196a58ad1fbb4019ceb2353a82bff5827c19033d616c676 +SIZE (gvolwheel-1.0.tar.gz) = 347187 diff --git a/audio/gvolwheel/files/patch-Makefile.in b/audio/gvolwheel/files/patch-Makefile.in new file mode 100644 index 000000000000..1413476ee004 --- /dev/null +++ b/audio/gvolwheel/files/patch-Makefile.in @@ -0,0 +1,11 @@ +--- Makefile.in.orig 2010-04-03 19:20:45.000000000 +0800 ++++ Makefile.in 2010-06-08 13:08:12.000000000 +0800 +@@ -268,7 +268,7 @@ + top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ + SUBDIRS = src po +-gvolwheeldocdir = ${prefix}/doc/gvolwheel ++gvolwheeldocdir = ${prefix}/share/doc/gvolwheel + gvolwheeldoc_DATA = \ + README\ + COPYING\ diff --git a/audio/gvolwheel/files/patch-src_oss.c b/audio/gvolwheel/files/patch-src_oss.c new file mode 100644 index 000000000000..f999b2617530 --- /dev/null +++ b/audio/gvolwheel/files/patch-src_oss.c @@ -0,0 +1,19 @@ +--- src/oss.c.orig 2013-02-05 00:07:25.250545453 +0400 ++++ src/oss.c 2013-02-05 00:08:55.817607467 +0400 +@@ -17,7 +17,8 @@ + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +-#include <linux/soundcard.h> ++#include <sys/unistd.h> ++#include <sys/soundcard.h> + #include <fcntl.h> + #include <sys/ioctl.h> + +@@ -51,4 +52,4 @@ + ioctl(mixer_fd, MIXER_WRITE(SOUND_MIXER_VOLUME), &vol); + else if (mixer == 1) + ioctl(mixer_fd, MIXER_WRITE(SOUND_MIXER_PCM), &vol); +-} +\ No newline at end of file ++} diff --git a/audio/gvolwheel/pkg-descr b/audio/gvolwheel/pkg-descr new file mode 100644 index 000000000000..7501c0220df8 --- /dev/null +++ b/audio/gvolwheel/pkg-descr @@ -0,0 +1,6 @@ +GVolWheel is a Lightweight application which lets you control the audio +volume. GVolWheel is application which lets you control the volume easily +through a tray icon you can scroll on. Easily integrate with minimal +desktops (Openbox,IceWM,XFCE etc). + +WWW: http://sourceforge.net/projects/gvolwheel/ diff --git a/audio/gvolwheel/pkg-plist b/audio/gvolwheel/pkg-plist new file mode 100644 index 000000000000..50a02d910515 --- /dev/null +++ b/audio/gvolwheel/pkg-plist @@ -0,0 +1,14 @@ +%%DOCSDIR%%/AUTHORS +%%DOCSDIR%%/COPYING +%%DOCSDIR%%/ChangeLog +%%DOCSDIR%%/INSTALL +%%DOCSDIR%%/NEWS +%%DOCSDIR%%/README +%%NLS%%share/locale/ru/LC_MESSAGES/gvolwheel.mo +bin/gvolwheel +share/pixmaps/gvolwheel/audio-volume-high.png +share/pixmaps/gvolwheel/audio-volume-low.png +share/pixmaps/gvolwheel/audio-volume-medium.png +share/pixmaps/gvolwheel/audio-volume-muted.png +@dirrm %%DOCSDIR%% +@dirrm share/pixmaps/gvolwheel |