1
0
Fork 0

Sync to gnome-44

Signed-off-by: Mingi Sung <fiestalake@disroot.org>
This commit is contained in:
Mingi Sung 2023-05-02 19:55:05 +09:00
parent 5e1a40ef41
commit 2544677e3d
No known key found for this signature in database
GPG key ID: 31A419BE9238EC9D
2 changed files with 19 additions and 17 deletions

View file

@ -1,7 +1,7 @@
pkgbase = gnome-shell-performance
pkgdesc = Next generation desktop shell | Attempts to improve performances with non-upstreamed merge-requests and frequent stable branch resync
pkgver = 43.4
pkgrel = 2
pkgver = 44.1
pkgrel = 1
epoch = 1
url = https://wiki.gnome.org/Projects/GnomeShell
arch = x86_64
@ -42,10 +42,10 @@ pkgbase = gnome-shell-performance
optdepends = gst-plugin-pipewire: Screen recording
optdepends = gnome-bluetooth-3.0: Bluetooth support
provides = gnome-shell
provides = gnome-shell=43.4
provides = gnome-shell=1:43.4
provides = gnome-shell=44.1
provides = gnome-shell=1:44.1
conflicts = gnome-shell
source = git+https://gitlab.gnome.org/GNOME/gnome-shell.git#commit=83c44abe0084b6ea617f1f90de5d60c4ed30b965
source = git+https://gitlab.gnome.org/GNOME/gnome-shell.git#commit=b0ca64e7775225b7c5d049571a44ef40bf516406
source = git+https://gitlab.gnome.org/GNOME/libgnome-volume-control.git
sha256sums = SKIP
sha256sums = SKIP
@ -71,4 +71,4 @@ pkgname = gnome-shell-performance
depends = gnome-disk-utility
depends = libsoup3
depends = libgweather-4
depends = libmutter-11.so
depends = libmutter-12.so

View file

@ -22,8 +22,8 @@ _merge_requests_to_use=()
pkgname=gnome-shell-performance
_pkgname=gnome-shell
pkgver=43.4
pkgrel=2
pkgver=44.1
pkgrel=1
epoch=1
pkgdesc="Next generation desktop shell | Attempts to improve performances with non-upstreamed merge-requests and frequent stable branch resync"
url="https://wiki.gnome.org/Projects/GnomeShell"
@ -36,7 +36,7 @@ depends=(accountsservice gcr-4 gjs upower gnome-session gtk4
makedepends=(gtk-doc gnome-control-center evolution-data-server
gobject-introspection git meson sassc asciidoc bash-completion)
if [ -n "$_enable_check" ]; then
checkdepends=(xorg-server-xvfb)
checkdepends=(xorg-server-xvfb python-dbusmock xorg-server-xvfb)
fi
optdepends=('gnome-control-center: System settings'
'evolution-data-server: Evolution calendar integration'
@ -46,7 +46,7 @@ optdepends=('gnome-control-center: System settings'
groups=(gnome)
provides=(gnome-shell gnome-shell=$pkgver gnome-shell=$epoch:$pkgver)
conflicts=(gnome-shell)
_commit=83c44abe0084b6ea617f1f90de5d60c4ed30b965 # tags/43.4^0
_commit=b0ca64e7775225b7c5d049571a44ef40bf516406 # tags/44.1^0
source=("git+https://gitlab.gnome.org/GNOME/gnome-shell.git#commit=$_commit"
"git+https://gitlab.gnome.org/GNOME/libgnome-volume-control.git")
sha256sums=('SKIP'
@ -130,21 +130,23 @@ prepare() {
}
build() {
local meson_options=(
-D gtk_doc=true
-D tests=$(if [ -n "$_enable_check" ]; then echo "true"; else echo "false"; fi)
)
CFLAGS="${CFLAGS/-O2/-O3} -fno-semantic-interposition"
LDFLAGS+=" -Wl,-Bsymbolic-functions"
arch-meson $_pkgname build \
-D gtk_doc=true \
-D tests=$(if [ -n "$_enable_check" ]; then echo "true"; else echo "false"; fi)
arch-meson $_pkgname build "${meson_options[@]}"
meson compile -C build
}
_check() (
mkdir -p -m 700 "${XDG_RUNTIME_DIR:=$PWD/runtime-dir}"
mkdir -p -m 700 "${XDG_RUNTIME_DIR:=$PWD/rdir}"
export XDG_RUNTIME_DIR
meson test -C build --print-errorlogs
meson test -C build --print-errorlogs -t 3
)
if [ -n "$_enable_check" ]; then
@ -155,7 +157,7 @@ if [ -n "$_enable_check" ]; then
fi
package() {
depends+=(libmutter-11.so)
depends+=(libmutter-12.so)
install=gnome-shell.install
meson install -C build --destdir "$pkgdir"
}