diff options
author | epg <epg@pkgsrc.org> | 2006-10-13 02:31:56 +0000 |
---|---|---|
committer | epg <epg@pkgsrc.org> | 2006-10-13 02:31:56 +0000 |
commit | 409c007e54a6183799defa01fd9c53f354c101d0 (patch) | |
tree | 3fd91494e02d7db5787cc92eaed0ff576d97837e /audio/libdiscid | |
parent | b77326401d45ac34b4b555216660722da2222950 (diff) | |
download | pkgsrc-409c007e54a6183799defa01fd9c53f354c101d0.tar.gz |
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 (limited to 'audio/libdiscid')
-rw-r--r-- | audio/libdiscid/DESCR | 9 | ||||
-rw-r--r-- | audio/libdiscid/Makefile | 21 | ||||
-rw-r--r-- | audio/libdiscid/PLIST | 5 | ||||
-rw-r--r-- | audio/libdiscid/buildlink3.mk | 19 | ||||
-rw-r--r-- | audio/libdiscid/distinfo | 5 |
5 files changed, 59 insertions, 0 deletions
diff --git a/audio/libdiscid/DESCR b/audio/libdiscid/DESCR new file mode 100644 index 00000000000..d372b34afa0 --- /dev/null +++ b/audio/libdiscid/DESCR @@ -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 --git a/audio/libdiscid/Makefile b/audio/libdiscid/Makefile new file mode 100644 index 00000000000..78ff8713e09 --- /dev/null +++ b/audio/libdiscid/Makefile @@ -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 +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 --git a/audio/libdiscid/PLIST b/audio/libdiscid/PLIST new file mode 100644 index 00000000000..31aef0e51ca --- /dev/null +++ b/audio/libdiscid/PLIST @@ -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 --git a/audio/libdiscid/buildlink3.mk b/audio/libdiscid/buildlink3.mk new file mode 100644 index 00000000000..69c6df8db8d --- /dev/null +++ b/audio/libdiscid/buildlink3.mk @@ -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 --git a/audio/libdiscid/distinfo b/audio/libdiscid/distinfo new file mode 100644 index 00000000000..ab9370edd8d --- /dev/null +++ b/audio/libdiscid/distinfo @@ -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 |