diff --git a/sdist/arch/illogical-impulse-quickshell-git/PKGBUILD b/sdist/arch/illogical-impulse-quickshell-git/PKGBUILD new file mode 100644 index 000000000..c16e53c17 --- /dev/null +++ b/sdist/arch/illogical-impulse-quickshell-git/PKGBUILD @@ -0,0 +1,71 @@ +# >>> Pin to a specific commit <<< +_commit='00858812f25b748d08b075a0d284093685fa3ffd' + +_prefix='illogical-impulse' +conflicts=("quickshell-git") + +_pkgname=quickshell +pkgname="$_prefix-$_pkgname-git" +pkgver=0.1.0.r1 +pkgrel=1 +pkgdesc="$_pkgname-git which version pinned for $_prefix" +arch=(x86_64 aarch64) +url='https://git.outfoxxed.me/quickshell/quickshell' +options=(!strip) +license=('LGPL-3.0-only') +depends=( + 'qt6-declarative' + 'qt6-base' + 'jemalloc' + 'qt6-svg' + 'libpipewire' + 'libxcb' + 'wayland' + 'libdrm' + 'mesa' + 'google-breakpad' +) +makedepends=( + 'spirv-tools' + 'qt6-shadertools' + 'wayland' + 'wayland-protocols' + 'cli11' + 'ninja' + 'cmake' + 'git' +) +provides=("$_pkgname") +conflicts=("$_pkgname") + +_pkgsrc="$_pkgname" +source=("$_pkgsrc::git+$url.git#commit=$_commit" + quickshell-check.hook) +sha256sums=('SKIP' + '8543e21aeaaa5441b73a679160e7601a957f16c433e8d6bd9257e80bd0e94083') + + +pkgver() { + cd "$_pkgsrc" + git describe --long --tags --abbrev=7 --exclude='*[a-zA-Z][a-zA-Z]*' \ + | sed -E 's/^[^0-9]*//;s/([^-]*-g)/r\1/;s/-/./g' +} + +build() { + cd "$_pkgname" + cmake -GNinja -B build \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DDISTRIBUTOR="AUR (package: quickshell-git)" \ + -DDISTRIBUTOR_DEBUGINFO_AVAILABLE=NO \ + -DINSTALL_QML_PREFIX=lib/qt6/qml + + cmake --build build +} + +package() { + install -Dm644 "quickshell-check.hook" -t "$pkgdir/usr/share/libalpm/hooks" + cd "$_pkgname" + DESTDIR="$pkgdir" cmake --install build + install -Dm644 "LICENSE" -t "$pkgdir/usr/share/licenses/$_pkgname" +} diff --git a/sdist/arch/illogical-impulse-quickshell-git/quickshell-check.hook b/sdist/arch/illogical-impulse-quickshell-git/quickshell-check.hook new file mode 100644 index 000000000..a7a97f776 --- /dev/null +++ b/sdist/arch/illogical-impulse-quickshell-git/quickshell-check.hook @@ -0,0 +1,10 @@ +[Trigger] +Operation = Upgrade +Operation = Install +Type = Package +Target = qt6-base +Target = qt6-wayland +[Action] +Description = Querying Quickshell compatibility after Qt6 update... +When = PostTransaction +Exec = /usr/bin/quickshell --private-check-compat diff --git a/sdist/arch/illogical-impulse-widgets/PKGBUILD b/sdist/arch/illogical-impulse-widgets/PKGBUILD index 86daf5313..dfc159457 100644 --- a/sdist/arch/illogical-impulse-widgets/PKGBUILD +++ b/sdist/arch/illogical-impulse-widgets/PKGBUILD @@ -1,19 +1,18 @@ pkgname=illogical-impulse-widgets pkgver=1.0 -pkgrel=3 +pkgrel=4 pkgdesc='Illogical Impulse Widget Dependencies' arch=(any) license=(None) depends=( - fuzzel - glib2 # for `gsettings` it seems? - imagemagick - hypridle - hyprutils - hyprlock - hyprpicker - nm-connection-editor - quickshell-git - translate-shell - wlogout + fuzzel + glib2 # for `gsettings` it seems? + imagemagick + hypridle + hyprutils + hyprlock + hyprpicker + nm-connection-editor + translate-shell + wlogout ) diff --git a/sdist/arch/install-deps.sh b/sdist/arch/install-deps.sh index a537a5780..2d48bee23 100644 --- a/sdist/arch/install-deps.sh +++ b/sdist/arch/install-deps.sh @@ -16,7 +16,7 @@ install-yay(){ # However, let's just keep it as references for other distros writing their `sdist//install-deps.sh`, if they need it. handle-deprecated-dependencies(){ printf "${STY_CYAN}[$0]: Removing deprecated dependencies:${STY_RST}\n" - for i in illogical-impulse-{microtex,pymyc-aur,ags,agsv1} {hyprutils,hyprpicker,hyprlang,hypridle,hyprland-qt-support,hyprland-qtutils,hyprlock,xdg-desktop-portal-hyprland,hyprcursor,hyprwayland-scanner,hyprland}-git;do try sudo pacman --noconfirm -Rdd $i;done + for i in illogical-impulse-{microtex,pymyc-aur} {quickshell,hyprutils,hyprpicker,hyprlang,hypridle,hyprland-qt-support,hyprland-qtutils,hyprlock,xdg-desktop-portal-hyprland,hyprcursor,hyprwayland-scanner,hyprland}-git;do try sudo pacman --noconfirm -Rdd $i;done # Convert old dependencies to non explicit dependencies so that they can be orphaned if not in meta packages remove_bashcomments_emptylines ./sdist/arch/previous_dependencies.conf ./cache/old_deps_stripped.conf readarray -t old_deps_list < ./cache/old_deps_stripped.conf @@ -77,6 +77,7 @@ install-local-pkgbuild() { metapkgs=(./sdist/arch/illogical-impulse-{audio,backlight,basic,fonts-themes,kde,portal,python,screencapture,toolkit,widgets}) metapkgs+=(./sdist/arch/illogical-impulse-hyprland) metapkgs+=(./sdist/arch/illogical-impulse-microtex-git) +metapkgs+=(./sdist/arch/illogical-impulse-quickshell-git) # metapkgs+=(./sdist/arch/packages/illogical-impulse-oneui4-icons-git) [[ -f /usr/share/icons/Bibata-Modern-Classic/index.theme ]] || \ metapkgs+=(./sdist/arch/illogical-impulse-bibata-modern-classic-bin)