summaryrefslogtreecommitdiff
path: root/user/livecd-support
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-08-13 21:13:10 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-08-13 21:13:10 +0000
commit4a80dabb1b84adfa4e50cc479efaf7f6e7962262 (patch)
tree6f8712c3f6a87c165f4b61a877e9dbfa8d99990a /user/livecd-support
parent6f98a9b05af41227f599ee77fbccf5b629b53827 (diff)
downloadpackages-4a80dabb1b84adfa4e50cc479efaf7f6e7962262.tar.gz
packages-4a80dabb1b84adfa4e50cc479efaf7f6e7962262.tar.bz2
packages-4a80dabb1b84adfa4e50cc479efaf7f6e7962262.tar.xz
packages-4a80dabb1b84adfa4e50cc479efaf7f6e7962262.zip
user/livecd-support: Add Horizon subpackage
Diffstat (limited to 'user/livecd-support')
-rw-r--r--user/livecd-support/APKBUILD26
1 files changed, 25 insertions, 1 deletions
diff --git a/user/livecd-support/APKBUILD b/user/livecd-support/APKBUILD
index 2a5e2a901..981f30adb 100644
--- a/user/livecd-support/APKBUILD
+++ b/user/livecd-support/APKBUILD
@@ -8,7 +8,7 @@ url="https://www.adelielinux.org/"
arch="noarch"
options="!check" # Metapackage
license="NCSA"
-subpackages="$pkgname-kde $pkgname-lxqt $pkgname-mate"
+subpackages="$pkgname-kde $pkgname-lxqt $pkgname-mate $pkgname-horizon"
depends=""
install="livecd-support.post-install livecd-support.post-deinstall"
source="kde.sddm.conf
@@ -20,6 +20,30 @@ package() {
mkdir -p $pkgdir
}
+horizon() {
+ pkgdesc="Add the ability to install Adélie from live media"
+ depends="horizon-qt5 horizon netsurf partitionmanager xterm"
+
+ mkdir -p "$subpkgdir"/etc/profile.d
+ cat >"$subpkgdir"/etc/profile.d/horizon-qt5.sh <<PROFILE
+#!/bin/sh
+export QT_QUICK_BACKEND=software
+PROFILE
+
+ mkdir -p "$subpkgdir"/usr/share/applications
+ cat >"$subpkgdir"/usr/share/applications/horizon.desktop <<DESKTOP
+[Desktop Entry]
+Type=Application
+Version=1.1
+Name=System Installation
+Comment=Install Adélie Linux to your computer
+Icon=system-software-install
+Exec=/usr/bin/horizon-qt5
+Categories=System;
+DESKTOP
+}
+
+
kde() {
pkgdesc="$pkgdesc (KDE spin)"
depends="livecd-support adelie-kde-theme kde sddm x11"