Skip to content

Commit 2ec5197

Browse files
committed
xcompmgr: new formula
Closes #850. Signed-off-by: Maxim Belkin <maxim.belkin@gmail.com>
1 parent b8f9bb0 commit 2ec5197

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

‎Formula/xcompmgr.rb‎

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
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 "libx11"
12+
depends_on "libxcomposite"
13+
depends_on "libxdamage"
14+
depends_on "libxext"
15+
depends_on "libxfixes"
16+
depends_on "libxrender"
17+
18+
def install
19+
args = %W[
20+
--prefix=#{prefix}
21+
--sysconfdir=#{etc}
22+
--localstatedir=#{var}
23+
--disable-dependency-tracking
24+
--disable-silent-rules
25+
]
26+
27+
system "./configure", *args
28+
system "make"
29+
system "make", "install"
30+
end
31+
32+
test do
33+
assert_predicate bin/"xcompmgr", :executable?
34+
end
35+
end

0 commit comments

Comments
 (0)