]> git.pld-linux.org Git - packages/libgltf.git/commitdiff
- updated GLM dependencies to GLM-devel, fix build with GLM 1.0.1; release 3 master auto/th/libgltf-0.1.0-3
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 30 May 2024 11:54:36 +0000 (13:54 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Thu, 30 May 2024 11:54:36 +0000 (13:54 +0200)
libgltf.spec

index f06caaec64e7ea6d3c500c4a9baea2cc3d0554e0..a1178298088a997a29c0c3cb755679ea04e1688d 100644 (file)
@@ -1,18 +1,18 @@
 #
 # Conditional build:
-%bcond_without static_libs     # don't build static libraries
+%bcond_without static_libs     # static library
 #
 Summary:       C++ library for rendering OpenGL models stored in glTF format
 Summary(pl.UTF-8):     Biblioteka C++ do renderowania modeli OpenGL zapisanych w formacie glTF
 Name:          libgltf
 Version:       0.1.0
-Release:       2
+Release:       3
 License:       MPL v2.0
 Group:         Libraries
 Source0:       http://dev-www.libreoffice.org/src/libgltf/%{name}-%{version}.tar.gz
 # Source0-md5: 63ae962d0c436909979826fce0fca2fd
 URL:           http://www.libreoffice.org/
-BuildRequires: GLM >= 0.9.0.0
+BuildRequires: GLM-devel >= 0.9.0.0
 BuildRequires: OpenGL-devel >= 3.0
 BuildRequires: boost-devel >= 1.41.0
 BuildRequires: libepoxy-devel >= 1.3.1
@@ -61,7 +61,7 @@ Summary:      Header files for libgltf library
 Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki libgltf
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
-Requires:      GLM >= 0.9.0.0
+Requires:      GLM-devel >= 0.9.0.0
 Requires:      libepoxy-devel >= 1.3.1
 Requires:      libstdc++-devel
 
@@ -87,6 +87,8 @@ Statyczna biblioteka libgltf.
 %setup -q
 
 %build
+# "GLM_GTX_norm is an experimental extension" (used by glm/gtx/quaternion.hpp)
+CPPFLAGS="%{rpmcppflags} -DGLM_ENABLE_EXPERIMENTAL"
 %configure \
        --disable-silent-rules \
        %{?with_static_libs:--enable-static}
This page took 0.101605 seconds and 4 git commands to generate.