summaryrefslogtreecommitdiff
path: root/user/horizon/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2023-10-07 03:23:59 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2023-10-24 01:51:03 -0500
commit6e43496ecd4c95ea0d25e05870cecb8a3cb1dbde (patch)
tree08171974b9ac5af6b5934866da2a65726490b542 /user/horizon/APKBUILD
parentf14e8e6f58195606e54a8e50770ccd0553cc7a96 (diff)
downloadpackages-6e43496ecd4c95ea0d25e05870cecb8a3cb1dbde.tar.gz
packages-6e43496ecd4c95ea0d25e05870cecb8a3cb1dbde.tar.bz2
packages-6e43496ecd4c95ea0d25e05870cecb8a3cb1dbde.tar.xz
packages-6e43496ecd4c95ea0d25e05870cecb8a3cb1dbde.zip
user/horizon: Update to 0.9.8_pre7
* Set cap_sys_time on horizon-qt5 to allow setting the clock. (adelie/horizon#321) * Move gfxdetect to graphical runlevel. (adelie/horizon#346)
Diffstat (limited to 'user/horizon/APKBUILD')
-rw-r--r--user/horizon/APKBUILD22
1 files changed, 13 insertions, 9 deletions
diff --git a/user/horizon/APKBUILD b/user/horizon/APKBUILD
index 92ec869e5..796a9c86c 100644
--- a/user/horizon/APKBUILD
+++ b/user/horizon/APKBUILD
@@ -1,12 +1,12 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=horizon
-pkgver=0.9.7
+pkgver=0.9.8_pre7
pkgrel=0
pkgdesc="Installation tools for Adélie Linux"
url="https://horizon.adelielinux.org/"
arch="all"
-options="!archcheck !check" # Unpackaged dependency ruby-aruba.
+options="!archcheck !check suid" # Unpackaged dependency ruby-aruba.
license="AGPL-3.0+"
depends=""
checkdepends="ruby-aruba ruby-rspec valgrind"
@@ -14,7 +14,7 @@ checkdepends="ruby-aruba ruby-rspec valgrind"
makedepends="bcnm-dev boost-dev cmake curl-dev eudev-dev libarchive-dev
linux-headers parted-dev skalibs-dev util-linux-dev
- libcap-dev libx11-dev libxkbfile-dev qt5-qtbase-dev"
+ libcap libcap-dev libx11-dev libxkbfile-dev qt5-qtbase-dev"
subpackages="$pkgname-image $pkgname-dbg $pkgname-dev $pkgname-doc $pkgname-qt5
$pkgname-tools $pkgname-wizard $pkgname-boot"
source="https://distfiles.adelielinux.org/source/horizon-$pkgver.tar.xz"
@@ -61,7 +61,7 @@ package() {
image() {
pkgdesc="Tools for generating images using HorizonScript"
- depends="dracut mtools"
+ depends="dracut mtools squashfs-tools xorriso"
mkdir -p "$subpkgdir"/usr/bin
mkdir -p "$subpkgdir"/usr/lib
mkdir -p "$subpkgdir"/usr/share/horizon
@@ -81,6 +81,10 @@ qt5() {
for _bin in horizon-ppc64-detect horizon-qt5 horizon-run-qt5; do
mv "$pkgdir"/usr/bin/$_bin "$subpkgdir"/usr/bin/
done
+
+ chmod 4755 "$subpkgdir"/usr/bin/horizon-run-qt5
+ chmod 1777 "$subpkgdir"/etc/horizon
+ /usr/sbin/setcap cap_sys_time+ep "$subpkgdir"/usr/bin/horizon-qt5
}
tools() {
@@ -103,12 +107,12 @@ wizard() {
boot() {
pkgdesc="Boot to Horizon"
- depends="horizon-qt5 horizon kwin qt5ct sddm
+ depends="horizon-qt5 horizon kwin papirus-icons qt5ct sddm
netsurf partitionmanager xterm"
mkdir -p "$subpkgdir"/etc/init.d
mkdir -p "$subpkgdir"/etc/profile.d
- mkdir -p "$subpkgdir"/etc/runlevels/default
+ mkdir -p "$subpkgdir"/etc/runlevels/graphical
mkdir -p "$subpkgdir"/etc/sddm.conf.d
mkdir -p "$subpkgdir"/etc/xdg/qt5ct
mkdir -p "$subpkgdir"/usr/bin
@@ -124,7 +128,7 @@ PROFILE
cat >"$subpkgdir"/etc/xdg/kdeglobals <<GLOBALS
[General]
ColorScheme=Steel
-
+
[Icons]
Theme=Papirus
@@ -139,7 +143,7 @@ GLOBALS
"$subpkgdir"/etc/init.d/gfxdetect
ln -s ../../init.d/gfxdetect \
- "$subpkgdir"/etc/runlevels/default/gfxdetect
+ "$subpkgdir"/etc/runlevels/graphical/gfxdetect
install -D -m755 "$builddir"/boot/start-horizon-qt5 \
"$subpkgdir"/usr/bin/start-horizon-qt5
@@ -156,4 +160,4 @@ GLOBALS
"$subpkgdir"/usr/share/xsessions/horizon.desktop
}
-sha512sums="e25238cb6a9610088840277d1497841ac7e2dc68912784ee12e9321ba7f5f27d9621d4cc26af910ba048d8a9a0460910dbb36fd21c35db64833f525a25a3fa56 horizon-0.9.7.tar.xz"
+sha512sums="858e582bb72eb34020c76ad7f20029e3bb4f2126ac43bd3ee734bb330f962bbd4223ccb29c1516c84f4a53e82a2d59c060acbd7ec060ac85de3a6471351b7fa9 horizon-0.9.8_pre7.tar.xz"