<div dir="ltr"><div class="gmail_default" style="font-size:small">Dear Pekka,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">thank you very much - its way better to use it through pkgconfig. Didn't find this option a while ago when I was writing original SPEC files and didn't look for it either.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Cheers,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Rinigus</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, May 13, 2019 at 10:24 AM Pekka Vuorela <<a href="mailto:pekka.vuorela@jolla.com">pekka.vuorela@jolla.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Sun, 2019-05-12 at 20:47 +0300, rinigus wrote:<br>
> Martin, <br>
> <br>
> thanks for pointing in this direction. I added %dump in SPEC and the<br>
> only reasonable macro that I could see was _repository. So, I added<br>
> the following to differentiate the dependencies:<br>
> <br>
> %if %{_repository} == "sailfish_3.0.2.8_armv7hl"<br>
> BuildRequires: libicu52-devel<br>
> %else<br>
> BuildRequires: libicu-devel<br>
> %endif<br>
> <br>
> Not the prettiest of the solutions, but seem to work.<br>
<br>
Suppose you might want to also try just:<br>
<br>
BuildRequires: pkgconfig(icu-uc)<br>
<br>
<br>
_______________________________________________<br>
SailfishOS.org Devel mailing list<br>
To unsubscribe, please send a mail to <a href="mailto:devel-unsubscribe@lists.sailfishos.org" target="_blank">devel-unsubscribe@lists.sailfishos.org</a></blockquote></div>