47 lines
1.1 KiB
Bash
47 lines
1.1 KiB
Bash
#!/usr/bin/env bash
|
|
name='wlroots'
|
|
release='5'
|
|
version='0.19.2'
|
|
url='https://gitlab.freedesktop.org/wlroots/wlroots'
|
|
description='Pluggable, composable, unopinionated modules for building a Wayland compositor'
|
|
email='bayramk@gmail.com'
|
|
maintainer='bk'
|
|
license=('GPLv3')
|
|
source=("https://gitlab.freedesktop.org/wlroots/wlroots/-/archive/$version/wlroots-$version.tar.gz"
|
|
"fix1.patch")
|
|
depends=(seatd hwdata eudev libxkbcommon wayland xcb-util-wm
|
|
libglvnd libglvnd libinput libxcb libxcb mesa
|
|
pixman vulkan-loader xcb-util-errors xcb-util-renderutil
|
|
libdisplay-info xorg-xwayland lcms2
|
|
)
|
|
makedepends=()
|
|
sha256sums=('f0530ecaa8739d15f97bd1e1edddb77e281d57e42d4263fccb67157f71730d17'
|
|
'SKIP')
|
|
group=(gui.libs)
|
|
uses=()
|
|
arch=('x86_64')
|
|
|
|
cd $name-$version
|
|
|
|
prepare(){
|
|
# remove this
|
|
patch -Np1 -i ../fix1.patch
|
|
}
|
|
|
|
setup(){
|
|
meson setup build --prefix=/usr \
|
|
--libdir=/usr/lib64/ \
|
|
-Dexamples=true \
|
|
-Dbackends='drm,libinput,x11' \
|
|
-Dxwayland=enabled
|
|
}
|
|
|
|
build(){
|
|
ninja -C build
|
|
}
|
|
|
|
package(){
|
|
ninja -C build install
|
|
}
|
|
|