diff options
author | gahr <gahr@FreeBSD.org> | 2008-06-04 07:09:26 +0800 |
---|---|---|
committer | gahr <gahr@FreeBSD.org> | 2008-06-04 07:09:26 +0800 |
commit | d422c1a4f5668a6b560c67e9e1e1c9008c4476b1 (patch) | |
tree | eaf79c01b2eccc1076ab6c59125529b9d99cb5a5 /audio/wavbreaker | |
parent | c2f4a7680e4f0fe0421a4caa383ec0a5c62b0b67 (diff) | |
download | freebsd-ports-gnome-d422c1a4f5668a6b560c67e9e1e1c9008c4476b1.tar.gz freebsd-ports-gnome-d422c1a4f5668a6b560c67e9e1e1c9008c4476b1.tar.zst freebsd-ports-gnome-d422c1a4f5668a6b560c67e9e1e1c9008c4476b1.zip |
- Update to 0.10
- Add support for Pulseaudio soundserver via the OPTIONS framework
- Respect WITHOUT_NLS knob
- Take maintainship
Diffstat (limited to 'audio/wavbreaker')
-rw-r--r-- | audio/wavbreaker/Makefile | 27 | ||||
-rw-r--r-- | audio/wavbreaker/distinfo | 6 | ||||
-rw-r--r-- | audio/wavbreaker/files/patch-src_toc.c | 10 | ||||
-rw-r--r-- | audio/wavbreaker/pkg-plist | 6 |
4 files changed, 38 insertions, 11 deletions
diff --git a/audio/wavbreaker/Makefile b/audio/wavbreaker/Makefile index 38bbd508a21a..24ee894fa751 100644 --- a/audio/wavbreaker/Makefile +++ b/audio/wavbreaker/Makefile @@ -5,15 +5,16 @@ # $FreeBSD$ PORTNAME= wavbreaker -PORTVERSION= 0.9 +PORTVERSION= 0.10 CATEGORIES= audio MASTER_SITES= SF -MAINTAINER= ports@FreeBSD.org -COMMENT= Tool to split wav files +MAINTAINER= gahr@FreeBSD.org +COMMENT= Tool to split and merge wav files + +OPTIONS= PULSE "Pulseaudio soundserver support" OFF USE_GNOME= gnomehack gnometarget gtk20 libxml2 -USE_GETTEXT= yes USE_GMAKE= yes GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ @@ -23,4 +24,20 @@ INSTALLS_ICONS= yes MAN1= wavbreaker.1 wavinfo.1 wavmerge.1 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if !defined(WITH_PULSE) +CONFIGURE_ARGS+= --disable-pulse +.else +LIB_DEPENDS+= pulse.0:${PORTSDIR}/audio/pulseaudio +.endif + +.if defined(WITHOUT_NLS) +CONFIGURE_ARGS+= --disable-nls +PLIST_SUB= NLS="@comment " +.else +USE_GETTEXT= yes +PLIST_SUB= NLS="" +.endif + +.include <bsd.port.post.mk> diff --git a/audio/wavbreaker/distinfo b/audio/wavbreaker/distinfo index 4fad4e775579..1e63836d8e8d 100644 --- a/audio/wavbreaker/distinfo +++ b/audio/wavbreaker/distinfo @@ -1,3 +1,3 @@ -MD5 (wavbreaker-0.9.tar.gz) = ac201f2971030814225026efc98e215d -SHA256 (wavbreaker-0.9.tar.gz) = ed298c309bb3090cbd9355bbe857be7f6f855e12e0aed7dc0af842c8c14ec202 -SIZE (wavbreaker-0.9.tar.gz) = 469583 +MD5 (wavbreaker-0.10.tar.gz) = a77ba8c4c42a1e7c5aef6d519058bacf +SHA256 (wavbreaker-0.10.tar.gz) = e1579c68d12ffce1653b4f297be9938a13fcf393310c4c89d9be112f85dc9981 +SIZE (wavbreaker-0.10.tar.gz) = 475176 diff --git a/audio/wavbreaker/files/patch-src_toc.c b/audio/wavbreaker/files/patch-src_toc.c new file mode 100644 index 000000000000..8fa6abfc6531 --- /dev/null +++ b/audio/wavbreaker/files/patch-src_toc.c @@ -0,0 +1,10 @@ +--- src/toc.c.orig 2008-06-04 00:20:25.000000000 +0200 ++++ src/toc.c 2008-06-04 00:20:36.000000000 +0200 +@@ -19,6 +19,7 @@ + #include <stdio.h> + #include <stdlib.h> + #include <string.h> ++#include <sys/types.h> + + #include "wavbreaker.h" + #include "sample.h" diff --git a/audio/wavbreaker/pkg-plist b/audio/wavbreaker/pkg-plist index d1c4a299fc88..7e06130d51b6 100644 --- a/audio/wavbreaker/pkg-plist +++ b/audio/wavbreaker/pkg-plist @@ -7,8 +7,8 @@ share/icons/hicolor/22x22/apps/wavbreaker.png share/icons/hicolor/24x24/apps/wavbreaker.png share/icons/hicolor/48x48/apps/wavbreaker.png share/icons/hicolor/scalable/apps/wavbreaker.svg -share/locale/de/LC_MESSAGES/wavbreaker.mo -share/locale/fr/LC_MESSAGES/wavbreaker.mo -share/locale/pt/LC_MESSAGES/wavbreaker.mo +%%NLS%%share/locale/de/LC_MESSAGES/wavbreaker.mo +%%NLS%%share/locale/fr/LC_MESSAGES/wavbreaker.mo +%%NLS%%share/locale/pt/LC_MESSAGES/wavbreaker.mo share/pixmaps/wavbreaker.png @dirrmtry share/applications |