summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libxft.scm90
1 files changed, 90 insertions, 0 deletions
diff --git a/libxft.scm b/libxft.scm
new file mode 100644
index 0000000..af43fcc
--- /dev/null
+++ b/libxft.scm
@@ -0,0 +1,90 @@
+(define-module (libxft)
+ #:use-module (guix gexp)
+ #:use-module ((guix licenses) #:prefix license:)
+ #:use-module (guix packages)
+ #:use-module (guix download)
+ #:use-module (guix git-download)
+ #:use-module (guix build-system copy)
+ #:use-module (guix build-system gnu)
+ #:use-module (guix build-system meson)
+ #:use-module (guix build-system perl)
+ #:use-module (guix build-system python)
+ #:use-module (guix utils)
+ #:use-module (gnu packages)
+ #:use-module (gnu packages aidc)
+ #:use-module (gnu packages anthy)
+ #:use-module (gnu packages autotools)
+ #:use-module (gnu packages base)
+ #:use-module (gnu packages bash)
+ #:use-module (gnu packages xorg)
+ #:use-module (gnu packages bison)
+ #:use-module (gnu packages check)
+ #:use-module (gnu packages cups)
+ #:use-module (gnu packages compression)
+ #:use-module (gnu packages emacs)
+ #:use-module (gnu packages flex)
+ #:use-module (gnu packages fonts)
+ #:use-module (gnu packages fontutils)
+ #:use-module (gnu packages freedesktop)
+ #:use-module (gnu packages gettext)
+ #:use-module (gnu packages gl)
+ #:use-module (gnu packages glib)
+ #:use-module (gnu packages gnupg)
+ #:use-module (gnu packages gperf)
+ #:use-module (gnu packages gtk)
+ #:use-module (gnu packages haskell-xyz)
+ #:use-module (gnu packages inkscape)
+ #:use-module (gnu packages image)
+ #:use-module (gnu packages imagemagick)
+ #:use-module (gnu packages libedit)
+ #:use-module (gnu packages linux)
+ #:use-module (gnu packages llvm)
+ #:use-module (gnu packages m4)
+ #:use-module (gnu packages ncurses)
+ #:use-module (gnu packages onc-rpc)
+ #:use-module (gnu packages pciutils)
+ #:use-module (gnu packages perl)
+ #:use-module (gnu packages perl-check)
+ #:use-module (gnu packages pkg-config)
+ #:use-module (gnu packages python)
+ #:use-module (gnu packages python-compression)
+ #:use-module (gnu packages python-crypto)
+ #:use-module (gnu packages python-xyz)
+ #:use-module (gnu packages qt)
+ #:use-module (gnu packages spice)
+ #:use-module (gnu packages video)
+ #:use-module (gnu packages xiph)
+ #:use-module (gnu packages xml)
+ #:use-module (gnu packages xdisorg))
+
+(define-public libxft
+ (package
+ (name "libxft")
+ (version "2.3.8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://xorg.freedesktop.org/archive/individual/lib/libXft-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1a3qybcvhdshgj1wynhsahdnrlmfv2wrjklyh1j2whj4v3i8zr1j"))))
+ (build-system gnu-build-system)
+ (arguments
+ '(#:configure-flags '("--disable-static")))
+ (propagated-inputs
+ ;; xft.pc refers to all these.
+ (list libxrender
+ freetype
+ fontconfig))
+ (inputs
+ (list libx11 xorgproto))
+ (native-inputs
+ (list pkg-config))
+ (home-page "https://www.x.org/wiki/")
+ (synopsis "Xorg FreeType library")
+ (description
+ "Xorg FreeType library connects X applications with the FreeType font
+rasterization library. Xft uses fontconfig to locate fonts so it has no
+configuration files.")
+ (license license:x11)))