[SailfishDevel] problem with SDK version 5 June 2014

Iosif Hamlatzis i.hamlatzis at gmail.com
Thu Jun 12 17:35:04 UTC 2014


I uninstalled previous SDK and did a clean installation of the latest SDK
(SailfishOSSDK-Alpha-1406-Qt5-windows-offline.exe) under Windows XP SP3

Compilation now fails with error:

error: Failed build dependencies:

pkgconfig(sdl2) is needed by harbour-wanted-1.0.1-1.armv7hl

pkgconfig(glesv1_cm) is needed by harbour-wanted-1.0.1-1.armv7hl

pkgconfig(SDL2_image) is needed by harbour-wanted-1.0.1-1.armv7hl

pkgconfig(SDL2_ttf) is needed by harbour-wanted-1.0.1-1.armv7hl

pkgconfig(SDL2_mixer) is needed by harbour-wanted-1.0.1-1.armv7hl

pkgconfig(audioresource) is needed by harbour-wanted-1.0.1-1.armv7hl

pkgconfig(glib-2.0) is needed by harbour-wanted-1.0.1-1.armv7hl

I have used zypper command line utility to install the normal and
development libraries for SDL2, SDL2_image, SDL2_ttf, SDL2_mixer, glib-2.0,
audioresource, glesv1_cm and glesv2 libraries.

My .spec file is:

Name:       harbour-wanted

Summary:    A video slot game with bandits

Version:    1.0.1

Release:    1

Group:      Games

License:    Proprietary

URL:        http://7cecdab4.blogspot.gr/2014/04/wanted.html

Source:     %{name}-%{version}.tar.bz2


BuildRequires: pkgconfig(sdl2)

BuildRequires: pkgconfig(egl)

BuildRequires: pkgconfig(glesv1_cm)

BuildRequires: pkgconfig(glesv2)

BuildRequires: pkgconfig(SDL2_image)

BuildRequires: pkgconfig(SDL2_ttf)

BuildRequires: pkgconfig(SDL2_mixer)

# for playing sound on DEVICE

BuildRequires: pkgconfig(audioresource)

BuildRequires: pkgconfig(glib-2.0)

# for playing sound on DEVICE


%description

A video slot game themed with sheriff and bandits


%prep

%setup -q -n %{name}-%{version}


%build

# Command used to compile the application

make


%install

rm -rf %{buildroot}

# Command used to install files into %{buildroot}

%make_install


%files

%defattr(-,root,root,-)

%{_bindir}/%{name}

%{_datadir}/%{name}

%{_datadir}/applications/%{name}.desktop

%{_datadir}/icons/hicolor/86x86/apps/%{name}.png
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20140612/68e434c8/attachment.html>


More information about the Devel mailing list