summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Nienhüser <nienhueser@kde.org>2016-07-24 08:02:21 (GMT)
committerDennis Nienhüser <nienhueser@kde.org>2016-07-24 08:02:21 (GMT)
commit1930127f2687cd5b13d8882dee180a9b977befb2 (patch)
tree431c00138c59a0a4169aa997b96900a7e9bd3da2
parentce202433b9255b32f69511ef5f69c2596bdaf3ec (diff)
Do not package unused plugins
-rwxr-xr-xsrc/apps/marble-maps/create-apk.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/apps/marble-maps/create-apk.py b/src/apps/marble-maps/create-apk.py
index 0d3c958..1be3d7f 100755
--- a/src/apps/marble-maps/create-apk.py
+++ b/src/apps/marble-maps/create-apk.py
@@ -54,9 +54,9 @@ class Filter(object):
elif dir == '/assets/plugins':
# Whitelisted plugins, all others are ignored
search = ['LatLonPlugin', 'NominatimSearchPlugin', 'LocalDatabasePlugin', 'LocalOsmSearchPlugin']
- routing = ['CycleStreetsPlugin', 'OSRMPlugin', 'OpenRouteServicePlugin', 'NominatimReverseGeocodingPlugin', 'RoutingPlugin']
+ routing = ['CycleStreetsPlugin', 'OSRMPlugin', 'OpenRouteServicePlugin', 'NominatimReverseGeocodingPlugin']
fileFormats = ['CachePlugin', 'GpxPlugin', 'KmlPlugin', 'OsmPlugin']
- floatItems = ['ElevationProfileFloatItem', 'ElevationProfileMarker', 'PositionMarker', 'ProgressFloatItem', 'License']
+ floatItems = ['License']
positioning = ['QtPositioningPositionProviderPlugin']
plugins = search + routing + fileFormats + floatItems + positioning
whitelist = set(['lib{}.so'.format(plugin) for plugin in plugins])