gnu: Add stb-rect-pack.

* gnu/packages/stb.scm (stb-rect-pack): New public variable.
This commit is contained in:
Tobias Geerinckx-Rice 2020-11-14 20:40:46 +01:00
parent 89f25a813a
commit 6f5f60b289
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU ;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2018 Marius Bakke <mbakke@fastmail.com> ;;; Copyright © 2018 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2020 Tobias Geerinckx-Rice <me@tobias.gr>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -102,6 +103,12 @@ (define-public stb-image-write
"stb-image-write is a small library for writing image files to the "stb-image-write is a small library for writing image files to the
C@tie{}@code{stdio} interface.")) C@tie{}@code{stdio} interface."))
(define-public stb-rect-pack
(make-stb-header-package
"stb-rect-pack" "1.00"
"stb-rect-pack is a small rectangle packing library useful for, e.g., packing
rectangular textures into an atlas. It does not do rotation."))
(define-public stb-sprintf (define-public stb-sprintf
(make-stb-header-package (make-stb-header-package
"stb-sprintf" "1.06" "stb-sprintf" "1.06"