summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2007-01-10 10:21:25 +0000
committerdrochner <drochner@pkgsrc.org>2007-01-10 10:21:25 +0000
commit23af9f338d9099ce03f85a97658edf9479db70da (patch)
tree9f8a1df7fc205db6aa437cfe288fea854cfb638d /audio
parentb4dea54142fbfaa458d40c07d5e588567277d138 (diff)
downloadpkgsrc-23af9f338d9099ce03f85a97658edf9479db70da.tar.gz
add py-mutagen-1.9, a Python module to handle audio metadata
(This is just the Python extension part. If the command line utils are needed, a seperate pkg should be added.)
Diffstat (limited to 'audio')
-rw-r--r--audio/py-mutagen/DESCR7
-rw-r--r--audio/py-mutagen/Makefile17
-rw-r--r--audio/py-mutagen/PLIST65
-rw-r--r--audio/py-mutagen/buildlink3.mk21
-rw-r--r--audio/py-mutagen/distinfo6
-rw-r--r--audio/py-mutagen/patches/patch-aa15
6 files changed, 131 insertions, 0 deletions
diff --git a/audio/py-mutagen/DESCR b/audio/py-mutagen/DESCR
new file mode 100644
index 00000000000..199885b78b8
--- /dev/null
+++ b/audio/py-mutagen/DESCR
@@ -0,0 +1,7 @@
+Mutagen is a Python module to handle audio metadata. It supports FLAC,
+M4A, Monkey's Audio, MP3, Musepack, Ogg FLAC, Ogg Speex, Ogg Theora, Ogg
+Vorbis, True Audio, WavPack and OptimFROG audio files. All versions of
+ID3v2 are supported, and all standard ID3v2.4 frames are parsed. It can
+read Xing headers to accurately calculate the bitrate and length of
+MP3s. ID3 and APEv2 tags can be edited regardless of audio format. It
+can also manipulate Ogg streams on an individual packet/page level.
diff --git a/audio/py-mutagen/Makefile b/audio/py-mutagen/Makefile
new file mode 100644
index 00000000000..324665d8439
--- /dev/null
+++ b/audio/py-mutagen/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/01/10 10:21:25 drochner Exp $
+#
+
+DISTNAME= mutagen-1.9
+PKGNAME= ${PYPKGPREFIX}-mutagen-1.9
+CATEGORIES= audio
+MASTER_SITES= http://www.sacredchao.net/~piman/software/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.sacredchao.net/quodlibet/wiki/Development/Mutagen
+COMMENT= Audio metadata handling for Python
+
+USE_LANGUAGES= # none
+PYDISTUTILSPKG= yes
+
+.include "../../lang/python/extension.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/py-mutagen/PLIST b/audio/py-mutagen/PLIST
new file mode 100644
index 00000000000..2b742ae3496
--- /dev/null
+++ b/audio/py-mutagen/PLIST
@@ -0,0 +1,65 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/01/10 10:21:25 drochner Exp $
+${PYSITELIB}/mutagen/__init__.py
+${PYSITELIB}/mutagen/__init__.pyc
+${PYSITELIB}/mutagen/__init__.pyo
+${PYSITELIB}/mutagen/_constants.py
+${PYSITELIB}/mutagen/_constants.pyc
+${PYSITELIB}/mutagen/_constants.pyo
+${PYSITELIB}/mutagen/_util.py
+${PYSITELIB}/mutagen/_util.pyc
+${PYSITELIB}/mutagen/_util.pyo
+${PYSITELIB}/mutagen/_vorbis.py
+${PYSITELIB}/mutagen/_vorbis.pyc
+${PYSITELIB}/mutagen/_vorbis.pyo
+${PYSITELIB}/mutagen/apev2.py
+${PYSITELIB}/mutagen/apev2.pyc
+${PYSITELIB}/mutagen/apev2.pyo
+${PYSITELIB}/mutagen/easyid3.py
+${PYSITELIB}/mutagen/easyid3.pyc
+${PYSITELIB}/mutagen/easyid3.pyo
+${PYSITELIB}/mutagen/flac.py
+${PYSITELIB}/mutagen/flac.pyc
+${PYSITELIB}/mutagen/flac.pyo
+${PYSITELIB}/mutagen/id3.py
+${PYSITELIB}/mutagen/id3.pyc
+${PYSITELIB}/mutagen/id3.pyo
+${PYSITELIB}/mutagen/m4a.py
+${PYSITELIB}/mutagen/m4a.pyc
+${PYSITELIB}/mutagen/m4a.pyo
+${PYSITELIB}/mutagen/monkeysaudio.py
+${PYSITELIB}/mutagen/monkeysaudio.pyc
+${PYSITELIB}/mutagen/monkeysaudio.pyo
+${PYSITELIB}/mutagen/mp3.py
+${PYSITELIB}/mutagen/mp3.pyc
+${PYSITELIB}/mutagen/mp3.pyo
+${PYSITELIB}/mutagen/mp4.py
+${PYSITELIB}/mutagen/mp4.pyc
+${PYSITELIB}/mutagen/mp4.pyo
+${PYSITELIB}/mutagen/musepack.py
+${PYSITELIB}/mutagen/musepack.pyc
+${PYSITELIB}/mutagen/musepack.pyo
+${PYSITELIB}/mutagen/ogg.py
+${PYSITELIB}/mutagen/ogg.pyc
+${PYSITELIB}/mutagen/ogg.pyo
+${PYSITELIB}/mutagen/oggflac.py
+${PYSITELIB}/mutagen/oggflac.pyc
+${PYSITELIB}/mutagen/oggflac.pyo
+${PYSITELIB}/mutagen/oggspeex.py
+${PYSITELIB}/mutagen/oggspeex.pyc
+${PYSITELIB}/mutagen/oggspeex.pyo
+${PYSITELIB}/mutagen/oggtheora.py
+${PYSITELIB}/mutagen/oggtheora.pyc
+${PYSITELIB}/mutagen/oggtheora.pyo
+${PYSITELIB}/mutagen/oggvorbis.py
+${PYSITELIB}/mutagen/oggvorbis.pyc
+${PYSITELIB}/mutagen/oggvorbis.pyo
+${PYSITELIB}/mutagen/optimfrog.py
+${PYSITELIB}/mutagen/optimfrog.pyc
+${PYSITELIB}/mutagen/optimfrog.pyo
+${PYSITELIB}/mutagen/trueaudio.py
+${PYSITELIB}/mutagen/trueaudio.pyc
+${PYSITELIB}/mutagen/trueaudio.pyo
+${PYSITELIB}/mutagen/wavpack.py
+${PYSITELIB}/mutagen/wavpack.pyc
+${PYSITELIB}/mutagen/wavpack.pyo
+@dirrm ${PYSITELIB}/mutagen
diff --git a/audio/py-mutagen/buildlink3.mk b/audio/py-mutagen/buildlink3.mk
new file mode 100644
index 00000000000..ca3608bb5eb
--- /dev/null
+++ b/audio/py-mutagen/buildlink3.mk
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2007/01/10 10:21:25 drochner Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+PY_MUTAGEN_BUILDLINK3_MK:= ${PY_MUTAGEN_BUILDLINK3_MK}+
+
+.include "../../lang/python/pyversion.mk"
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= py-mutagen
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npy-mutagen}
+BUILDLINK_PACKAGES+= py-mutagen
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}py-mutagen
+
+.if ${PY_MUTAGEN_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.py-mutagen+= ${PYPKGPREFIX}-mutagen>=1.9
+BUILDLINK_PKGSRCDIR.py-mutagen?= ../../audio/py-mutagen
+.endif # PY_MUTAGEN_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/audio/py-mutagen/distinfo b/audio/py-mutagen/distinfo
new file mode 100644
index 00000000000..4a2475ea0fc
--- /dev/null
+++ b/audio/py-mutagen/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/01/10 10:21:25 drochner Exp $
+
+SHA1 (mutagen-1.9.tar.gz) = 4454014b6127d5b9c16dd1621efd38e1c66aa651
+RMD160 (mutagen-1.9.tar.gz) = 4d20ad2bf67ad377ef121bd2077b40e9911f8dd0
+Size (mutagen-1.9.tar.gz) = 495662 bytes
+SHA1 (patch-aa) = e1c7c4a562862f0bc7842961cc4c7ff423a5847f
diff --git a/audio/py-mutagen/patches/patch-aa b/audio/py-mutagen/patches/patch-aa
new file mode 100644
index 00000000000..52a0b7a5b43
--- /dev/null
+++ b/audio/py-mutagen/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1.1.1 2007/01/10 10:21:25 drochner Exp $
+
+--- setup.py.orig 2007-01-08 14:40:50.000000000 +0100
++++ setup.py
+@@ -199,8 +199,8 @@ if __name__ == "__main__":
+ author_email="quodlibet@lists.sacredchao.net",
+ license="GNU GPL v2",
+ packages=["mutagen"],
+- data_files=data_files,
+- scripts=glob.glob("tools/m*[!~]"),
++# data_files=data_files,
++# scripts=glob.glob("tools/m*[!~]"),
+ long_description="""\
+ Mutagen is a Python module to handle audio metadata. It supports FLAC,
+ M4A, Monkey's Audio, MP3, Musepack, Ogg FLAC, Ogg Speex, Ogg Theora, Ogg