1 Star 0 Fork 12

wuzx/cogl

forked from src-openEuler/cogl 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
cogl.spec 3.10 KB
一键复制 编辑 原始数据 按行查看 历史
wuzx 提交于 2022-10-19 12:39 +08:00 . Add sw64 architecture
Name: cogl
Version: 1.22.8
Release: 2
Summary: Cogl is a modern 3D graphics API with associated utility APIs
License: LGPLv2+
URL: https://developer.gnome.org/cogl/
Source0: https://download.gnome.org/sources/cogl/1.22/%{name}-%{version}.tar.xz
%ifarch sw_64
Patch1: cogl-1.22.8-sw.patch
%endif
BuildRequires: chrpath cairo-devel mesa-libEGL-devel mesa-libgbm-devel gdk-pixbuf2-devel
BuildRequires: mesa-libGL-devel glib2-devel gobject-introspection-devel gtk-doc pango-devel
BuildRequires: wayland-devel libXcomposite-devel libXdamage-devel libXext-devel
BuildRequires: libXfixes-devel libxkbcommon-devel libXrandr-devel libxslt
%description
COGL is a low level OpenGL abstraction library developed for (and part of)
Clutter. It is used primarily by Clutter to provide a common rendering API
that works transparently across OpenGL >=1.4, OpenGL ES 1.1 and OpenGL ES 2.0.
%package devel
Summary: The development environment for %{name}
Requires: %{name} = %{version}-%{release}
Provides: %{name}-tests
Obsoletes: %{name}-tests
%description devel
The %{name}-devel package contains libraries and header files for building
and developing applications that use %{name}.
%package help
Summary: Documents for %{name}
Buildarch: noarch
Requires: man info %{name} = %{version}-%{release}
Provides: %{name}-doc
Obsoletes: %{name}-doc
%description help
Man pages and other related documents for %{name}.
%prep
%autosetup -n %{name}-%{version} -p1
%build
%configure --enable-cairo=yes --enable-cogl-pango=yes --enable-gdk-pixbuf=yes \
--enable-glx=yes --enable-gtk-doc --enable-introspection=yes \
--enable-kms-egl-platform --enable-wayland-egl-platform \
--enable-wayland-egl-server --enable-xlib-egl-platform \
--enable-installed-tests
%make_build V=1
%install
make install DESTDIR=%{buildroot}
%delete_la
# Remove lib64 rpaths
chrpath --delete %{buildroot}%{_libdir}/libcogl-path.so
chrpath --delete %{buildroot}%{_libdir}/libcogl-pango.so
%ldconfig_scriptlets
%files
%license COPYING
%{_datadir}/locale/*
%{_libdir}/*.so.*
%{_libdir}/girepository-1.0/*.typelib
%files devel
%{_datadir}/gir-1.0/*.gir
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_includedir}/cogl
%{_datadir}/installed-tests/cogl/*.test
%{_libexecdir}/installed-tests/cogl
%files help
%doc NEWS README
%{_datadir}/gtk-doc/html/*/
%exclude %{_datadir}/cogl/examples-data/crate.jpg
%changelog
* Wed Oct 19 2022 wuzx<[email protected]> - 1.22.8-2
- add sw64 patch
* Mon Feb 1 2021 yanglu <[email protected]> - 1.22.8-1
- update to 1.22.8
* Wed Sep 9 2020 hanhui <[email protected]> - 1.22.4-3
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:modify source url
* Thu Jan 9 2020 openEuler Buildteam <[email protected]> - 1.22.4-2
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:delete patches
* Tue Sep 3 2019 openEuler Buildteam <[email protected]> - 1.22.4-1
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:upgrade to 1.22.4
* Fri Aug 16 2019 openEuler Buildteam <[email protected]> - 1.22.2-12
- Package Init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wuzx065891/cogl.git
[email protected]:wuzx065891/cogl.git
wuzx065891
cogl
cogl
master

搜索帮助