SHA256
1
0
forked from pool/gdal

Accepting request 347578 from home:pluskalm:branches:Application:Geo

- Enable opencl and freexl support
- Update dependencies

OBS-URL: https://build.opensuse.org/request/show/347578
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/gdal?expand=0&rev=21
This commit is contained in:
Martin Pluskal 2015-12-05 16:30:21 +00:00 committed by Git OBS Bridge
parent f744c2e1b0
commit c555fefb10
2 changed files with 17 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Dec 5 16:05:16 UTC 2015 - mpluskal@suse.com
- Enable opencl and freexl support
- Update dependencies
-------------------------------------------------------------------
Fri Sep 25 11:29:38 UTC 2015 - ecsos@opensuse.org

View File

@ -53,6 +53,7 @@ BuildRequires: libspatialite-devel
BuildRequires: libtiff-devel >= 3.6.0
BuildRequires: libtool
BuildRequires: libxerces-c-devel
BuildRequires: libxml2-devel
BuildRequires: netcdf-devel
BuildRequires: openjpeg2-devel
BuildRequires: poppler-devel
@ -71,10 +72,14 @@ BuildRequires: libecwj2-devel
%if 0%{?suse_version} >= 1310
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: freexl-devel
BuildRequires: hdf5-devel
%endif
%if 0%{?suse_version} > 1310 && 0%{?suse_version} != 1315
%if 0%{?suse_version} > 1320
BuildRequires: libjson-c-devel
BuildRequires: libwebp-devel
BuildRequires: ocl-icd-devel
BuildRequires: opencl-headers
BuildRequires: perl-ExtUtils-MakeMaker
%else
BuildRequires: hdf-devel >= 4.0
@ -160,7 +165,7 @@ rm -r man
%build
# need to regenerate (old one does not accpet CFLAGS)
%if 0%{?suse_version} >= 1310
autoreconf -fi
autoreconf -fiv
%endif
%configure \
@ -196,6 +201,7 @@ autoreconf -fi
--with-python \
--with-perl \
--with-mysql \
--with-freexl \
--with-xerces=yes \
--with-xerces-lib="-lxerces-c" \
--with-xerces-inc=%{_includedir}/xercesc \
@ -203,6 +209,9 @@ autoreconf -fi
--with-ecw \
CFLAGS="$CFLAGS -pthread" \
%endif
%if 0%{?suse_version} > 1320
--with-opencl \
%endif
%if 0%{?suse_version} > 1310
--without-hdf4 \
--with-hdf5 \