mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
gnu: Add aalib.
* gnu/packages/video.scm (aalib): New variable.
This commit is contained in:
parent
01b90919ef
commit
6b2c6be0c3
1 changed files with 39 additions and 0 deletions
|
@ -66,6 +66,7 @@ (define-module (gnu packages video)
|
|||
#:use-module (gnu packages samba)
|
||||
#:use-module (gnu packages sdl)
|
||||
#:use-module (gnu packages ssh)
|
||||
#:use-module (gnu packages texinfo)
|
||||
#:use-module (gnu packages texlive)
|
||||
#:use-module (gnu packages textutils)
|
||||
#:use-module (gnu packages version-control)
|
||||
|
@ -77,6 +78,44 @@ (define-module (gnu packages video)
|
|||
#:use-module (gnu packages yasm)
|
||||
#:use-module (gnu packages zip))
|
||||
|
||||
(define-public aalib
|
||||
(package
|
||||
(name "aalib")
|
||||
(version "1.4rc5")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://sourceforge/aa-project/"
|
||||
name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1vkh19gb76agvh4h87ysbrgy82hrw88lnsvhynjf4vng629dmpgv"))))
|
||||
(build-system gnu-build-system)
|
||||
(native-inputs
|
||||
`(("makeinfo" ,texinfo)))
|
||||
(inputs
|
||||
`(("ncurses" ,ncurses)))
|
||||
(arguments
|
||||
'(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace configure
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
;; This old `configure' script doesn't support
|
||||
;; variables passed as arguments.
|
||||
(let ((out (assoc-ref outputs "out"))
|
||||
(ncurses (assoc-ref inputs "ncurses")))
|
||||
(setenv "CONFIG_SHELL" (which "bash"))
|
||||
(zero? (system* "./configure"
|
||||
(string-append "--prefix=" out)
|
||||
(string-append "--with-ncurses="
|
||||
ncurses)))))))))
|
||||
(home-page "http://aa-project.sourceforge.net/aalib/")
|
||||
(synopsis "ASCII-art library")
|
||||
(description
|
||||
"AA-lib is a low level gfx library which does not require graphics device.
|
||||
In fact, there is no graphical output possible. AA-lib replaces those
|
||||
old-fashioned output methods with powerful ascii-art renderer.")
|
||||
(license license:lgpl2.0+)))
|
||||
|
||||
(define-public liba52
|
||||
(package
|
||||
(name "liba52")
|
||||
|
|
Loading…
Reference in a new issue