From bd9af61035d25096c8f769da8e30f5d68001a5cc Mon Sep 17 00:00:00 2001 From: Alex Kost Date: Fri, 22 Jul 2016 11:10:11 +0300 Subject: gnu: Add guile-xosd. * gnu/packages/guile.scm (guile-xosd): New variable. --- gnu/packages/guile.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm index 2d8ca0cf23..9b85016221 100644 --- a/gnu/packages/guile.scm +++ b/gnu/packages/guile.scm @@ -6,6 +6,7 @@ ;;; Copyright © 2016 Ricardo Wurmus ;;; Copyright © 2016 Erik Edrosa ;;; Copyright © 2016 Eraim Flashner +;;; Copyright © 2016 Alex Kost ;;; ;;; This file is part of GNU Guix. ;;; @@ -50,6 +51,8 @@ (define-module (gnu packages guile) #:use-module (gnu packages sdl) #:use-module (gnu packages maths) #:use-module (gnu packages image) + #:use-module (gnu packages xdisorg) + #:use-module (gnu packages xorg) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix git-download) @@ -1122,4 +1125,33 @@ (define-public guile-dbd-sqlite3 SQL databases. This package implements the interface for SQLite.") (license gpl2+))) +(define-public guile-xosd + (package + (name "guile-xosd") + (version "0.2") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/alezost/" name + "/releases/download/v" version + "/" name "-" version ".tar.gz")) + (sha256 + (base32 + "1j0b07kycccfslp5n6q0hz7adwc7k41fpzds2dvrly67gavjqljv")))) + (build-system gnu-build-system) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("guile" ,guile-2.0) + ("libx11" ,libx11) + ("libxext" ,libxext) + ("libxinerama" ,libxinerama) + ("xosd" ,xosd))) + (home-page "https://github.com/alezost/guile-xosd") + (synopsis "XOSD bindings for Guile") + (description + "Guile-XOSD provides Guile bindings for @code{libxosd}, +@uref{http://sourceforge.net/projects/libxosd/, the X On Screen Display +library}.") + (license gpl3+))) + ;;; guile.scm ends here -- cgit v1.2.3