Dear Pekka, 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.
Cheers, Rinigus On Mon, May 13, 2019 at 10:24 AM Pekka Vuorela <pekka.vuor...@jolla.com> wrote: > On Sun, 2019-05-12 at 20:47 +0300, rinigus wrote: > > Martin, > > > > thanks for pointing in this direction. I added %dump in SPEC and the > > only reasonable macro that I could see was _repository. So, I added > > the following to differentiate the dependencies: > > > > %if %{_repository} == "sailfish_3.0.2.8_armv7hl" > > BuildRequires: libicu52-devel > > %else > > BuildRequires: libicu-devel > > %endif > > > > Not the prettiest of the solutions, but seem to work. > > Suppose you might want to also try just: > > BuildRequires: pkgconfig(icu-uc) > > > _______________________________________________ > SailfishOS.org Devel mailing list > To unsubscribe, please send a mail to > devel-unsubscr...@lists.sailfishos.org
_______________________________________________ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org