2021-11-14 17:13:14 +00:00
|
|
|
# Reference: https://postmarketos.org/uipkg
|
2020-08-01 23:19:28 +00:00
|
|
|
# Maintainer: Miles Alan <m@milesalan.com>
|
2021-11-15 12:22:57 +00:00
|
|
|
pkgname=sxmo-common
|
2022-04-30 14:18:32 +00:00
|
|
|
pkgver=1.9.0
|
2022-05-04 03:44:39 +00:00
|
|
|
pkgrel=1
|
2021-11-15 12:22:57 +00:00
|
|
|
pkgdesc="Simple Mobile: Core package to build custom SXMO desktop environments"
|
2020-08-01 23:19:28 +00:00
|
|
|
url="http://sr.ht/~mil/Sxmo"
|
|
|
|
arch="noarch !armhf"
|
|
|
|
license="MIT"
|
2021-05-25 16:31:04 +00:00
|
|
|
depends="
|
2022-04-01 04:02:43 +00:00
|
|
|
adwaita-icon-theme
|
2021-11-07 09:51:56 +00:00
|
|
|
alsa-utils
|
2022-04-30 14:18:32 +00:00
|
|
|
callaudiod
|
2021-11-07 09:51:56 +00:00
|
|
|
codemadness-frontends
|
2021-06-09 23:34:05 +00:00
|
|
|
dnsmasq
|
2021-11-21 09:32:58 +00:00
|
|
|
dunstify
|
2021-11-07 09:51:56 +00:00
|
|
|
ffmpeg
|
2022-02-06 13:40:15 +00:00
|
|
|
file
|
2021-11-07 09:51:56 +00:00
|
|
|
font-fira-mono-nerd
|
|
|
|
font-terminus-nerd
|
|
|
|
geoclue
|
|
|
|
inotify-tools
|
|
|
|
light
|
2022-04-30 14:18:32 +00:00
|
|
|
linux-tools-iio
|
2021-11-07 09:51:56 +00:00
|
|
|
lisgd
|
|
|
|
mediainfo
|
|
|
|
mmsd-tng
|
|
|
|
mmsd-tng-tools
|
|
|
|
mnc
|
|
|
|
modemmanager
|
2021-05-25 15:09:49 +00:00
|
|
|
modemmanager-openrc
|
2021-11-07 09:51:56 +00:00
|
|
|
mpv
|
|
|
|
ncurses
|
|
|
|
networkmanager
|
2022-03-24 00:20:50 +00:00
|
|
|
networkmanager-cli
|
2021-09-01 17:59:26 +00:00
|
|
|
networkmanager-openrc
|
2022-04-30 14:18:32 +00:00
|
|
|
networkmanager-tui
|
2022-05-04 03:44:39 +00:00
|
|
|
networkmanager-wifi
|
|
|
|
networkmanager-wwan
|
2022-01-29 14:31:40 +00:00
|
|
|
pamixer
|
2022-04-30 14:18:32 +00:00
|
|
|
pipewire
|
|
|
|
pipewire-pulse
|
2021-11-07 09:51:56 +00:00
|
|
|
pn
|
2021-09-01 17:59:26 +00:00
|
|
|
polkit
|
|
|
|
polkit-openrc
|
2021-06-09 23:34:05 +00:00
|
|
|
postmarketos-base-ui
|
2022-04-30 14:18:32 +00:00
|
|
|
pulseaudio-utils
|
|
|
|
superd
|
2021-09-01 17:59:26 +00:00
|
|
|
sxmo-utils
|
2021-05-25 16:31:04 +00:00
|
|
|
sxmo-utils-openrc
|
2021-11-07 09:51:56 +00:00
|
|
|
terminus-font
|
2021-09-01 17:59:26 +00:00
|
|
|
tinydm
|
|
|
|
tinydm-openrc
|
2021-11-07 09:51:56 +00:00
|
|
|
tzdata
|
|
|
|
v4l-utils
|
2022-02-06 13:40:15 +00:00
|
|
|
vim
|
2022-01-08 04:08:39 +00:00
|
|
|
vvmd
|
2022-04-30 14:18:32 +00:00
|
|
|
wireplumber
|
2022-04-13 02:13:47 +00:00
|
|
|
xdg-user-dirs
|
2022-04-30 14:18:32 +00:00
|
|
|
yt-dlp
|
2021-05-25 16:31:04 +00:00
|
|
|
"
|
2021-02-13 10:38:58 +00:00
|
|
|
install="$pkgname.post-install $pkgname.post-upgrade $pkgname.pre-deinstall"
|
2021-11-12 19:58:37 +00:00
|
|
|
subpackages="$pkgname-qt_tweaks $pkgname-bluetooth"
|
2021-10-25 21:34:22 +00:00
|
|
|
source="
|
|
|
|
sxmo-qt-mobile-controls.sh
|
|
|
|
postmarketos.conf
|
|
|
|
"
|
2020-08-01 23:19:28 +00:00
|
|
|
options="!check" # has no tests
|
|
|
|
|
|
|
|
package() {
|
|
|
|
mkdir -p "$pkgdir"
|
|
|
|
}
|
2021-02-11 08:22:25 +00:00
|
|
|
|
|
|
|
qt_tweaks() {
|
2021-11-15 12:22:57 +00:00
|
|
|
install_if="$pkgname=$pkgver-r$pkgrel qt5-qtbase"
|
2021-02-11 08:22:25 +00:00
|
|
|
install -Dm755 -t "$subpkgdir"/etc/profile.d/ \
|
|
|
|
"$srcdir"/sxmo-qt-mobile-controls.sh
|
2021-11-15 12:22:57 +00:00
|
|
|
provides="postmarketos-ui-sxmo-qt_tweaks=$pkgver-r$pkgrel"
|
2021-02-11 08:22:25 +00:00
|
|
|
}
|
2021-10-25 21:34:22 +00:00
|
|
|
|
|
|
|
bluetooth() {
|
2021-12-02 01:46:01 +00:00
|
|
|
# Should configure pipewire for bluetooth headsets according to this
|
|
|
|
# https://wiki.alpinelinux.org/wiki/PipeWire
|
2021-10-25 21:34:22 +00:00
|
|
|
depends="
|
2021-12-02 01:46:01 +00:00
|
|
|
dbus
|
|
|
|
dbus-openrc
|
|
|
|
dbus-x11
|
2021-10-25 21:34:22 +00:00
|
|
|
bluez
|
|
|
|
bluez-openrc
|
2021-12-02 01:46:01 +00:00
|
|
|
pipewire-spa-bluez
|
2021-10-25 21:34:22 +00:00
|
|
|
"
|
|
|
|
replaces="bluez" # Autoenable controllers
|
|
|
|
mkdir -p "$subpkgdir"/etc/bluetooth
|
|
|
|
install -Dm644 "$srcdir"/postmarketos.conf \
|
|
|
|
"$subpkgdir"/etc/bluetooth/main.conf
|
2021-12-02 01:46:01 +00:00
|
|
|
mkdir -p "$subpkgdir"/etc/modules-load.d
|
2021-10-25 21:34:22 +00:00
|
|
|
install="$subpkgname.post-install $subpkgname.pre-deinstall"
|
2021-11-15 12:22:57 +00:00
|
|
|
provides="postmarketos-ui-sxmo-bluetooth=$pkgver-r$pkgrel"
|
2021-10-25 21:34:22 +00:00
|
|
|
}
|
|
|
|
|
2021-11-07 09:51:56 +00:00
|
|
|
|
2021-09-01 17:59:26 +00:00
|
|
|
sha512sums="
|
|
|
|
bf8db527c49fa724e640a90269ba2648a2555f5867b2adbfbd88d1f685261f757339757c09ee08f590c76de4bd3d0c73a47dea9bd340644dd4707e76152cefd1 sxmo-qt-mobile-controls.sh
|
2021-10-25 21:34:22 +00:00
|
|
|
cc4e4404b135ce484e0976b243973e39f1137aa9dd5e9297f767b2ea65b719ca82e84cc66cb093950ce330dbf786981ced2e5b0d16350deb5706a08ffccb4606 postmarketos.conf
|
2021-09-01 17:59:26 +00:00
|
|
|
"
|