<div dir="ltr"><div dir="ltr">I found a cmake file in the internet. here is my new lpsolve module:<div><br></div><div><div>{</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>"name": "lpsolve",</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>"buildsystem": "cmake",</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>"builddir": true, /* create explicitly a build folder */</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>"build-commands": [</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>],</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>"config-opts": ["-DCMAKE_INSTALL_PREFIX:PATH=/app"],</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>"sources": [</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>{</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>"type": "archive",</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span> "url": "<a href="https://datapacket.dl.sourceforge.net/project/lpsolve/lpsolve/5.5.2.5/lp_solve_5.5.2.5_source.tar.gz">https://datapacket.dl.sourceforge.net/project/lpsolve/lpsolve/5.5.2.5/lp_solve_5.5.2.5_source.tar.gz</a>"<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>,</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>"sha256": "201a7c62b8b3360c884ee2a73ed7667e5716fc1e809755053b398c2f5b0cf28a"</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>},</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>{</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>"type": "git",</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>"url": "<a href="https://github.com/Murmele/lpsolve_cmake.git">https://github.com/Murmele/lpsolve_cmake.git</a>"</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>}</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>]</div><div>}</div></div></div></div><br><div class="gmail_quote"><div dir="ltr">Am Do., 27. Sep. 2018 um 03:13 Uhr schrieb Aleix Pol <<a href="mailto:aleixpol@kde.org">aleixpol@kde.org</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wed, Sep 26, 2018 at 11:54 PM Martin Marmsoler<br>
<<a href="mailto:martin.marmsoler@gmail.com" target="_blank">martin.marmsoler@gmail.com</a>> wrote:<br>
><br>
> Hello,<br>
><br>
> I'm trying to create a module for lpsolve, but it does not find any liblpsolve*.a files in the archive:<br>
> When I look into the build folder of the flatpak package, this folder is always empty. Do I have to specify something extra?<br>
> {<br>
> "name": "lpsolve",<br>
> "buildsystem": "simple",<br>
> "build-commands": [<br>
> "install -Dm755 liblpsolve*.a /app/lib",<br>
> "install -Dm755 liblpsolve*.so /app/lib",<br>
> "install -Dm755 *.h /app/include"<br>
> ],<br>
> "sources": [<br>
> {<br>
> "type": "archive",<br>
> "url": "<a href="https://netcologne.dl.sourceforge.net/project/lpsolve/lpsolve/5.5.2.5/lp_solve_5.5.2.5_dev_ux32.tar.gz" rel="noreferrer" target="_blank">https://netcologne.dl.sourceforge.net/project/lpsolve/lpsolve/5.5.2.5/lp_solve_5.5.2.5_dev_ux32.tar.gz</a>" ,<br>
> "sha256": "006ab5604836c8e246dd0ffe7b8a98943846a90fb7c6c87eb5cc961846b16b07"<br>
> }<br>
> ]<br>
> }<br>
> _______________________________________________<br>
> Flatpak mailing list<br>
> <a href="mailto:Flatpak@lists.freedesktop.org" target="_blank">Flatpak@lists.freedesktop.org</a><br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/flatpak" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/flatpak</a><br>
<br>
This looks fishy. You probably want to compile the application rather<br>
than pulling binaries. Otherwise it will just work on the one<br>
architecture.<br>
<br>
The build folder is probably empty because you're not doing anything there?<br>
<br>
Aleix<br>
</blockquote></div>