mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-04 20:29:09 +01:00
python/tagpy: Updated for version 2013.1.
Fixes build failure with boost-1.58 on -current. Signed-off-by: David Spencer <baildon.research@googlemail.com> Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
39f0bf4de2
commit
90ba8b9767
3 changed files with 4 additions and 36 deletions
|
@ -1,30 +0,0 @@
|
|||
https://github.com/inducer/tagpy/commit/d0759c0ec7d24ae8d1af395a1032521eb00b4d1f
|
||||
https://github.com/inducer/tagpy/commit/813ec4f03bb4411c7ffd15dcb3974da04a3f109c
|
||||
|
||||
--- tagpy-0.94.8/src/wrapper/id3.cpp
|
||||
+++ tagpy-0.94.8/src/wrapper/id3.cpp
|
||||
@@ -79,6 +79,10 @@
|
||||
MF_OL(setVolumeAdjustment, 1, 2);
|
||||
MF_OL(setPeakVolume, 1, 2);
|
||||
|
||||
+ #if (TAGPY_TAGLIB_HEX_VERSION >= 0x10800)
|
||||
+ MF_OL(render, 0, 1)
|
||||
+ #endif
|
||||
+
|
||||
// -------------------------------------------------------------
|
||||
// MPEG
|
||||
// -------------------------------------------------------------
|
||||
@@ -212,7 +216,12 @@
|
||||
.DEF_SIMPLE_METHOD(removeFrame)
|
||||
.DEF_SIMPLE_METHOD(removeFrames)
|
||||
|
||||
- .DEF_SIMPLE_METHOD(render)
|
||||
+ #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
|
||||
;
|
||||
}
|
||||
|
|
@ -23,7 +23,7 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=tagpy
|
||||
VERSION=${VERSION:-0.94.8}
|
||||
VERSION=${VERSION:-2013.1}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -67,8 +67,6 @@ find -L . \
|
|||
# Remove ez_setup. We don't want to download distribute.
|
||||
sed -i -e '/distribute_setup/d' -e "s/^if.*/if False:/" aksetup_helper.py
|
||||
|
||||
patch -p1 < $CWD/tagpy-0.94.8-taglib-1.8_compat.patch
|
||||
|
||||
./configure.py \
|
||||
--taglib-inc-dir="/usr/include/taglib" \
|
||||
--boost-python-libname="boost_python" \
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="tagpy"
|
||||
VERSION="0.94.8"
|
||||
VERSION="2013.1"
|
||||
HOMEPAGE="http://mathema.tician.de/software/tagpy"
|
||||
DOWNLOAD="http://pypi.python.org/packages/source/t/tagpy/tagpy-0.94.8.tar.gz"
|
||||
MD5SUM="6baff63318cf90b9bc5a2497a0597802"
|
||||
DOWNLOAD="https://pypi.python.org/packages/source/t/tagpy/tagpy-2013.1.tar.gz"
|
||||
MD5SUM="96cbbd8adb8a6c0b9c21851979cc7c64"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in a new issue