From e36547b5d82f42a248e39fdc2a0bacd2a96bce9d Mon Sep 17 00:00:00 2001 From: Ion-Mihai Tetcu Date: Wed, 24 May 2006 20:06:36 +0000 Subject: [PATCH] Mutagen is an audio metadata tag reader and writer implemented in pure Python. It supports reading ID3v1.1, ID3v2.2, ID3v2.3, ID3v2.4, APEv2, and FLAC, and writing ID3v1.1, ID3v2.4, APEv2, and FLAC. It can also read MPEG audio and Xing headers. WWW: http://www.sacredchao.net/quodlibet/wiki/Development/Mutagen Submitter of [2] has agreed the port will be maintained by sumbiter of [1] PR: ports/97276 [1], ports/96897 [2] Submitted by: Byung-Hee HWANG [1] Peter Johnson [2] Approved by: tmtmclaugh (mentor) --- audio/Makefile | 1 + audio/mutagen/Makefile | 27 +++++++++++++++++++++++++++ audio/mutagen/distinfo | 3 +++ audio/mutagen/pkg-descr | 6 ++++++ audio/mutagen/pkg-plist | 31 +++++++++++++++++++++++++++++++ 5 files changed, 68 insertions(+) create mode 100644 audio/mutagen/Makefile create mode 100644 audio/mutagen/distinfo create mode 100644 audio/mutagen/pkg-descr create mode 100644 audio/mutagen/pkg-plist diff --git a/audio/Makefile b/audio/Makefile index 91552affd7a9..27ef8acbd363 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -376,6 +376,7 @@ SUBDIR += musicbox-tag-editor SUBDIR += musiccontrol SUBDIR += musicpd + SUBDIR += mutagen SUBDIR += mutemix SUBDIR += napster SUBDIR += nas diff --git a/audio/mutagen/Makefile b/audio/mutagen/Makefile new file mode 100644 index 000000000000..00ada112ea4a --- /dev/null +++ b/audio/mutagen/Makefile @@ -0,0 +1,27 @@ +# New ports collection makefile for: py-mutagen +# Date created: 15 May 2006 +# Whom: Byung-Hee HWANG +# +# $FreeBSD$ + +PORTNAME= mutagen +PORTVERSION= 1.2 +CATEGORIES= audio python +MASTER_SITES= http://www.sacredchao.net/~piman/software/ + +MAINTAINER= changbom.yoon@gmail.com +COMMENT= A Python-based audio metadata tag reader and writer + +USE_PYTHON= yes +USE_PYDISTUTILS= yes +USE_PYTHON_PREFIX= yes + +OPTIONS= VORBIS "Support to tag Vorbis Files" on + +.include + +.if !defined(WITHOUT_VORBIS) +RUN_DEPENDS= ${PYTHON_SITELIBDIR}/ogg/vorbis.so:${PORTSDIR}/audio/py-vorbis +.endif + +.include diff --git a/audio/mutagen/distinfo b/audio/mutagen/distinfo new file mode 100644 index 000000000000..1991ca368708 --- /dev/null +++ b/audio/mutagen/distinfo @@ -0,0 +1,3 @@ +MD5 (mutagen-1.2.tar.gz) = a9b6434d90fe080bcc754cf0d255f9ba +SHA256 (mutagen-1.2.tar.gz) = 55939672e7d91f8fc668d1349cbe53afa2216c1296cf2265f35390c4d181771b +SIZE (mutagen-1.2.tar.gz) = 113419 diff --git a/audio/mutagen/pkg-descr b/audio/mutagen/pkg-descr new file mode 100644 index 000000000000..dc75df56846c --- /dev/null +++ b/audio/mutagen/pkg-descr @@ -0,0 +1,6 @@ +Mutagen is an audio metadata tag reader and writer implemented in +pure Python. It supports reading ID3v1.1, ID3v2.2, ID3v2.3, ID3v2.4, +APEv2, and FLAC, and writing ID3v1.1, ID3v2.4, APEv2, and FLAC. It +can also read MPEG audio and Xing headers. + +WWW: http://www.sacredchao.net/quodlibet/wiki/Development/Mutagen diff --git a/audio/mutagen/pkg-plist b/audio/mutagen/pkg-plist new file mode 100644 index 000000000000..1c159b8118e2 --- /dev/null +++ b/audio/mutagen/pkg-plist @@ -0,0 +1,31 @@ +%%PYTHON_SITELIBDIR%%/mutagen/__init__.py +%%PYTHON_SITELIBDIR%%/mutagen/__init__.pyc +%%PYTHON_SITELIBDIR%%/mutagen/__init__.pyo +%%PYTHON_SITELIBDIR%%/mutagen/_constants.py +%%PYTHON_SITELIBDIR%%/mutagen/_constants.pyc +%%PYTHON_SITELIBDIR%%/mutagen/_constants.pyo +%%PYTHON_SITELIBDIR%%/mutagen/_util.py +%%PYTHON_SITELIBDIR%%/mutagen/_util.pyc +%%PYTHON_SITELIBDIR%%/mutagen/_util.pyo +%%PYTHON_SITELIBDIR%%/mutagen/_vorbis.py +%%PYTHON_SITELIBDIR%%/mutagen/_vorbis.pyc +%%PYTHON_SITELIBDIR%%/mutagen/_vorbis.pyo +%%PYTHON_SITELIBDIR%%/mutagen/apev2.py +%%PYTHON_SITELIBDIR%%/mutagen/apev2.pyc +%%PYTHON_SITELIBDIR%%/mutagen/apev2.pyo +%%PYTHON_SITELIBDIR%%/mutagen/easyid3.py +%%PYTHON_SITELIBDIR%%/mutagen/easyid3.pyc +%%PYTHON_SITELIBDIR%%/mutagen/easyid3.pyo +%%PYTHON_SITELIBDIR%%/mutagen/flac.py +%%PYTHON_SITELIBDIR%%/mutagen/flac.pyc +%%PYTHON_SITELIBDIR%%/mutagen/flac.pyo +%%PYTHON_SITELIBDIR%%/mutagen/id3.py +%%PYTHON_SITELIBDIR%%/mutagen/id3.pyc +%%PYTHON_SITELIBDIR%%/mutagen/id3.pyo +%%PYTHON_SITELIBDIR%%/mutagen/mp3.py +%%PYTHON_SITELIBDIR%%/mutagen/mp3.pyc +%%PYTHON_SITELIBDIR%%/mutagen/mp3.pyo +%%PYTHON_SITELIBDIR%%/mutagen/oggvorbis.py +%%PYTHON_SITELIBDIR%%/mutagen/oggvorbis.pyc +%%PYTHON_SITELIBDIR%%/mutagen/oggvorbis.pyo +@dirrm %%PYTHON_SITELIBDIR%%/mutagen