openbsd-ports/audio/libdiscid/Makefile
jca 87b45d4c0b Import libdiscid-0.6.1, a MusicBrainz DiscIDs library. ok sthen@
Port submitted by Donovan Watteau (MAINTAINER), needed for an upcoming
audio/cmus update.

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

The library also provides FreeDB disc IDs, and MCN + ISRCs, if
available.

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.
2015-09-24 10:28:08 +00:00

29 lines
619 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2015/09/24 10:28:08 jca Exp $
COMMENT= create MusicBrainz DiscIDs from audio CDs
DISTNAME= libdiscid-0.6.1
CATEGORIES= audio
SHARED_LIBS += discid 0.0 # 0.0
MAINTAINER= Donovan Watteau <tsoomi@gmail.com>
HOMEPAGE= https://musicbrainz.org/doc/libdiscid/
# LGPLv2.1+
PERMIT_PACKAGE_CDROM= Yes
MASTER_SITES= http://ftp.musicbrainz.org/pub/musicbrainz/libdiscid/
SEPARATE_BUILD= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
CONFIGURE_ENV= ac_cv_header_musicbrainz5_mb5_c_h=no
# Some tests need an actual audio CD
TEST_IS_INTERACTIVE= Yes
.include <bsd.port.mk>