mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
testing/phosh: new aport
This commit is contained in:
parent
2565a35b68
commit
f6d4ac39e8
49
testing/phosh/APKBUILD
Normal file
49
testing/phosh/APKBUILD
Normal file
@ -0,0 +1,49 @@
|
||||
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
||||
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
|
||||
pkgname=phosh
|
||||
pkgver=0.1.6
|
||||
pkgrel=0
|
||||
pkgdesc="A shell PoC for the Librem5"
|
||||
# Blocked on s390x by gnome-session, gnome-settings-daemon, squeekboard and libhandy
|
||||
# Blocked on ppc64le by gnome-session
|
||||
arch="all !s390x !ppc64le"
|
||||
url="https://source.puri.sm/Librem5/phosh"
|
||||
license="GPL-3.0-only"
|
||||
depends="wayland-protocols phoc gnome-session bash dbus-x11 gnome-settings-daemon squeekboard libpulse"
|
||||
makedepends="gtk+3.0-dev meson ninja gnome-desktop-dev libhandy-dev gcr-dev upower-dev linux-pam-dev git cmake pulseaudio-dev networkmanager-dev polkit-elogind-dev libsecret-dev"
|
||||
subpackages="$pkgname-lang"
|
||||
source="
|
||||
$pkgname-$pkgver.tar.xz::https://repo.pureos.net/pureos/pool/main/p/phosh/phosh_$pkgver.tar.xz
|
||||
phosh.desktop
|
||||
sm.puri.OSK0.desktop"
|
||||
options="!check" # Needs a running Wayland compositor
|
||||
builddir="$srcdir/$pkgname"
|
||||
|
||||
build() {
|
||||
meson \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--mandir=/usr/share/man \
|
||||
--localstatedir=/var \
|
||||
--buildtype=release \
|
||||
. output
|
||||
ninja -C output
|
||||
}
|
||||
|
||||
check() {
|
||||
ninja test -C output
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir/" ninja install -C output
|
||||
|
||||
install -D -m644 "$srcdir"/phosh.desktop \
|
||||
"$pkgdir"/usr/share/wayland-sessions/phosh.desktop
|
||||
|
||||
install -D -m644 "$srcdir"/sm.puri.OSK0.desktop \
|
||||
"$pkgdir"/usr/share/applications/sm.puri.OSK0.desktop
|
||||
|
||||
}
|
||||
sha512sums="3599ef565cda1396a6b9940d88b9b5fd80c626104594d02cfd20fb60098bdc38484caa95b600439325b9c3155b79d752ea11439aa1e7ccd909563f308461761d phosh-0.1.6.tar.xz
|
||||
6644870edbbbc6b88d6e19f7771d81dba1a11066c2b34e4c22736db73a2dfd0d4909b4967503059c35385c5139a834a5c06a3c56b148ba1275d7f089c0c5f33c phosh.desktop
|
||||
f97019598323276cf97ae62f04b6245983198e04b228ddc605835ee46845d9b88c6890fb86e97e4bb6f1ad73361437d9ed18c91e81fe1284a88cdcb92d3fdc69 sm.puri.OSK0.desktop"
|
||||
11
testing/phosh/phosh.desktop
Normal file
11
testing/phosh/phosh.desktop
Normal file
@ -0,0 +1,11 @@
|
||||
[Desktop Entry]
|
||||
Name=Phosh
|
||||
Name[en]=Phosh
|
||||
Comment=This session logs you into Phosh
|
||||
Comment[en]=This session logs in you into Phosh
|
||||
Exec=dbus-run-session /usr/bin/phosh
|
||||
TryExec=/usr/bin/phosh
|
||||
Icon=
|
||||
Type=Application
|
||||
X-DesktopNames=Phosh
|
||||
Keywords=launch;Phosh;desktop;session;
|
||||
12
testing/phosh/sm.puri.OSK0.desktop
Normal file
12
testing/phosh/sm.puri.OSK0.desktop
Normal file
@ -0,0 +1,12 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=On-screen keyboard
|
||||
Comment=Default on-screen keyboard
|
||||
Exec=/usr/bin/osk-wayland
|
||||
Categories=GNOME;Core;
|
||||
OnlyShowIn=GNOME;
|
||||
NoDisplay=true
|
||||
X-GNOME-Autostart-Phase=Panel
|
||||
X-GNOME-Provides=inputmethod
|
||||
X-GNOME-Autostart-Notify=true
|
||||
X-GNOME-AutoRestart=true
|
||||
Loading…
x
Reference in New Issue
Block a user