<feed xmlns='http://www.w3.org/2005/Atom'>
<title>extra-cmake-modules.git/toolchain, branch v5.76.0</title>
<subtitle>hurd extra-cmake-modules.git</subtitle>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/'/>
<entry>
<title>Make androiddeployqt find libraries and QML plugins without installation</title>
<updated>2020-11-01T10:30:10+00:00</updated>
<author>
<name>Volker Krause</name>
<email>vkrause@kde.org</email>
</author>
<published>2020-10-24T15:04:22+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=2135cbdfa6da743f32f3d03b0661313caecc7b16'/>
<id>2135cbdfa6da743f32f3d03b0661313caecc7b16</id>
<content type='text'>
This matters for libraries in the same repository as the application that
also have an AAR that needs to be integrated, as well as QML plugins. For
this to work we need to consider the build directory as a search prefix,
and produce the exact directory layout there that androiddeployqt expects.

For libraries this is then almost transparent for the application build
system, the only thing that needs to be taken care of manually is putting
the corresponding -android-dependencies.xml file into the right place in
the build dir as well. A macro wrapping that might be an option to
centralize that logic here as well in the future.

For QML plugins this is transparent if you have them set up to work without
installation already anyway, otherwise that setup has to be done for this
to work.

Example: https://invent.kde.org/pim/itinerary/-/merge_requests/28

https://invent.kde.org/frameworks/knotifications/-/merge_requests/12 would
presumably also need this (not tested yet).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This matters for libraries in the same repository as the application that
also have an AAR that needs to be integrated, as well as QML plugins. For
this to work we need to consider the build directory as a search prefix,
and produce the exact directory layout there that androiddeployqt expects.

For libraries this is then almost transparent for the application build
system, the only thing that needs to be taken care of manually is putting
the corresponding -android-dependencies.xml file into the right place in
the build dir as well. A macro wrapping that might be an option to
centralize that logic here as well in the future.

For QML plugins this is transparent if you have them set up to work without
installation already anyway, otherwise that setup has to be done for this
to work.

Example: https://invent.kde.org/pim/itinerary/-/merge_requests/28

https://invent.kde.org/frameworks/knotifications/-/merge_requests/12 would
presumably also need this (not tested yet).
</pre>
</div>
</content>
</entry>
<entry>
<title>Include option to use LLVM for users with Qt &lt; 5.14</title>
<updated>2020-10-21T14:54:31+00:00</updated>
<author>
<name>Sharaf Zaman</name>
<email>sharafzaz121@gmail.com</email>
</author>
<published>2020-10-21T12:23:06+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=0dc7bd82b03387183bb389ffbd5a28876ba3ed31'/>
<id>0dc7bd82b03387183bb389ffbd5a28876ba3ed31</id>
<content type='text'>
When NDK r20+ is used along with Qt5.12, APK generation fails because
of the layout change in newer NDK. This patch introduces a new variable
USE_LLVM, when this is set for older Qt versions, androiddeployqt uses
LLVM's tools.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When NDK r20+ is used along with Qt5.12, APK generation fails because
of the layout change in newer NDK. This patch introduces a new variable
USE_LLVM, when this is set for older Qt versions, androiddeployqt uses
LLVM's tools.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix configuring with pthread on Android 32 bit</title>
<updated>2020-09-21T00:03:30+00:00</updated>
<author>
<name>Gabriel Souza Franco</name>
<email>gabrielfrancosouza@gmail.com</email>
</author>
<published>2020-09-21T00:03:30+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=fbc00bf4b570d7ec02c0855d5133dde38c5b91eb'/>
<id>fbc00bf4b570d7ec02c0855d5133dde38c5b91eb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix find_library on Android with NDK &lt; 22</title>
<updated>2020-09-16T14:56:34+00:00</updated>
<author>
<name>Gabriel Souza Franco</name>
<email>gabrielfrancosouza@gmail.com</email>
</author>
<published>2020-09-12T20:37:26+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=0577d42ac40cac24a07d4555d1253996f1baed5a'/>
<id>0577d42ac40cac24a07d4555d1253996f1baed5a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Explicitly sort Android version lists</title>
<updated>2020-09-16T14:53:29+00:00</updated>
<author>
<name>Gabriel Souza Franco</name>
<email>gabrielfrancosouza@gmail.com</email>
</author>
<published>2020-09-13T00:12:00+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=7b05256f9e8a5d87a4aa2a3a9b84ec9ce8a65fe5'/>
<id>7b05256f9e8a5d87a4aa2a3a9b84ec9ce8a65fe5</id>
<content type='text'>
Also document --android-platform parameter
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also document --android-platform parameter
</pre>
</div>
</content>
</entry>
<entry>
<title>Store Android {min,target,compile}Sdk in variables</title>
<updated>2020-09-16T14:53:29+00:00</updated>
<author>
<name>Gabriel Souza Franco</name>
<email>gabrielfrancosouza@gmail.com</email>
</author>
<published>2020-09-11T12:49:50+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=3672943cf1128470cae08c70f2d5c97887cd3125'/>
<id>3672943cf1128470cae08c70f2d5c97887cd3125</id>
<content type='text'>
Also pass along these values to androiddeployqt
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also pass along these values to androiddeployqt
</pre>
</div>
</content>
</entry>
<entry>
<title>Deal with Qt's CMake code modifying CMAKE_SHARED_LIBRARY_SUFFIX</title>
<updated>2020-06-22T00:00:28+00:00</updated>
<author>
<name>Volker Krause</name>
<email>vkrause@kde.org</email>
</author>
<published>2020-06-01T14:19:21+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=13a1161d445cbd31f2e83cfc31564a387c3d7f5f'/>
<id>13a1161d445cbd31f2e83cfc31564a387c3d7f5f</id>
<content type='text'>
Qt adds the Android ABI to the suffix there unconditionally, without also
adjusting CMAKE_FIND_LIBRARY_SUFFIXES accordingly, breaking find_library()
for things built that way. Unfortunately we can't just set this in our
toolchain file, as CMAKE_FIND_LIBRARY_SUFFIXES is overwritten by CMake
after evaluating the toolchain file. So we need to use the variable_watch
hack for this here, thanks to Aleix for the idea.

