summaryrefslogtreecommitdiff
path: root/user/horizon/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/horizon/APKBUILD')
-rw-r--r--user/horizon/APKBUILD16
1 files changed, 13 insertions, 3 deletions
diff --git a/user/horizon/APKBUILD b/user/horizon/APKBUILD
index dcc9d9bf7..8d2e480c2 100644
--- a/user/horizon/APKBUILD
+++ b/user/horizon/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=horizon
-pkgver=0.9.3
+pkgver=0.9.6
pkgrel=0
pkgdesc="Installation tools for Adélie Linux"
url="https://horizon.adelielinux.org/"
@@ -30,6 +30,7 @@ build() {
-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
-DCMAKE_CXX_FLAGS="$CXXFLAGS -Wno-format-truncation" \
-DCMAKE_C_FLAGS="$CFLAGS" \
+ -DUNSUPPORTED_NONFREE_FIRMWARE=ON \
-DINSTALL=ON \
${CMAKE_CROSSOPTS} \
-Bbuild
@@ -43,6 +44,7 @@ build() {
-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
-DCMAKE_CXX_FLAGS="$CXXFLAGS -Wno-format-truncation" \
-DCMAKE_C_FLAGS="$CFLAGS" \
+ -DUNSUPPORTED_NONFREE_FIRMWARE=ON \
-DINSTALL=OFF \
${CMAKE_CROSSOPTS} \
-Bbuild-wizard
@@ -59,7 +61,7 @@ package() {
image() {
pkgdesc="Tools for generating images using HorizonScript"
- depends="mtools"
+ depends="dracut mtools"
mkdir -p "$subpkgdir"/usr/bin
mkdir -p "$subpkgdir"/usr/lib
mkdir -p "$subpkgdir"/usr/share/horizon
@@ -104,7 +106,9 @@ boot() {
depends="horizon-qt5 horizon kwin 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/sddm.conf.d
mkdir -p "$subpkgdir"/etc/xdg/qt5ct
mkdir -p "$subpkgdir"/usr/bin
@@ -131,6 +135,12 @@ GLOBALS
install -D -m644 "$builddir"/boot/horizon.sddm.conf \
"$subpkgdir"/etc/sddm.conf.d/horizon.conf
+ install -D -m755 "$builddir"/boot/gfxdetect \
+ "$subpkgdir"/etc/init.d/gfxdetect
+
+ ln -s ../../init.d/gfxdetect \
+ "$subpkgdir"/etc/runlevels/default/gfxdetect
+
install -D -m755 "$builddir"/boot/start-horizon-qt5 \
"$subpkgdir"/usr/bin/start-horizon-qt5
@@ -146,4 +156,4 @@ GLOBALS
"$subpkgdir"/usr/share/xsessions/horizon.desktop
}
-sha512sums="99c1d939abc33c4a072712e75c6c8ada16deb1fe59b9da839dffd695a0d40dbf48499cc00751285300127a7fc701e8e1c434e9f8a222f1981ccbebd6ee72e43e horizon-0.9.3.tar.xz"
+sha512sums="d5ffe9bd423e98272ca780c59e6e32c42b284c68f3a0bace07bd693d457e2edcd68d7fc03f638b545960154ea26b7c09feee083dbffa986da2a7cd418be9500f horizon-0.9.6.tar.xz"