40 lines
1002 B
Bash
40 lines
1002 B
Bash
#!/usr/bin/env bash
|
|
name='wlroots'
|
|
release='4'
|
|
version='0.18.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")
|
|
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=('703c515917d9eb258e44296795f8626190e119b0ee8bfb32fe9f834dab1a1462')
|
|
group=(gui.libs)
|
|
uses=()
|
|
arch=('x86_64')
|
|
|
|
cd $name-$version
|
|
|
|
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
|
|
}
|
|
|