409c007e54
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.
19 lines
601 B
Makefile
19 lines
601 B
Makefile
# $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/+$//}
|