diff options
author | Ekaitz Zarraga <ekaitz@elenq.tech> | 2023-03-16 16:54:01 +0100 |
---|---|---|
committer | Ekaitz Zarraga <ekaitz@elenq.tech> | 2023-03-16 16:54:01 +0100 |
commit | b952e7778843adbebae0d12d6f1601e4594313eb (patch) | |
tree | 59ecf39c7c3c00483a50adc46bb288f476f11563 | |
parent | 22b0e9a0febe14de1dd7c39cf4cad8d157fa6d74 (diff) |
Add FLTK
-rw-r--r-- | fltk.scm | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/fltk.scm b/fltk.scm new file mode 100644 index 0000000..6712e73 --- /dev/null +++ b/fltk.scm @@ -0,0 +1,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))) |