import libcanberra 0.9

Libcanberra is an implementation of the Freedesktop Sound Theme
specification. It allows developers to play sounds given a list of
events.

ok landry@
This commit is contained in:
jasper 2008-09-26 12:01:43 +00:00
parent 7429fca9f9
commit 88636eba3c
9 changed files with 157 additions and 0 deletions

View File

@ -0,0 +1,36 @@
# $OpenBSD: Makefile,v 1.1.1.1 2008/09/26 12:01:43 jasper Exp $
COMMENT= implementation of the Freedesktop sound theme spec.
DISTNAME= libcanberra-0.9
SHARED_LIBS += canberra 0.0 # .1.2
CATEGORIES= audio devel
HOMEPAGE= http://0pointer.de/lennart/projects/libcanberra/
# LGPLv2.1
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}
WANTLIB= glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0 m ogg \
pcre xml2 z
MODULES= devel/gettext
LIB_DEPENDS= vorbis,vorbisfile::audio/libvorbis \
ltdl::devel/libtool,-ltdl \
gstreamer-0.10::multimedia/gstreamer-0.10/core
USE_LIBTOOL= Yes
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --disable-gtk # Needs GTK+2 > 2.13.4
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib" \
CPPFLAGS="-I${LOCALBASE}/include"
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (libcanberra-0.9.tar.gz) = HGxj1UYeahrkQ6Ek1J+Ptg==
RMD160 (libcanberra-0.9.tar.gz) = d8DUc4sVNm+BDzEdu96/DXDfw6M=
SHA1 (libcanberra-0.9.tar.gz) = Qrh68e53A3jb/Yv+s8Eabk9RPas=
SHA256 (libcanberra-0.9.tar.gz) = ovaOAqrhG6hTZdmp2lAGdPmn3n5tkQcuWdOis9YvUJk=
SIZE (libcanberra-0.9.tar.gz) = 823652

View File

@ -0,0 +1,15 @@
$OpenBSD: patch-Makefile_in,v 1.1.1.1 2008/09/26 12:01:43 jasper Exp $
Don't build internal libltdl.
--- Makefile.in.orig Thu Sep 25 21:13:52 2008
+++ Makefile.in Thu Sep 25 21:14:04 2008
@@ -265,7 +265,7 @@ top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
dist_doc_DATA = README
EXTRA_DIST = bootstrap.sh autogen.sh LGPL
-SUBDIRS = src gtkdoc libltdl doc
+SUBDIRS = src gtkdoc doc
MAINTAINERCLEANFILES = README
noinst_DATA = README
pkgconfigdir = $(libdir)/pkgconfig

View File

@ -0,0 +1,30 @@
$OpenBSD: patch-configure,v 1.1.1.1 2008/09/26 12:01:43 jasper Exp $
Don't build internal libltdl.
--- configure.orig Tue Sep 9 16:32:15 2008
+++ configure Thu Sep 25 21:26:43 2008
@@ -909,7 +909,6 @@ ac_ct_F77
LIBTOOL
LTDLINCL
LIBLTDL
-subdirs
OS_IS_WIN32_TRUE
OS_IS_WIN32_FALSE
USE_VERSION_SCRIPT_TRUE
@@ -1046,7 +1045,6 @@ TDB_CFLAGS
TDB_LIBS
VORBIS_CFLAGS
VORBIS_LIBS'
-ac_subdirs_all='libltdl'
# Initialize some variables set by options.
ac_init_help=
@@ -21192,7 +21190,6 @@ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
-subdirs="$subdirs libltdl"
#### Determine build environment ####

View File

@ -0,0 +1,17 @@
$OpenBSD: patch-src_Makefile_in,v 1.1.1.1 2008/09/26 12:01:43 jasper Exp $
As long as we don't build the GTK+ modules, this only creates
empty directories.
--- src/Makefile.in.orig Thu Sep 25 23:11:36 2008
+++ src/Makefile.in Thu Sep 25 23:12:57 2008
@@ -1322,8 +1322,7 @@ info: info-am
info-am:
-install-data-am: install-gnomeautostartDATA \
- install-gnomeshutdownSCRIPTS install-gtkmoduleLTLIBRARIES \
+install-data-am: install-gtkmoduleLTLIBRARIES \
install-includeHEADERS install-pluginLTLIBRARIES
install-dvi: install-dvi-am

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_common_h,v 1.1.1.1 2008/09/26 12:01:43 jasper Exp $
--- src/common.h.orig Thu Sep 25 23:06:18 2008
+++ src/common.h Thu Sep 25 23:06:27 2008
@@ -21,6 +21,8 @@
<http://www.gnu.org/licenses/>.
***/
+#include <stdarg.h>
+
#include "canberra.h"
#include "macro.h"
#include "mutex.h"

View File

@ -0,0 +1,3 @@
Libcanberra is an implementation of the Freedesktop Sound Theme
specification. It allows developers to play sounds given a list of
events.

View File

@ -0,0 +1,6 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2008/09/26 12:01:43 jasper Exp $
@lib lib/libcanberra.so.${LIBcanberra_VERSION}
lib/libcanberra/libcanberra-gstreamer.so
lib/libcanberra/libcanberra-multi.so
lib/libcanberra/libcanberra-null.so
lib/libcanberra/libcanberra-oss.so

View File

@ -0,0 +1,33 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/09/26 12:01:43 jasper Exp $
%%SHARED%%
include/canberra.h
lib/libcanberra/
lib/libcanberra.a
lib/libcanberra.la
lib/libcanberra/libcanberra-gstreamer.a
lib/libcanberra/libcanberra-gstreamer.la
lib/libcanberra/libcanberra-multi.a
lib/libcanberra/libcanberra-multi.la
lib/libcanberra/libcanberra-null.a
lib/libcanberra/libcanberra-null.la
lib/libcanberra/libcanberra-oss.a
lib/libcanberra/libcanberra-oss.la
lib/pkgconfig/
lib/pkgconfig/libcanberra.pc
share/doc/libcanberra/
share/doc/libcanberra/README
share/gtk-doc/
share/gtk-doc/html/
share/gtk-doc/html/libcanberra/
share/gtk-doc/html/libcanberra/ch01.html
share/gtk-doc/html/libcanberra/home.png
share/gtk-doc/html/libcanberra/index.html
share/gtk-doc/html/libcanberra/index.sgml
share/gtk-doc/html/libcanberra/left.png
share/gtk-doc/html/libcanberra/libcanberra-canberra-gtk.html
share/gtk-doc/html/libcanberra/libcanberra-canberra.html
share/gtk-doc/html/libcanberra/libcanberra.devhelp
share/gtk-doc/html/libcanberra/libcanberra.devhelp2
share/gtk-doc/html/libcanberra/right.png
share/gtk-doc/html/libcanberra/style.css
share/gtk-doc/html/libcanberra/up.png