Files
chromebrew/packages/xwayland.rb
Satadru Pramanik, DO, MPH, MEng 0e395743fb Update xorg_proto, xwayland (#9808)
Signed-off-by: Satadru Pramanik <satadru@gmail.com>
2024-05-17 00:32:23 -05:00

67 lines
2.0 KiB
Ruby

require 'buildsystems/meson'
class Xwayland < Meson
description 'X server configured to work with weston or sommelier'
homepage 'https://x.org'
version '24.1.0'
license 'MIT-with-advertising, ISC, BSD-3, BSD and custom'
compatibility 'x86_64 aarch64 armv7l'
source_url 'https://gitlab.freedesktop.org/xorg/xserver.git'
git_hashtag "xwayland-#{version}"
binary_compression 'tar.zst'
binary_sha256({
aarch64: 'de42846f823a9774acb9ec70c763471b6b3da55f3231bcbc8b0848b443bb5207',
armv7l: 'de42846f823a9774acb9ec70c763471b6b3da55f3231bcbc8b0848b443bb5207',
x86_64: 'd7d45282f308e558df074965d2e477b90fa0b4740ec49f270a3ab9954b1e7c52'
})
no_env_options
no_shrink
depends_on 'dbus' => :build
depends_on 'eudev' => :build
depends_on 'font_util' => :build
depends_on 'gcc_lib' # R
depends_on 'glibc' # R
# depends_on 'glproto' => :build Conflict with xorg_proto
depends_on 'graphite' => :build
depends_on 'libbsd' # R
depends_on 'libdrm' # R
depends_on 'libepoxy' # R
depends_on 'libglvnd' # R
depends_on 'libmd' # R
depends_on 'libtirpc' # R
depends_on 'libunwind' # Runtime dependency for sommelier
depends_on 'libxau' # R
depends_on 'libxcvt' # R
depends_on 'libxdmcp' # R
depends_on 'libxfont2' # R
depends_on 'libxfont' # R
depends_on 'libxkbcommon' => :build
depends_on 'libxkbfile' # R
depends_on 'libxshmfence' # R
depends_on 'libxtrans' => :build
depends_on 'mesa' # R
depends_on 'pixman' # R
depends_on 'rendercheck' # R
depends_on 'wayland' # R
depends_on 'xkbcomp' => :build
depends_on 'xorg_proto' => :build
meson_options '-Db_asneeded=false \
-Dipv6=true \
-Dxvfb=true \
-Dxcsecurity=true \
-Dglamor=true'
def self.install
system "DESTDIR=#{CREW_DEST_DIR} #{CREW_NINJA} -C builddir install"
# Get these from xorg_server package
@deletefiles = %W[#{CREW_DEST_PREFIX}/bin/X #{CREW_DEST_MAN_PREFIX}/man1/Xserver.1]
@deletefiles.each do |f|
FileUtils.rm_f f
end
end
end