Skip to content

Commit

Permalink
add: orchis-kde, qt6-style-kvantum
Browse files Browse the repository at this point in the history
  • Loading branch information
bibelin committed Oct 14, 2024
1 parent d7acd81 commit 7deaf2a
Show file tree
Hide file tree
Showing 6 changed files with 173 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packagelist
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,7 @@ openvr
opera-beta-deb
opera-deb
opera-developer-deb
orchis-kde
os-installer-git
osu-lazer-app
owofetch
Expand Down Expand Up @@ -443,6 +444,7 @@ python3-vkbasalt-cli
python3-zombie-imp
qogir-gtk-theme-bin
qogir-icon-theme-bin
qt6-style-kvantum
qt6pas
qtile-extras-git
qtile-git
Expand Down
12 changes: 12 additions & 0 deletions packages/orchis-kde/.SRCINFO
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
pkgbase = orchis-kde
pkgver = 2024-10-12
pkgdesc = Orchis KDE is a Materia Design theme for KDE Plasma desktop
url = https://github.com/vinceliuice/Orchis-kde
optdepends = qt5-style-kvantum | qt6-style-kvantum: use Kvantum engine for better look
optdepends = orchis-gtk-theme: matching GTK theme
license = GPL-3.0-only
license = CC-BY-SA-4.0
maintainer = bibelin <balian1belin@yandex.ru>
source = git+https://github.com/vinceliuice/Orchis-kde#commit=036e831f545de829a7eaa65f0128322663d406e4

pkgname = orchis-kde
47 changes: 47 additions & 0 deletions packages/orchis-kde/orchis-kde.pacscript
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
pkgname="orchis-kde"
pkgdesc="Orchis KDE is a Materia Design theme for KDE Plasma desktop"
url="https://github.com/vinceliuice/Orchis-kde"
# CC-BY-SA is the license of SDDM theme, the rest is under GPL
license=("GPL-3.0-only" "CC-BY-SA-4.0")
pkgver="2024-10-12"
source=("git+${url}#commit=036e831f545de829a7eaa65f0128322663d406e4")
optdepends=(
"qt5-style-kvantum | qt6-style-kvantum: use Kvantum engine for better look"
"orchis-gtk-theme: matching GTK theme"
)
maintainer=("bibelin <balian1belin@yandex.ru>")

