2022-09-04 16:07:10 +00:00
|
|
|
# Forked from Alpine to add phone adaptivity patches
|
|
|
|
|
|
|
|
pkgname=gnome-shell-mobile
|
2024-07-28 11:18:53 +00:00
|
|
|
pkgver=46
|
2024-06-10 06:08:32 +00:00
|
|
|
pkgrel=0
|
2022-09-04 16:07:10 +00:00
|
|
|
pkgdesc="GNOME shell"
|
|
|
|
url="https://wiki.gnome.org/Projects/GnomeShell"
|
2024-05-25 13:57:41 +00:00
|
|
|
# gjs / riscv64: mutter-mobile
|
|
|
|
arch="all !armhf !s390x !riscv64"
|
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
|
2024-05-25 13:57:41 +00:00
|
|
|
desktop-file-utils
|
2022-09-04 16:07:10 +00:00
|
|
|
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
|
2024-07-28 11:18:53 +00:00
|
|
|
mutter-mobile>=46
|
2023-06-29 18:11:40 +00:00
|
|
|
networkmanager-common
|
2024-05-25 13:57:41 +00:00
|
|
|
tecla
|
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
|
2024-07-28 11:18:53 +00:00
|
|
|
mutter-mobile-dev>=46
|
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
|
2024-05-25 13:57:41 +00:00
|
|
|
tecla-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"
|
2024-05-25 13:57:41 +00:00
|
|
|
subpackages="
|
|
|
|
$pkgname-dbg
|
|
|
|
$pkgname-doc
|
|
|
|
$pkgname-lang
|
|
|
|
$pkgname-schemas::noarch
|
2024-05-27 08:28:24 +00:00
|
|
|
gnome-mobile-extensions-app:extensions_app:noarch
|
2024-05-25 13:57:41 +00:00
|
|
|
"
|
2024-07-28 11:18:53 +00:00
|
|
|
_commit="46-mobile-0"
|
|
|
|
_gvc_commit="91f3f41490666a526ed78af744507d7ee1134323"
|
|
|
|
source="gnome-shell-mobile-$_commit.tar.gz::https://gitlab.gnome.org/verdre/gnome-shell-mobile/-/archive/$_commit/gnome-shell-mobile-$_commit.tar.gz
|
|
|
|
libgnome-volume-control-$_gvc_commit.tar.gz::https://gitlab.gnome.org/GNOME/libgnome-volume-control/-/archive/$_gvc_commit/libgnome-volume-control-$_gvc_commit.tar.gz
|
2023-02-03 11:33:13 +00:00
|
|
|
gsh.patch"
|
2024-07-28 11:18:53 +00:00
|
|
|
builddir="$srcdir/gnome-shell-mobile-$_commit"
|
2022-09-04 16:07:10 +00:00
|
|
|
options="!check" # Tests have circular dependency 'gnome-shell <-> gdm'
|
2024-05-27 08:28:24 +00:00
|
|
|
# To make sure pmb_recommends installs the correct one
|
|
|
|
_pmb_recommends="gnome-mobile-extensions-app"
|
2022-09-04 16:07:10 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
2024-05-25 13:57:41 +00:00
|
|
|
extensions_app() {
|
|
|
|
provides="gnome-extensions-app=$pkgver-r$pkgrel"
|
|
|
|
pkgdesc="Manage GNOME Shell extensions"
|
|
|
|
depends="gnome-shell-mobile libadwaita"
|
|
|
|
replaces="gnome-shell-mobile"
|
|
|
|
|
|
|
|
amove usr/bin/gnome-extensions-app
|
|
|
|
amove usr/share/applications/org.gnome.Shell.Extensions.desktop
|
|
|
|
amove usr/share/gnome-shell/org.gnome.Extensions
|
|
|
|
amove usr/share/gnome-shell/org.gnome.Extensions.data.gresource
|
|
|
|
amove usr/share/gnome-shell/org.gnome.Extensions.src.gresource
|
|
|
|
}
|
|
|
|
|
2022-09-04 16:07:10 +00:00
|
|
|
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="
|
2024-07-28 11:18:53 +00:00
|
|
|
56ab61732f7d477af37347f2c1e5070ed4eab6b1e020f94014fdaf2e3c1d002d43830d28ff8227a9332b5f3be82eed9901fee4afce10c0c40e5e3fbff3d2e6b8 gnome-shell-mobile-46-mobile-0.tar.gz
|
|
|
|
c832e99bc56ae586734d468e4e1a17f107acc76076d07ba45c46359ba751d1e6abe6108e43730fdf1dd18153cfa9f374e3e81118ae4902f0974d5b5f54f8276b libgnome-volume-control-91f3f41490666a526ed78af744507d7ee1134323.tar.gz
|
|
|
|
ae4ac679bacd35948b44068e5a70407f473bd96986ee126abb1bdf066db5cbc2087a3ffae0b390286689cacbe8325870fd43663ba39f4f7543216e02bf083934 gsh.patch
|
2022-09-04 16:07:10 +00:00
|
|
|
"
|