SHA256
6
0
forked from pool/imgui
imgui/imgui.spec
Dirk Mueller c9e081ca26 - update to 1.90:
* BeginChild(): Upgraded 'bool border = false' parameter to
    'ImGuiChildFlags flags = 0'.
  * Added ImGuiChildFlags_Border value. As with our prior
    "bool-to-flags" API updates, the ImGuiChildFlags_Border
    value is guaranteed to be == true forever to ensure a
    smoother transition, meaning all existing calls will still
    work.
  * BeginChildFrame()/EndChildFrame(): removed functions in
    favor of using BeginChild() with the ImGuiChildFlags_FrameStyle
    flag.
  * IO: Removed io.MetricsActiveAllocations introduced in
    1.63, was displayed in Metrics and unlikely to
    be accessed by end-user. Value still visible in the UI and
    easily to recompute from a delta.
  * Commented out runtime support for hardcoded ~0 or
    0x01..0x0F rounding flags values for
    AddRect()/AddRectFilled()/PathRect()/AddImageRounded().
  * too many changes to list here, see https://github.com/ocornut/imgui/releases/tag/v1.89.1
ship any actual functionality. ImGui suppose to be used as sources

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/imgui?expand=0&rev=14
2023-11-25 20:27:23 +00:00

69 lines
2.3 KiB
RPMSpec

#
# spec file for package imgui
#
# Copyright (c) 2023 SUSE LLC
#
# 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: imgui
Version: 1.90
Release: 0
Summary: Immediate Mode Graphical User interface for C++ with minimal dependencies
License: MIT
Group: System/Libraries
URL: https://www.dearimgui.org
Source: https://github.com/ocornut/imgui/archive/v%{version}.tar.gz
BuildRequires: c++_compiler
BuildRequires: make
%description
ImGui is a bloat-free graphical user interface library for C++. It outputs
optimized vertex buffers that you can render anytime in your 3D-pipeline
enabled application. It is fast, portable, renderer agnostic and self-contained
(no external dependencies).
ImGui is designed to enable fast iteration and empower programmers to create
content creation tools and visualization/ debug tools (as opposed to UI for the
average end-user). It favors simplicity and productivity toward this goal, and
thus lacks certain features normally found in more high-level libraries.
ImGui is particularly suited to integration in realtime 3D applications,
fullscreen applications, embedded applications, games, or any applications on
consoles platforms where operating system features are non-standard.
%package devel
Summary: Development files for ImGui
Group: Development/Libraries/C and C++
%description devel
ImGui is self-contained within a few files that you can easily copy and compile
into your application/engine.
No specific build process is required. You can add the .cpp files to your
project or #include them from an existing file.
%prep
%setup -q
%build
%install
mkdir -p %{buildroot}%{_includedir}/imgui
cp *.h %{buildroot}%{_includedir}/imgui
%files devel
%{_includedir}/imgui
%changelog