PDF Reader: license added; disabled: unmaintainable, binaries

This commit is contained in:
Boris Kraut 2014-07-15 04:26:16 +02:00
parent 8494d95f49
commit cf543a468b

View file

@ -24,23 +24,31 @@ Repo Type:git
Repo:https://github.com/droidapps/pdfreader4Android
Build:0.4.0,40000
disable=see maintainer notes
commit=0.4.0
disable=binaries, unmaintainable, patches fail
commit=ea5730b4108ac76352b3dcfc5e8cffefad9a6008
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
prebuild=sed -i '/proguard/d' project.properties && \
cd deps && \
tar xvf freetype-2.4.10.tar.bz2 && \
tar xvf jpegsrc.v8d.tar.gz && \
tar xvf mupdf-a3d00b2c51c1df23258f774f58268be794384c27.tar.bz2 && \
tar xvf openjpeg-1.5.1.tar.gz && \
tar xvf jbig2dec-0.11.tar.gz && \
cp openjpeg-1.5.1/libopenjpeg/*.[ch] ../jni/openjpeg/ && \
echo '#define PACKAGE_VERSION' '"'openjpeg-1.5.1'"' > ../jni/openjpeg/opj_config.h && \
cp jpeg-8d/*.[ch] ../jni/jpeg/ && \
cp jbig2dec-0.11/* ../jni/jbig2dec/ && \
for x in draw fitz pdf ; do cp -r mupdf-a3d00b2c51c1df23258f774f58268be794384c27/$x/*.[ch] ../jni/mupdf/$x/ ; done && \
cd .. && \
patch jni/mupdf/fitz/fitz.h jni/mupdf-apv/fitz/apv_fitz.h.patch && \
patch -o jni/mupdf-apv/fitz/apv_doc_document.c jni/mupdf/fitz/doc_document.c jni/mupdf-apv/fitz/apv_doc_document.c.patch && \
patch -o jni/mupdf-apv/pdf/apv_pdf_cmap_table.c jni/mupdf/pdf/pdf_cmap_table.c jni/mupdf-apv/pdf/apv_pdf_cmap_table.c.patch && \
patch -o jni/mupdf-apv/pdf/apv_pdf_fontfile.c jni/mupdf/pdf/pdf_fontfile.c jni/mupdf-apv/pdf/apv_pdf_fontfile.c.patch && \
cd - && \
cp -r freetype-2.4.10/{src,include} ../jni/freetype/ && \
target=android-17
buildjni=yes
Maintainer Notes:
The sed script matches to much. It kills an if-clause so an "exit 1" is
always executed, resulting in a build failure.
Also, a LICENSE file in the sourcecode and some random note on the web-
site would be good before enabling the build.
.
Auto Update Mode:None
Update Check Mode:Tags
Current Version:0.4.0