pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/libdiscid libdiscid is a library for creating Mu...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fbad3756047d
branches:  trunk
changeset: 519973:fbad3756047d
user:      epg <epg%pkgsrc.org@localhost>
date:      Fri Oct 13 02:31:56 2006 +0000

description:
libdiscid is a 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 (http://musicbrainz.org).
Additionally, it provides a submission URL for adding the DiscID to
the database.

The interface of this library is new, but the DiscID algorithm and the
operating system dependent CD-ROM/DVD-ROM access code have been ported
from libmusicbrainz version 2.

diffstat:

 audio/libdiscid/DESCR         |   9 +++++++++
 audio/libdiscid/Makefile      |  21 +++++++++++++++++++++
 audio/libdiscid/PLIST         |   5 +++++
 audio/libdiscid/buildlink3.mk |  19 +++++++++++++++++++
 audio/libdiscid/distinfo      |   5 +++++
 5 files changed, 59 insertions(+), 0 deletions(-)

diffs (79 lines):

diff -r 899c60a73da0 -r fbad3756047d audio/libdiscid/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/libdiscid/DESCR     Fri Oct 13 02:31:56 2006 +0000
@@ -0,0 +1,9 @@
+libdiscid is a 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 (http://musicbrainz.org).
+Additionally, it provides a submission URL for adding the DiscID to
+the database.
+
+The interface of this library is new, but the DiscID algorithm and the
+operating system dependent CD-ROM/DVD-ROM access code have been ported
+from libmusicbrainz version 2.
diff -r 899c60a73da0 -r fbad3756047d audio/libdiscid/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/libdiscid/Makefile  Fri Oct 13 02:31:56 2006 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/10/13 02:31:56 epg Exp $
+
+DISTNAME=      libdiscid-0.1.0
+CATEGORIES=    audio
+MASTER_SITES=  http://users.musicbrainz.org/~matt/
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://musicbrainz.org/doc/libdiscid
+COMMENT=       Library for creating MusicBrainz DiscIDs
+
+# XXX We don't yet have libmusicbrainz, so this could be wrong; it
+# might end up packaged as libmusicbrainz3, for example.
+CONFLICTS=     libmusicbrainz>=3.0
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL=   yes
+USE_TOOLS+=    pkg-config
+
+PKGCONFIG_OVERRIDE+=   libdiscid.pc.in
+
+.include "../../mk/bsd.pkg.mk"
diff -r 899c60a73da0 -r fbad3756047d audio/libdiscid/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/libdiscid/PLIST     Fri Oct 13 02:31:56 2006 +0000
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/10/13 02:31:56 epg Exp $
+include/discid/discid.h
+lib/libdiscid.la
+lib/pkgconfig/libdiscid.pc
+@dirrm include/discid
diff -r 899c60a73da0 -r fbad3756047d audio/libdiscid/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/libdiscid/buildlink3.mk     Fri Oct 13 02:31:56 2006 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2006/10/13 02:31:56 epg Exp $
+
+BUILDLINK_DEPTH:=              ${BUILDLINK_DEPTH}+
+LIBDISCID_BUILDLINK3_MK:=      ${LIBDISCID_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+=    libdiscid
+.endif
+
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:Nlibdiscid}
+BUILDLINK_PACKAGES+=   libdiscid
+BUILDLINK_ORDER:=      ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libdiscid
+
+.if ${LIBDISCID_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.libdiscid+=      libdiscid>=0.1.0
+BUILDLINK_PKGSRCDIR.libdiscid?=        ../../audio/libdiscid
+.endif # LIBDISCID_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:=              ${BUILDLINK_DEPTH:S/+$//}
diff -r 899c60a73da0 -r fbad3756047d audio/libdiscid/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/libdiscid/distinfo  Fri Oct 13 02:31:56 2006 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/10/13 02:31:56 epg Exp $
+
+SHA1 (libdiscid-0.1.0.tar.gz) = fbd4494155086206a717e0ef94e08d0f2978b317
+RMD160 (libdiscid-0.1.0.tar.gz) = f18b21bdb33eb0f4471b5e68a3b7bff295c70ab7
+Size (libdiscid-0.1.0.tar.gz) = 327716 bytes



Home | Main Index | Thread Index | Old Index