diff --git a/metadata/io.github.droidapps.pdfreader.txt b/metadata/io.github.droidapps.pdfreader.txt new file mode 100644 index 0000000000..3137c7a258 --- /dev/null +++ b/metadata/io.github.droidapps.pdfreader.txt @@ -0,0 +1,37 @@ +Categories:Office,Reading +License:GPLv3 + +Web Site:https://droidapps.github.io/pdfreader4Android/ +Source Code:https://github.com/droidapps/pdfreader4Android +Issue Tracker:https://github.com/droidapps/pdfreader4Android/issues + +Name:PDF Reader +Summary:Free Software PDF reader +Description: +PDF Reader is based on [[cx.hell.android.pdfview]]. +It is is also working on [http://www.replicant.us/ Replicant]. + +Features: +* Textual search support +* Flexible key/button/gesture configuration +* Different color schemes for comfortable reading +* Optimizations for eInk +* x86 support +* Pinch to zoom +* Bookmarks + +Repo Type:git +Repo:https://github.com/droidapps/pdfreader4Android + +Build:0.4.0,40000 + target=android-17 + extlibs=android/android-support-v4.jar + prebuild=sed -i '/ndk-build/d' scripts/build-native.sh && \ + ./scripts/build-native.sh && \ + sed -i '/proguard/d' project.properties + buildjni=yes + +Auto Update Mode:none +Update Check Mode:RepoManifest +Current Version:0.4.0 +Current Version Code:40000 diff --git a/metadata/io.github.droidapps.pdfreader/fdroid-ndk-build.patch b/metadata/io.github.droidapps.pdfreader/fdroid-ndk-build.patch new file mode 100644 index 0000000000..ea83caba59 --- /dev/null +++ b/metadata/io.github.droidapps.pdfreader/fdroid-ndk-build.patch @@ -0,0 +1,28 @@ +F-Droid knows better how to run ndk-build. Also, proguard.cfg is actually +missing, so don't reference it (reported, +https://code.google.com/p/apv/issues/detail?id=104) + +diff -r ff030f8b49e6 pdfview/project.properties +--- a/project.properties Wed Jan 18 01:05:25 2012 +0100 ++++ b/project.properties Fri Feb 24 05:26:16 2012 +0200 +@@ -9,6 +9,5 @@ + + # Indicates whether an apk should be generated for each density. + split.density=false +-proguard.config=proguard.cfg + # Project target. + target=android-10 +diff -r ff030f8b49e6 scripts/build-native.sh +--- a/scripts/build-native.sh Wed Jan 18 01:05:25 2012 +0100 ++++ b/scripts/build-native.sh Fri Feb 24 05:26:16 2012 +0200 +@@ -1,4 +1,4 @@ +-#!/bin/sh ++#!/bin/bash + # make sure ndk-build is in path + + SCRIPTDIR=`dirname $0` +@@ -33,4 +33,3 @@ + ../../scripts/fontdump generated/font_base14.h fonts/*.cff + ../../scripts/fontdump generated/font_droid.h fonts/droid/DroidSans.ttf fonts/droid/DroidSansMono.ttf + cd .. +-ndk-build