main/postmarketos-ui-sxmo: fix build issue with a fallback to one single package

This commit is contained in:
Stacy Harper 2021-11-12 20:58:37 +01:00
parent a8e61ecd59
commit 7bf9401273
No known key found for this signature in database
GPG key ID: EABA44759877E02A
5 changed files with 52 additions and 94 deletions

View file

@ -1,8 +1,8 @@
# Maintainer: Miles Alan <m@milesalan.com>
pkgname=postmarketos-ui-sxmo
pkgver=1.6.0
pkgrel=2
pkgdesc="Simple Mobile: Core package to build custom SXMO desktops environments"
pkgrel=3
pkgdesc="Simple Mobile: Mobile environment based on SXMO"
url="http://sr.ht/~mil/Sxmo"
arch="noarch !armhf"
license="MIT"
@ -42,7 +42,43 @@ depends="
vis
youtube-dl
postmarketos-ui-sxmo-de
autocutsel
conky
svkbd
sxiv
sxmo-dmenu
sxmo-dwm
sxmo-st
unclutter-xfixes
xcalib
xclip
xdotool
xdpyinfo
xinput
xprintidle
xprop
xrandr
xrdb
xsel
xset
xsetroot
xwininfo
foot
grim
mako
seatd
seatd-openrc
slurp
swaybg
swayidle
sxmo-bemenu
sxmo-sway
wayout
wl-clipboard
wtype
wvkbd
xwayland
"
install="$pkgname.post-install $pkgname.post-upgrade $pkgname.pre-deinstall"
_pmb_groups="
@ -51,8 +87,17 @@ _pmb_groups="
_pmb_recommends="
w3m
sfeed
clickclack
firefox-esr
font-noto
font-noto-emoji
gnome-icon-theme
imv
megapixels
mobile-config-firefox
"
subpackages="$pkgname-qt_tweaks $pkgname-bluetooth $pkgname-dwm $pkgname-sway"
subpackages="$pkgname-qt_tweaks $pkgname-bluetooth"
source="
sxmo-qt-mobile-controls.sh
postmarketos.conf
@ -84,85 +129,6 @@ bluetooth() {
install="$subpkgname.post-install $subpkgname.pre-deinstall"
}
dwm() {
pkgdesc="Simple Mobile: Mobile environment based on SXMO and running on dwm"
depends="
autocutsel
conky
svkbd
sxiv
sxmo-dmenu
sxmo-dwm
sxmo-st
unclutter-xfixes
xcalib
xclip
xdotool
xdpyinfo
xinput
xprintidle
xprop
xrandr
xrdb
xsel
xset
xsetroot
xwininfo
"
_pmb_recommends="
clickclack
feh
firefox-esr
font-noto
font-noto-emoji
gnome-icon-theme
megapixels-gtk3
mobile-config-firefox
xcalc
"
provides="$pkgname-de"
provider_priority="0"
install="$subpkgname.post-install"
mkdir -p "$subpkgdir"
}
sway() {
pkgdesc="Simple Mobile: Mobile environment based on SXMO and running on sway"
depends="
foot
grim
mako
seatd
seatd-openrc
slurp
swaybg
swayidle
sxmo-bemenu
sxmo-sway
wayout
wl-clipboard
wtype
wvkbd
xwayland
"
_pmb_recommends="
clickclack
firefox-esr
font-noto
font-noto-emoji
gnome-icon-theme
imv
megapixels
mobile-config-firefox
"
provides="$pkgname-de"
provider_priority="1"
install="$subpkgname.post-install $subpkgname.pre-deinstall"
mkdir -p "$subpkgdir"
}
sha512sums="
bf8db527c49fa724e640a90269ba2648a2555f5867b2adbfbd88d1f685261f757339757c09ee08f590c76de4bd3d0c73a47dea9bd340644dd4707e76152cefd1 sxmo-qt-mobile-controls.sh

View file

@ -1,3 +0,0 @@
#!/bin/sh
tinydm-set-session -f -s /usr/share/xsessions/sxmo.desktop

View file

@ -1,5 +0,0 @@
#!/bin/sh
tinydm-set-session -f -s /usr/share/wayland-sessions/swmo.desktop
rc-update add seatd default

View file

@ -1,3 +0,0 @@
#!/bin/sh
rc-update del seatd default

View file

@ -6,3 +6,6 @@ rc-update add modemmanager default
rc-update add tinydm default
rc-update add networkmanager default
rc-update add polkit default
rc-update add seatd default
tinydm-set-session -f -s /usr/share/wayland-sessions/swmo.desktop