Skip to content

Commit

Permalink
gui-apps/hyprland-per-window-layout: update to 2.9
Browse files Browse the repository at this point in the history
Closes: #79
  • Loading branch information
ProMix0 authored and epsilon-0 committed Mar 25, 2024
1 parent 536e375 commit 36e465c
Show file tree
Hide file tree
Showing 4 changed files with 109 additions and 96 deletions.
1 change: 1 addition & 0 deletions gui-apps/hyprland-per-window-layout/Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ DIST hashbrown-0.14.3.crate 141425 BLAKE2B 23c63a99c6c6b7a6b9b9e8bbbc7f1e342e1eb
DIST hermit-abi-0.3.1.crate 13793 BLAKE2B ece7865a09f566a95bfba5f1fba380bf12836c3761fc6d5a3d5543d3e50ca0eac81bb567d50b5643849cf1a752aa651a0db4c053c60faa8f1c74fe2f12819d71 SHA512 a55fe9230e4e8fef63284befff74108f206e76067257439d334d33068875368902dc690926a1feea15611f14123073867d7e9cd21397bc484cef849d6e1dfbf9
DIST humantime-2.1.0.crate 16749 BLAKE2B e2ae8325b037fb175b9200cc5c1944ce579056c6662cce307beb6701894552362a25e371aad65f8fb9384945b48815ca74bb8b544a32e0a5845b7edd30b918c9 SHA512 3bf29ddd1391d82897c22baa0ff3ed58ef6d6959859f1f8ed54d324caba5b6fb4422e56790511ce82f902cd11467f93c8ab7fc7b0e0bdb719308a4d0a446ae0c
DIST hyprland-per-window-layout-2.6.tar.gz 14890 BLAKE2B 6e2348d4f83944c87ac9d75ec571b988f7f4996fb3f01db3cdc537bf2f0380d1c696cb14b5c9469438140cc1ac1661bf213665fdc34779df0b39a39cdf5f3313 SHA512 c6ccd8207e04c82e6fbcaea3e0ac67b9a54eda429274e75e00b1e81ca3dc106995126d9a15608901a16cdd6953b90a4418d4a8e8991429de730e4afee0c18b27
DIST hyprland-per-window-layout-2.9.tar.gz 15032 BLAKE2B 1f154a21c90b282acb4f476be14a3e80c74213e60ed7b12ade457c8a18bd645779f86b897ddc19849e9517adfaa0c4db9c6d5f79bc529b2a6c053dc60b67d151 SHA512 5ece72c0b7d8f11eb43c36f1a4acfa9f8533a12a4b72aa30e16999a31d6c1359205ce435fc5cb4b910249e928d6751162eb55097cb9bb8d48ec6c089b18598f4
DIST indexmap-2.1.0.crate 68224 BLAKE2B 9d833570cbb63ecae138ca234b998bd0e5b11b1a7e3d5ef4a21212bb32d0998395f1fc609f66860bdbab198081687630f583f5a2e495fac1afa40ff48bee8a0f SHA512 9d303eef918b9264b9fe326cc1d71f4095f7ed5639ed8696efa3e9be65dff2c50ada4495409e109e7718997db51ae1fd865cf8e88978107d7823faba14380600
DIST io-lifetimes-1.0.11.crate 37346 BLAKE2B 7f278b7378a8569d3552c9b6d4be06d7908e05d77cdb964267f0b621ec4975a42fb6e48fc030a75ad5865681adf32ff747943ac559ab4ad73331a6611a1b10c6 SHA512 30c6e5ce6f5beabe0d7bee4f4522884d1316cf7d9b8d093ba0f952995997be3d0f10e1e77b9c20b7fe2b65429de0d2ec89bb35e939455795205206a3154ed544
DIST is-terminal-0.4.7.crate 8356 BLAKE2B f0f42d6f6204c68bc8a9e1290b9b059ec55f5aa2f83f6966711a5f986852befe21ac9281fd611e65cb4fcbf35dfb212748785c7258c44602e7e390c51f09dec5 SHA512 56c00b2942963f8a0b5c40c96a885f85565fb09e247bfd5a3e77ca5c9e0e0e40a17a8d809c0541177e8b496fef87baac4b86c751765491ffffdb631515d8acf5
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,9 @@ DESCRIPTION="Per window keyboard layout (language) for Hyprland wayland composit
# Double check the homepage as the cargo_metadata crate
# does not provide this value so instead repository is used
HOMEPAGE="https://github.com/coffebar/hyprland-per-window-layout"
if [[ ${PV} = 9999* ]]; then
EGIT_REPO_URI="https://github.com/coffebar/hyprland-per-window-layout.git/"
inherit git-r3
else
SRC_URI="https://github.com/coffebar/hyprland-per-window-layout/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
SRC_URI="https://github.com/coffebar/hyprland-per-window-layout/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
${CARGO_CRATE_URIS}"
KEYWORDS="~amd64"
fi
KEYWORDS="~amd64"

