Page 1 of 1

libyajl (android)

Posted: January 15th, 2017, 5:32 pm
by DmitryUE
Want to activate soundcloud plugin when compile mpd for android. This plug-in depends on yajl library. How to do it correctly?

I tried to edit a few files:

MPD/android/build.py
thirdparty_libs = [
...
curl,
+ yajl,
boost,
]
MPD/python/build/libs.py
+ from build.yajl import YajlProject
...
+ yajl = YajlProject(
+ 'http://pkgs.fedoraproject.org/repo/pkgs ... 1.0.tar.gz',
+ '6887e0ed7479d2549761a4d284d3ecb0',
+ 'lib/libyajl.a',
+)
MPD/python/build/yajl.py
import os.path, subprocess

from build.project import Project

class YajlProject(Project):
def __init__(self, url, md5, installed,
**kwargs):
Project.__init__(self, url, md5, installed, **kwargs)

def build(self, toolchain):
src = self.unpack(toolchain)
???