diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2009-11-26 10:00:15 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2009-11-26 10:00:15 +0800 |
commit | eda8e2ed14ab3724fcda4512da37ca42b95e89fd (patch) | |
tree | c30b234392c7d080c2d4da36b4c1440ce1f13b32 /audio | |
parent | 44cc75c23f9e449f01170edfb3b4143276de4034 (diff) | |
download | marcuscom-ports-eda8e2ed14ab3724fcda4512da37ca42b95e89fd.tar marcuscom-ports-eda8e2ed14ab3724fcda4512da37ca42b95e89fd.tar.gz marcuscom-ports-eda8e2ed14ab3724fcda4512da37ca42b95e89fd.tar.bz2 marcuscom-ports-eda8e2ed14ab3724fcda4512da37ca42b95e89fd.tar.lz marcuscom-ports-eda8e2ed14ab3724fcda4512da37ca42b95e89fd.tar.xz marcuscom-ports-eda8e2ed14ab3724fcda4512da37ca42b95e89fd.tar.zst marcuscom-ports-eda8e2ed14ab3724fcda4512da37ca42b95e89fd.zip |
Update to 0.22.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@13242 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'audio')
-rw-r--r-- | audio/libcanberra/Makefile | 55 | ||||
-rw-r--r-- | audio/libcanberra/distinfo | 3 | ||||
-rw-r--r-- | audio/libcanberra/files/patch-src_oss.c | 11 | ||||
-rw-r--r-- | audio/libcanberra/pkg-descr | 4 | ||||
-rw-r--r-- | audio/libcanberra/pkg-plist | 55 |
5 files changed, 128 insertions, 0 deletions
diff --git a/audio/libcanberra/Makefile b/audio/libcanberra/Makefile new file mode 100644 index 000000000..758588b43 --- /dev/null +++ b/audio/libcanberra/Makefile @@ -0,0 +1,55 @@ +# New ports collection makefile for: libcanberra +# Date created: 05 August 2008 +# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> +# +# $FreeBSD: ports/audio/libcanberra/Makefile,v 1.11 2009/08/02 19:32:17 mezz Exp $ +# + +PORTNAME= libcanberra +PORTVERSION= 0.22 +CATEGORIES= audio devel +MASTER_SITES= http://0pointer.de/lennart/projects/libcanberra/ + +MAINTAINER= gnome@FreeBSD.org +COMMENT= Implementation of the Freedesktop sound theme spec + +LIB_DEPENDS= vorbisfile.6:${PORTSDIR}/audio/libvorbis + +USE_GMAKE= yes +USE_GNOME= gnomeprefix gnomehack gtk20 ltverhack gconf2 +USE_LDCONFIG= yes +USE_AUTOTOOLS= libtool:22 libltdl:22 +CONFIGURE_ARGS= --disable-lynx +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +GCONF_SCHEMAS= libcanberra.schemas + +OPTIONS= PULSE "Enable Pulse Audio support" off \ + GSTREAMER "Enable GStreamer audio support" off + +PLIST_SUB= VERSION=${PORTVERSION} + +.include <bsd.port.pre.mk> + +.if !defined(WITHOUT_PULSE) +LIB_DEPENDS+= pulse.0:${PORTSDIR}/audio/pulseaudio +PLIST_SUB+= PULSE="" +.else +CONFIGURE_ARGS+=--disable-pulse +PLIST_SUB+= PULSE="@comment " +.endif + +.if !defined(WITHOUT_GSTREAMER) +USE_GSTREAMER= yes +PLIST_SUB+= GSTREAMER="" +.else +CONFIGURE_ARGS+=--disable-gstreamer +PLIST_SUB+= GSTREAMER="@comment " +.endif + +post-patch: + @${REINPLACE_CMD} -e 's|-Wmissing-include-dirs||g' \ + ${WRKSRC}/configure + +.include <bsd.port.post.mk> diff --git a/audio/libcanberra/distinfo b/audio/libcanberra/distinfo new file mode 100644 index 000000000..f771edecc --- /dev/null +++ b/audio/libcanberra/distinfo @@ -0,0 +1,3 @@ +MD5 (libcanberra-0.22.tar.gz) = e24e2f956fedfbcc58edfa40471b18d8 +SHA256 (libcanberra-0.22.tar.gz) = 6a87737c3d045549a4a9c789cfc565a48185a586aa1a59243dea6421e9978581 +SIZE (libcanberra-0.22.tar.gz) = 459404 diff --git a/audio/libcanberra/files/patch-src_oss.c b/audio/libcanberra/files/patch-src_oss.c new file mode 100644 index 000000000..d4b910a3c --- /dev/null +++ b/audio/libcanberra/files/patch-src_oss.c @@ -0,0 +1,11 @@ +--- src/oss.c.orig 2009-08-26 21:58:16.000000000 -0400 ++++ src/oss.c 2009-11-25 20:47:07.000000000 -0500 +@@ -260,7 +260,7 @@ static int open_oss(ca_context *c, struc + val = AFMT_S16_NE; + break; + case CA_SAMPLE_S16RE: +-#if __BYTE_ORDER == __LITTLE_ENDIAN ++#if _BYTE_ORDER == _LITTLE_ENDIAN + val = AFMT_S16_BE; + #else + val = AFMT_S16_LE; diff --git a/audio/libcanberra/pkg-descr b/audio/libcanberra/pkg-descr new file mode 100644 index 000000000..bd46b142e --- /dev/null +++ b/audio/libcanberra/pkg-descr @@ -0,0 +1,4 @@ +Libcanberra is an implementation of the Freedesktop Sound Theme +specification. It allows developers to play sounds given a list of events. + +WWW: http://0pointer.de/lennart/projects/libcanberra/ diff --git a/audio/libcanberra/pkg-plist b/audio/libcanberra/pkg-plist new file mode 100644 index 000000000..e32487a18 --- /dev/null +++ b/audio/libcanberra/pkg-plist @@ -0,0 +1,55 @@ +bin/canberra-gtk-play +include/canberra-gtk.h +include/canberra.h +lib/gtk-2.0/modules/libcanberra-gtk-module.a +lib/gtk-2.0/modules/libcanberra-gtk-module.la +lib/gtk-2.0/modules/libcanberra-gtk-module.so +lib/libcanberra-gtk.a +lib/libcanberra-gtk.la +lib/libcanberra-gtk.so +lib/libcanberra-gtk.so.0 +lib/libcanberra.a +lib/libcanberra.la +lib/libcanberra.so +lib/libcanberra.so.0 +%%GSTREAMER%%lib/libcanberra/libcanberra-gstreamer.a +%%GSTREAMER%%lib/libcanberra/libcanberra-gstreamer.la +%%GSTREAMER%%lib/libcanberra/libcanberra-gstreamer.so +lib/libcanberra-%%VERSION%%/libcanberra-multi.a +lib/libcanberra-%%VERSION%%/libcanberra-multi.la +lib/libcanberra-%%VERSION%%/libcanberra-multi.so +lib/libcanberra-%%VERSION%%/libcanberra-null.a +lib/libcanberra-%%VERSION%%/libcanberra-null.la +lib/libcanberra-%%VERSION%%/libcanberra-null.so +lib/libcanberra-%%VERSION%%/libcanberra-oss.a +lib/libcanberra-%%VERSION%%/libcanberra-oss.la +lib/libcanberra-%%VERSION%%/libcanberra-oss.so +%%PULSE%%lib/libcanberra-%%VERSION%%/libcanberra-pulse.a +%%PULSE%%lib/libcanberra-%%VERSION%%/libcanberra-pulse.la +%%PULSE%%lib/libcanberra-%%VERSION%%/libcanberra-pulse.so +libdata/pkgconfig/libcanberra-gtk.pc +libdata/pkgconfig/libcanberra.pc +%%DOCSDIR%%/README +%%DOCSDIR%%/ch01.html +%%DOCSDIR%%/home.png +%%DOCSDIR%%/index.html +%%DOCSDIR%%/index.sgml +%%DOCSDIR%%/left.png +%%DOCSDIR%%/libcanberra-canberra-gtk.html +%%DOCSDIR%%/libcanberra-canberra.html +%%DOCSDIR%%/libcanberra.devhelp +%%DOCSDIR%%/libcanberra.devhelp2 +%%DOCSDIR%%/right.png +%%DOCSDIR%%/style.css +%%DOCSDIR%%/up.png +share/gdm/autostart/LoginWindow/libcanberra-ready-sound.desktop +share/gnome/autostart/libcanberra-login-sound.desktop +share/gnome/shutdown/libcanberra-logout-sound.sh +share/vala/vapi/libcanberra-gtk.vapi +share/vala/vapi/libcanberra.vapi +@dirrmtry share/gnome/shutdown +@dirrmtry share/gdm/autostart/LoginWindow +@dirrmtry share/gdm/autostart +@dirrmtry share/gdm +@dirrm %%DOCSDIR%% +@dirrm lib/libcanberra-%%VERSION%% |