[SailfishDevel] problem with package dependencies
Iosif Hamlatzis
i.hamlatzis at gmail.com
Thu Apr 17 11:03:32 UTC 2014
I have un-installed previous SDK and did a clean installation of the latest
SDK. I then went inside the engine machine and installed (zypper install
....) the packages I need for my game such as SDL2, SDL2_image, SDL2_ttf,
SDL2_mixer, GLESv1 GLESv2
I then went to build my game but I get error messages such as:
*error: Failed build dependencies:*
* pkgconfig(sdl2) is needed by harbour-farwest-0.1-1.i586*
* pkgconfig(glesv1_cm) is needed by harbour-farwest-0.1-1.i586*
* pkgconfig(SDL2_image) is needed by harbour-farwest-0.1-1.i586*
* pkgconfig(SDL2_ttf) is needed by harbour-farwest-0.1-1.i586*
* pkgconfig(SDL2_mixer) is needed by harbour-farwest-0.1-1.i586*
I haven't made any changes in my .spec file so why the new SDK doesn't work
when the previous SDK did?
My .spec file is:
Name: harbour-farwest
Summary: My First SailfishOS game
Version: 0.1
Release: 1
Group: Applications
License: LICENSE
URL: http://example.org/
Source0: %{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)
%description
My First SailfishOS game
%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/20140417/3cdf090c/attachment.html>
More information about the Devel
mailing list