Accepting request 307636 from home:Mailaender:branches:games

use pkgconfig to fix the build

OBS-URL: https://build.opensuse.org/request/show/307636
OBS-URL: https://build.opensuse.org/package/show/games/0ad?expand=0&rev=53
This commit is contained in:
Dmitriy Perlow 2015-05-17 19:47:55 +00:00 committed by Git OBS Bridge
parent 61e7b6899d
commit 88d664fc03

View File

@ -21,23 +21,23 @@ Version: 0.0.18
Release: 0
Url: http://play0ad.com/
Source: http://sourceforge.net/projects/zero-ad/files/releases/%{name}-%{version}-alpha-unix-build.tar.xz
BuildRequires: DevIL-devel
BuildRequires: pkgconfig(IL)
BuildRequires: boost-devel
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: libicu-devel
BuildRequires: pkgconfig(icu-i18n)
BuildRequires: mozilla-nspr-devel
BuildRequires: xz
BuildRequires: pkgconfig(zlib)
%if 0%{?suse_version} >= 1220
BuildRequires: libXcursor-devel
%endif
BuildRequires: libcurl-devel
BuildRequires: libgloox-devel
BuildRequires: pkgconfig(libcurl)
BuildRequires: pkgconfig(gloox)
BuildRequires: libjpeg-devel
BuildRequires: libminiupnpc-devel
BuildRequires: libpng-devel
BuildRequires: libvorbis-devel
BuildRequires: pkgconfig(vorbis)
BuildRequires: nasm
BuildRequires: python
BuildRequires: subversion
@ -46,8 +46,8 @@ BuildRequires: pkgconfig(libxml-2.0)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version}
BuildRequires: libenet-devel
BuildRequires: openal-soft-devel
BuildRequires: pkgconfig(libenet)
BuildRequires: pkgconfig(openal)
BuildRequires: pkg-config
BuildRequires: update-desktop-files