Compare commits

...
Sign in to create a new pull request.

2 commits

Author SHA1 Message Date
Lyude Paul
9524b74a59 Enable building of freetype2 and wayland demos
Also-it appears in order to make this continue to both build the x11 and
wayland demos and not just one or the other, we need to start manually
specifying the options for %configure. We probably should have been
doing that from the start anyhow.
2018-11-19 15:44:16 -05:00
Lyude Paul
da6f9a5d7d 8.4.0 2018-11-19 15:42:20 -05:00
3 changed files with 26 additions and 10 deletions

1
.gitignore vendored
View file

@ -8,3 +8,4 @@ xdriinfo-1.0.3.tar.bz2
/mesa-demos-20151203.tar.bz2
/mesa-demos-8.3.0.tar.bz2
/mesa-demos-20171027.tar.bz2
/mesa-demos-8.4.0.tar.bz2

View file

@ -1,18 +1,18 @@
%global gitdate 20171027
%global gitcommit 22bc355f1b324b6ea07e063b5f20be757ea7a8e5
%global shortcommit %(c=%{gitcommit}; echo ${c:0:7})
#%global gitdate 20171027
#%global gitcommit 22bc355f1b324b6ea07e063b5f20be757ea7a8e5
#%global shortcommit %(c=%{gitcommit}; echo ${c:0:7})
%global xdriinfo xdriinfo-1.0.4
%global demodir %{_libdir}/mesa
Summary: Mesa demos
Name: mesa-demos
Version: 8.3.0
Release: 12%{?dist}
Version: 8.4.0
Release: 1%{?dist}
License: MIT
Group: System Environment/Libraries
URL: http://www.mesa3d.org
#Source0: https://mesa.freedesktop.org/archive/demos/%{version}/%{name}-%{version}.tar.bz2
Source0: mesa-demos-%{gitdate}.tar.bz2
Source0: https://mesa.freedesktop.org/archive/demos/%{name}-%{version}.tar.bz2
#Source0: mesa-demos-%{gitdate}.tar.bz2
Source1: http://www.x.org/pub/individual/app/%{xdriinfo}.tar.bz2
Source2: mesad-git-snapshot.sh
# Patch pointblast/spriteblast out of the Makefile for legal reasons
@ -29,6 +29,8 @@ BuildRequires: mesa-libGLES-devel
BuildRequires: mesa-libgbm-devel
BuildRequires: libGLU-devel
BuildRequires: glew-devel
BuildRequires: wayland-devel
BuildRequires: freetype-devel
%description
This package provides some demo applications for testing Mesa.
@ -50,7 +52,7 @@ Provides: eglinfo es2_info
The egl-utils package provides the eglinfo and es2_info utilities.
%prep
%setup -q -n %{name}-%{gitdate} -b1
%setup -q -n %{name}-%{version} -b1
%patch0 -p1 -b .legal
%patch1 -p1 -b .asneeded
pushd ../%{xdriinfo}
@ -63,7 +65,16 @@ rm -rf src/demos/spriteblast.c
%build
autoreconf -vfi
%configure --bindir=%{demodir} --with-system-data-files
%configure \
--bindir=%{demodir} \
--with-system-data-files \
--enable-x11 \
--enable-wayland \
--enable-gbm \
--enable-egl \
--enable-gles2 \
--enable-libdrm \
--enable-freetype2
make %{?_smp_mflags}
pushd ../%{xdriinfo}
@ -104,6 +115,10 @@ install -m 0755 src/egl/opengles2/es2_info %{buildroot}%{_bindir}
%{_bindir}/es2_info
%changelog
* Mon Nov 19 2018 Lyude Paul <lyude@redhat.com> - 8.4.0-1
- 8.4.0
- Enabling building of wayland and freetype demos
* Thu Aug 23 2018 Nicolas Chauvet <kwizart@gmail.com> - 8.3.0-12
- Rebuilt for glew 2.1.0

View file

@ -1,2 +1,2 @@
SHA512 (mesa-demos-20171027.tar.bz2) = 8af9c8e064d06a7e5f59908471f1360b0071f0ccd0633cbe1ceb641b8900f6e261fc1ff55ccbbdef4243180e23d3b1e62cfb5cff00ac4951f28f14a10c1dd337
SHA512 (xdriinfo-1.0.4.tar.bz2) = 7d998d89c539dbb93c00bc0dd237e086bc3c6e91c02c251448dc6e34cc8f89b2a752ab6f1d86cfb8a0d3d4373a167c9dda2f6f817626c3c7b5cd02a58bc1e6dd
SHA512 (mesa-demos-8.4.0.tar.bz2) = b72d03cad36e0535ff18dcfb222ec4200064b9264f6da51a6e5f03b0dd912abe188bc1d600b6698de3ce6f63b28d2ce01565886ca8e7079edc4967fbf2fb0957