Commit 9574b744 authored by Ed Reel's avatar Ed Reel Committed by GitHub

Merge pull request #1229 from flyingP0tat0/patch-27

Add XWayland
parents dc5cb83a ae77a65a
require 'package'
class Libepoxy < Package
description 'Epoxy is a library for handling OpenGL function pointer management for you'
homepage 'https://github.com/anholt/libepoxy'
version '1.4.3'
source_url 'https://github.com/anholt/libepoxy/releases/download/1.4.3/libepoxy-1.4.3.tar.xz'
source_sha256 '0b808a06c9685a62fca34b680abb8bc7fb2fda074478e329b063c1f872b826f6'
depends_on 'mesa'
depends_on 'python3'
def self.build
system "mkdir _build"
Dir.chdir "_build" do
system "../configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}"
system "make"
end
end
def self.install
Dir.chdir "_build" do
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
end
require 'package'
class Libfontenc < Package
description 'library for the X window system'
homepage 'https://x.org'
version '1.1.3'
source_url 'https://www.x.org/archive/individual/lib/libfontenc-1.1.3.tar.gz'
source_sha256 '6fba26760ca8d5045f2b52ddf641c12cedc19ee30939c6478162b7db8b6220fb'
depends_on 'xorg_proto'
depends_on 'zlibpkg'
def self.build
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
require 'package'
class Libxfont < Package
description 'library for the X window system'
homepage 'https://x.org'
version '2.0.1'
source_url 'https://www.x.org/archive/individual/lib/libXfont2-2.0.1.tar.gz'
source_sha256 '381b6b385a69343df48a082523c856aed9042fbbc8ee0a6342fb502e4321230a'
depends_on 'libfontenc'
depends_on 'freetype'
def self.build
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
require 'package'
class Xf86driproto < Package
description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.'
homepage 'https://x.org'
version '2.1.1'
source_url 'https://www.x.org/archive/individual/proto/xf86driproto-2.1.1.tar.gz'
source_sha256 '18ff8de129b89fa24a412a1ec1799f8687f96c186c655b44b1a714a3a5d15d6c'
def self.build
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
......@@ -28,6 +28,7 @@ class Xorg_proto < Package
depends_on 'windowswmproto'
depends_on 'xcmiscproto'
depends_on 'xextproto'
depends_on 'xf86driproto'
depends_on 'xf86vidmodeproto'
depends_on 'xineramaproto'
depends_on 'xproto'
......
require 'package'
class Xwayland < Package
description 'X server configured to (only) work with weston'
homepage 'https://x.org'
version '1.19.3'
source_url 'https://www.x.org/releases/individual/xserver/xorg-server-1.19.3.tar.gz'
source_sha256 '8f93b98f1ac9fbd87515bfe329a069b48bbec98e5329584ab5fbf759a0953b8d'
depends_on 'libepoxy'
depends_on 'xorg_proto'
depends_on 'libxtrans'
depends_on 'libxkbfile'
depends_on 'wayland'
depends_on 'eudev'
depends_on 'libxfont'
depends_on 'libbsd'
depends_on 'nettle'
depends_on 'libtirpc'
depends_on 'pixman'
def self.build
system "./configure --prefix=#{CREW_PREFIX} --disable-docs --disable-devel-docs --enable-xwayland --disable-xorg --disable-xvfb --disable-xnest --disable-xquartz --disable-xwin"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
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