Sync to gnome-44
Signed-off-by: Mingi Sung <fiestalake@disroot.org>
This commit is contained in:
parent
5e1a40ef41
commit
2544677e3d
2 changed files with 19 additions and 17 deletions
12
.SRCINFO
12
.SRCINFO
|
@ -1,7 +1,7 @@
|
||||||
pkgbase = gnome-shell-performance
|
pkgbase = gnome-shell-performance
|
||||||
pkgdesc = Next generation desktop shell | Attempts to improve performances with non-upstreamed merge-requests and frequent stable branch resync
|
pkgdesc = Next generation desktop shell | Attempts to improve performances with non-upstreamed merge-requests and frequent stable branch resync
|
||||||
pkgver = 43.4
|
pkgver = 44.1
|
||||||
pkgrel = 2
|
pkgrel = 1
|
||||||
epoch = 1
|
epoch = 1
|
||||||
url = https://wiki.gnome.org/Projects/GnomeShell
|
url = https://wiki.gnome.org/Projects/GnomeShell
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
|
@ -42,10 +42,10 @@ pkgbase = gnome-shell-performance
|
||||||
optdepends = gst-plugin-pipewire: Screen recording
|
optdepends = gst-plugin-pipewire: Screen recording
|
||||||
optdepends = gnome-bluetooth-3.0: Bluetooth support
|
optdepends = gnome-bluetooth-3.0: Bluetooth support
|
||||||
provides = gnome-shell
|
provides = gnome-shell
|
||||||
provides = gnome-shell=43.4
|
provides = gnome-shell=44.1
|
||||||
provides = gnome-shell=1:43.4
|
provides = gnome-shell=1:44.1
|
||||||
conflicts = gnome-shell
|
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
|
source = git+https://gitlab.gnome.org/GNOME/libgnome-volume-control.git
|
||||||
sha256sums = SKIP
|
sha256sums = SKIP
|
||||||
sha256sums = SKIP
|
sha256sums = SKIP
|
||||||
|
@ -71,4 +71,4 @@ pkgname = gnome-shell-performance
|
||||||
depends = gnome-disk-utility
|
depends = gnome-disk-utility
|
||||||
depends = libsoup3
|
depends = libsoup3
|
||||||
depends = libgweather-4
|
depends = libgweather-4
|
||||||
depends = libmutter-11.so
|
depends = libmutter-12.so
|
||||||
|
|
24
PKGBUILD
24
PKGBUILD
|
@ -22,8 +22,8 @@ _merge_requests_to_use=()
|
||||||
|
|
||||||
pkgname=gnome-shell-performance
|
pkgname=gnome-shell-performance
|
||||||
_pkgname=gnome-shell
|
_pkgname=gnome-shell
|
||||||
pkgver=43.4
|
pkgver=44.1
|
||||||
pkgrel=2
|
pkgrel=1
|
||||||
epoch=1
|
epoch=1
|
||||||
pkgdesc="Next generation desktop shell | Attempts to improve performances with non-upstreamed merge-requests and frequent stable branch resync"
|
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"
|
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
|
makedepends=(gtk-doc gnome-control-center evolution-data-server
|
||||||
gobject-introspection git meson sassc asciidoc bash-completion)
|
gobject-introspection git meson sassc asciidoc bash-completion)
|
||||||
if [ -n "$_enable_check" ]; then
|
if [ -n "$_enable_check" ]; then
|
||||||
checkdepends=(xorg-server-xvfb)
|
checkdepends=(xorg-server-xvfb python-dbusmock xorg-server-xvfb)
|
||||||
fi
|
fi
|
||||||
optdepends=('gnome-control-center: System settings'
|
optdepends=('gnome-control-center: System settings'
|
||||||
'evolution-data-server: Evolution calendar integration'
|
'evolution-data-server: Evolution calendar integration'
|
||||||
|
@ -46,7 +46,7 @@ optdepends=('gnome-control-center: System settings'
|
||||||
groups=(gnome)
|
groups=(gnome)
|
||||||
provides=(gnome-shell gnome-shell=$pkgver gnome-shell=$epoch:$pkgver)
|
provides=(gnome-shell gnome-shell=$pkgver gnome-shell=$epoch:$pkgver)
|
||||||
conflicts=(gnome-shell)
|
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"
|
source=("git+https://gitlab.gnome.org/GNOME/gnome-shell.git#commit=$_commit"
|
||||||
"git+https://gitlab.gnome.org/GNOME/libgnome-volume-control.git")
|
"git+https://gitlab.gnome.org/GNOME/libgnome-volume-control.git")
|
||||||
sha256sums=('SKIP'
|
sha256sums=('SKIP'
|
||||||
|
@ -130,21 +130,23 @@ prepare() {
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
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"
|
CFLAGS="${CFLAGS/-O2/-O3} -fno-semantic-interposition"
|
||||||
LDFLAGS+=" -Wl,-Bsymbolic-functions"
|
LDFLAGS+=" -Wl,-Bsymbolic-functions"
|
||||||
|
|
||||||
arch-meson $_pkgname build \
|
arch-meson $_pkgname build "${meson_options[@]}"
|
||||||
-D gtk_doc=true \
|
|
||||||
-D tests=$(if [ -n "$_enable_check" ]; then echo "true"; else echo "false"; fi)
|
|
||||||
|
|
||||||
meson compile -C build
|
meson compile -C build
|
||||||
}
|
}
|
||||||
|
|
||||||
_check() (
|
_check() (
|
||||||
mkdir -p -m 700 "${XDG_RUNTIME_DIR:=$PWD/runtime-dir}"
|
mkdir -p -m 700 "${XDG_RUNTIME_DIR:=$PWD/rdir}"
|
||||||
export XDG_RUNTIME_DIR
|
export XDG_RUNTIME_DIR
|
||||||
|
|
||||||
meson test -C build --print-errorlogs
|
meson test -C build --print-errorlogs -t 3
|
||||||
)
|
)
|
||||||
|
|
||||||
if [ -n "$_enable_check" ]; then
|
if [ -n "$_enable_check" ]; then
|
||||||
|
@ -155,7 +157,7 @@ if [ -n "$_enable_check" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
depends+=(libmutter-11.so)
|
depends+=(libmutter-12.so)
|
||||||
install=gnome-shell.install
|
install=gnome-shell.install
|
||||||
meson install -C build --destdir "$pkgdir"
|
meson install -C build --destdir "$pkgdir"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue