Build omarchy-hyprland-titlebars from its own repository
The plugin source moved to omacom/omarchy-hyprland-titlebars, with its history. The package now builds from that repository's release tags, like Monologue and Hype, and keeps rebuilding with every Hyprland. v0.2.0 drops edge snapping, titles windows with their app's name, and highlights titlebar buttons on hover. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
99dd4771b5
commit
41c7c2d948
17 files changed
+23
-2115
No files matched your search
@@ -1,42 +1,25 @@
|
||||
# Maintainer: Ryan Hughes <ryan@heyoodle.com>
|
||||
|
||||
pkgname=omarchy-hyprland-titlebars
|
||||
pkgver=0.1.0
|
||||
pkgrel=2
|
||||
pkgdesc="Titlebars and edge snapping for Omarchy's floating workspaces"
|
||||
pkgver=0.2.0
|
||||
pkgrel=1
|
||||
pkgdesc="Titlebars for Omarchy's floating workspaces"
|
||||
arch=('x86_64' 'aarch64')
|
||||
url='https://github.com/omacom/omarchy'
|
||||
url='https://github.com/omacom/omarchy-hyprland-titlebars'
|
||||
license=('BSD-3-Clause' 'MIT')
|
||||
# A Hyprland plugin only loads into the exact Hyprland build it was compiled
|
||||
# against. rebuild_on in .omarchy/package.json rebuilds it with every Hyprland.
|
||||
depends=('hyprland=0.56.2' 'glibc' 'libgcc' 'libstdc++' 'hyprlang' 'hyprutils')
|
||||
# against. rebuild_on in .omarchy/package.json rebuilds it with every Hyprland,
|
||||
# and bin/sync-rebuilds moves these pins to the Hyprland it rebuilds against.
|
||||
depends=('glibc' 'libgcc' 'libstdc++' 'hyprlang' 'hyprutils')
|
||||
depends_x86_64=('hyprland=0.56.2')
|
||||
depends_aarch64=('hyprland=0.56.2')
|
||||
makedepends=('cmake' 'pkgconf')
|
||||
options=('!lto' '!debug')
|
||||
source=('CMakeLists.txt'
|
||||
'main.cpp'
|
||||
'barDeco.cpp'
|
||||
'barDeco.hpp'
|
||||
'BarPassElement.cpp'
|
||||
'BarPassElement.hpp'
|
||||
'edgeSnap.cpp'
|
||||
'edgeSnap.hpp'
|
||||
'globals.hpp'
|
||||
'LICENSE'
|
||||
'LICENSE.MIT')
|
||||
sha256sums=('27a292b1b037210774d785a8db17d0e77aceba529a9946b7b555bd6333b9b8e8'
|
||||
'aa6e0c8cb22dc4d26516fa64aac81d1e493cf7a9b99d7a8bd78b82d61b2f2e89'
|
||||
'2d9ab463efa263881c23110f9550b10694366e508418bfe06700dc9e18b31579'
|
||||
'dbdd56902558b36f7e7d01f7b9884530a93f7dda411a2b360acf69255a42c8f2'
|
||||
'e0074f71d8bbb3ae0a24a91a4647c4d0da6ab8c5effa0dce2b5a1bb8c85d085c'
|
||||
'dffbf8ddc768fd111b2a41697fe6547e954c46edc16750913c789d8daa8690cc'
|
||||
'a2b70dd8fc9974a9fca2f4a7db575d14c2c6802c154e4606a3c9e06c1b25a4e6'
|
||||
'2ebf96f7e7508e4485d706c99c186d6fabf14ba5ceb7349fbc3d72529904424e'
|
||||
'831147435d58b3071ad26fd756f9755eaf461793d664ea3cb049270b38228993'
|
||||
'3a1d080d85ce1d722b3bd84d87b74dd2332ba7b68a40a28a7126a86cfca6502a'
|
||||
'717ba1949502290f8e47688ae2e323acd06c8ca47aec9f7596b15f678c1af4a2')
|
||||
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
|
||||
sha256sums=('cd6ece3e3fc4afed4052cba5045faa1f6fb2e6a2203bddd7e85b9c57646bb10b')
|
||||
|
||||
build() {
|
||||
cmake -S "$srcdir" -B build \
|
||||
cmake -S "$srcdir/$pkgname-$pkgver" -B build \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr
|
||||
cmake --build build
|
||||
@@ -44,6 +27,6 @@ build() {
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
install -Dm644 LICENSE.MIT "$pkgdir/usr/share/licenses/$pkgname/LICENSE.MIT"
|
||||
install -Dm644 "$pkgname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
install -Dm644 "$pkgname-$pkgver/LICENSE.MIT" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.MIT"
|
||||
}
|
||||
Reference in new issue
Block a user