2022-09-04 16:07:10 +00:00
|
|
|
# Forked from Alpine to add phone adaptivity patches
|
|
|
|
|
|
|
|
pkgname=gnome-shell-mobile
|
2023-09-04 20:18:58 +00:00
|
|
|
pkgver=45_git20230908
|
|
|
|
pkgrel=0
|
2022-09-04 16:07:10 +00:00
|
|
|
pkgdesc="GNOME shell"
|
|
|
|
url="https://wiki.gnome.org/Projects/GnomeShell"
|
2022-10-26 18:27:39 +00:00
|
|
|
arch="all !armhf !s390x !riscv64" # gjs / riscv64: mutter-mobile
|
2022-09-04 16:07:10 +00:00
|
|
|
license="GPL-2.0-or-later"
|
|
|
|
depends="
|
|
|
|
accountsservice
|
2023-06-29 18:11:40 +00:00
|
|
|
adwaita-icon-theme
|
2022-09-04 16:07:10 +00:00
|
|
|
caribou
|
|
|
|
elogind
|
2023-06-29 18:11:40 +00:00
|
|
|
font-adobe-source-code-pro
|
|
|
|
font-cantarell
|
|
|
|
gnome-bluetooth
|
|
|
|
gnome-control-center
|
|
|
|
gnome-shell-mobile-schemas
|
2022-09-04 16:07:10 +00:00
|
|
|
gsettings-desktop-schemas
|
2023-06-29 18:11:40 +00:00
|
|
|
gst-plugin-pipewire
|
2022-09-04 16:07:10 +00:00
|
|
|
gst-plugins-good
|
2023-06-29 18:11:40 +00:00
|
|
|
gstreamer
|
2022-09-04 16:07:10 +00:00
|
|
|
ibus
|
|
|
|
librsvg
|
2023-06-29 18:11:40 +00:00
|
|
|
networkmanager-common
|
2022-09-04 16:07:10 +00:00
|
|
|
unzip
|
2023-06-29 18:11:40 +00:00
|
|
|
upower
|
2022-09-04 16:07:10 +00:00
|
|
|
"
|
|
|
|
makedepends="
|
2023-06-29 18:11:40 +00:00
|
|
|
asciidoc
|
|
|
|
elogind-dev
|
|
|
|
evolution-data-server-dev evolution-dev
|
2022-09-04 16:07:10 +00:00
|
|
|
gcr4-dev
|
|
|
|
gjs-dev>=1.64.0
|
2023-06-29 18:11:40 +00:00
|
|
|
gnome-autoar-dev
|
|
|
|
gnome-bluetooth-dev
|
|
|
|
gnome-control-center-dev
|
|
|
|
gnome-desktop-dev>=3.35.91
|
|
|
|
gobject-introspection-dev
|
|
|
|
gstreamer-dev
|
|
|
|
ibus-dev
|
|
|
|
libcanberra-dev
|
|
|
|
libnma-dev
|
|
|
|
libxml2-dev
|
|
|
|
libxml2-utils
|
|
|
|
meson
|
2023-09-04 20:18:58 +00:00
|
|
|
mutter-mobile-dev>=45_git20230905
|
2023-06-29 18:11:40 +00:00
|
|
|
networkmanager-dev
|
|
|
|
pipewire-dev
|
|
|
|
polkit-dev
|
2022-09-04 16:07:10 +00:00
|
|
|
pulseaudio-dev
|
2023-06-29 18:11:40 +00:00
|
|
|
py3-setuptools
|
2022-09-04 16:07:10 +00:00
|
|
|
python3
|
|
|
|
sassc
|
2023-06-29 18:11:40 +00:00
|
|
|
startup-notification-dev
|
2022-09-04 16:07:10 +00:00
|
|
|
"
|
|
|
|
checkdepends="
|
|
|
|
xvfb-run
|
|
|
|
mesa-dri-gallium
|
|
|
|
"
|
|
|
|
# gdm is also needed but introduces circular dep
|
|
|
|
provides="gnome-shell=$pkgver-r$pkgrel"
|
|
|
|
subpackages="$pkgname-dbg $pkgname-doc $pkgname-lang $pkgname-schemas::noarch"
|
2023-09-04 20:18:58 +00:00
|
|
|
_commit="df3f6b4c512d2f181e86ff7f6b1646ce7b907344"
|
2022-09-04 16:07:10 +00:00
|
|
|
_gvc_commit="8e7a5a4c3e51007ce6579292642517e3d3eb9c50"
|
2023-09-04 20:18:58 +00:00
|
|
|
source="mobile-shell-$_commit.tar.gz::https://gitlab.gnome.org/verdre/mobile-shell/-/archive/$_commit/mobile-shell-$_commit.tar.gz
|
2022-09-04 16:07:10 +00:00
|
|
|
libgnome-volume-control-$_gvc_commit.tar.gz::https://gitlab.gnome.org/GNOME/libgnome-volume-control/-/archive/$_gvc_commit/gnome-shell-$_gvc_commit.tar.gz
|
2023-02-03 11:33:13 +00:00
|
|
|
disable-telepathy-integration.patch
|
|
|
|
gsh.patch"
|
2023-09-04 20:18:58 +00:00
|
|
|
builddir="$srcdir/mobile-shell-$_commit"
|
2022-09-04 16:07:10 +00:00
|
|
|
options="!check" # Tests have circular dependency 'gnome-shell <-> gdm'
|
|
|
|
|
|
|
|
# secfixes:
|
|
|
|
# 0:
|
|
|
|
# - CVE-2019-3820
|
|
|
|
|
|
|
|
prepare() {
|
2023-02-03 11:33:13 +00:00
|
|
|
default_prepare
|
2022-09-04 16:07:10 +00:00
|
|
|
rm -rf "$builddir/subprojects/gvc"
|
|
|
|
mv "$srcdir/libgnome-volume-control-$_gvc_commit" $builddir/subprojects/gvc
|
2023-05-26 07:07:10 +00:00
|
|
|
|
|
|
|
sed -i "s/mutter_api_version = '.*'/mutter_api_version = '99'/g" meson.build
|
2022-09-04 16:07:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
abuild-meson \
|
|
|
|
-Dsystemd=false \
|
|
|
|
-Dtests=false \
|
|
|
|
. output
|
|
|
|
meson compile ${JOBS:+-j ${JOBS}} -C output
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
xvfb-run meson test --no-rebuild -v -C output
|
|
|
|
}
|
|
|
|
|
|
|
|
schemas() {
|
|
|
|
pkgdesc="GNOME Shell gsetting schemas"
|
|
|
|
depends=""
|
|
|
|
provides="gnome-shell-schemas=$pkgver-r$pkgrel"
|
|
|
|
|
|
|
|
amove usr/share/glib-2.0/schemas
|
|
|
|
amove usr/share/gnome-control-center/keybindings
|
|
|
|
}
|
|
|
|
|
|
|
|
lang() {
|
|
|
|
default_lang
|
|
|
|
provides="gnome-shell-lang=$pkgver-r$pkgrel"
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
|
|
|
|
|
|
# owned by postmarketos-hidden-desktop-entries
|
|
|
|
rm $pkgdir/usr/share/applications/org.gnome.Extensions.desktop
|
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
2023-09-04 20:18:58 +00:00
|
|
|
f7445d29006496865f9ea9d70efd1e2f1be1886b97bdd09bb5b000db6b576200d076178050527e920837dc416b1803851cb7d33e8024fc99acecdcc4c73816dd mobile-shell-df3f6b4c512d2f181e86ff7f6b1646ce7b907344.tar.gz
|
2022-09-04 16:07:10 +00:00
|
|
|
ebc6985afbda5ddebcda44d8b6732a9abc2d7249aff3adf7a76a90aa681590f830dcf2e5f3534a624adc32d1f0445e261ee149d65c221f733e0c33e0690a004d libgnome-volume-control-8e7a5a4c3e51007ce6579292642517e3d3eb9c50.tar.gz
|
|
|
|
2ca70115fab957fdf276b7f0772786e1afd56b0b22bcfd92f5b5f1d29676dc97c19cfb079434d0dbf7b459f1d133dbd8d1faa0d88f7b94846040a23856f951f8 disable-telepathy-integration.patch
|
2023-02-03 11:33:13 +00:00
|
|
|
dba79b94ab4bcf0db51aa4a19c5fb52f9dae05909fe13531fe9dc06d9db334ac3328bd4040484eac8ef851057ee471a28d86800aa2ae82eec7274f5f79b9146a gsh.patch
|
2022-09-04 16:07:10 +00:00
|
|
|
"
|