From 2e2b4517ebfcf3c12e1c9f2083ca1827915239ff Mon Sep 17 00:00:00 2001 From: Marcin Mielniczuk Date: Sat, 8 Oct 2016 20:28:57 +0200 Subject: [PATCH] Add QDict --- metadata/com.annie.dictionary.txt | 32 ++++++++++++++++++ metadata/com.annie.dictionary/qdict.diff | 41 ++++++++++++++++++++++++ 2 files changed, 73 insertions(+) create mode 100644 metadata/com.annie.dictionary.txt create mode 100644 metadata/com.annie.dictionary/qdict.diff diff --git a/metadata/com.annie.dictionary.txt b/metadata/com.annie.dictionary.txt new file mode 100644 index 0000000000..9d9aaae960 --- /dev/null +++ b/metadata/com.annie.dictionary.txt @@ -0,0 +1,32 @@ +Categories:Science & Education +License:Apache2 +Web Site: +Source Code:https://github.com/madmanteam/QDict +Issue Tracker:https://github.com/madmanteam/QDict/issues + +Summary:Stardict-compatible dictionary +Description: +Supports 3 ways to search: 'Glob-style pattern matching', 'Fuzzy query' and +'Full-text' search. +. + +Repo Type:git +Repo:https://github.com/madmanteam/QDict + +Build:2.1.2,20160309 + commit=50a4367679c1761c47d79acf52dba076cddbfb2f + subdir=qDict + patch=qdict.diff + gradle=yes + rm=qDict/libs/nineoldandroids-2.4.0.jar + +Maintainer Notes: +There one linter error we have temporarily disabled, so that the app builds. +In case something goes wrong, please complain to upstream. +Compare https://github.com/madmanteam/QDict/issues/5 +. + +Auto Update Mode:None +Update Check Mode:RepoManifest +Current Version:2.1.2 +Current Version Code:20160309 diff --git a/metadata/com.annie.dictionary/qdict.diff b/metadata/com.annie.dictionary/qdict.diff new file mode 100644 index 0000000000..19eebacdd2 --- /dev/null +++ b/metadata/com.annie.dictionary/qdict.diff @@ -0,0 +1,41 @@ +diff --git a/madmanLib/build.gradle b/madmanLib/build.gradle +index 4b2e0b4..ac6f045 100644 +--- a/madmanLib/build.gradle ++++ b/madmanLib/build.gradle +@@ -1,10 +1,11 @@ + apply plugin: 'com.android.library' + + android { +- compileSdkVersion 22 ++ compileSdkVersion 23 + buildToolsVersion "23.0.2" + + defaultConfig { ++ minSdkVersion 4 + compileOptions { + sourceCompatibility JavaVersion.VERSION_1_7 + targetCompatibility JavaVersion.VERSION_1_7 +diff --git a/qDict/build.gradle b/qDict/build.gradle +index 12fd099..f10584f 100644 +--- a/qDict/build.gradle ++++ b/qDict/build.gradle +@@ -26,12 +26,17 @@ android { + buildTypes { + release { + minifyEnabled true +- proguardFiles 'proguard.cfg' ++ proguardFiles getDefaultProguardFile('proguard-android.txt') + } + } ++ ++ lintOptions { ++ abortOnError false ++ } ++ + } + dependencies { + compile project(':madmanLib') + compile project(':appcompat') +- compile files('libs/nineoldandroids-2.4.0.jar') ++ compile 'com.nineoldandroids:library:2.4.0' + }