diff --git a/main/postmarketos-ui-cosmic/APKBUILD b/main/postmarketos-ui-cosmic/APKBUILD new file mode 100644 index 000000000..09fa09421 --- /dev/null +++ b/main/postmarketos-ui-cosmic/APKBUILD @@ -0,0 +1,58 @@ +# Reference: https://postmarketos.org/uipkg +# Maintainer: Clayton Craft +pkgname=postmarketos-ui-cosmic +pkgver=1 +pkgrel=0 +pkgdesc="COSMIC Desktop Environment from System76" +url="https://system76.com/cosmic/" +# Only tested on these archs. +# If you want to add support for a new arch add it here and in the Alpine +# packages and build locally. +arch="x86_64 aarch64" +license="GPL-3.0-or-later" +depends=" + cosmic-session + polkit-elogind + postmarketos-base-ui + postmarketos-base-ui-networkmanager + power-profiles-daemon + upower + xdg-desktop-portal-gtk + xdg-user-dirs +" +_pmb_recommends=" + cosmic-edit + cosmic-player + cosmic-store + cosmic-term + firefox-esr + flatpak + gst-libav + gst-plugins-bad + gst-plugins-good + gst-plugins-rs-dav1d + papers + postmarketos-artwork-wallpapers + snapshot +" +source=" + favorites.conf + wallpaper.conf +" +options="!check pmb:gpu-accel pmb:systemd" +replaces=" + cosmic-applets + cosmic-bg +" + +package() { + install -Dm644 wallpaper.conf \ + "$pkgdir"/usr/share/cosmic/com.system76.CosmicBackground/v1/all + install -Dm644 favorites.conf \ + "$pkgdir"/usr/share/cosmic/com.system76.CosmicAppList/v1/favorites +} + +sha512sums=" +671a0c696edbed71355c0ff842259d27a8eb2466ed472ac3c8de2a72c0f764cc02be3fb683f8dd709b7ba72fe2e07c7691240d84c01a639110df9e3b11a45abe favorites.conf +2f665d5040072aa2172a4755a1cd8c03ff950ae1d5cc1fe888f74ea1cca4587bb065686507849d81429c49a78c5baaa877231dd4bbe49c351c7978ce82789041 wallpaper.conf +" diff --git a/main/postmarketos-ui-cosmic/favorites.conf b/main/postmarketos-ui-cosmic/favorites.conf new file mode 100644 index 000000000..97339681d --- /dev/null +++ b/main/postmarketos-ui-cosmic/favorites.conf @@ -0,0 +1,8 @@ +[ + "firefox-esr", + "com.system76.CosmicFiles", + "com.system76.CosmicEdit", + "com.system76.CosmicTerm", + "com.system76.CosmicStore", + "com.system76.CosmicSettings", +] diff --git a/main/postmarketos-ui-cosmic/wallpaper.conf b/main/postmarketos-ui-cosmic/wallpaper.conf new file mode 100644 index 000000000..3c3bdbadc --- /dev/null +++ b/main/postmarketos-ui-cosmic/wallpaper.conf @@ -0,0 +1,9 @@ +( + output: "all", + source: Path("/usr/share/wallpapers/postmarketos.jpg"), + filter_by_theme: true, + rotation_frequency: 3600, + filter_method: Lanczos, + scaling_mode: Zoom, + sampling_method: Alphanumeric, +)