fdroiddata/metadata/com.anysoftkeyboard.languagepack.georgian.fdroid/packageid.patch

34 lines
1.1 KiB
Diff
Raw Normal View History

diff --git a/build.xml b/build.xml
index e08a103..ea65315 100644
--- a/build.xml
+++ b/build.xml
@@ -88,5 +88,28 @@
-->
<!-- version-tag: 1 -->
<import file="${sdk.dir}/tools/ant/build.xml" />
+ <target name="-package-resources" depends="-crunch">
+ <do-only-if-not-library elseText="Library project: do not package resources..." >
+ <exec executable="${aapt}" failonerror="true">
+ <arg value="package" />
+ <arg value="-f" />
+ <arg value="-M" />
+ <arg path="AndroidManifest.xml" />
+ <arg value="-F" />
+ <arg path="${out.absolute.dir}/${resource.package.file.name}" />
+ <arg value="-I" />
+ <arg path="${android.jar}" />
+ <arg value="-S" />
+ <arg path="${resource.absolute.dir}" />
+ <arg value="-S" />
+ <arg path="${android.library.reference.1}/res" />
+ <arg value="--extra-packages" />
+ <arg value="com.anysoftkeyboard.api" />
+ <arg value="--auto-add-overlay" />
+ <arg value="--rename-manifest-package" />
+ <arg value="com.anysoftkeyboard.languagepack.georgian.fdroid" />
+ </exec>
+ </do-only-if-not-library>
+ </target>
</project>