Commit 67b27c2c authored by ThatGeekyWeeb's avatar ThatGeekyWeeb Committed by GitHub

New Package: picom (#4284)

parent fc96420b
require 'package'
class Picom < Package
description 'Lightweight compositor for X11 (previously a compton fork)'
homepage 'https://github.com/yshui/picom/'
version '8'
compatibility 'all'
source_url 'https://github.com/yshui/picom/archive/v8.tar.gz'
source_sha256 'f839a3c058ca90f463eae3973a9381cf2fe93be7d0e58db1c28ea72acd10480f'
depends_on 'mesa'
depends_on 'dbus'
depends_on 'libconfig'
depends_on 'libev'
depends_on 'pcre'
depends_on 'pixman'
depends_on 'xcb_util_image'
depends_on 'xcb_util_renderutil'
depends_on 'xdg_base'
depends_on 'uthash'
depends_on 'desktop_file_utilities'
def self.build
system "meson --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX} _build -Dopengl=false" # Glx backend cannot be used yet
system 'ninja -v -C _build'
end
def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C _build install"
end
def self.postinstall
puts
puts "Note that picom requires a Window Manager to be running - Sommelier does not count".lightblue
puts "Some examples are: Berry, Openbox, i3, sowm, bspwm, and dwm".lightblue
puts
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment