Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37041649
en ru br
Репозитории ALT

Группа :: Система/Библиотеки
Пакет: libbox2d

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: libbox2d
Version: 2.4.1
Release: alt1.2
Summary: A 2D physics engine for games
Group: System/Libraries
License: MIT
URL: http://www.box2d.org
Source: box2d-%version.tar.gz

# Automatically added by buildreq on Sat Feb 13 2021

# optimized out: cmake-modules fontconfig-devel glibc-kernheaders-generic glibc-kernheaders-x86 libICE-devel libSM-devel libX11-devel libXau-devel libXext-devel libXfixes-devel libXi-devel libXrender-devel libfreetype-devel libsasl2-3 libstdc++-devel libxcb-devel pkg-config python2-base sh4 xorg-proto-devel
BuildRequires: cmake doxygen gcc-c++ libXScrnSaver-devel libXcomposite-devel libXcursor-devel libXdmcp-devel libXft-devel libXinerama-devel libXpm-devel libXrandr-devel libXt-devel libXtst-devel libXv-devel libxkbfile-devel

%description
Box2D is a 2D rigid body simulation library for games. Programmers can use it
in their games to make objects move in believable ways and make the game world
more interactive. From the game's point of view a physics engine is just
a system for procedural animation.

Box2D is written in portable C++. Most of the types defined in the engine begin
with the b2 prefix. Hopefully this is sufficient to avoid name clashing with
your game engine.

%package devel
Summary: Development files for %name
Group: Development/C++

%description devel
Development files for %name, %summary

%prep
%setup -n box2d-%version

%build
%cmake -DBOX2D_BUILD_DOCS=ON -DBOX2D_INSTALL=ON -DBOX2D_BUILD_SHARED=ON -DBUILD_SHARED_LIBS:BOOL=ON
%cmake_build

%install
%cmake_install

%files
%doc *.md
%_libdir/*.so.*

%files devel
%doc %_defaultdocdir/box2d
%_libdir/lib*.so
%_includedir/*
%_libdir/cmake/*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin