diff --git a/metadata/org.materialos.icons.txt b/metadata/org.materialos.icons.txt new file mode 100644 index 0000000000..22700ecbb4 --- /dev/null +++ b/metadata/org.materialos.icons.txt @@ -0,0 +1,64 @@ +Categories:Theming +License:CC-BY-4.0 +Web Site:https://github.com/materialos/android-icon-pack +Source Code:https://github.com/materialos/android-icon-pack +Issue Tracker:https://github.com/materialos/android-icon-pack/issues + +Auto Name:MaterialOS +Summary:Material Design icons for your homescreen +Description: +MaterialOS - Icons is an icon pack from a community of designers. It features +Material Design and Material Inspired wallpapers and iconography. + +Features: + +* 450+ Icons +* Wallpapers by amazing designers + +Supported Launchers: + +* Nova Launcher +* Apex Launcher +* ADW Launcher +* Action Launcher +* Atom Launcher +* Aviate Launcher +* CyanogenMod Theme Engine +* Go Launcher +* KK Launcher +* LG Home +* Next Launcher +* Smart Launcher +* Solo Launcher + +Other launchers may be supported but you will have to activate the icon pack +from the launcher's settings. Google's Launcher and stock launchers don't +support icon packs without external hacks (like Xposed GEL Settings) +. + +Repo Type:git +Repo:https://github.com/materialos/android-icon-pack.git + +Build:1.0.1,7 + commit=v1.0.1 + subdir=Project/MaterialOS/app + patch=dependencies.patch + gradle=yes + +Build:2.1,10 + commit=f5a4cf2a90eb6952aa393ae9b276bfc1b084199c + subdir=app + patch=dependencies-10.patch + gradle=yes + srclibs=IconRequest@591e61811a95b4acd991df7bce0edcfe21b6dcc8 + prebuild=mkdir libs/ && \ + touch libs/IconRequest.aar + build=pushd $$IconRequest$$ && \ + gradle clean assembleRelease && \ + popd && \ + cp $$IconRequest$$/library/build/outputs/aar/library-release.aar libs/IconRequest.aar + +Auto Update Mode:None +Update Check Mode:RepoManifest +Current Version:2.1 +Current Version Code:10 diff --git a/metadata/org.materialos.icons/dependencies-10.patch b/metadata/org.materialos.icons/dependencies-10.patch new file mode 100644 index 0000000000..5915af9da0 --- /dev/null +++ b/metadata/org.materialos.icons/dependencies-10.patch @@ -0,0 +1,24 @@ +diff --git a/app/build.gradle b/app/build.gradle +index 4093277..62a0b6c 100644 +--- a/app/build.gradle ++++ b/app/build.gradle +@@ -64,7 +64,9 @@ android { + repositories { + mavenCentral() + jcenter() +- maven { url "https://dl.bintray.com/drummer-aidan/maven" } ++ flatDir { ++ dirs 'libs' ++ } + } + + dependencies { +@@ -75,7 +77,7 @@ dependencies { + compile 'com.afollestad:bridge:3.2.5' + compile 'com.afollestad:sectioned-recyclerview:0.2.3' + compile 'com.afollestad:assent:0.2.5' +- compile 'com.afollestad:icon-request:1.5.2' ++ compile(name:'IconRequest', ext:'aar') + compile 'com.afollestad:inquiry:4.1.2' + + compile 'me.zhanghai.android.materialprogressbar:library:1.3.0' diff --git a/metadata/org.materialos.icons/dependencies.patch b/metadata/org.materialos.icons/dependencies.patch new file mode 100644 index 0000000000..58442fa7c3 --- /dev/null +++ b/metadata/org.materialos.icons/dependencies.patch @@ -0,0 +1,43 @@ +diff --git a/Project/MaterialOS/app/build.gradle b/Project/MaterialOS/app/build.gradle +index 8f872ef..31c84a6 100644 +--- a/Project/MaterialOS/app/build.gradle ++++ b/Project/MaterialOS/app/build.gradle +@@ -1,10 +1,7 @@ + apply plugin: 'com.android.application' +-// This does not break the build when Android Studio is missing the JRebel for Android plugin. +-apply plugin: 'com.zeroturnaround.jrebel.android' + + repositories { + jcenter() +- maven { url 'https://dl.bintray.com/drummer-aidan/maven' } + } + + android { +@@ -47,7 +44,7 @@ dependencies { + compile 'com.android.support:recyclerview-v7:23.0.0' + compile 'com.android.support:design:23.0.0' + +- compile 'com.afollestad:material-dialogs:0.7.9.1' ++ compile 'com.afollestad.material-dialogs:core:0.8.5.9' + compile('com.mikepenz:materialdrawer:4.0.3@aar') { + transitive = true + } +diff --git a/Project/MaterialOS/build.gradle b/Project/MaterialOS/build.gradle +index ec4108f..c6371d6 100644 +--- a/Project/MaterialOS/build.gradle ++++ b/Project/MaterialOS/build.gradle +@@ -3,14 +3,9 @@ + buildscript { + repositories { + jcenter() +- maven { +- url 'https://repos.zeroturnaround.com/nexus/content/repositories/zt-public-releases' +- } + } + dependencies { + classpath 'com.android.tools.build:gradle:1.3.1' +- // This does not break the build when Android Studio is missing the JRebel for Android plugin. +- classpath 'com.zeroturnaround.jrebel.android:jr-android-gradle:0.8.+' + + // NOTE: Do not place your application dependencies here; they belong + // in the individual module build.gradle files diff --git a/srclibs/IconRequest.txt b/srclibs/IconRequest.txt new file mode 100644 index 0000000000..dc4abbb95b --- /dev/null +++ b/srclibs/IconRequest.txt @@ -0,0 +1,3 @@ +Repo:https://github.com/afollestad/arctic-icon-request.git +Repo Type:git +Prepare:sed -i -e '/raw.githubusercontent/d' library/build.gradle