2020-07-01 12:00:09 +00:00
|
|
|
# Maintainer: Oliver Smith <ollieparanoid@postmarketos.org>
|
2022-06-07 23:18:03 +00:00
|
|
|
pkgname=postmarketos-welcome
|
2022-06-23 06:35:46 +00:00
|
|
|
pkgver=0.5.1
|
2022-06-10 08:00:16 +00:00
|
|
|
pkgrel=0
|
2020-07-01 12:00:09 +00:00
|
|
|
pkgdesc="postmarketOS welcome app"
|
2022-06-07 23:18:03 +00:00
|
|
|
url="https://gitlab.com/postmarketOS/postmarketos-welcome"
|
2020-07-01 12:00:09 +00:00
|
|
|
arch="all"
|
|
|
|
license="GPL-3.0-or-later"
|
2022-06-07 23:18:03 +00:00
|
|
|
makedepends="
|
|
|
|
desktop-file-utils
|
|
|
|
glib-dev
|
|
|
|
gtk4.0-dev
|
|
|
|
libadwaita-dev
|
|
|
|
meson
|
|
|
|
"
|
|
|
|
source="https://gitlab.com/postmarketOS/postmarketos-welcome/-/archive/$pkgver/postmarketos-welcome-$pkgver.tar.bz2"
|
2020-07-01 12:00:09 +00:00
|
|
|
options="!check" # No tests
|
2022-06-07 23:18:03 +00:00
|
|
|
replaces="postmarketos-welcome-gtk3"
|
2022-06-08 22:00:55 +00:00
|
|
|
provides="postmarketos-welcome-gtk3=$pkgver-r$pkgrel"
|
2020-07-01 12:00:09 +00:00
|
|
|
|
|
|
|
build() {
|
2020-09-04 18:29:24 +00:00
|
|
|
abuild-meson . output
|
|
|
|
meson compile ${JOBS:+-j ${JOBS}} -C output
|
2020-07-01 12:00:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2020-09-04 18:29:24 +00:00
|
|
|
DESTDIR="$pkgdir" meson install -C output
|
2020-07-01 12:00:09 +00:00
|
|
|
|
2020-07-23 14:47:49 +00:00
|
|
|
# Autostart on first login, the app removes the symlink when started
|
|
|
|
local _autostartdir="$pkgdir/etc/skel/.config/autostart"
|
|
|
|
mkdir -p "$_autostartdir"
|
|
|
|
ln -s "/usr/share/applications/org.postmarketos.Welcome.desktop" \
|
|
|
|
"$_autostartdir/org.postmarketos.Welcome.desktop"
|
2020-07-01 12:00:09 +00:00
|
|
|
}
|
|
|
|
|
2021-07-06 19:59:00 +00:00
|
|
|
sha512sums="
|
2022-06-23 06:35:46 +00:00
|
|
|
7a2383a7aa01facf7dce7189b4ccc54b6506cf1864739d3e70493b1c7f00632009934423893fe9912c5b9d17f10834c82c0bb4bb18f1fd0f2151f4be9912c4d4 postmarketos-welcome-0.5.1.tar.bz2
|
2021-07-06 19:59:00 +00:00
|
|
|
"
|