add calamares + calamares-branding-antergos-next
This commit is contained in:
@@ -6,4 +6,6 @@ packages:
|
||||
- antergos-next-mirrorlist
|
||||
- antergos-next-desktop-settings
|
||||
- cnchi
|
||||
- calamares
|
||||
- calamares-branding-antergos-next
|
||||
- antergos-next-memes
|
||||
@@ -0,0 +1,71 @@
|
||||
# Maintainer: Celestia Ludenberg <ash8820@proton.me>
|
||||
|
||||
pkgname=calamares-branding-antergos-next
|
||||
pkgver=1.0
|
||||
pkgrel=1
|
||||
pkgdesc="Minimal Calamares branding for Antergos NeXT"
|
||||
arch=('any')
|
||||
url="https://github.com/Antergos-NeXT"
|
||||
license=('GPL3')
|
||||
depends=('calamares')
|
||||
source=("branding.desc"
|
||||
"stylesheet.qss"
|
||||
"show.qml")
|
||||
sha256sums=('SKIP'
|
||||
'SKIP'
|
||||
'SKIP')
|
||||
|
||||
package() {
|
||||
local _brand="/usr/share/calamares/branding/antergos-next"
|
||||
install -dm755 "${pkgdir}${_brand}"
|
||||
|
||||
cp "branding.desc" "${pkgdir}${_brand}/"
|
||||
cp "stylesheet.qss" "${pkgdir}${_brand}/"
|
||||
cp "show.qml" "${pkgdir}${_brand}/"
|
||||
|
||||
# Symlink Antergos logo from cnchi or wallpapers
|
||||
# Use antergos-icon from system if available
|
||||
install -dm755 "${pkgdir}/etc/calamares"
|
||||
cat > "${pkgdir}/etc/calamares/settings.conf" << 'CONF'
|
||||
---
|
||||
instances:
|
||||
- id: antergos-next
|
||||
file: "/usr/share/calamares/branding/antergos-next/branding.desc"
|
||||
|
||||
sequence:
|
||||
- showq:
|
||||
- welcome
|
||||
- locale
|
||||
- keyboard
|
||||
- partition
|
||||
- users
|
||||
- summary
|
||||
- exec:
|
||||
- partition
|
||||
- mount
|
||||
- unpackfs
|
||||
- machineid
|
||||
- fstab
|
||||
- locale
|
||||
- keyboard
|
||||
- localecfg
|
||||
- luksopenswaphookcfg
|
||||
- luksbootkeyfile
|
||||
- plymouthcfg
|
||||
- grubcfg
|
||||
- bootloader
|
||||
- services-systemd
|
||||
- packages
|
||||
- networkcfg
|
||||
- hwclock
|
||||
- users
|
||||
- displaymanager
|
||||
- mkinicpio
|
||||
- initramfscfg
|
||||
- initramfs
|
||||
- removeuser
|
||||
- umountq
|
||||
|
||||
branding: antergos-next
|
||||
CONF
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
---
|
||||
componentName: antergos-next
|
||||
|
||||
welcomeStyleCalamares: false
|
||||
welcomeExpandingLogo: true
|
||||
|
||||
productName: Antergos NeXT
|
||||
shortProductName: Antergos NeXT
|
||||
version: rolling
|
||||
shortVersion: rolling
|
||||
versionedName: Antergos NeXT rolling
|
||||
|
||||
bootloaderEntryName: Antergos NeXT
|
||||
|
||||
productUrl: https://github.com/Antergos-NeXT
|
||||
supportUrl: https://github.com/Antergos-NeXT
|
||||
knownIssuesUrl: https://github.com/Antergos-NeXT/antergos-iso/issues
|
||||
releaseNotesUrl: https://github.com/Antergos-NeXT
|
||||
|
||||
image: "squid.png"
|
||||
imageSize: 0
|
||||
...
|
||||
@@ -0,0 +1,43 @@
|
||||
/* Antergos NeXT Calamares slideshow */
|
||||
import QtQuick 2.0;
|
||||
import calamares.slideshow 1.0;
|
||||
|
||||
Presentation
|
||||
{
|
||||
id: presentation
|
||||
|
||||
Timer {
|
||||
interval: 5000
|
||||
running: presentation.activatedInCalamares
|
||||
repeat: true
|
||||
onTriggered: presentation.goToNextSlide()
|
||||
}
|
||||
|
||||
Slide {
|
||||
Text {
|
||||
anchors.centerIn: parent
|
||||
text: "Welcome to Antergos NeXT"
|
||||
font.pixelSize: 24
|
||||
font.bold: true
|
||||
color: "#2a7ab5"
|
||||
}
|
||||
}
|
||||
|
||||
Slide {
|
||||
Text {
|
||||
anchors.centerIn: parent
|
||||
text: "Installing Antergos NeXT..."
|
||||
font.pixelSize: 20
|
||||
color: "#333"
|
||||
}
|
||||
}
|
||||
|
||||
Slide {
|
||||
Text {
|
||||
anchors.centerIn: parent
|
||||
text: "Almost done!"
|
||||
font.pixelSize: 20
|
||||
color: "#333"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
/* Antergos NeXT Calamares theme - minimal */
|
||||
QWidget {
|
||||
font-family: "Noto Sans", "DejaVu Sans", sans-serif;
|
||||
font-size: 10pt;
|
||||
color: #333;
|
||||
}
|
||||
QMainWindow {
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||
QLabel#titleLabel {
|
||||
font-size: 18pt;
|
||||
font-weight: bold;
|
||||
color: #2a7ab5;
|
||||
}
|
||||
QLabel#subtitleLabel {
|
||||
font-size: 11pt;
|
||||
color: #666;
|
||||
}
|
||||
QPushButton {
|
||||
background-color: #2a7ab5;
|
||||
color: white;
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
padding: 6px 16px;
|
||||
min-height: 24px;
|
||||
}
|
||||
QPushButton:hover {
|
||||
background-color: #23689e;
|
||||
}
|
||||
QPushButton:pressed {
|
||||
background-color: #1c557f;
|
||||
}
|
||||
QPushButton#sidebarButton {
|
||||
background-color: transparent;
|
||||
color: #333;
|
||||
text-align: left;
|
||||
padding: 8px;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
}
|
||||
QPushButton#sidebarButton:hover {
|
||||
background-color: #e0e0e0;
|
||||
}
|
||||
QPushButton#sidebarButton:checked {
|
||||
background-color: #2a7ab5;
|
||||
color: white;
|
||||
}
|
||||
@@ -0,0 +1,85 @@
|
||||
# Maintainer: Celestia Ludenberg <ash8820@proton.me>
|
||||
# Contributor: Antergos NeXT Team
|
||||
# Upstream: Calamares team
|
||||
|
||||
_pkgname="calamares"
|
||||
pkgname="$_pkgname"
|
||||
pkgver=3.4.2
|
||||
pkgrel=1
|
||||
pkgdesc="Distribution-independent installer framework"
|
||||
url="https://codeberg.org/Calamares/calamares"
|
||||
license=("GPL-3.0-or-later")
|
||||
arch=('x86_64')
|
||||
|
||||
depends=(
|
||||
'kcoreaddons'
|
||||
'kpmcore'
|
||||
'libpwquality'
|
||||
'qt6-declarative'
|
||||
'qt6-svg'
|
||||
'yaml-cpp'
|
||||
)
|
||||
makedepends=(
|
||||
'extra-cmake-modules'
|
||||
'libglvnd'
|
||||
'ninja'
|
||||
'qt6-tools'
|
||||
'qt6-translations'
|
||||
)
|
||||
|
||||
_pkgext="tar.gz"
|
||||
source=("$_pkgname-$pkgver.$_pkgext"::"$url/releases/download/v$pkgver/$_pkgname-$pkgver.$_pkgext")
|
||||
sha256sums=('733bbbb00dc9f84874bd5c22960952f317ea2537565431179fa2152b2fbfdccc')
|
||||
|
||||
build() {
|
||||
local _skip_modules=(
|
||||
dracut
|
||||
dracutlukscfg
|
||||
dummycpp
|
||||
dummyprocess
|
||||
dummypython
|
||||
dummypythonqt
|
||||
initramfs
|
||||
initramfscfg
|
||||
interactiveterminal
|
||||
packagechooser
|
||||
packagechooserq
|
||||
services-openrc
|
||||
)
|
||||
|
||||
local _pkgsrc_dir="$srcdir/$_pkgname-$pkgver"
|
||||
|
||||
local _cmake_options=(
|
||||
-B build
|
||||
-S "$_pkgsrc_dir"
|
||||
-G Ninja
|
||||
-DCMAKE_BUILD_TYPE=Release
|
||||
-DCMAKE_INSTALL_PREFIX='/usr'
|
||||
-DCMAKE_INSTALL_LIBDIR='lib'
|
||||
-DWITH_QT6=ON
|
||||
-DINSTALL_CONFIG=ON
|
||||
-DSKIP_MODULES="${_skip_modules[*]}"
|
||||
-DBUILD_TESTING=OFF
|
||||
-DKDE_INSTALL_BINDIR=/usr/bin
|
||||
-DKDE_INSTALL_SBINDIR=/usr/sbin
|
||||
-DKDE_INSTALL_LIBDIR=/usr/lib
|
||||
-DKDE_INSTALL_LIBEXECDIR=/usr/libexec
|
||||
-DKDE_INSTALL_INCLUDEDIR=/usr/include
|
||||
-DKDE_INSTALL_LOCALSTATEDIR=/var
|
||||
-DKDE_INSTALL_SHAREDSTATEDIR=/usr/share
|
||||
-DKDE_INSTALL_DATAROOTDIR=/usr/share
|
||||
-DKDE_INSTALL_DATADIR=/usr/share
|
||||
-DKDE_INSTALL_LOCALEDIR=/usr/share/locale
|
||||
-DKDE_INSTALL_MANDIR=/usr/share/man
|
||||
-DKDE_INSTALL_INFODIR=/usr/share/info
|
||||
-DKDE_INSTALL_SYSCONFDIR=/etc
|
||||
-Wno-dev
|
||||
)
|
||||
|
||||
cmake "${_cmake_options[@]}"
|
||||
cmake --build build
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
}
|
||||
Reference in New Issue
Block a user