Files
kmscube/kmscube.spec
Guillaume GARDET c9e99cfd50 Accepting request 1128321 from home:Guillaume_G:branches:X11:XOrg
- Update to version 0.0.0.git20230926.96d63eb:
  * kmscube: Add gears mode
  * es: Update to prepare for gears mode
  * ci: enable MR pipelines
  * Revert "ci: use gitlab proxy to avoid hitting dockerhub every time"
  * kmscube: Add [-n N] option to specify connector ID
  * kmscube: add offscreen rendering support
  * ci: use gitlab proxy to avoid hitting dockerhub every time
  * ci: stop using the deprecated implicit `setup` command
  * ci: extend from a common job instead of using a bunch of yaml anchors
  * ci: bump meson to 0.48
  * ci: force installation of python packages
  * ci: drop wheel & setuptools install now that they are included
  * perfcntrs.c: remove include GLES3/gl3.h
  * meson: check GLES3 header within GLESv2 include dirs
  * fix typos
  * meson: upgrade the "GLES3 not supported" message into a warning
  * meson: replace gles version check with a header presence check
  * drm-common: fix return type of find_crtc_for_connector() & find_crtc_for_encoder()
  * make GLES3 optional
  * texturator: Use correct GL extension header
  * Returns -1 when shaders creation fails
  * drm-common.c: do not use invalid modifier
  * kmscube: check return value when creating GBM device
  * drm: fix crtc not found conditional
  * ci/latest: use image with base-devel pre-installed
  * ci/latest: fix build as dockerhub image was renamed

OBS-URL: https://build.opensuse.org/request/show/1128321
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/kmscube?expand=0&rev=12
2023-11-23 11:16:30 +00:00

67 lines
1.9 KiB
RPMSpec

#
# spec file for package kmscube
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2019, Guillaume GARDET <guillaume@opensuse.org>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: kmscube
Version: 0.0.0.git20230926.96d63eb
Release: 0
Summary: Demo for bare metal graphics
License: MIT
Group: Development/Tools/Other
URL: https://gitlab.freedesktop.org/mesa/kmscube
Source: %{name}-%{version}.tar.xz
BuildRequires: Mesa-devel
BuildRequires: Mesa-libGLESv3-devel
BuildRequires: gcc
BuildRequires: glib2-devel
BuildRequires: gstreamer-devel >= 1.6.0
BuildRequires: gstreamer-plugins-base-devel >= 1.6.0
BuildRequires: libdrm-devel >= 2.4.71
BuildRequires: libgbm-devel >= 13.0
BuildRequires: make
BuildRequires: meson >= 0.47
BuildRequires: pkgconfig >= 0.9.0
BuildRequires: pkgconfig(libpng16)
BuildRequires: pkgconfig(x11)
%description
kmscube is a little demonstration program for how to drive bare metal graphics
without a compositor like X11, wayland or similar, using DRM/KMS (kernel mode
setting), GBM (graphics buffer manager) and EGL for rendering content using
OpenGL or OpenGL ES.
%prep
%setup -q
# Fix libpng detection
sed -i -e "s/'libpng'/'libpng16'/" meson.build
%build
%meson
%meson_build
%install
%meson_install
%files
%defattr(-,root,root)
%doc README.md
%license COPYING
%{_bindir}/*
%changelog