package() {
# Adopted from https://github.com/vinceliuice/Orchis-kde/blob/main/install.sh
SRC_DIR="${PWD}/Orchis-kde"
name="Orchis"

AURORAE_DIR="${pkgdir}/usr/share/aurorae/themes"
SCHEMES_DIR="${pkgdir}/usr/share/color-schemes"
PLASMA_DIR="${pkgdir}/usr/share/plasma/desktoptheme"
LOOKFEEL_DIR="${pkgdir}/usr/share/plasma/look-and-feel"
KVANTUM_DIR="${pkgdir}/usr/share/Kvantum"
WALLPAPER_DIR="${pkgdir}/usr/share/wallpapers"
SDDM_DIR="${pkgdir}/usr/share/sddm/themes"

mkdir -p "${AURORAE_DIR}"
mkdir -p "${SCHEMES_DIR}"
mkdir -p "${PLASMA_DIR}"
mkdir -p "${LOOKFEEL_DIR}"
mkdir -p "${KVANTUM_DIR}"
mkdir -p "${WALLPAPER_DIR}"
mkdir -p "${SDDM_DIR}"

cp -r "${SRC_DIR}"/aurorae/* "${AURORAE_DIR}"
cp -r "${SRC_DIR}"/color-schemes/*.colors "${SCHEMES_DIR}"
cp -r "${SRC_DIR}"/Kvantum/* "${KVANTUM_DIR}"
cp -r "${SRC_DIR}"/plasma/desktoptheme/"${name}" "${PLASMA_DIR}"
cp -r "${SRC_DIR}"/plasma/desktoptheme/"${name}"-dark "${PLASMA_DIR}"
cp -r "${SRC_DIR}"/plasma/desktoptheme/icons "${PLASMA_DIR}/${name}"
cp -r "${SRC_DIR}"/plasma/desktoptheme/icons "${PLASMA_DIR}/${name}-dark"
cp -r "${SRC_DIR}"/color-schemes/"${name}".colors "${PLASMA_DIR}/${name}/colors"
cp -r "${SRC_DIR}"/color-schemes/"${name}"Dark.colors "${PLASMA_DIR}/${name}-dark/colors"
cp -r "${SRC_DIR}"/plasma/look-and-feel/* "${LOOKFEEL_DIR}"
cp -r "${SRC_DIR}"/wallpaper/* "${WALLPAPER_DIR}"
cp -r "${SRC_DIR}"/sddm/6.0/"${name}" "${SDDM_DIR}"
}
34 changes: 34 additions & 0 deletions packages/qt6-style-kvantum/.SRCINFO
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
pkgbase = qt6-style-kvantum
pkgver = 1.1.2
pkgdesc = Kvantum style engine (binaries, localization and themes)
url = https://github.com/tsujan/Kvantum
depends = libc6
depends = libgcc-s1
depends = libkf6windowsystem6
depends = libqt6core6t64
depends = libqt6gui6
depends = libqt6svg6
depends = libqt6widgets6
depends = libstdc++6
depends = libx11-6
makedepends = g++
makedepends = libx11-dev
makedepends = libxext-dev
makedepends = qt6-base-dev
makedepends = qt6-svg-dev
makedepends = libkf6windowsystem-dev
makedepends = qt6-base-dev-tools
conflicts = qt5-style-kvantum
conflicts = qt5-style-kvantum-themes
conflicts = qt5-style-kvantum-l10n
conflicts = qt6-style-kvantum-themes
conflicts = qt6-style-kvantum-l10n
compatible = ubuntu:oracular
compatible = debian:testing
compatible = debian:sid
compatible = neon:*
license = GPL-3.0-or-later
maintainer = bibelin <balian1belin@yandex.ru>
source = https://github.com/tsujan/Kvantum/releases/download/V1.1.2/Kvantum-1.1.2.tar.xz

pkgname = qt6-style-kvantum
30 changes: 30 additions & 0 deletions packages/qt6-style-kvantum/qt6-style-kvantum.pacscript
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
pkgname="qt6-style-kvantum"
pkgdesc="Kvantum style engine (binaries, localization and themes)"
url="https://github.com/tsujan/Kvantum"
license=("GPL-3.0-or-later")
_qt5="qt5-style-kvantum"
conflicts=("${_qt5}" "${_qt5}-themes" "${_qt5}-l10n" "${pkgname}-themes" "${pkgname}-l10n")
pkgver="1.1.2"
source=("https://github.com/tsujan/Kvantum/releases/download/V${pkgver}/Kvantum-${pkgver}.tar.xz")
sha256sum=("6d3ce7f535d7d08ffe59b04dd3f04a8ab83fe35024fe34cf56995b94f40d12a2")
compatible=(
"ubuntu:oracular"
"debian:testing"
"debian:sid"
"neon:*"
)
makedepends=("g++" "libx11-dev" "libxext-dev" "qt6-base-dev" "qt6-svg-dev" "libkf6windowsystem-dev" "qt6-base-dev-tools")
depends=("libc6" "libgcc-s1" "libkf6windowsystem6" "libqt6core6t64" "libqt6gui6" "libqt6svg6" "libqt6widgets6" "libstdc++6" "libx11-6")
maintainer=("bibelin <balian1belin@yandex.ru>")

build() {
cd "Kvantum-${pkgver}/Kvantum"
mkdir build && cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr
make -j"${NCPU}"
}

package() {
cd "Kvantum-${pkgver}/Kvantum/build"
make install DESTDIR="${pkgdir}"
}
48 changes: 48 additions & 0 deletions srclist
Original file line number Diff line number Diff line change
Expand Up @@ -7489,6 +7489,19 @@ pkgbase = opera-developer-deb

pkgname = opera-developer-deb
---
pkgbase = orchis-kde
pkgver = 2024-10-12
pkgdesc = Orchis KDE is a Materia Design theme for KDE Plasma desktop
url = https://github.com/vinceliuice/Orchis-kde
optdepends = qt5-style-kvantum | qt6-style-kvantum: use Kvantum engine for better look
optdepends = orchis-gtk-theme: matching GTK theme
license = GPL-3.0-only
license = CC-BY-SA-4.0
maintainer = bibelin <balian1belin@yandex.ru>
source = git+https://github.com/vinceliuice/Orchis-kde#commit=036e831f545de829a7eaa65f0128322663d406e4

pkgname = orchis-kde
---
pkgbase = os-installer-git
gives = os-installer
pkgver = 0.3
Expand Down Expand Up @@ -8528,6 +8541,41 @@ pkgbase = qogir-icon-theme-bin

pkgname = qogir-icon-theme-bin
---
pkgbase = qt6-style-kvantum
pkgver = 1.1.2
pkgdesc = Kvantum style engine (binaries, localization and themes)
url = https://github.com/tsujan/Kvantum
depends = libc6
depends = libgcc-s1
depends = libkf6windowsystem6
depends = libqt6core6t64
depends = libqt6gui6
depends = libqt6svg6
depends = libqt6widgets6
depends = libstdc++6
depends = libx11-6
makedepends = g++
makedepends = libx11-dev
makedepends = libxext-dev
makedepends = qt6-base-dev
makedepends = qt6-svg-dev
makedepends = libkf6windowsystem-dev
makedepends = qt6-base-dev-tools
conflicts = qt5-style-kvantum
conflicts = qt5-style-kvantum-themes
conflicts = qt5-style-kvantum-l10n
conflicts = qt6-style-kvantum-themes
conflicts = qt6-style-kvantum-l10n
compatible = ubuntu:oracular
compatible = debian:testing
compatible = debian:sid
compatible = neon:*
license = GPL-3.0-or-later
maintainer = bibelin <balian1belin@yandex.ru>
source = https://github.com/tsujan/Kvantum/releases/download/V1.1.2/Kvantum-1.1.2.tar.xz

pkgname = qt6-style-kvantum
---
pkgbase = qt6pas
gives = libqt6pas-dev
pkgver = 6.2.7
Expand Down

0 comments on commit 7deaf2a

Please sign in to comment.