summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-03-26 17:49:49 +0000
committermiwi <miwi@FreeBSD.org>2008-03-26 17:49:49 +0000
commit98c1fcf1c5cc74893a04796f10e3c6c146c8ccfa (patch)
treef328cc5ed09e1ab187c1c3d0fb56eca5f28a278d /audio
parentc5069f3539e885b2d8155fcf7dab5862ead87584 (diff)
downloadFreeBSD-ports-98c1fcf1c5cc74893a04796f10e3c6c146c8ccfa.zip
FreeBSD-ports-98c1fcf1c5cc74893a04796f10e3c6c146c8ccfa.tar.gz
libdiscid is a C library for creating MusicBrainz DiscIDs from audio CDs. It
reads a CD's table of contents (TOC) and generates an identifier which can be used to lookup the CD at MusicBrainz. Additionally, it provides a submission URL for adding the DiscID to the database. WWW: http://musicbrainz.org/doc/libdiscid PR: ports/122101 Submitted by: Jason E. Hale <bsdkaffee at gmail.com>
Diffstat (limited to 'audio')
-rw-r--r--audio/Makefile1
-rw-r--r--audio/libdiscid/Makefile26
-rw-r--r--audio/libdiscid/distinfo3
-rw-r--r--audio/libdiscid/pkg-descr6
-rw-r--r--audio/libdiscid/pkg-plist7
5 files changed, 43 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index dbc140c..fbba1ae 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -324,6 +324,7 @@
SUBDIR += libcddb
SUBDIR += libcddb-doc
SUBDIR += libconvolve
+ SUBDIR += libdiscid
SUBDIR += libdssialsacompat
SUBDIR += libgpod
SUBDIR += libid3tag
diff --git a/audio/libdiscid/Makefile b/audio/libdiscid/Makefile
new file mode 100644
index 0000000..12d4379
--- /dev/null
+++ b/audio/libdiscid/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: libdiscid
+# Date created: 2008-03-19
+# Whom: Jason E. Hale <bsdkaffee@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libdiscid
+PORTVERSION= 0.2.1
+CATEGORIES= audio
+MASTER_SITES= http://users.musicbrainz.org/~matt/
+
+MAINTAINER= bsdkaffee@gmail.com
+COMMENT= A library for creating MusicBrainz DiscIDs
+
+GNU_CONFIGURE= yes
+USE_GNOME= pkgconfig
+USE_LDCONFIG= yes
+
+.include <bsd.port.pre.mk>
+
+pre-configure:
+ @${REINPLACE_CMD} -e 's|\$$(libdir)/pkgconfig|\$$(prefix)/libdata/pkgconfig|' \
+ ${WRKSRC}/Makefile.in
+
+.include <bsd.port.post.mk>
diff --git a/audio/libdiscid/distinfo b/audio/libdiscid/distinfo
new file mode 100644
index 0000000..2a9caec
--- /dev/null
+++ b/audio/libdiscid/distinfo
@@ -0,0 +1,3 @@
+MD5 (libdiscid-0.2.1.tar.gz) = 93e17108ee7e30a83271a6fcb3a18a56
+SHA256 (libdiscid-0.2.1.tar.gz) = 8f423ba5e7d014d9f8204814be844314d0969eb4faf8b85167a806f100a57f4c
+SIZE (libdiscid-0.2.1.tar.gz) = 343082
diff --git a/audio/libdiscid/pkg-descr b/audio/libdiscid/pkg-descr
new file mode 100644
index 0000000..1c5fdb9
--- /dev/null
+++ b/audio/libdiscid/pkg-descr
@@ -0,0 +1,6 @@
+libdiscid is a C library for creating MusicBrainz DiscIDs from audio CDs. It
+reads a CD's table of contents (TOC) and generates an identifier which can be
+used to lookup the CD at MusicBrainz. Additionally, it provides a submission
+URL for adding the DiscID to the database.
+
+WWW: http://musicbrainz.org/doc/libdiscid
diff --git a/audio/libdiscid/pkg-plist b/audio/libdiscid/pkg-plist
new file mode 100644
index 0000000..76ff772
--- /dev/null
+++ b/audio/libdiscid/pkg-plist
@@ -0,0 +1,7 @@
+include/discid/discid.h
+lib/libdiscid.a
+lib/libdiscid.la
+lib/libdiscid.so
+lib/libdiscid.so.2
+libdata/pkgconfig/libdiscid.pc
+@dirrm include/discid
OpenPOWER on IntegriCloud