aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorskv <skv@FreeBSD.org>2006-07-04 20:20:50 +0800
committerskv <skv@FreeBSD.org>2006-07-04 20:20:50 +0800
commit2b6667ce9c7b9e1e4ed4787a09d3b70785d2d9db (patch)
tree09030ccfddcbef7fcd15f0cc9f2b9a0be32016e0 /audio
parent660b8b8b7eda508d20b5cac8b1170dfc63ecea99 (diff)
downloadfreebsd-ports-gnome-2b6667ce9c7b9e1e4ed4787a09d3b70785d2d9db.tar.gz
freebsd-ports-gnome-2b6667ce9c7b9e1e4ed4787a09d3b70785d2d9db.tar.zst
freebsd-ports-gnome-2b6667ce9c7b9e1e4ed4787a09d3b70785d2d9db.zip
Add p5-Audio-TagLib 1.42, library for reading and editing audio meta
data.
Diffstat (limited to 'audio')
-rw-r--r--audio/Makefile1
-rw-r--r--audio/p5-Audio-TagLib/Makefile75
-rw-r--r--audio/p5-Audio-TagLib/distinfo3
-rw-r--r--audio/p5-Audio-TagLib/files/patch-Makefile.PL28
-rw-r--r--audio/p5-Audio-TagLib/pkg-descr4
-rw-r--r--audio/p5-Audio-TagLib/pkg-plist86
6 files changed, 197 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index 20170088af09..ae09d14d86a5 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -400,6 +400,7 @@
SUBDIR += p5-Audio
SUBDIR += p5-Audio-CD
SUBDIR += p5-Audio-Scrobbler
+ SUBDIR += p5-Audio-TagLib
SUBDIR += p5-Audio-WMA
SUBDIR += p5-Audio-Wav
SUBDIR += p5-CDDB
diff --git a/audio/p5-Audio-TagLib/Makefile b/audio/p5-Audio-TagLib/Makefile
new file mode 100644
index 000000000000..a03af1907b9d
--- /dev/null
+++ b/audio/p5-Audio-TagLib/Makefile
@@ -0,0 +1,75 @@
+# New ports collection makefile for: Audio-TagLib
+# Date created: 04 July 2006
+# Whom: Sergey Skvortsov <skv@protey.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Audio-TagLib
+PORTVERSION= 1.42
+CATEGORIES= audio perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Audio
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= skv@FreeBSD.org
+COMMENT= Library for reading and editing audio meta data
+
+BUILD_DEPENDS= taglib-config:${PORTSDIR}/audio/taglib
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+USE_ICONV= YES
+PERL_CONFIGURE= YES
+CONFIGURE_ARGS+= CC="${CXX}" LD="${CXX}"
+
+MAN3= Audio::TagLib.3 Audio::TagLib::APE::Footer.3 \
+ Audio::TagLib::APE::Item.3 Audio::TagLib::APE::ItemListMap.3 \
+ Audio::TagLib::APE::ItemListMap::Iterator.3 \
+ Audio::TagLib::APE::Tag.3 Audio::TagLib::AudioProperties.3 \
+ Audio::TagLib::ByteVector.3 \
+ Audio::TagLib::ByteVector::Iterator.3 \
+ Audio::TagLib::ByteVectorList.3 Audio::TagLib::FLAC::File.3 \
+ Audio::TagLib::FLAC::Properties.3 Audio::TagLib::File.3 \
+ Audio::TagLib::FileRef.3 \
+ Audio::TagLib::FileRef::FileTypeResolver.3 \
+ Audio::TagLib::ID3v1.3 Audio::TagLib::ID3v1::GenreMap.3 \
+ Audio::TagLib::ID3v1::GenreMap::Iterator.3 \
+ Audio::TagLib::ID3v1::StringHandler.3 \
+ Audio::TagLib::ID3v1::Tag.3 \
+ Audio::TagLib::ID3v2::AttachedPictureFrame.3 \
+ Audio::TagLib::ID3v2::CommentsFrame.3 \
+ Audio::TagLib::ID3v2::ExtendedHeader.3 \
+ Audio::TagLib::ID3v2::Footer.3 Audio::TagLib::ID3v2::Frame.3 \
+ Audio::TagLib::ID3v2::FrameFactory.3 \
+ Audio::TagLib::ID3v2::FrameList.3 \
+ Audio::TagLib::ID3v2::FrameList::Iterator.3 \
+ Audio::TagLib::ID3v2::FrameListMap.3 \
+ Audio::TagLib::ID3v2::FrameListMap::Iterator.3 \
+ Audio::TagLib::ID3v2::Header.3 \
+ Audio::TagLib::ID3v2::RelativeVolumeFrame.3 \
+ Audio::TagLib::ID3v2::RelativeVolumeFrame::PeakVolume.3 \
+ Audio::TagLib::ID3v2::SynchData.3 Audio::TagLib::ID3v2::Tag.3 \
+ Audio::TagLib::ID3v2::TextIdentificationFrame.3 \
+ Audio::TagLib::ID3v2::UniqueFileIdentifierFrame.3 \
+ Audio::TagLib::ID3v2::UnknownFrame.3 \
+ Audio::TagLib::ID3v2::UserTextIdentificationFrame.3 \
+ Audio::TagLib::MPC::File.3 Audio::TagLib::MPC::Properties.3 \
+ Audio::TagLib::MPEG::File.3 Audio::TagLib::MPEG::Header.3 \
+ Audio::TagLib::MPEG::Properties.3 \
+ Audio::TagLib::MPEG::XingHeader.3 \
+ Audio::TagLib::Ogg::FLAC::File.3 \
+ Audio::TagLib::Ogg::FieldListMap.3 \
+ Audio::TagLib::Ogg::FieldListMap::Iterator.3 \
+ Audio::TagLib::Ogg::File.3 Audio::TagLib::Ogg::Page.3 \
+ Audio::TagLib::Ogg::PageHeader.3 \
+ Audio::TagLib::Ogg::Vorbis::File.3 \
+ Audio::TagLib::Ogg::Vorbis::Properties.3 \
+ Audio::TagLib::Ogg::XiphComment.3 Audio::TagLib::String.3 \
+ Audio::TagLib::String::Iterator.3 Audio::TagLib::StringList.3 \
+ Audio::TagLib::Tag.3 Audio::TagLib::Vorbis::File.3 \
+ Audio::TagLib::Vorbis::Properties.3
+
+post-configure:
+ ${REINPLACE_CMD} -e "s,^CC = .*\$$,CC = ${CXX}," ${WRKSRC}/Makefile
+
+.include <bsd.port.mk>
diff --git a/audio/p5-Audio-TagLib/distinfo b/audio/p5-Audio-TagLib/distinfo
new file mode 100644
index 000000000000..4cca5131ef7a
--- /dev/null
+++ b/audio/p5-Audio-TagLib/distinfo
@@ -0,0 +1,3 @@
+MD5 (Audio-TagLib-1.42.tar.gz) = 35957bfad1a0632d84ce9ac440ed2591
+SHA256 (Audio-TagLib-1.42.tar.gz) = 02417ae948f87105ee91b9350cfa20816c69540ab423175c1d6c2b529d1e1993
+SIZE (Audio-TagLib-1.42.tar.gz) = 1515167
diff --git a/audio/p5-Audio-TagLib/files/patch-Makefile.PL b/audio/p5-Audio-TagLib/files/patch-Makefile.PL
new file mode 100644
index 000000000000..81341f7d850b
--- /dev/null
+++ b/audio/p5-Audio-TagLib/files/patch-Makefile.PL
@@ -0,0 +1,28 @@
+--- Makefile.PL.orig Mon Apr 17 15:43:46 2006
++++ Makefile.PL Tue Jul 4 15:55:49 2006
+@@ -14,13 +14,6 @@
+ chomp($libpath);
+ our $incpath = $libpath . "/include/taglib";
+ $libpath .= -d $libpath. "/lib64" ? "/lib64" : "/lib";
+- my ($lib) = glob($libpath . "/libtag.so.1.4.*");
+- if (defined $lib) {
+- print STDOUT "got $lib, good, go on\n";
+- } else {
+- Carp::croak("version 1.4.* not found,".
+- "please install firstly\n");
+- }
+ }
+
+ # See lib/ExtUtils/MakeMaker.pm for details of how to influence
+@@ -37,9 +30,9 @@
+ LD => 'g++',
+ LDDLFLAGS => "-shared -L${libpath}",
+ XSOPT => '-C++ -hiertype',
+- LIBS => ['-ltag'], # e.g., '-lm'
++ LIBS => ['-ltag -liconv'],
+ DEFINE => $^O eq 'freebsd' ? '-D_BSD_ICONV -DNO_DOXYGEN' : '-DNO_DOXYGEN', # e.g., '-DHAVE_SOMETHING'
+- INC => "-I${incpath} -I/usr/include -I./include ", # e.g., '-I. -I/usr/include/other'
++ INC => "-I${incpath} -I/usr/include -I./include -I\$(PREFIX)/include",
+ # Un-comment this if you add C files to link with later:
+ # OBJECT => '$(O_FILES)', # link all the C files too
+ );
diff --git a/audio/p5-Audio-TagLib/pkg-descr b/audio/p5-Audio-TagLib/pkg-descr
new file mode 100644
index 000000000000..bda3b3516f51
--- /dev/null
+++ b/audio/p5-Audio-TagLib/pkg-descr
@@ -0,0 +1,4 @@
+Audio::TagLib - a library for reading and editing audio meta data,
+ommonly known as tags.
+
+WWW: http://search.cpan.org/dist/Audio-TagLib/
diff --git a/audio/p5-Audio-TagLib/pkg-plist b/audio/p5-Audio-TagLib/pkg-plist
new file mode 100644
index 000000000000..81782316ed9b
--- /dev/null
+++ b/audio/p5-Audio-TagLib/pkg-plist
@@ -0,0 +1,86 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Audio/TagLib/.packlist
+%%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/APE/Footer.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/APE/Item.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/APE/ItemListMap.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/APE/ItemListMap/Iterator.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/APE/Tag.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/AudioProperties.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/ByteVector.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/ByteVector/Iterator.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/ByteVectorList.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/FLAC/File.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/FLAC/Properties.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/File.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/FileRef.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/FileRef/FileTypeResolver.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/ID3v1.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/ID3v1/GenreMap.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/ID3v1/GenreMap/Iterator.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/ID3v1/StringHandler.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/ID3v1/Tag.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/ID3v2/AttachedPictureFrame.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/ID3v2/CommentsFrame.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/ID3v2/ExtendedHeader.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/ID3v2/Footer.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/ID3v2/Frame.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/ID3v2/FrameFactory.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/ID3v2/FrameList.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/ID3v2/FrameList/Iterator.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/ID3v2/FrameListMap.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/ID3v2/FrameListMap/Iterator.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/ID3v2/Header.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/ID3v2/RelativeVolumeFrame.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/ID3v2/RelativeVolumeFrame/PeakVolume.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/ID3v2/SynchData.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/ID3v2/Tag.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/ID3v2/TextIdentificationFrame.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/ID3v2/UniqueFileIdentifierFrame.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/ID3v2/UnknownFrame.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/ID3v2/UserTextIdentificationFrame.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/MPC/File.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/MPC/Properties.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/MPEG/File.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/MPEG/Header.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/MPEG/Properties.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/MPEG/XingHeader.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/Ogg/FLAC/File.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/Ogg/FieldListMap.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/Ogg/FieldListMap/Iterator.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/Ogg/File.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/Ogg/Page.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/Ogg/PageHeader.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/Ogg/Vorbis/File.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/Ogg/Vorbis/Properties.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/Ogg/XiphComment.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/String.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/String/Iterator.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/StringList.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/Tag.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/Vorbis/File.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/Vorbis/Properties.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Audio/TagLib/TagLib.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Audio/TagLib/TagLib.so
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/Vorbis
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/String
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/Ogg/Vorbis
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/Ogg/FieldListMap
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/Ogg/FLAC
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/Ogg
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/MPEG
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/MPC
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/ID3v2/RelativeVolumeFrame
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/ID3v2/FrameListMap
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/ID3v2/FrameList
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/ID3v2
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/ID3v1/GenreMap
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/ID3v1
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/FileRef
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/FLAC
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/ByteVector
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/APE/ItemListMap
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib/APE
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Audio/TagLib
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Audio
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Audio/TagLib
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Audio