summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2008-10-16 15:17:47 +0000
committerdrochner <drochner@pkgsrc.org>2008-10-16 15:17:47 +0000
commit37b3595ea2eef025c45f407bda4060e874b9b66d (patch)
treea84d0e7e3a7185657e7040d6f222f6ceac5e0fa8
parent21e3ab620aec084f21c80b8f3c174b0991216e6b (diff)
downloadpkgsrc-37b3595ea2eef025c45f407bda4060e874b9b66d.tar.gz
import libcanberra-0.10, a library for desktop sounds
(needed for gnome-2.24)
-rw-r--r--audio/libcanberra/DESCR4
-rw-r--r--audio/libcanberra/Makefile27
-rw-r--r--audio/libcanberra/PLIST35
-rw-r--r--audio/libcanberra/buildlink3.mk24
-rw-r--r--audio/libcanberra/distinfo5
5 files changed, 95 insertions, 0 deletions
diff --git a/audio/libcanberra/DESCR b/audio/libcanberra/DESCR
new file mode 100644
index 00000000000..0a8a4d04200
--- /dev/null
+++ b/audio/libcanberra/DESCR
@@ -0,0 +1,4 @@
+libcanberra is an implementation of the XDG Sound Theme and Name
+Specifications, for generating event sounds on free desktops, such as GNOME.
+It comes with several backends (ALSA, PulseAudio, OSS, GStreamer, null)
+and is designed to be portable.
diff --git a/audio/libcanberra/Makefile b/audio/libcanberra/Makefile
new file mode 100644
index 00000000000..ef30b88da3a
--- /dev/null
+++ b/audio/libcanberra/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/10/16 15:17:47 drochner Exp $
+#
+
+DISTNAME= libcanberra-0.10
+CATEGORIES= audio
+MASTER_SITES= http://0pointer.de/lennart/projects/libcanberra/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://0pointer.de/lennart/projects/libcanberra/
+COMMENT= Desktop event sound library
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= pkg-config gmake
+USE_DIRS+= gnome2-1.5
+GCONF_SCHEMAS+= libcanberra.schemas
+
+PKGCONFIG_OVERRIDE+= libcanberra-gtk.pc.in
+PKGCONFIG_OVERRIDE+= libcanberra.pc.in
+
+.include "../../devel/libltdl/convenience.mk"
+.include "../../devel/GConf/schemas.mk"
+.include "../../mk/oss.buildlink3.mk"
+.include "../../multimedia/gstreamer0.10/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../audio/libvorbis/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/libcanberra/PLIST b/audio/libcanberra/PLIST
new file mode 100644
index 00000000000..f35c3cd6f89
--- /dev/null
+++ b/audio/libcanberra/PLIST
@@ -0,0 +1,35 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/10/16 15:17:47 drochner Exp $
+bin/canberra-gtk-play
+include/canberra-gtk.h
+include/canberra.h
+lib/gtk-2.0/modules/libcanberra-gtk-module.la
+lib/libcanberra-gtk.la
+lib/libcanberra.la
+lib/libcanberra/libcanberra-gstreamer.la
+lib/libcanberra/libcanberra-multi.la
+lib/libcanberra/libcanberra-null.la
+lib/libcanberra/libcanberra-oss.la
+lib/pkgconfig/libcanberra-gtk.pc
+lib/pkgconfig/libcanberra.pc
+share/doc/libcanberra/README
+share/gconf/schemas/libcanberra.schemas
+share/gnome/autostart/libcanberra-login-sound.desktop
+share/gnome/shutdown/libcanberra-logout-sound.sh
+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
+@dirrm share/gtk-doc/html/libcanberra
+@comment in gnome2-dirs: @dirrm share/gnome
+@comment in GConf: @dirrm share/gconf/schemas
+@dirrm share/doc/libcanberra
+@dirrm lib/libcanberra
+@comment in gtk2: @dirrm lib/gtk-2.0/modules
diff --git a/audio/libcanberra/buildlink3.mk b/audio/libcanberra/buildlink3.mk
new file mode 100644
index 00000000000..a440d641e36
--- /dev/null
+++ b/audio/libcanberra/buildlink3.mk
@@ -0,0 +1,24 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/10/16 15:17:47 drochner Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBCANBERRA_BUILDLINK3_MK:= ${LIBCANBERRA_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= libcanberra
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibcanberra}
+BUILDLINK_PACKAGES+= libcanberra
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libcanberra
+
+.if ${LIBCANBERRA_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.libcanberra+= libcanberra>=0.10
+BUILDLINK_PKGSRCDIR.libcanberra?= ../../audio/libcanberra
+.endif # LIBCANBERRA_BUILDLINK3_MK
+
+#.include "../../multimedia/gstreamer0.10/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../audio/libvorbis/buildlink3.mk"
+.include "../../devel/libltdl/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/audio/libcanberra/distinfo b/audio/libcanberra/distinfo
new file mode 100644
index 00000000000..cd402c9ef4a
--- /dev/null
+++ b/audio/libcanberra/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/10/16 15:17:47 drochner Exp $
+
+SHA1 (libcanberra-0.10.tar.gz) = dfe1ae404b9494d8b4b163658adb688ba0008bec
+RMD160 (libcanberra-0.10.tar.gz) = 9bc56b05dadb6a2fe184cca69396c693b9a44cee
+Size (libcanberra-0.10.tar.gz) = 826222 bytes