systemd/phosh: remove
systemd split func got added in Alpine with <https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/93135>. Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7387>
This commit is contained in:
parent
97e0b9644a
commit
3ae47735b5
2 changed files with 0 additions and 124 deletions
|
|
@ -1,115 +0,0 @@
|
|||
# Forked from Alpine for systemd split func
|
||||
# Maintainer: Achill Gilgenast <achill@achill.org>
|
||||
pkgname=phosh
|
||||
_pkgver=0.50.1
|
||||
pkgver=9999$_pkgver
|
||||
pkgrel=0
|
||||
pkgdesc="Wayland shell for GNOME on mobile devices"
|
||||
# armhf, s390x: blocked by gnome-shell-schemas and pmb#2618
|
||||
arch="all !armhf !s390x"
|
||||
url="https://gitlab.gnome.org/World/Phosh/phosh"
|
||||
license="GPL-3.0-only"
|
||||
triggers="$pkgname.trigger=/usr/lib/phosh/plugins/prefs"
|
||||
depends="
|
||||
adwaita-fonts
|
||||
adwaita-icon-theme
|
||||
bash
|
||||
dbus-x11
|
||||
dbus:org.freedesktop.Secrets
|
||||
desktop-file-utils
|
||||
gnome-control-center
|
||||
gnome-session
|
||||
gnome-settings-daemon
|
||||
gnome-shell-schemas
|
||||
gsettings-desktop-schemas
|
||||
phoc
|
||||
phosh-keyboard
|
||||
xwayland
|
||||
"
|
||||
makedepends="
|
||||
callaudiod-dev
|
||||
systemd-dev
|
||||
evince-dev
|
||||
evolution-data-server-dev
|
||||
feedbackd-dev
|
||||
gcr-dev
|
||||
gettext-dev
|
||||
glib-dev
|
||||
gmobile-dev
|
||||
gnome-bluetooth-dev
|
||||
gnome-desktop-dev
|
||||
gtk+3.0-dev
|
||||
libadwaita-dev
|
||||
libgudev-dev
|
||||
libhandy1-dev
|
||||
libsecret-dev
|
||||
linux-pam-dev
|
||||
meson
|
||||
modemmanager-dev
|
||||
networkmanager-dev
|
||||
polkit-dev
|
||||
pulseaudio-dev
|
||||
py3-docutils
|
||||
upower-dev
|
||||
wayland-dev
|
||||
wayland-protocols
|
||||
"
|
||||
checkdepends="xvfb-run xmlstarlet"
|
||||
# the ordering here is important - libphosh split functions need to run first to move the libphosh-0
|
||||
# headers/pkgconfig/lib into the libphosh packages, before the top level -dev package gobbles
|
||||
# up the rest.
|
||||
subpackages="
|
||||
libphosh:libs
|
||||
libphosh-dev:libphosh_dev
|
||||
$pkgname-dbg
|
||||
$pkgname-lang
|
||||
$pkgname-dev
|
||||
$pkgname-doc
|
||||
$pkgname-portalsconf
|
||||
$pkgname-systemd
|
||||
"
|
||||
source="https://sources.phosh.mobi/releases/phosh/phosh-${_pkgver/_/.}.tar.xz"
|
||||
builddir="$srcdir/$pkgname-${_pkgver/_/.}"
|
||||
# TODO: crossdirect disabled due to armv7 crosscompile failure on x86_64, see
|
||||
# https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/2820
|
||||
options="!check !pmb:crossdirect" # "/var/lib/dbus/machine-id": No such file or directory
|
||||
somask="libphoshsearch.so"
|
||||
|
||||
prepare() {
|
||||
default_prepare
|
||||
sed -i 's/\.rc/_rc/' meson.build
|
||||
}
|
||||
|
||||
build() {
|
||||
# phoc tests need a running Wayland compositor
|
||||
abuild-meson \
|
||||
-Db_lto=true \
|
||||
-Dphoc_tests=disabled \
|
||||
-Dman=true \
|
||||
-Dbindings-lib=true \
|
||||
. output
|
||||
meson compile -C output
|
||||
}
|
||||
|
||||
check() {
|
||||
xvfb-run -a meson test --print-errorlogs -C output
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir/" meson install --no-rebuild --skip-subprojects -C output
|
||||
}
|
||||
|
||||
portalsconf() {
|
||||
install_if="$pkgname=$pkgver-r$pkgrel xdg-desktop-portal>=1.17.1"
|
||||
amove usr/share/xdg-desktop-portal/phosh-portals.conf
|
||||
}
|
||||
|
||||
libphosh_dev() {
|
||||
amove usr/include/libphosh-*
|
||||
amove usr/lib/libphosh-*.so
|
||||
amove usr/lib/pkgconfig/libphosh-*.pc
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
d9b4d05ecc7d287d75d514e1dc78e308d0e551486cb38e95ab645615469d1a84c5bd1ec2d98a5501f0f97eef0385aa82d96393bad4bd01e7cf7508c014b7af40 phosh-0.50.1.tar.xz
|
||||
"
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
for i in "$@"; do
|
||||
if ! [ -e "$i" ]; then
|
||||
continue
|
||||
fi
|
||||
/usr/bin/gio-querymodules "$i"
|
||||
done
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue