Skip to content

Commit c27f09f

Browse files
Merge pull request #27515 from xavierleroy/Xft
conf-libXft: checking / installing the Xft font drawing library from X11
2 parents f1f75fe + 5dba54e commit c27f09f

File tree

1 file changed

+34
-0
lines changed
  • packages/conf-libXft/conf-libXft.1

1 file changed

+34
-0
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
opam-version: "2.0"
2+
maintainer: [
3+
"Xavier Leroy <[email protected]"
4+
"David Allsopp <[email protected]>"
5+
]
6+
bug-reports: "https://github.com/ocaml/opam-repository/issues"
7+
authors: ["X.Org Foundation"]
8+
homepage: "https://www.x.org"
9+
license: "MIT"
10+
build: [
11+
["pkg-config" "xft"] {os != "macos"}
12+
[
13+
"sh" "-exc"
14+
"""PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig:/opt/X11/lib/pkgconfig:/opt/X11/share/pkgconfig" pkg-config --libs xft"""
15+
] {os = "macos"}
16+
]
17+
depends: [
18+
"conf-pkg-config" {build}
19+
"conf-libX11"
20+
]
21+
depexts: [
22+
["libxft-dev"] {os-family = "debian" | os-family = "ubuntu"}
23+
["libXft-devel"] {os-distribution = "centos" | os-distribution = "ol" | os-distribution = "fedora" | os-family = "suse" | os-family = "opensuse"}
24+
["libxft-dev"] {os-distribution = "alpine"}
25+
["libxft"] {os-distribution = "arch"}
26+
["libXft-devel"] {os = "cygwin"}
27+
["xquartz"] {os = "macos" & os-distribution = "homebrew"}
28+
["Xft2"] {os = "macos" & os-distribution = "macports"}
29+
["libXft"] {os = "freebsd"}
30+
]
31+
synopsis: "Virtual package relying on an Xft system installation"
32+
description:
33+
"This package can only install if Xft (libXft) is installed on the system."
34+
flags: conf

0 commit comments

Comments
 (0)