Skip to content
Snippets Groups Projects
Commit 94aa08cd authored by Eric Vidal's avatar Eric Vidal :speech_balloon:
Browse files

upgpkg: 8.0.0-3

parent 8177d5a8
No related branches found
No related tags found
No related merge requests found
# Obarun : 66 init/supervisor
# Maintainer : Eric Vidal <eric@obarun.org>
# Maintainer : Jean-Michel T.Dydak <jean-michel@obarun.org>
# PkgSource : url="https://framagit.org/pkg/obcommunity/weston"
#-----------------------------------------------------------------------------------------------
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=weston
pkgdesc='Reference implementation of a Wayland compositor'
pkgver=8.0.0
pkgrel=3
url='https://wayland.freedesktop.org/'
track=
target="$pkgname-$pkgver.tar.xz"
source=("https://wayland.freedesktop.org/releases/${target}")
#-------------------------------------| BUILD CONFIGURATION |-----------------------------------
makedepends=('wayland-protocols' 'meson' 'ninja' 'freerdp')
#--------------------------------------| BUILD PREPARATION |------------------------------------
prepare() {
cd $pkgname-$pkgver
# apply patch from the source array (should be a pacman feature)
local src
for src in "${source[@]}"; do
src="${src%%::*}"
src="${src##*/}"
[[ $src = *.patch ]] || continue
msg2 "Applying patch $src..."
patch -Np1 < "../$src"
done
}
#--------------------------------------------| BUILD |------------------------------------------
build() {
arch-meson $pkgname-$pkgver build \
--libexec=lib/weston \
-Db_lto=false \
-Dsimple-dmabuf-drm=auto \
-Dsystemd=false \
-Dlauncher-logind=false
ninja -C build
}
#-------------------------------------------| PACKAGE |-----------------------------------------
package() {
DESTDIR="$pkgdir" meson install -C build
# license
install -Dm644 $pkgname-$pkgver/COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}
#------------------------------------| INSTALL CONFIGURATION |----------------------------------
arch=('x86_64')
depends=(
'glibc'
'wayland'
'libxkbcommon'
'libinput'
'libunwind'
'pixman'
'libdrm'
'pam'
'cairo'
'libpng'
'libjpeg-turbo'
'libwebp'
'mesa'
'libegl'
'libgles'
'glib2'
'pango'
'lcms2'
'mtdev'
'libx11'
'libxcb'
'dbus'
'libva'
'libxcursor'
'colord'
'libpipewire02')
optdepends=('freerdp: support rdp backend')
#-------------------------------------| SECURITY AND LICENCE |----------------------------------
license=('MIT')
md5sums=('e7b10710ef1eac82258f97bfd41fe534')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment