Skip to content

Commit

Permalink
pkg: phosh: danctnix-phosh-ui-meta: scale to fit for apps using dconf
Browse files Browse the repository at this point in the history
Signed-off-by: Danct12 <[email protected]>
  • Loading branch information
Danct12 committed Jul 29, 2020
1 parent 9ce3f7c commit 1ad17ee
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 3 deletions.
8 changes: 8 additions & 0 deletions PKGBUILDS/phosh/danctnix-phosh-ui-meta/01-phoc-scaling
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[sm/puri/phoc/application/firefox]
scale-to-fit=true

[sm/puri/phoc/application/org-gnome-maps]
scale-to-fit=true

[sm/puri/phoc/application/cawbird]
scale-to-fit=true
16 changes: 13 additions & 3 deletions PKGBUILDS/phosh/danctnix-phosh-ui-meta/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
# Maintainer: Danct12 <[email protected]>
pkgname=danctnix-phosh-ui-meta
pkgver=0.1
pkgrel=9
pkgrel=10
pkgdesc="Meta package for Phosh"
arch=(any)
url="https://github.com/dreemurrs-embedded/Pine64-Arch"
license=('MIT')
install="$pkgname.install"
depends=(
dconf
gtk3-mobile
gnome-keyring
phoc
Expand Down Expand Up @@ -38,7 +40,9 @@ source=(
org.gnome.Terminal.desktop
qv4l2.desktop
qvidcap.desktop
vim.desktop)
vim.desktop
01-phoc-scaling
dconf-profile-danctnix)

package() {
# Hide apps we don't care
Expand All @@ -54,6 +58,10 @@ package() {

install -Dm755 "$srcdir"/osk-wayland "$pkgdir"/usr/bin/osk-wayland
install -Dm644 "$srcdir"/adwaita-phone.jpg "$pkgdir"/usr/share/danctnix/adwaita-phone.jpg

# Dconf
install -Dm755 "$srcdir"/dconf-profile-danctnix "$pkgdir"/etc/dconf/profile/user
install -Dm755 "$srcdir"/01-phoc-scaling "$pkgdir"/etc/dconf/db/danctnix.d/01-phoc-scaling
}


Expand All @@ -70,4 +78,6 @@ md5sums=('7567fd058afb2a7e5c8690fff0291c80'
'386f9f031bb536653f6e0358e08171af'
'8275502efc147f126643c194f386640e'
'40a3cfff4bb4f499f2d31d9b80ac36df'
'ab46e1b0be015b1cd45e0ae338bb13df')
'ab46e1b0be015b1cd45e0ae338bb13df'
'2a67986d3661400e2c1a22d82d21cbc9'
'c74df615bedb6c45fd997e54dcafd564')
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
post_install() {
dconf update
}

post_upgrade() {
dconf update
}
2 changes: 2 additions & 0 deletions PKGBUILDS/phosh/danctnix-phosh-ui-meta/dconf-profile-danctnix
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
user-db:user
system-db:danctnix

0 comments on commit 1ad17ee

Please sign in to comment.