summaryrefslogtreecommitdiff
path: root/dev-python/tagpy/files
diff options
context:
space:
mode:
authorPalica <palica+gitlab@liguros.net>2020-06-23 22:35:08 +0200
committerPalica <palica+gitlab@liguros.net>2020-06-23 22:35:08 +0200
commitecdac123787b96ce6649f0f91da12ea6458cc2b1 (patch)
treeb89c74d9e6fe6e8aebc4c77bcbeb4ab73214127d /dev-python/tagpy/files
parent1be72aa41cf41dedadeecf59dca9f01de6381f5e (diff)
downloadbaldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.gz
baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.xz
baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.zip
Updating liguros repo
Diffstat (limited to 'dev-python/tagpy/files')
-rw-r--r--dev-python/tagpy/files/tagpy-2018.1-readme.rst16
-rw-r--r--dev-python/tagpy/files/tagpy-2018.1-taglib-1.8.patch17
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-python/tagpy/files/tagpy-2018.1-readme.rst b/dev-python/tagpy/files/tagpy-2018.1-readme.rst
new file mode 100644
index 000000000000..83bb4d2671e3
--- /dev/null
+++ b/dev-python/tagpy/files/tagpy-2018.1-readme.rst
@@ -0,0 +1,16 @@
+TagPy is a set of Python bindings for Scott Wheeler's
+`TagLib <http://developer.kde.org/~wheeler/taglib.html>`_.
+It builds upon `Boost.Python <http://www.boost.org/libs/python/doc/>`_,
+a wrapper generation library which is part of the renowned Boost
+set of C++ libraries.
+
+Just like TagLib, TagPy can:
+
+* read and write ID3 tags of version 1 and 2, with many supported frame types
+ for version 2 (in MPEG Layer 2 and MPEG Layer 3, FLAC and MPC),
+* access Xiph Comments in Ogg Vorbis Files and Ogg Flac Files,
+* access APE tags in Musepack and MP3 files.
+
+All these features have their own specific interfaces, but
+TagLib's generic tag reading and writing mechanism is also
+supported. It comes with a bunch of examples. \ No newline at end of file
diff --git a/dev-python/tagpy/files/tagpy-2018.1-taglib-1.8.patch b/dev-python/tagpy/files/tagpy-2018.1-taglib-1.8.patch
new file mode 100644
index 000000000000..90c49a29af74
--- /dev/null
+++ b/dev-python/tagpy/files/tagpy-2018.1-taglib-1.8.patch
@@ -0,0 +1,17 @@
+diff -Naur a/src/wrapper/id3.cpp b/src/wrapper/id3.cpp
+--- a/src/wrapper/id3.cpp 2019-03-23 08:26:04.975722018 -0400
++++ b/src/wrapper/id3.cpp 2019-03-23 08:26:54.438399217 -0400
+@@ -220,12 +220,7 @@
+ .DEF_SIMPLE_METHOD(removeFrame)
+ .DEF_SIMPLE_METHOD(removeFrames)
+
+- #if (TAGPY_TAGLIB_HEX_VERSION >= 0x10800)
+- .DEF_OVERLOADED_METHOD(render, ByteVector (cl::*)() const)
+- .DEF_OVERLOADED_METHOD(render, ByteVector (cl::*)(int) const)
+- #else
+- .def("render", (ByteVector (cl::*)() const) &cl::render)
+- #endif
++ .def("render", (ByteVector (cl::*)() const) &cl::render)
+ ;
+ }
+