From c5c1c64a81baf737656647c0db601e5f85d63858 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 20 Feb 2018 22:45:15 +0100 Subject: [PATCH] python/build/libs.py: add libnfs Enable the NFS storage plugin on Android. Closes #226 --- NEWS | 2 ++ android/build.py | 1 + python/build/libs.py | 15 +++++++++++++++ 3 files changed, 18 insertions(+) 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',