(define-module (fltk) #:use-module (guix packages) #:use-module (guix gexp) #:use-module (gnu packages) #:use-module (gnu packages autotools) #:use-module (gnu packages gl) #:use-module (gnu packages pkg-config) #:use-module (gnu packages man) #:use-module (gnu packages xorg) #:use-module (guix git-download) #:use-module (guix build-system cmake) #:use-module ((guix licenses) #:prefix license:)) (define-public fltk (package (name "fltk") (version "1.3.8") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/fltk/fltk") (commit (string-append "release-" version)))) (sha256 (base32 "0ksdrk3ii93lfsyzvj351ml0piq0bngj7h87wv85xn521h5z63f9")))) (build-system cmake-build-system) (inputs (list libx11 libxft pkg-config glu man-db)) (home-page "https://www.fltk.org/index.php") (synopsis "FLTK is a cross-platform C++ GUI toolkit for UNIX/Linux (X11), Microsoft Windows, and MacOS X.") (description "FLTK is a cross-platform C++ GUI toolkit for UNIX/Linux (X11), Microsoft Windows, and MacOS X. FLTK provides modern GUI functionality without the bloat and supports 3D graphics via OpenGL and its built-in GLUT emulation. FLTK is designed to be small and modular enough to be statically linked, but works fine as a shared library. FLTK also includes an excellent UI builder called FLUID.") (license license:gpl2)))