39 lines
957 B
Bash
39 lines
957 B
Bash
#!/usr/bin/env bash
|
|
name='wlroots'
|
|
release='3'
|
|
version='0.17.3'
|
|
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
|
|
)
|
|
makedepends=()
|
|
sha256sums=('3c2525528ecb5cd64cf410b2d6d140d4fc28d4a5b2ee06bedab3f0154ebc50b4')
|
|
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
|
|
}
|
|
|