Skip to content
Snippets Groups Projects
Commit ac285492 authored by Caleb Connolly's avatar Caleb Connolly :recycle: Committed by Petr Hodina
Browse files

main/postmarketos-base-eink: new aport (MR 2910)

Add a base package to provide some e-ink specific opinionated defaults.
parent da7fbb54
No related branches found
No related tags found
No related merge requests found
[org.gnome.desktop.interface]
gtk-theme='HighContrast'
# Maintainer: Caleb Connolly <caleb@connolly.tech>
pkgname=postmarketos-base-eink
pkgver=1
pkgrel=0
pkgdesc="Base package with some opinionated default for e-ink devices"
# It's worth emphasising the word "opinionated" here, e-ink has some
# obvious differences compared to regular displays, there are cases
# where it clearly makes sense to adjust default behaviour. However
# not everyone may agree with these. It should be easy for the user to
# override changes here easily, ideally without having to resort to a
# terminal.
url="https://postmarketos.org"
arch="noarch"
license="GPL-3.0-or-later"
options="!check"
source="
postmarketos-splash-eink.ini
001-eink-gschema.override
"
subpackages="$pkgname-phosh"
builddir="$srcdir/"
package() {
install -Dm644 "$srcdir/postmarketos-splash-eink.ini" \
-t "$pkgdir/etc/postmarketos/"
}
phosh() {
# For now phosh hardcodes some colors (like making the quick settings white)
# when using high contrast, so it's a better option than the postmarketOS-paper
# theme for now
install -Dm644 "$srcdir"/001-eink-gschema.override \
"$pkgdir"/usr/share/glib-2.0/schemas/001-eink.gschema.override
}
[background]
color=#fff
[name]
text=postmarketOS
font=/usr/share/fonts/ttf-droid/DroidSans.ttf
color=#000
[logo]
text=
font=/usr/share/fonts/ttf-pmos/pmos.ttf
color=#000
spacing=1
[text]
font=/usr/share/fonts/ttf-droid/DroidSans.ttf
color=#222
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment