summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2018-02-20 22:45:15 +0100
committerMax Kellermann <max@musicpd.org>2018-02-20 22:47:17 +0100
commitc5c1c64a81baf737656647c0db601e5f85d63858 (patch)
treed1c80873f0c673b61abbfb991cd3f4826b3c8cc0
parent992c52ce7f2b6527b23922b26e256564373a73a6 (diff)
python/build/libs.py: add libnfs
Enable the NFS storage plugin on Android. Closes #226
-rw-r--r--NEWS2
-rwxr-xr-xandroid/build.py1
-rw-r--r--python/build/libs.py15
3 files changed, 18 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index d27757eb2..ff296191a 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,8 @@ ver 0.20.18 (not yet released)
* decoder
- flac: improve seeking precision
* fix gapless CUE song transitions
+* Android
+ - enable the NFS storage plugin
ver 0.20.17 (2018/02/11)
* output
diff --git a/android/build.py b/android/build.py
index 3e2e71dcc..43261152d 100755
--- a/android/build.py
+++ b/android/build.py
@@ -127,6 +127,7 @@ thirdparty_libs = [
libmad,
ffmpeg,
curl,
+ libnfs,
boost,
]
diff --git a/python/build/libs.py b/python/build/libs.py
index 7d93799d8..59aa103b9 100644
--- a/python/build/libs.py
+++ b/python/build/libs.py
@@ -364,6 +364,21 @@ curl = AutotoolsProject(
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(
'http://downloads.sourceforge.net/project/boost/boost/1.66.0/boost_1_66_0.tar.bz2',
'5721818253e6a0989583192f96782c4a98eb6204965316df9f5ad75819225ca9',