diff options
author | Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com> | 2015-03-05 15:56:58 +0100 |
---|---|---|
committer | Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com> | 2015-03-09 22:57:44 +0100 |
commit | 4d94b93ce17132098ca1524a8180961826f9917a (patch) | |
tree | ba17e08b3288218324602f2fd4f98089a8b4f6c4 /gnu/packages/video.scm | |
parent | 01793502e8c141f7b13688b1922b4d117e30ecf7 (diff) | |
download | gnu-guix-4d94b93ce17132098ca1524a8180961826f9917a.tar gnu-guix-4d94b93ce17132098ca1524a8180961826f9917a.tar.gz |
gnu: Add libcaca.
* gnu/packages/video.scm (libcaca): New variable.
(ffmpeg): Add input libcaca.
Diffstat (limited to 'gnu/packages/video.scm')
-rw-r--r-- | gnu/packages/video.scm | 35 |
1 files changed, 33 insertions, 2 deletions
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 9d93301be9..980c9efb3e 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -22,7 +22,8 @@ (define-module (gnu packages video) #:use-module (ice-9 match) #:use-module ((guix licenses) - #:select (gpl2 gpl2+ gpl3+ lgpl2.1+ bsd-3 public-domain)) + #:select (gpl2 gpl2+ gpl3+ lgpl2.1+ bsd-3 public-domain + fsf-free)) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix build-system cmake) @@ -51,6 +52,7 @@ #:use-module (gnu packages linux) #:use-module (gnu packages lua) #:use-module (gnu packages mp3) + #:use-module (gnu packages ncurses) #:use-module (gnu packages openssl) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) @@ -86,6 +88,34 @@ A/52 standard is used in a variety of applications, including digital television and DVD. It is also known as AC-3.") (license gpl2+))) +(define-public libcaca + (package + (name "libcaca") + (version "0.99.beta19") + (source (origin + (method url-fetch) + (uri (string-append "http://caca.zoy.org/files/libcaca/libcaca-" + version ".tar.gz")) + (sha256 + (base32 + "1x3j6yfyxl52adgnabycr0n38j9hx2j74la0hz0n8cnh9ry4d2qj")))) + (build-system gnu-build-system) + (native-inputs `(("pkg-config" ,pkg-config))) + (inputs + `(("freeglut" ,freeglut) + ("ftgl" ,ftgl) + ("libx11" ,libx11) + ("mesa" ,mesa) + ("ncurses" ,ncurses) + ("zlib" ,zlib))) + (home-page "http://caca.zoy.org/wiki/libcaca") + (synopsis "Colour ASCII-art library") + (description "libcaca is a graphics library that outputs text instead of +pixels, so that it can work on older video cards or text terminals. It +supports Unicode, 2048 colors, dithering of color images, and advanced text +canvas operations.") + (license (fsf-free "file://COPYING")))) ;WTFPL version 2 + (define-public libdca (package (name "libdca") @@ -146,6 +176,7 @@ SMPTE 314M.") ("opus" ,opus) ("lame" ,lame) ("libbluray" ,libbluray) + ("libcaca" ,libcaca) ("libtheora" ,libtheora) ("libvorbis" ,libvorbis) ("libvpx" ,libvpx) @@ -189,7 +220,6 @@ SMPTE 314M.") ;; --enable-ladspa enable LADSPA audio filtering ;; --enable-libaacplus enable AAC+ encoding via libaacplus [no] ;; --enable-libass enable libass subtitles rendering [no] -;; --enable-libcaca enable textual display using libcaca ;; --enable-libcelt enable CELT decoding via libcelt [no] ;; --enable-libcdio enable audio CD grabbing with libcdio ;; --enable-libdc1394 enable IIDC-1394 grabbing using libdc1394 @@ -237,6 +267,7 @@ SMPTE 314M.") "--enable-fontconfig" ;; "--enable-gnutls" ; causes test failures "--enable-libbluray" + "--enable-libcaca" "--enable-libfreetype" "--enable-libmp3lame" "--enable-libopus" |