From c84083b0c0f3952f82e041b3f50ffa3cb4ae6ca4 Mon Sep 17 00:00:00 2001 From: Raghav Gururajan Date: Wed, 1 Jul 2020 00:45:50 -0400 Subject: [PATCH 17/51] gnu: Add tslib. * gnu/packages/video.scm (tslib): New variable. --- gnu/packages/video.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index d698678e49..d14e5962e7 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -170,6 +170,40 @@ #:use-module (gnu packages xml) #:use-module (gnu packages xorg)) +(define-public tslib + (package + (name "tslib") + (version "1.21") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/libts/tslib.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1ph51vpfp92rpa2vs6wkz1b1pcs3z334p1i33sprsi8mjlwvkbzc")))) + (build-system gnu-build-system) + (arguments + `(#:test-target "tests" + #:configure-flags + (list + "--with-sdl2"))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("libtool" ,libtool) + ("pkg-config" ,pkg-config))) + (inputs + `(("linux-headers" ,linux-libre-headers) + ("sdl2" ,sdl2))) + (synopsis "Touchscreen access library") + (description "TSLib is a cross-platform library that provides access to +touchscreen devices and the ability to apply filters to their input events.") + (home-page "http://www.tslib.org/") + (license license:lgpl2.1+))) + (define-public libmpeg3 (package (name "libmpeg3") -- 2.26.2