40 lines
914 B
Bash
40 lines
914 B
Bash
#!/usr/bin/env bash
|
|
name='weston'
|
|
release='2'
|
|
version='12.0.0'
|
|
url='https://gitlab.freedesktop.org/wayland/weston'
|
|
description='A lightweight and functional Wayland compositor'
|
|
email='aliriza.keskin@pardus.org.tr'
|
|
maintainer='aliriza'
|
|
license=('GPLv3')
|
|
source=("https://gitlab.freedesktop.org/wayland/weston/-/archive/$version/weston-$version.tar.gz")
|
|
depends=(pixman libdrm libxkbcommon libinput pango libjpeg-turbo lcms2 seatd)
|
|
makedepends=()
|
|
md5sums=('358ebc5564538ca179af92d3441f4892')
|
|
group=(dev.libs)
|
|
uses=()
|
|
arch=('x86_64')
|
|
|
|
cd $name-$version
|
|
|
|
setup(){
|
|
meson setup build --prefix=/usr \
|
|
--libdir=/usr/lib64/ \
|
|
-Ddeprecated-launcher-logind=false \
|
|
-Dimage-webp=false \
|
|
-Dbackend-rdp=false \
|
|
-Dxwayland=false \
|
|
-Dsystemd=false \
|
|
-Dremoting=false \
|
|
-Dpipewire=false
|
|
}
|
|
|
|
build(){
|
|
ninja -C build
|
|
}
|
|
|
|
package(){
|
|
ninja -C build install
|
|
}
|
|
|