Skip to content
Snippets Groups Projects
Commit 034c5d9f authored by alice's avatar alice Committed by alice
Browse files

community/weston: enable all arches, enable pipewire

parent 3025b08a
No related branches found
No related tags found
2 merge requests!39304[3.16] main/expat: security upgrade to 2.4.9,!36409community/weston: enable all arches, enable pipewire
Pipeline #128416 passed
...@@ -2,20 +2,19 @@ ...@@ -2,20 +2,19 @@
# Maintainer: Valery Kartel <valery.kartel@gmail.com> # Maintainer: Valery Kartel <valery.kartel@gmail.com>
pkgname=weston pkgname=weston
pkgver=10.0.1 pkgver=10.0.1
pkgrel=0 pkgrel=1
_libname=lib$pkgname _libname=lib$pkgname
_libdir=$_libname-${pkgver%%.*} _libdir=$_libname-${pkgver%%.*}
pkgdesc="The reference Wayland server" pkgdesc="The reference Wayland server"
url="https://wayland.freedesktop.org/" url="https://wayland.freedesktop.org/"
# riscv64 disabled due to missing rust in recursive dependency arch="all"
arch="all !s390x !ppc64le !riscv64"
license="MIT" license="MIT"
makedepends="wayland-protocols libxkbcommon-dev xkeyboard-config makedepends="wayland-protocols libxkbcommon-dev xkeyboard-config
libinput-dev libunwind-dev mtdev-dev libxcursor-dev glu-dev libinput-dev libunwind-dev mtdev-dev libxcursor-dev glu-dev
pango-dev colord-dev libwebp-dev libva-dev dbus-dev pango-dev colord-dev libwebp-dev libva-dev dbus-dev
linux-pam-dev wayland-dev libevdev-dev libjpeg-turbo-dev linux-pam-dev wayland-dev libevdev-dev libjpeg-turbo-dev
freerdp-dev lcms2-dev gstreamer-dev gst-plugins-base-dev meson freerdp-dev lcms2-dev gstreamer-dev gst-plugins-base-dev meson
elogind-dev elogind-dev pipewire-dev
" "
_cms="cms-colord cms-static" _cms="cms-colord cms-static"
_shell="shell-desktop shell-fullscreen shell-ivi" _shell="shell-desktop shell-fullscreen shell-ivi"
...@@ -31,15 +30,20 @@ subpackages="$pkgname-dev $pkgname-doc $subpackages ...@@ -31,15 +30,20 @@ subpackages="$pkgname-dev $pkgname-doc $subpackages
$pkgname-xwayland $pkgname-desktop-x11:_x11:noarch $pkgname-xwayland $pkgname-desktop-x11:_x11:noarch
" "
source="https://gitlab.freedesktop.org/wayland/weston/-/releases/$pkgver/downloads/weston-$pkgver.tar.xz" source="https://gitlab.freedesktop.org/wayland/weston/-/releases/$pkgver/downloads/weston-$pkgver.tar.xz"
# weston-launch requires suid options="!check"
options="!check suid"
install="$pkgname.pre-install" install="$pkgname.pre-install"
prepare() {
default_prepare
# dodge git version
git init .
}
build() { build() {
abuild-meson \ abuild-meson \
-Dlauncher-logind=true \ -Dlauncher-logind=true \
-Dsystemd=false \ -Dsystemd=false \
-Dpipewire=false \
build build
meson compile ${JOBS:+-j ${JOBS}} -C build meson compile ${JOBS:+-j ${JOBS}} -C build
} }
...@@ -47,11 +51,11 @@ build() { ...@@ -47,11 +51,11 @@ build() {
# Does not run through, see also: # Does not run through, see also:
# https://github.com/alpinelinux/aports/pull/1689 # https://github.com/alpinelinux/aports/pull/1689
check() { check() {
ninja -C "$builddir"/build test meson test -v --no-rebuild -C build
} }
package() { package() {
DESTDIR="$pkgdir" ninja -C "$builddir"/build install DESTDIR="$pkgdir" meson install --no-rebuild -C build
mkdir -p "$pkgdir"/usr/lib mkdir -p "$pkgdir"/usr/lib
mv "$pkgdir"/usr/share/pkgconfig/* "$pkgdir"/usr/lib/pkgconfig/ mv "$pkgdir"/usr/share/pkgconfig/* "$pkgdir"/usr/lib/pkgconfig/
......
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