summaryrefslogtreecommitdiff
path: root/fltk.scm
blob: 6712e73ca8b8661eaceeeacaeafd18c12463308b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
(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)))