aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpsykose <alice@ayaya.dev>2022-09-22 21:38:11 +0000
committeralice <alice@ayaya.dev>2022-09-22 21:52:29 +0000
commitb1fc6167b5e06caaf8aed8ac96b0f465e542e773 (patch)
treecf473e539a3b1b4d96d45c2df82c7536a932394a
parent646e5dedfd4e381a6067f44baa5fc3be6f6dd984 (diff)
downloadaports-b1fc6167b5e06caaf8aed8ac96b0f465e542e773.tar.gz
aports-b1fc6167b5e06caaf8aed8ac96b0f465e542e773.tar.bz2
aports-b1fc6167b5e06caaf8aed8ac96b0f465e542e773.tar.xz
community/weston: upgrade to 11.0.0
-rw-r--r--community/weston/APKBUILD65
1 files changed, 39 insertions, 26 deletions
diff --git a/community/weston/APKBUILD b/community/weston/APKBUILD
index cdee9f96cf..061cd32ab0 100644
--- a/community/weston/APKBUILD
+++ b/community/weston/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Valery Kartel <valery.kartel@gmail.com>
pkgname=weston
-pkgver=10.0.2
+pkgver=11.0.0
pkgrel=0
_libname=lib$pkgname
_libdir=$_libname-${pkgver%%.*}
@@ -9,25 +9,49 @@ pkgdesc="The reference Wayland server"
url="https://wayland.freedesktop.org/"
arch="all"
license="MIT"
-makedepends="wayland-protocols libxkbcommon-dev xkeyboard-config
- libinput-dev libunwind-dev mtdev-dev libxcursor-dev glu-dev
- pango-dev colord-dev libwebp-dev libva-dev dbus-dev
- linux-pam-dev wayland-dev libevdev-dev libjpeg-turbo-dev
- freerdp-dev lcms2-dev gstreamer-dev gst-plugins-base-dev meson
- elogind-dev pipewire-dev
+makedepends="
+ colord-dev
+ dbus-dev
+ elogind-dev
+ freerdp-dev
+ glu-dev
+ gst-plugins-base-dev
+ gstreamer-dev
+ lcms2-dev
+ libevdev-dev
+ libinput-dev
+ libjpeg-turbo-dev
+ libunwind-dev
+ libva-dev
+ libwebp-dev
+ libxcursor-dev
+ libxkbcommon-dev
+ linux-pam-dev
+ meson
+ mtdev-dev
+ pango-dev
+ pipewire-dev
+ libseat-dev
+ wayland-dev
+ wayland-protocols
+ xkeyboard-config
"
-_cms="cms-colord cms-static"
_shell="shell-desktop shell-fullscreen shell-ivi"
-_client="info terminal wcap-decode"
+_client="terminal wcap-decode"
_backend="backend-drm backend-headless
backend-x11 backend-wayland backend-rdp
"
-for _sub in $_cms $_shell $_client $_backend; do
+for _sub in $_shell $_client $_backend; do
subpackages="$subpackages $pkgname-$_sub:_sub"
done
-subpackages="$pkgname-dev $pkgname-doc $subpackages
- $pkgname-clients $_libname-desktop:_libd $_libname:libs
- $pkgname-xwayland $pkgname-desktop-x11:_x11:noarch
+subpackages="
+ $pkgname-dev
+ $pkgname-doc
+ $subpackages
+ $pkgname-clients
+ $_libname:libs
+ $pkgname-xwayland
+ $pkgname-desktop-x11:_x11:noarch
"
source="https://gitlab.freedesktop.org/wayland/weston/-/releases/$pkgver/downloads/weston-$pkgver.tar.xz"
options="!check"
@@ -42,6 +66,7 @@ prepare() {
build() {
abuild-meson \
+ -Db_lto=true \
-Dlauncher-logind=true \
-Dsystemd=false \
build
@@ -66,12 +91,6 @@ libs() {
default_libs
}
-_libd() {
- pkgdesc="Desktop shells abstraction library for libweston compositors"
- mkdir -p "$subpkgdir"/usr/lib
- mv "$pkgdir"/usr/lib/*desktop* "$subpkgdir"/usr/lib
-}
-
clients() {
pkgdesc="Weston example clients"
mkdir -p "$subpkgdir"/usr/bin
@@ -95,12 +114,6 @@ _x11() {
_sub() {
local name path
case $subpkgname in
- *-cms-*)
- name=${subpkgname#$pkgname-cms-}
- path=/usr/lib/$pkgname
- pkgdesc="Weston CMS module: $name"
- name=cms-$name.so
- ;;
*-shell-*)
name=${subpkgname#$pkgname-shell-}
path=/usr/lib/$pkgname
@@ -126,5 +139,5 @@ _sub() {
}
sha512sums="
-1b9e9162bd13c2424c8c495274be406cdd5a5ea7f5901b5c5f87b46cca546e73e98bc4b55af17445e60c9544b34022bf9f9a915fc5133c50f607d376b064f2ff weston-10.0.2.tar.xz
+71554dc870e9c6832fdfb8f0e8dbcd7ad01c3827041c2f7fe4b7679df33b242fd00e7f0c8728d1aeecc648f8296a9d3fc502a66c91ec662f03086d9a28aab3ea weston-11.0.0.tar.xz
"