summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-11-10 16:36:15 +0000
committernia <nia@pkgsrc.org>2020-11-10 16:36:15 +0000
commit7c6d67982aa54e48241aebfacaf3fc41a9f4c1db (patch)
treeddddac5a5b970989912188f3c3df46e84c815b08
parentbba55b734721f8906b4303d020c8c136e5b0a21f (diff)
downloadpkgsrc-7c6d67982aa54e48241aebfacaf3fc41a9f4c1db.tar.gz
audio: Add gsound.
GSound is a small library for playing system sounds. It's designed to be used via GObject Introspection, and is a thin wrapper around the libcanberra C library.
-rw-r--r--audio/Makefile3
-rw-r--r--audio/gsound/DESCR3
-rw-r--r--audio/gsound/Makefile24
-rw-r--r--audio/gsound/PLIST29
-rw-r--r--audio/gsound/buildlink3.mk14
-rw-r--r--audio/gsound/distinfo6
6 files changed, 78 insertions, 1 deletions
diff --git a/audio/Makefile b/audio/Makefile
index 5c6a6908232..9ff02179c3c 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.617 2020/11/02 14:04:41 nia Exp $
+# $NetBSD: Makefile,v 1.618 2020/11/10 16:36:15 nia Exp $
#
COMMENT= Audio tools
@@ -145,6 +145,7 @@ SUBDIR+= gqmpeg-skins
SUBDIR+= gramofile
SUBDIR+= grip
SUBDIR+= gsm
+SUBDIR+= gsound
SUBDIR+= gst-plugins0.10-a52
SUBDIR+= gst-plugins0.10-alsa
SUBDIR+= gst-plugins0.10-cdparanoia
diff --git a/audio/gsound/DESCR b/audio/gsound/DESCR
new file mode 100644
index 00000000000..904fcfa0300
--- /dev/null
+++ b/audio/gsound/DESCR
@@ -0,0 +1,3 @@
+GSound is a small library for playing system sounds. It's designed to be
+used via GObject Introspection, and is a thin wrapper around the libcanberra
+C library.
diff --git a/audio/gsound/Makefile b/audio/gsound/Makefile
new file mode 100644
index 00000000000..ccdd005eeec
--- /dev/null
+++ b/audio/gsound/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2020/11/10 16:36:15 nia Exp $
+
+DISTNAME= gsound-1.0.2
+CATEGORIES= audio gnome
+MASTER_SITES= ${MASTER_SITE_GNOME:=sources/${PKGBASE}/${PKGVERSION_NOREV:R}/}
+EXTRACT_SUFX= .tar.xz
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://gitlab.gnome.org/GNOME/gsound
+COMMENT= Small library for playing system sounds
+LICENSE= gnu-lgpl-v2.1
+
+USE_TOOLS+= pkg-config gmake
+USE_LIBTOOL= yes
+
+GNU_CONFIGURE= yes
+
+PKGCONFIG_OVERRIDE+= gsound/gsound.pc
+
+.include "../../audio/libcanberra/buildlink3.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/gobject-introspection/buildlink3.mk"
+.include "../../lang/vala/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/gsound/PLIST b/audio/gsound/PLIST
new file mode 100644
index 00000000000..b809c7ff2ab
--- /dev/null
+++ b/audio/gsound/PLIST
@@ -0,0 +1,29 @@
+@comment $NetBSD: PLIST,v 1.1 2020/11/10 16:36:15 nia Exp $
+bin/gsound-play
+include/gsound-attr.h
+include/gsound-context.h
+include/gsound.h
+lib/girepository-1.0/GSound-1.0.typelib
+lib/libgsound.la
+lib/pkgconfig/gsound.pc
+share/gir-1.0/GSound-1.0.gir
+share/gtk-doc/html/gsound/GSoundContext.html
+share/gtk-doc/html/gsound/annotation-glossary.html
+share/gtk-doc/html/gsound/api-index-full.html
+share/gtk-doc/html/gsound/ch01.html
+share/gtk-doc/html/gsound/deprecated-api-index.html
+share/gtk-doc/html/gsound/gsound-GSound-Attributes.html
+share/gtk-doc/html/gsound/gsound.devhelp2
+share/gtk-doc/html/gsound/home.png
+share/gtk-doc/html/gsound/index.html
+share/gtk-doc/html/gsound/index.sgml
+share/gtk-doc/html/gsound/left-insensitive.png
+share/gtk-doc/html/gsound/left.png
+share/gtk-doc/html/gsound/object-tree.html
+share/gtk-doc/html/gsound/right-insensitive.png
+share/gtk-doc/html/gsound/right.png
+share/gtk-doc/html/gsound/style.css
+share/gtk-doc/html/gsound/up-insensitive.png
+share/gtk-doc/html/gsound/up.png
+share/vala/vapi/gsound.deps
+share/vala/vapi/gsound.vapi
diff --git a/audio/gsound/buildlink3.mk b/audio/gsound/buildlink3.mk
new file mode 100644
index 00000000000..1a2893f2d2d
--- /dev/null
+++ b/audio/gsound/buildlink3.mk
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/11/10 16:36:15 nia Exp $
+
+BUILDLINK_TREE+= gsound
+
+.if !defined(GSOUND_BUILDLINK3_MK)
+GSOUND_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.gsound+= gsound>=1.0.2
+BUILDLINK_PKGSRCDIR.gsound?= ../../audio/gsound
+
+.include "../../devel/glib2/buildlink3.mk"
+.endif # GSOUND_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -gsound
diff --git a/audio/gsound/distinfo b/audio/gsound/distinfo
new file mode 100644
index 00000000000..a8b9d5120ef
--- /dev/null
+++ b/audio/gsound/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/11/10 16:36:15 nia Exp $
+
+SHA1 (gsound-1.0.2.tar.xz) = bd3f96673f58c339b00df2c6e3d76781d405b2b9
+RMD160 (gsound-1.0.2.tar.xz) = ca5e21450ef2eceb83ac7be7e7f83e5da3d4e1f0
+SHA512 (gsound-1.0.2.tar.xz) = 3525598aade28129d605e745cd6e8ef292220c446d59b34129056fa2aba7b4aa808c3efd29f4916056e20d5e4046b0edf2a6c9b97c272c95e59af7f8ef62e6b0
+Size (gsound-1.0.2.tar.xz) = 282068 bytes