summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2013-04-02 10:50:48 +0000
committerdrochner <drochner@pkgsrc.org>2013-04-02 10:50:48 +0000
commit2950da398bae81c008a450ebd7bba277ab793693 (patch)
tree8aa234dc116674a4a87f780d582bac7e711ee51c /audio
parent45d385ec58c3f338155cfd9db816df738a4718a6 (diff)
downloadpkgsrc-2950da398bae81c008a450ebd7bba277ab793693.tar.gz
install example scripts distributed with py-mutagen.
("mid3v2" is a good replacement for "id3v2", it is not as byggy as the latter)
Diffstat (limited to 'audio')
-rw-r--r--audio/Makefile3
-rw-r--r--audio/mutagen-tools/DESCR7
-rw-r--r--audio/mutagen-tools/Makefile20
-rw-r--r--audio/mutagen-tools/PLIST11
-rw-r--r--audio/mutagen-tools/distinfo6
-rw-r--r--audio/mutagen-tools/patches/patch-aa22
6 files changed, 68 insertions, 1 deletions
diff --git a/audio/Makefile b/audio/Makefile
index 1f908568142..85f3384c99a 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.481 2013/04/02 10:44:40 drochner Exp $
+# $NetBSD: Makefile,v 1.482 2013/04/02 10:50:48 drochner Exp $
#
COMMENT= Audio tools
@@ -314,6 +314,7 @@ SUBDIR+= mt-daapd
SUBDIR+= muse
SUBDIR+= musicbrainz
SUBDIR+= musicpd
+SUBDIR+= mutagen-tools
SUBDIR+= nas
SUBDIR+= nas-auscope
SUBDIR+= ncmpc
diff --git a/audio/mutagen-tools/DESCR b/audio/mutagen-tools/DESCR
new file mode 100644
index 00000000000..199885b78b8
--- /dev/null
+++ b/audio/mutagen-tools/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/mutagen-tools/Makefile b/audio/mutagen-tools/Makefile
new file mode 100644
index 00000000000..7c8eb238868
--- /dev/null
+++ b/audio/mutagen-tools/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2013/04/02 10:50:48 drochner Exp $
+#
+
+DISTNAME= mutagen-1.21
+PKGNAME= mutagen-tools-1.21
+CATEGORIES= audio
+MASTER_SITES= http://mutagen.googlecode.com/files/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://code.google.com/p/mutagen/
+COMMENT= Audio metadata handling for Python
+LICENSE= gnu-gpl-v2
+
+USE_LANGUAGES= # none
+PY_NO_EGG= yes
+
+DEPENDS+= ${PYPKGPREFIX}-mutagen-[0-9]*:../../audio/py-mutagen
+
+.include "../../lang/python/distutils.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/mutagen-tools/PLIST b/audio/mutagen-tools/PLIST
new file mode 100644
index 00000000000..641cfc11af0
--- /dev/null
+++ b/audio/mutagen-tools/PLIST
@@ -0,0 +1,11 @@
+@comment $NetBSD: PLIST,v 1.1 2013/04/02 10:50:48 drochner Exp $
+bin/mid3iconv
+bin/mid3v2
+bin/moggsplit
+bin/mutagen-inspect
+bin/mutagen-pony
+man/man1/mid3iconv.1
+man/man1/mid3v2.1
+man/man1/moggsplit.1
+man/man1/mutagen-inspect.1
+man/man1/mutagen-pony.1
diff --git a/audio/mutagen-tools/distinfo b/audio/mutagen-tools/distinfo
new file mode 100644
index 00000000000..fc9a12703cf
--- /dev/null
+++ b/audio/mutagen-tools/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2013/04/02 10:50:48 drochner Exp $
+
+SHA1 (mutagen-1.21.tar.gz) = 21807dd51f36204891597a368bfa2fab1a30a531
+RMD160 (mutagen-1.21.tar.gz) = 4d3ad4efffbabfb02679841cdbe6461ebd3fb765
+Size (mutagen-1.21.tar.gz) = 795419 bytes
+SHA1 (patch-aa) = 402677ef608858832a1cd3cd1b85813ebba60228
diff --git a/audio/mutagen-tools/patches/patch-aa b/audio/mutagen-tools/patches/patch-aa
new file mode 100644
index 00000000000..e831d094dab
--- /dev/null
+++ b/audio/mutagen-tools/patches/patch-aa
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1 2013/04/02 10:50:48 drochner Exp $
+
+--- setup.py.orig 2013-01-30 21:30:21.000000000 +0000
++++ setup.py
+@@ -154,7 +154,7 @@ class coverage_cmd(Command):
+ raise SystemExit("Coverage percentage went up; change setup.py.")
+
+ if os.name == "posix":
+- data_files = [('share/man/man1', glob.glob("man/*.1"))]
++ data_files = [(os.getenv("PKGMANDIR") + '/man1', glob.glob("man/*.1"))]
+ else:
+ data_files = []
+
+@@ -168,7 +168,7 @@ if __name__ == "__main__":
+ author="Michael Urman",
+ author_email="quod-libet-development@groups.google.com",
+ license="GNU GPL v2",
+- packages=["mutagen"],
++# packages=["mutagen"],
+ data_files=data_files,
+ scripts=glob.glob("tools/m*[!~]"),
+ long_description="""\