added weston and libinput

This commit is contained in:
Ella-0 2021-01-28 13:21:25 +00:00
parent 4eb7ec623a
commit 93055230fe
3 changed files with 93 additions and 0 deletions

34
pkgs/libinput/build.sh Normal file
View file

@ -0,0 +1,34 @@
pkgname=libinput
pkgver=1.16.4
fetch() {
curl "https://www.freedesktop.org/software/libinput/libinput-1.16.4.tar.xz" -o $pkgname-$pkgver.tar.xz
tar -xf $pkgname-$pkgver.tar.xz
mkdir $pkgname-$pkgver/build
}
build() {
cd $pkgname-$pkgver
cd build
meson .. \
--buildtype=release \
--prefix=/usr \
--libexecdir=lib \
-Dlibwacom=false \
-Ddocumentation=false \
-Ddebug-gui=false \
-Dtests=false
samu
}
package() {
cd $pkgname-$pkgver
cd build
DESTDIR=$pkgdir samu install
}
license() {
cd $pkgname-$pkgver
cat LICENSE
# cat COPYING
}

48
pkgs/weston/build.sh Normal file
View file

@ -0,0 +1,48 @@
pkgname=weston
pkgver=9.0.0
fetch() {
curl "https://wayland.freedesktop.org/releases/$pkgname-$pkgver.tar.xz" -o $pkgname-$pkgver.tar.xz
tar -xf $pkgname-$pkgver.tar.xz
mkdir $pkgname-$pkgver/build
cd $pkgname-$pkgver
patch -p1 < ../../no-tests.patch
}
build() {
cd $pkgname-$pkgver
cd build
meson .. \
--buildtype=release \
--prefix=/usr \
--libexecdir=lib \
-Dimage-jpeg=false \
-Dimage-webp=false \
-Dlauncher-logind=false \
-Dweston-launch=false \
-Dbackend-drm-screencast-vaapi=false \
-Dbackend-rdp=false \
-Dbackend-x11=false \
-Dxwayland=false \
-Dcolor-management-lcms=false \
-Dcolor-management-colord=false \
-Dsystemd=false \
-Dremoting=false \
-Dpipewire=false \
-Ddemo-clients=false \
-Dtests=false \
-Dtest-gl-renderer=false
samu
}
package() {
cd $pkgname-$pkgver
cd build
DESTDIR=$pkgdir samu install
}
license() {
cd $pkgname-$pkgver
cat LICENSE
# cat COPYING
}

View file

@ -0,0 +1,11 @@
--- a/meson.build
+++ b/meson.build
@@ -163,7 +163,7 @@
subdir('pipewire')
subdir('clients')
subdir('wcap')
-subdir('tests')
+#subdir('tests')
subdir('data')
subdir('man')