aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2006-05-25 05:00:52 +0800
committeritetcu <itetcu@FreeBSD.org>2006-05-25 05:00:52 +0800
commite056a0bf0b4a80e13e653d186647259136f9e364 (patch)
tree5ebf767654fe933e0bf3fd4d7f05eeb45341401a /audio
parent8aeedbcb799ac4f43f0b1d98c50986de3f787304 (diff)
downloadfreebsd-ports-gnome-e056a0bf0b4a80e13e653d186647259136f9e364.tar.gz
freebsd-ports-gnome-e056a0bf0b4a80e13e653d186647259136f9e364.tar.zst
freebsd-ports-gnome-e056a0bf0b4a80e13e653d186647259136f9e364.zip
Re-add py-mutagen (after a few minutes of existance as audio/mutagen):
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 PR: ports/97276 [1], ports/96897 [2] Submitted by: Byung-Hee HWANG <bh@izb.knu.ac.kr> [1] Peter Johnson <johnson.peter@gmail.com> [2] Approved by: tmclaugh (mentor)
Diffstat (limited to 'audio')
-rw-r--r--audio/Makefile1
-rw-r--r--audio/py-mutagen/Makefile33
-rw-r--r--audio/py-mutagen/distinfo3
-rw-r--r--audio/py-mutagen/pkg-descr6
-rw-r--r--audio/py-mutagen/pkg-plist31
5 files changed, 74 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index 91552affd7a9..e9f54045b340 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -442,6 +442,7 @@
SUBDIR += py-mad
SUBDIR += py-musicbrainz
SUBDIR += py-musicbrainz2
+ SUBDIR += py-mutagen
SUBDIR += py-ogg
SUBDIR += py-openal
SUBDIR += py-sdl_mixer
diff --git a/audio/py-mutagen/Makefile b/audio/py-mutagen/Makefile
new file mode 100644
index 000000000000..7bf18e2bfff2
--- /dev/null
+++ b/audio/py-mutagen/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: py-mutagen
+# Date created: 15 May 2006
+# Whom: Byung-Hee HWANG <bh@izb.knu.ac.kr>
+#
+# $FreeBSD$
+
+PORTNAME= mutagen
+PORTVERSION= 1.2
+CATEGORIES= audio python
+MASTER_SITES= http://www.sacredchao.net/~piman/software/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+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
+
+OPTIONSFILE?= ${PORT_DBDIR}/py-${PORTNAME}/options
+
+OPTIONS= VORBIS "Support to tag Vorbis Files" on
+
+.include <bsd.port.pre.mk>
+
+.if !defined(WITHOUT_VORBIS)
+RUN_DEPENDS= ${PYTHON_SITELIBDIR}/ogg/vorbis.so:${PORTSDIR}/audio/py-vorbis
+SUB_LIST+= VORBIS=
+.else
+SUB_LIST+= VORBIS="@comment "
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/audio/py-mutagen/distinfo b/audio/py-mutagen/distinfo
new file mode 100644
index 000000000000..1991ca368708
--- /dev/null
+++ b/audio/py-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/py-mutagen/pkg-descr b/audio/py-mutagen/pkg-descr
new file mode 100644
index 000000000000..dc75df56846c
--- /dev/null
+++ b/audio/py-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/py-mutagen/pkg-plist b/audio/py-mutagen/pkg-plist
new file mode 100644
index 000000000000..1c159b8118e2
--- /dev/null
+++ b/audio/py-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