Skip to content

Commit faf13d1

Browse files
committed
xcompmgr: new formula
1 parent 9a8b38a commit faf13d1

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

‎Formula/xcompmgr.rb‎

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
class Xcompmgr < Formula
2+
desc "X compositing manager"
3+
homepage "https://www.x.org/"
4+
url "https://www.x.org/pub/individual/app/xcompmgr-1.1.10.tar.xz"
5+
sha256 "7824f709c4f22432eaea7542ec93384e5dd48f6fcb85c12ff82d721423b0b98f"
6+
license "MIT"
7+
8+
depends_on "pkg-config" => :build
9+
depends_on "util-macros" => :build
10+
depends_on "xorgproto" => :build
11+
depends_on "libxcomposite"
12+
depends_on "libxdamage"
13+
depends_on "libxext"
14+
depends_on "libxfixes"
15+
depends_on "libxrender"
16+
17+
def install
18+
args = %W[
19+
--prefix=#{prefix}
20+
--sysconfdir=#{etc}
21+
--localstatedir=#{var}
22+
--disable-dependency-tracking
23+
--disable-silent-rules
24+
]
25+
26+
system "./configure", *args
27+
system "make"
28+
system "make", "install"
29+
end
30+
31+
test do
32+
assert_predicate bin/"xcompmgr", :executable?
33+
end
34+
end

0 commit comments

Comments
 (0)