Skip to content

Commit

Permalink
add: qt6-style-kvantum (#6536)
Browse files Browse the repository at this point in the history
## Progress 

- [x] Edit packagelist
- [x] Add initial pacscript
- [ ] Contact devs
- [x] Add maintainer to pacscript

This package
[exists](https://packages.ubuntu.com/oracular/qt6-style-kvantum) in
Ubuntu oracular (thus I used this name instead of updating unmaintained
`kvantum` package, which I suppose could be removed if such operation
could be done in this repo: if there still are packages that depend on
it, `qt5-style-kvantum | qt6-style-kvantum` could be used instead). But
required dependencies exist in Debian testing and sid, and in KDE Neon.
In Ubuntu repo the package is split in `${pkgname}`, `${pkgname}-themes`
and `${pkgname}-l10n`, but I kept everything in one package for user
convenience (users probably want l10n anyway, it's just a few Kb, and
themes take a few Mb, so I doubt it can be considered a bloat and so I
avoided extra work, but if you insist I will make a split package).
  • Loading branch information
bibelin authored Oct 15, 2024
1 parent 8a30858 commit 3f61902
Show file tree
Hide file tree
Showing 4 changed files with 102 additions and 0 deletions.
1 change: 1 addition & 0 deletions packagelist
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,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
35 changes: 35 additions & 0 deletions packages/qt6-style-kvantum/.SRCINFO
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
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 = cmake
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 <[email protected]>
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=("cmake" "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 <[email protected]>")

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}"
}
36 changes: 36 additions & 0 deletions srclist
Original file line number Diff line number Diff line change
Expand Up @@ -8554,6 +8554,42 @@ 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 = cmake
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 <[email protected]>
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 3f61902

Please sign in to comment.