python/build/libs.py: add libnfs

Enable the NFS storage plugin on Android.

Closes #226
This commit is contained in:
Max Kellermann 2018-02-20 22:45:15 +01:00
parent 992c52ce7f
commit c5c1c64a81
3 changed files with 18 additions and 0 deletions

2
NEWS
View File

@ -2,6 +2,8 @@ ver 0.20.18 (not yet released)
* decoder * decoder
- flac: improve seeking precision - flac: improve seeking precision
* fix gapless CUE song transitions * fix gapless CUE song transitions
* Android
- enable the NFS storage plugin
ver 0.20.17 (2018/02/11) ver 0.20.17 (2018/02/11)
* output * output

View File

@ -127,6 +127,7 @@ thirdparty_libs = [
libmad, libmad,
ffmpeg, ffmpeg,
curl, curl,
libnfs,
boost, boost,
] ]

View File

@ -364,6 +364,21 @@ curl = AutotoolsProject(
patches='src/lib/curl/patches', patches='src/lib/curl/patches',
) )
libnfs = AutotoolsProject(
'https://github.com/sahlberg/libnfs/archive/libnfs-2.0.0.tar.gz',
'7ea6cd8fa6c461d01091e584d424d28e137d23ff4b65b95d01a3fd0ef95d120e',
'lib/libnfs.a',
[
'--disable-shared', '--enable-static',
'--disable-debug',
# work around -Wtautological-compare
'--disable-werror',
],
base='libnfs-libnfs-2.0.0',
autoreconf=True,
)
boost = BoostProject( boost = BoostProject(
'http://downloads.sourceforge.net/project/boost/boost/1.66.0/boost_1_66_0.tar.bz2', 'http://downloads.sourceforge.net/project/boost/boost/1.66.0/boost_1_66_0.tar.bz2',
'5721818253e6a0989583192f96782c4a98eb6204965316df9f5ad75819225ca9', '5721818253e6a0989583192f96782c4a98eb6204965316df9f5ad75819225ca9',