SHA256
1
0
forked from pool/glu

- Update to version 9.0.3

* drop autotools
  * apple: Fix compatibility version and current version of meson
           build to be compatible with autotools build
  * pkgconfig: Depend on opengl when built with libglvnd
  * pkgconfig: Drop unneeded lines from autotools build
  * pkgconfig: meson build should match autotools requires
  * Remove deprecated register in C++17
- switch to meson build

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/glu?expand=0&rev=26
This commit is contained in:
Stefan Dirsch 2023-07-24 09:33:56 +00:00 committed by Git OBS Bridge
parent 99d15c8eac
commit f68ae0c178
4 changed files with 21 additions and 12 deletions

BIN
glu-9.0.2.tar.xz (Stored with Git LFS)

Binary file not shown.

3
glu-9.0.3.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bd43fe12f374b1192eb15fe20e45ff456b9bc26ab57f0eee919f96ca0f8a330f
size 218968

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Mon Jul 24 09:17:26 UTC 2023 - Stefan Dirsch <sndirsch@suse.com>
- Update to version 9.0.3
* drop autotools
* apple: Fix compatibility version and current version of meson
build to be compatible with autotools build
* pkgconfig: Depend on opengl when built with libglvnd
* pkgconfig: Drop unneeded lines from autotools build
* pkgconfig: meson build should match autotools requires
* Remove deprecated register in C++17
- switch to meson build
-------------------------------------------------------------------
Sun Jan 8 12:42:47 UTC 2023 - Gordon Leung <pirateclip@protonmail.com>

View File

@ -18,7 +18,7 @@
Name: glu
%define lname libGLU1
Version: 9.0.2
Version: 9.0.3
Release: 0
Summary: OpenGL utility library
License: SGI-B-2.0
@ -31,7 +31,7 @@ Source: https://mesa.freedesktop.org/archive/glu/%{name}-%{version}.tar.
Source1: baselibs.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: gcc-c++
BuildRequires: libtool
BuildRequires: meson
BuildRequires: pkgconfig
BuildRequires: pkgconfig(gl)
@ -88,15 +88,11 @@ compiling programs with GLU.
%setup -q
%build
if [ ! -e configure ]; then
NOCONFIGURE=1 ./autogen.sh;
fi;
%configure --disable-static
make %{?_smp_mflags}
%meson -Ddefault_library=shared
%meson_build
%install
make install DESTDIR="%buildroot"
rm -f "%buildroot/%_libdir"/*.la
%meson_install
%post -n %lname -p /sbin/ldconfig