With this, find_library() works for both suffixed and un-suffixed libraries
again, such as Poppler built with or without Qt support.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Qt adds the Android ABI to the suffix there unconditionally, without also
adjusting CMAKE_FIND_LIBRARY_SUFFIXES accordingly, breaking find_library()
for things built that way. Unfortunately we can't just set this in our
toolchain file, as CMAKE_FIND_LIBRARY_SUFFIXES is overwritten by CMake
after evaluating the toolchain file. So we need to use the variable_watch
hack for this here, thanks to Aleix for the idea.

With this, find_library() works for both suffixed and un-suffixed libraries
again, such as Poppler built with or without Qt support.
</pre>
</div>
</content>
</entry>
<entry>
<title>extra-cmake-modules: Convert to SPDX license statements</title>
<updated>2020-06-14T09:00:21+00:00</updated>
<author>
<name>Andreas Cord-Landwehr</name>
<email>cordlandwehr@kde.org</email>
</author>
<published>2020-06-14T09:00:21+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=110f62d69b9529a901889c3998817eb406a22c8f'/>
<id>110f62d69b9529a901889c3998817eb406a22c8f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[android] Use newer Qt version in example</title>
<updated>2020-05-19T15:05:50+00:00</updated>
<author>
<name>Nicolas Fella</name>
<email>nicolas.fella@gmx.de</email>
</author>
<published>2020-05-19T15:05:50+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=571bdc218a142c0c8977b2c668a544c27e2af327'/>
<id>571bdc218a142c0c8977b2c668a544c27e2af327</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[android] Allow specifying APK install location</title>
<updated>2020-05-11T16:59:06+00:00</updated>
<author>
<name>Nicolas Fella</name>
<email>nicolas.fella@gmx.de</email>
</author>
<published>2020-05-11T13:49:03+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=a70e9a0162f7814b33af0cfe6d7f67731ba7cce4'/>
<id>a70e9a0162f7814b33af0cfe6d7f67731ba7cce4</id>
<content type='text'>
Summary:
This allows `make create-apk` to directly write the APK to /output instead of the cp-with-prefix step in /opt/helpers/create-apk. It's also useful for manual development builds where one would need to copy it to some output location manually or for CI setups that expect the output in a certain location.

If ANDROID_APK_INSTALL_DIR is not set the current behaviour is kept.

Reviewers: #frameworks, #android, apol, vkrause

Reviewed By: #android, apol

Subscribers: kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D29631
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
This allows `make create-apk` to directly write the APK to /output instead of the cp-with-prefix step in /opt/helpers/create-apk. It's also useful for manual development builds where one would need to copy it to some output location manually or for CI setups that expect the output in a certain location.

If ANDROID_APK_INSTALL_DIR is not set the current behaviour is kept.

Reviewers: #frameworks, #android, apol, vkrause

Reviewed By: #android, apol

Subscribers: kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D29631
</pre>
</div>
</content>
</entry>
</feed>