# License set may be more restrictive as OR is not respected
# use cargo-license for a more accurate license picture
Expand All @@ -103,11 +98,3 @@ BDEPEND="
# update with proper path to binaries this crate installs, omit leading /
QA_FLAGS_IGNORED="usr/bin/${PN}"

src_unpack() {
if [[ ${PV} = 9999* ]]; then
git-r3_src_unpack
cargo_live_src_unpack
else
cargo_src_unpack
fi
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
# Copyright 2024 Misha Zavertkin <misha.zavertkin@mail.ru>
# Distributed under the terms of the GNU General Public License v2

# Auto-Generated by cargo-ebuild 0.5.4-r1

EAPI=8

CRATES="
aho-corasick@1.0.1
autocfg@1.1.0
bitflags@1.3.2
bitflags@2.4.1
cc@1.0.79
cfg-if@1.0.0
dirs@5.0.1
dirs-sys@0.4.1
env_logger@0.10.0
equivalent@1.0.1
errno@0.3.1
errno-dragonfly@0.1.2
getrandom@0.2.11
hashbrown@0.14.3
hermit-abi@0.3.1
humantime@2.1.0
indexmap@2.1.0
io-lifetimes@1.0.11
is-terminal@0.4.7
itoa@1.0.6
lazy_static@1.4.0
libc@0.2.152
libredox@0.0.1
linux-raw-sys@0.3.8
log@0.4.18
memchr@2.5.0
memoffset@0.6.5
nix@0.23.2
option-ext@0.2.0
proc-macro2@1.0.76
quote@1.0.35
redox_syscall@0.4.1
redox_users@0.4.4
regex@1.8.3
regex-syntax@0.7.2
rustix@0.37.19
ryu@1.0.13
serde@1.0.163
serde_derive@1.0.163
serde_json@1.0.96
serde_spanned@0.6.5
syn@2.0.48
termcolor@1.2.0
thiserror@1.0.56
thiserror-impl@1.0.56
toml@0.8.8
toml_datetime@0.6.5
toml_edit@0.21.0
unicode-ident@1.0.9
wasi@0.11.0+wasi-snapshot-preview1
winapi@0.3.9
winapi-i686-pc-windows-gnu@0.4.0
winapi-util@0.1.5
winapi-x86_64-pc-windows-gnu@0.4.0
windows-sys@0.48.0
windows-targets@0.48.0
windows_aarch64_gnullvm@0.48.0
windows_aarch64_msvc@0.48.0
windows_i686_gnu@0.48.0
windows_i686_msvc@0.48.0
windows_x86_64_gnu@0.48.0
windows_x86_64_gnullvm@0.48.0
windows_x86_64_msvc@0.48.0
winnow@0.5.33
"

inherit cargo

DESCRIPTION="Per window keyboard layout (language) for Hyprland wayland compositor"
# Double check the homepage as the cargo_metadata crate
# does not provide this value so instead repository is used
HOMEPAGE="https://github.com/coffebar/hyprland-per-window-layout"
SRC_URI="https://github.com/coffebar/hyprland-per-window-layout/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
${CARGO_CRATE_URIS}"
KEYWORDS="~amd64"

# License set may be more restrictive as OR is not respected
# use cargo-license for a more accurate license picture
LICENSE="Apache-2.0 Apache-2.0-with-LLVM-exceptions Boost-1.0 MIT MPL-2.0 Unicode-DFS-2016 Unlicense"
SLOT="0"

RDEPEND="
gui-wm/hyprland
"
BDEPEND="
virtual/rust
"

# rust does not use *FLAGS from make.conf, silence portage warning
# update with proper path to binaries this crate installs, omit leading /
QA_FLAGS_IGNORED="usr/bin/${PN}"

Original file line number Diff line number Diff line change
Expand Up @@ -5,87 +5,15 @@

EAPI=8

CRATES="
aho-corasick@1.0.1
autocfg@1.1.0
bitflags@1.3.2
bitflags@2.4.1
cc@1.0.79
cfg-if@1.0.0
dirs@5.0.1
dirs-sys@0.4.1
env_logger@0.10.0
equivalent@1.0.1
errno@0.3.1
errno-dragonfly@0.1.2
getrandom@0.2.11
hashbrown@0.14.3
hermit-abi@0.3.1
humantime@2.1.0
indexmap@2.1.0
io-lifetimes@1.0.11
is-terminal@0.4.7
itoa@1.0.6
lazy_static@1.4.0
libc@0.2.152
libredox@0.0.1
linux-raw-sys@0.3.8
log@0.4.18
memchr@2.5.0
memoffset@0.6.5
nix@0.23.2
option-ext@0.2.0
proc-macro2@1.0.76
quote@1.0.35
redox_syscall@0.4.1
redox_users@0.4.4
regex@1.8.3
regex-syntax@0.7.2
rustix@0.37.19
ryu@1.0.13
serde@1.0.163
serde_derive@1.0.163
serde_json@1.0.96
serde_spanned@0.6.5
syn@2.0.48
termcolor@1.2.0
thiserror@1.0.56
thiserror-impl@1.0.56
toml@0.8.8
toml_datetime@0.6.5
toml_edit@0.21.0
unicode-ident@1.0.9
wasi@0.11.0+wasi-snapshot-preview1
winapi@0.3.9
winapi-i686-pc-windows-gnu@0.4.0
winapi-util@0.1.5
winapi-x86_64-pc-windows-gnu@0.4.0
windows-sys@0.48.0
windows-targets@0.48.0
windows_aarch64_gnullvm@0.48.0
windows_aarch64_msvc@0.48.0
windows_i686_gnu@0.48.0
windows_i686_msvc@0.48.0
windows_x86_64_gnu@0.48.0
windows_x86_64_gnullvm@0.48.0
windows_x86_64_msvc@0.48.0
winnow@0.5.33
"

inherit cargo

DESCRIPTION="Per window keyboard layout (language) for Hyprland wayland compositor"
# Double check the homepage as the cargo_metadata crate
# does not provide this value so instead repository is used
HOMEPAGE="https://github.com/coffebar/hyprland-per-window-layout"
if [[ ${PV} = 9999* ]]; then
EGIT_REPO_URI="https://github.com/coffebar/hyprland-per-window-layout.git/"
inherit git-r3
else
SRC_URI="https://github.com/coffebar/hyprland-per-window-layout/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
${CARGO_CRATE_URIS}"
KEYWORDS="~amd64"
fi

EGIT_REPO_URI="https://github.com/coffebar/hyprland-per-window-layout.git/"
inherit git-r3

# License set may be more restrictive as OR is not respected
# use cargo-license for a more accurate license picture
Expand All @@ -104,10 +32,7 @@ BDEPEND="
QA_FLAGS_IGNORED="usr/bin/${PN}"

src_unpack() {
if [[ ${PV} = 9999* ]]; then
git-r3_src_unpack
cargo_live_src_unpack
else
cargo_src_unpack
fi
git-r3_src_unpack
cargo_live_src_unpack
}

0 comments on commit 36e465c

Please sign in to comment.