import p5-Audio-Scan,

Audio::Scan is a C-based scanner for audio file metadata and tag
information. It currently supports MP3 via an included version of
libid3tag, MP4, Ogg Vorbis, FLAC (if libFLAC is installed), ASF,
WAV, AIFF, Musepack, and Monkey's Audio.
This commit is contained in:
sthen 2009-10-07 21:14:05 +00:00
parent 739c6ade48
commit 502cec0616
6 changed files with 53 additions and 0 deletions

View File

@ -0,0 +1,20 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/10/07 21:14:05 sthen Exp $
COMMENT= XS parser for many common audio formats
DISTNAME= Audio-Scan-0.39
CATEGORIES= audio
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= ogg z
MODULES= cpan
CONFIGURE_ARGS+=--with-flac-libs="${LOCALBASE}/lib"
LIB_DEPENDS= FLAC::audio/flac
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (Audio-Scan-0.39.tar.gz) = q3hdYt0HUSQxBlX2hK2pNA==
RMD160 (Audio-Scan-0.39.tar.gz) = D/bKKNi1c6oiegWozVAn+clPxFQ=
SHA1 (Audio-Scan-0.39.tar.gz) = Nb2xZ7D8Y5D+nfiCQHNXcPdP4sw=
SHA256 (Audio-Scan-0.39.tar.gz) = 190WfVUT8PTZot4woSqhTJWzf2zyESScrEQo3Gu/HNY=
SIZE (Audio-Scan-0.39.tar.gz) = 2068190

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-Makefile_PL,v 1.1.1.1 2009/10/07 21:14:05 sthen Exp $
--- Makefile.PL.orig Fri Oct 2 15:34:38 2009
+++ Makefile.PL Fri Oct 2 15:34:48 2009
@@ -87,7 +87,7 @@ for my $incdir ( $flac_inc, @check ) {
}
}
else {
- push @LIBS, '-lFLAC';
+ push @LIBS, '-lFLAC -logg';
}
last;

View File

@ -0,0 +1,4 @@
Audio::Scan is a C-based scanner for audio file metadata and tag
information. It currently supports MP3 via an included version of
libid3tag, MP4, Ogg Vorbis, FLAC (if libFLAC is installed), ASF,
WAV, AIFF, Musepack, and Monkey's Audio.

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2009/10/07 21:14:05 sthen Exp $
${P5ARCH}/auto/Audio/Scan/Scan.so

View File

@ -0,0 +1,10 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2009/10/07 21:14:05 sthen Exp $
%%SHARED%%
${P5ARCH}/
${P5ARCH}/Audio/
${P5ARCH}/Audio/Scan.pm
${P5ARCH}/auto/
${P5ARCH}/auto/Audio/
${P5ARCH}/auto/Audio/Scan/
${P5ARCH}/auto/Audio/Scan/Scan.bs
@man man/man3p/Audio::Scan.3p