Merge updates from master

This commit is contained in:
Repository mirror & CI
2024-01-03 17:03:49 +00:00
61 changed files with 1801 additions and 2456 deletions

View File

@@ -173,7 +173,6 @@ DIST pango-sys-0.17.0.crate 24749 BLAKE2B 4ca7ff7d505ec9c800d5a3ae297cf79ec8a921
DIST parking-2.0.0.crate 9714 BLAKE2B e3ecd48e90289fe173b1419ad3f68350dd05359461c5842e52304e20fef9b5e089803e0c0a8e85b249a546f61cf8624367e6ec164ef7638850b451d325851075 SHA512 21c5723dc0281ade1c2cd6a1c2215ba70eb47a721a4a594ef1e54061bc79579ffe9c31f06e534fd847f936ed265cd65a59dfa9e38880f8bd42c6e8ac70a13f93
DIST pbkdf2-0.12.1.crate 13866 BLAKE2B d01d586db5ea19d042fb9cbe37e0189401d982957c4e497d1ec616a6624e36a8f7f80e0a1a98a05862fb9dc73c26c84b81d1d52ca1053f483726424e4acb5144 SHA512 8a800a5a3df6e52fa79dd0ba5e6860eb2517f7a1213d1b8abe666ed2f3250464e56dcdfec5b79d894309074ccc2fddacc2c323c3d0d1d70314c4d9adcfd3eeec
DIST percent-encoding-2.2.0.crate 10075 BLAKE2B 397e59acc3953868c709244b89a2e0db3304c0b574ecba761026b570a485f2cb5b0b2a0159586d1f342ec395ef02ace536da3bc1c72093e1cf93f8b37b26b0ec SHA512 890a5256d2b4290e12e04a02c3529f3a017faa2b6016a4dd0f08b36509f0b1107eacfcb4702024d6a21ff8852a11f263c1adc096b16ef8d12c45a734c087fe68
DIST pika-backup-0.6.1.tar.bz2 417295 BLAKE2B 32cb7b4aa308e12b5df8bf2a69a4a66e89c0097e96e453b96d0babeb5b5e26aeadc20636990f60281c253fb460a7672a39482c8db129fabee3f8c0dedfb67af9 SHA512 b19a03de1de1647b3109f9ce7a697b6f4b56c996590b04d87fa883c7bcb82ee03324ab960ef74665edb1d58107cf0d56eb6d5e0b7f96b7a2beb956a27c7e51d4
DIST pika-backup-0.6.2.tar.bz2 432884 BLAKE2B a205228766d356970ba94634925b99c7ec816dc978a84b26054a8f0551510c432469f9eca73082a99159c5769b0976416592525b6d067e7c71d772355ce5ec9c SHA512 10da6a60096aefb57339d951e621dbe468c2e9d51b940ba2a65ae920dc80c4780a9e4773b795280bfd5d5225bc8b47fbf4580f048d0cfeea2f78569668eb02e8
DIST pin-project-lite-0.2.9.crate 27713 BLAKE2B d6985b5add432fb6287d1b0c9fb0cc91a195f82c5a748a9ea430e4ba884717ec7b16d730b5ea62de5b2bfead1771da2d115b3776e12e605f70f2538f374a28fa SHA512 cef0b77233adca712db1183f780732ea577cf1b27c2643de221d54c837c75ce749f907e24a967be7474812c7682cba613a3fc5d553a9578a1b80569da0e562e4
DIST pin-utils-0.1.0.crate 7580 BLAKE2B 457e1287202f16d1873b24bf4f1de1828300128c4ba3131758e64f9784d36d47365f22d85493c3a85d854f0d8dbb4c6cef3a0f5b064014dc03943e58b7ba9178 SHA512 828422b8440cc82ac6b0743e0112fa7540d437aed457564999092b1462cd7672cd6b1f0201b67075431aeedd3d9c5127468a3dd028744109944f7f023c82fd70

View File

@@ -1,9 +0,0 @@
diff --git a/meson.build b/meson.build
index a13a513..1bac8f8 100644
--- a/meson.build
+++ b/meson.build
@@ -28,4 +28,3 @@ meson.add_dist_script('build-aux/meson-dist-vendor.sh')
subdir('data')
subdir('help')
subdir('po')
-subdir('src')

View File

@@ -1,8 +1,18 @@
diff --git a/build-aux/meson-cargo-manifest.py b/build-aux/meson-cargo-manifest.py
index 34028e2..3bf3376 100755
--- a/build-aux/meson-cargo-manifest.py
+++ b/build-aux/meson-cargo-manifest.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/env python3
try:
import tomllib
diff --git a/meson.build b/meson.build
index 2f20ee8..95bd28e 100644
index 932bdb2..8938862 100644
--- a/meson.build
+++ b/meson.build
@@ -29,4 +29,3 @@ meson.add_dist_script('build-aux/meson-dist-vendor.sh')
@@ -28,4 +28,3 @@ meson.add_dist_script('build-aux/meson-dist-vendor.sh')
subdir('data')
subdir('help')
subdir('po')

View File

@@ -1,354 +0,0 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
CRATES="
adler-1.0.2
aes-0.8.2
aho-corasick-0.7.20
android_system_properties-0.1.5
anyhow-1.0.70
arc-swap-1.6.0
arrayvec-0.7.2
ashpd-0.4.0
async-attributes-1.1.2
async-broadcast-0.5.1
async-channel-1.8.0
async-executor-1.5.0
async-fs-1.6.0
async-global-executor-2.3.1
async-io-1.13.0
async-lock-2.7.0
async-process-1.6.0
async-recursion-1.0.4
async-std-1.12.0
async-task-4.4.0
async-trait-0.1.68
atomic-waker-1.1.0
autocfg-1.1.0
bit-set-0.5.3
bit-vec-0.6.3
bitflags-1.3.2
block-0.1.6
block-buffer-0.10.4
block-padding-0.3.2
blocking-1.3.0
bumpalo-3.12.0
byteorder-1.4.3
cairo-rs-0.17.0
cairo-sys-rs-0.17.0
cbc-0.1.2
cc-1.0.79
cfg-expr-0.14.0
cfg-if-1.0.0
chrono-0.4.22
chronoutil-0.2.3
cipher-0.4.4
cmd_lib-1.3.0
cmd_lib_macros-1.3.0
codespan-reporting-0.11.1
concurrent-queue-2.1.0
const-str-0.5.3
core-foundation-sys-0.8.3
cpufeatures-0.2.6
crc32fast-1.3.2
crossbeam-utils-0.8.15
crypto-common-0.1.6
ctor-0.1.26
cxx-1.0.94
cxx-build-1.0.94
cxxbridge-flags-1.0.94
cxxbridge-macro-1.0.94
darling-0.14.4
darling_core-0.14.4
darling_macro-0.14.4
default-env-0.1.1
derivative-2.2.0
derive_builder-0.12.0
derive_builder_core-0.12.0
derive_builder_macro-0.12.0
digest-0.10.6
dirs-4.0.0
dirs-5.0.0
dirs-sys-0.3.7
dirs-sys-0.4.0
either-1.8.1
enclose-1.1.8
enumflags2-0.7.5
enumflags2_derive-0.7.4
errno-0.2.8
errno-0.3.0
errno-dragonfly-0.1.2
event-listener-2.5.3
faccess-0.2.4
fancy-regex-0.11.0
fastrand-1.9.0
field-offset-0.3.5
flate2-1.0.25
fnv-1.0.7
form_urlencoded-1.1.0
futures-channel-0.3.27
futures-core-0.3.27
futures-executor-0.3.27
futures-io-0.3.27
futures-lite-1.12.0
futures-macro-0.3.27
futures-sink-0.3.27
futures-task-0.3.27
futures-util-0.3.27
gdk-pixbuf-0.17.0
gdk-pixbuf-sys-0.17.0
gdk4-0.6.3
gdk4-sys-0.6.3
generic-array-0.14.7
getrandom-0.2.8
gettext-rs-0.7.0
gettext-sys-0.21.3
gio-0.17.4
gio-sys-0.17.4
glib-0.17.5
glib-macros-0.17.6
glib-sys-0.17.4
gloo-timers-0.2.6
gobject-sys-0.17.4
graphene-rs-0.17.1
graphene-sys-0.17.0
gsk4-0.6.3
gsk4-sys-0.6.3
gtk4-0.6.4
gtk4-macros-0.6.5
gtk4-sys-0.6.3
gvdb-0.4.0
gvdb-macros-0.1.6
hashbrown-0.12.3
heck-0.4.1
hermit-abi-0.3.1
hex-0.4.3
hkdf-0.12.3
hmac-0.12.1
iana-time-zone-0.1.54
iana-time-zone-haiku-0.1.1
ident_case-1.0.1
idna-0.3.0
indexmap-1.9.3
inout-0.1.3
instant-0.1.12
io-lifetimes-1.0.9
itertools-0.10.5
itoa-1.0.6
js-sys-0.3.61
kv-log-macro-1.0.7
lazy_static-1.4.0
libadwaita-0.3.1
libadwaita-sys-0.3.0
libc-0.2.140
libm-0.2.6
link-cplusplus-1.0.8
linux-raw-sys-0.1.4
linux-raw-sys-0.3.0
litrs-0.4.0
locale_config-0.3.0
log-0.4.17
malloc_buf-0.0.6
matches-0.1.10
memchr-2.5.0
memmap2-0.5.10
memoffset-0.7.1
memoffset-0.8.0
miniz_oxide-0.6.2
nix-0.26.2
num-0.4.0
num-bigint-0.4.3
num-bigint-dig-0.8.2
num-complex-0.4.3
num-format-0.4.4
num-integer-0.1.45
num-iter-0.1.43
num-rational-0.4.1
num-traits-0.2.15
objc-0.2.7
objc-foundation-0.1.1
objc_id-0.1.1
once_cell-1.17.1
oo7-0.1.0
ordered-stream-0.2.0
os_pipe-0.9.2
pango-0.17.4
pango-sys-0.17.0
parking-2.0.0
pbkdf2-0.12.1
percent-encoding-2.2.0
pin-project-lite-0.2.9
pin-utils-0.1.0
pkg-config-0.3.26
polling-2.6.0
ppv-lite86-0.2.17
proc-macro-crate-1.3.1
proc-macro-error-1.0.4
proc-macro-error-attr-1.0.4
proc-macro2-0.4.30
proc-macro2-1.0.54
quick-error-2.0.1
quick-xml-0.27.1
quote-0.6.13
quote-1.0.26
rand-0.8.5
rand_chacha-0.3.1
rand_core-0.6.4
redox_syscall-0.2.16
redox_users-0.4.3
regex-1.7.3
regex-syntax-0.6.29
result-1.0.0
rustc_version-0.4.0
rustix-0.36.11
rustix-0.37.4
ryu-1.0.13
safe-transmute-0.11.2
same-file-1.0.6
scopeguard-1.1.0
scratch-1.0.5
semver-1.0.17
serde-1.0.159
serde_derive-1.0.159
serde_ini-0.2.0
serde_json-1.0.95
serde_repr-0.1.12
serde_spanned-0.6.1
sha1-0.10.5
sha2-0.10.6
shell-words-1.1.0
signal-hook-0.3.15
signal-hook-registry-1.4.1
slab-0.4.8
smallvec-1.10.0
socket2-0.4.9
spin-0.5.2
static_assertions-1.1.0
strsim-0.10.0
subtle-2.4.1
syn-0.15.44
syn-1.0.109
syn-2.0.11
system-deps-6.0.4
temp-dir-0.1.11
tempfile-3.4.0
termcolor-1.2.0
thiserror-1.0.40
thiserror-impl-1.0.40
time-0.1.45
time-0.3.20
time-core-0.1.0
tinyvec-1.6.0
tinyvec_macros-0.1.1
tmp_env-0.1.1
toml-0.7.3
toml_datetime-0.6.1
toml_edit-0.19.8
tracing-0.1.37
tracing-attributes-0.1.23
tracing-core-0.1.30
typenum-1.16.0
uds_windows-1.0.2
unicode-bidi-0.3.13
unicode-ident-1.0.8
unicode-normalization-0.1.22
unicode-width-0.1.10
unicode-xid-0.1.0
url-2.3.1
value-bag-1.0.0-alpha.9
version-compare-0.1.1
version_check-0.9.4
void-1.0.2
waker-fn-1.1.0
walkdir-2.3.3
wasi-0.10.0+wasi-snapshot-preview1
wasi-0.11.0+wasi-snapshot-preview1
wasm-bindgen-0.2.84
wasm-bindgen-backend-0.2.84
wasm-bindgen-futures-0.4.34
wasm-bindgen-macro-0.2.84
wasm-bindgen-macro-support-0.2.84
wasm-bindgen-shared-0.2.84
web-sys-0.3.61
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-0.46.0
windows-sys-0.42.0
windows-sys-0.45.0
windows-targets-0.42.2
windows_aarch64_gnullvm-0.42.2
windows_aarch64_msvc-0.42.2
windows_i686_gnu-0.42.2
windows_i686_msvc-0.42.2
windows_x86_64_gnu-0.42.2
windows_x86_64_gnullvm-0.42.2
windows_x86_64_msvc-0.42.2
winnow-0.4.1
zbus-3.11.1
zbus_macros-3.11.1
zbus_names-2.5.0
zeroize-1.6.0
zeroize_derive-1.4.1
zvariant-3.12.0
zvariant_derive-3.12.0
zvariant_utils-1.0.0
zxcvbn-2.2.2
"
inherit cargo gnome2-utils meson xdg
DESCRIPTION="Keep your data safe"
HOMEPAGE="https://gitlab.gnome.org/World/pika-backup"
SRC_URI="https://gitlab.gnome.org/World/${PN}/-/archive/v${PV}.tar.bz2 -> ${P}.tar.bz2
$(cargo_crate_uris)
"
S="${WORKDIR}/${PN}-v${PV}-932e918d4d068f4e88e4c36b0fe449a92b4bdfd7"
LICENSE="0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD Boost-1.0 MIT Unicode-DFS-2016 Unlicense ZLIB"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="
app-backup/borgbackup
app-crypt/libsecret
dev-util/itstool
gui-libs/gtk
gui-libs/libadwaita
"
RDEPEND="${DEPEND}"
BDEPEND="
dev-util/itstool
sys-devel/gettext
"
QA_FLAGS_IGNORED="usr/bin/${PN} usr/bin/${PN}-monitor"
PATCHES=(
"${FILESDIR}/meson-fixes.patch"
)
src_compile() {
meson_src_compile
cargo_src_compile
}
src_install() {
meson_src_install
cargo_src_install
}
pkg_postinst() {
xdg_pkg_postinst
gnome2_schemas_update
xdg_icon_cache_update
}
pkg_postrm() {
xdg_pkg_postrm
gnome2_schemas_update
xdg_icon_cache_update
}

View File

@@ -1,4 +1,4 @@
# Copyright 2023 Gentoo Authors
# Copyright 2023-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -298,8 +298,8 @@ CRATES="
zvariant_utils@1.0.0
zxcvbn@2.2.2
"
inherit cargo gnome2-utils meson xdg
PYTHON_COMPAT=( python3_{9..12} )
inherit cargo gnome2-utils meson python-any-r1 xdg
DESCRIPTION="Keep your data safe"
HOMEPAGE="https://gitlab.gnome.org/World/pika-backup"
@@ -322,6 +322,7 @@ DEPEND="
"
RDEPEND="${DEPEND}"
BDEPEND="
${PYTHON_DEPS}
dev-util/itstool
sys-devel/gettext
"
@@ -332,6 +333,12 @@ PATCHES=(
"${FILESDIR}/meson-fixes.patch"
)
# src_prepare() {
# default
# python-any-r1_pkg_setup
# sed -e 's/python3/${EPYTHON}/' "${S}/build-aux/meson-cargo-manifest.py" || die
# }
src_compile() {
meson_src_compile
cargo_src_compile

View File

@@ -0,0 +1 @@
DIST lyfetch-1.1.tar.gz 28536 BLAKE2B 378aa548a5ddfddcd0a54a88edcba44f65fae73060b4f090c95fc8c590f220f53e8fff09081079ef06a2f446e4ef26c1a11bacf06bda1c1c39c6e175634419d8 SHA512 6fd760b10a5c1ea59d5d5f5d9b0151a262e8684903cbda6656615c92a59deeb447856e292bdd78fbd093cb1d1caecb774991b3715565d99e272e7aa974154433

View File

@@ -0,0 +1,18 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Small system information script for linux systems."
HOMEPAGE="https://github.com/its-Lyn/lyfetch"
SRC_URI="https://github.com/its-Lyn/lyfetch/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT=0
KEYWORDS="~amd64"
src_install() {
dobin "${PN}"
}

View File

@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>itslyn.dev@gmail.com</email>
<name>Lyn Serra</name>
</maintainer>
<longdescription lang="en">
This package aims to create a simple and easy to use fetch system, it tries to remain POSIX compliant (where it can).
It also serves as a cutesy fetch for people who like strawberries.
</longdescription>
<upstream>
<maintainer status="active">
<name>Lyn Serra</name>
</maintainer>
<bugs-to>https://github.com/its-Lyn/lyfetch/issues</bugs-to>
<remote-id type="github">its-Lyn/lyfetch</remote-id>
</upstream>
</pkgmetadata>

File diff suppressed because it is too large Load Diff

View File

@@ -1,350 +0,0 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Auto-Generated by cargo-ebuild 0.5.4
EAPI=8
CRATES="
addr2line-0.17.0
adler-1.0.2
aho-corasick-0.7.19
ansi_term-0.12.1
anyhow-1.0.64
async-broadcast-0.4.1
async-channel-1.7.1
async-executor-1.4.1
async-io-1.9.0
async-lock-2.5.0
async-priority-channel-0.1.0
async-recursion-0.3.2
async-recursion-1.0.0
async-stream-0.3.3
async-stream-impl-0.3.3
async-task-4.3.0
async-trait-0.1.57
atomic-take-1.0.0
atty-0.2.14
autocfg-1.1.0
axum-0.5.15
axum-core-0.2.9
backtrace-0.3.66
base64-0.13.0
bitflags-1.3.2
block-0.1.6
bstr-0.2.17
bstr-1.0.1
btoi-0.4.2
byteorder-1.4.3
bytes-1.2.1
cache-padded-1.2.0
cc-1.0.73
cfg-if-0.1.10
cfg-if-1.0.0
clap-3.2.20
clap_lex-0.2.4
clearscreen-2.0.0
command-group-2.0.1
concurrent-queue-1.2.4
console-api-0.4.0
console-subscriber-0.1.8
crc32fast-1.3.2
crossbeam-channel-0.5.6
crossbeam-utils-0.8.11
dashmap-5.4.0
derivative-2.2.0
dirs-2.0.2
dirs-4.0.0
dirs-next-2.0.0
dirs-sys-0.3.7
dirs-sys-next-0.1.2
either-1.8.0
embed-resource-1.7.2
enumflags2-0.7.5
enumflags2_derive-0.7.4
event-listener-2.5.3
fastrand-1.8.0
filetime-0.2.17
flate2-1.0.24
fnv-1.0.7
fsevent-sys-4.1.0
futures-0.3.25
futures-channel-0.3.25
futures-core-0.3.25
futures-executor-0.3.25
futures-io-0.3.25
futures-lite-1.12.0
futures-macro-0.3.25
futures-sink-0.3.25
futures-task-0.3.25
futures-util-0.3.25
getrandom-0.1.16
getrandom-0.2.7
gimli-0.26.2
git-actor-0.16.0
git-config-0.14.0
git-config-value-0.10.0
git-date-0.3.1
git-features-0.26.0
git-glob-0.5.1
git-hash-0.10.1
git-lock-3.0.0
git-object-0.25.0
git-path-0.7.0
git-ref-0.22.0
git-sec-0.6.0
git-tempfile-3.0.0
git-validate-0.7.1
globset-0.4.9
h2-0.3.14
hashbrown-0.12.3
hdrhistogram-7.5.1
heck-0.3.3
hermit-abi-0.1.19
hex-0.4.3
http-0.2.8
http-body-0.4.5
http-range-header-0.3.0
httparse-1.8.0
httpdate-1.0.2
humantime-2.1.0
hyper-0.14.20
hyper-timeout-0.4.1
ignore-0.4.18
indexmap-1.9.1
inotify-0.9.6
inotify-sys-0.1.5
instant-0.1.12
is_ci-1.1.1
itertools-0.10.3
itoa-1.0.3
kqueue-1.0.6
kqueue-sys-1.0.3
lazy_static-1.4.0
libc-0.2.139
libmimalloc-sys-0.1.25
lock_api-0.4.8
log-0.4.17
mac-notification-sys-0.5.6
malloc_buf-0.0.6
matchers-0.1.0
matchit-0.5.0
memchr-2.5.0
memmap2-0.5.7
memoffset-0.6.5
memoffset-0.7.1
miette-5.3.0
miette-derive-5.3.0
mimalloc-0.1.29
mime-0.3.16
minimal-lexical-0.2.1
miniz_oxide-0.5.4
mio-0.8.4
nix-0.23.1
nix-0.26.2
nom-5.1.2
nom-7.1.1
normalize-path-0.2.0
notify-5.0.0
notify-rust-4.5.8
num-traits-0.2.15
num_cpus-1.13.1
num_threads-0.1.6
objc-0.2.7
objc-foundation-0.1.1
objc_id-0.1.1
object-0.29.0
once_cell-1.14.0
ordered-stream-0.0.1
os_str_bytes-6.3.0
owo-colors-3.5.0
parking-2.0.0
parking_lot-0.12.1
parking_lot_core-0.9.3
percent-encoding-2.1.0
phf-0.8.0
phf_codegen-0.8.0
phf_generator-0.8.0
phf_shared-0.8.0
pin-project-1.0.12
pin-project-internal-1.0.12
pin-project-lite-0.2.9
pin-utils-0.1.0
polling-2.3.0
ppv-lite86-0.2.16
proc-macro-crate-1.2.1
proc-macro2-1.0.43
prost-0.11.0
prost-derive-0.11.0
prost-types-0.11.1
quick-error-2.0.1
quote-1.0.21
rand-0.7.3
rand-0.8.5
rand_chacha-0.2.2
rand_chacha-0.3.1
rand_core-0.5.1
rand_core-0.6.3
rand_hc-0.2.0
rand_pcg-0.2.1
redox_syscall-0.2.16
redox_users-0.4.3
regex-1.6.0
regex-automata-0.1.10
regex-syntax-0.6.27
remove_dir_all-0.5.3
rustc-demangle-0.1.21
rustc_version-0.4.0
ryu-1.0.11
same-file-1.0.6
scopeguard-1.1.0
semver-1.0.13
serde-1.0.144
serde_derive-1.0.144
serde_json-1.0.85
serde_repr-0.1.9
sha1-0.6.1
sha1_smol-1.0.0
sharded-slab-0.1.4
signal-hook-0.3.14
signal-hook-registry-1.4.0
siphasher-0.3.10
slab-0.4.7
smallvec-1.9.0
smawk-0.3.1
socket2-0.4.7
static_assertions-1.1.0
strsim-0.10.0
strum-0.22.0
strum_macros-0.22.0
supports-color-1.3.0
supports-hyperlinks-1.2.0
supports-unicode-1.0.2
syn-1.0.99
sync_wrapper-0.1.1
tempfile-3.3.0
termcolor-1.1.3
terminal_size-0.1.17
terminfo-0.7.3
textwrap-0.15.0
thiserror-1.0.38
thiserror-impl-1.0.38
thread_local-1.1.4
time-0.3.14
time-macros-0.2.4
tokio-1.24.2
tokio-io-timeout-1.2.0
tokio-macros-1.8.0
tokio-stream-0.1.9
tokio-util-0.7.3
toml-0.5.9
tonic-0.8.0
tower-0.4.13
tower-http-0.3.4
tower-layer-0.3.1
tower-service-0.3.2
tracing-0.1.36
tracing-attributes-0.1.22
tracing-core-0.1.29
tracing-futures-0.2.5
tracing-log-0.1.3
tracing-serde-0.1.3
tracing-subscriber-0.3.15
try-lock-0.2.3
uds_windows-1.0.2
unicase-2.6.0
unicode-bom-1.1.4
unicode-ident-1.0.3
unicode-linebreak-0.1.2
unicode-segmentation-1.9.0
unicode-width-0.1.9
valuable-0.1.0
version_check-0.9.4
vswhom-0.1.0
vswhom-sys-0.1.1
waker-fn-1.1.0
walkdir-2.3.2
want-0.3.0
wasi-0.9.0+wasi-snapshot-preview1
wasi-0.11.0+wasi-snapshot-preview1
wepoll-ffi-0.1.2
which-4.3.0
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-0.24.0
windows-0.40.0
windows-sys-0.36.1
windows-sys-0.42.0
windows_aarch64_gnullvm-0.40.0
windows_aarch64_gnullvm-0.42.0
windows_aarch64_msvc-0.36.1
windows_aarch64_msvc-0.40.0
windows_aarch64_msvc-0.42.0
windows_i686_gnu-0.24.0
windows_i686_gnu-0.36.1
windows_i686_gnu-0.40.0
windows_i686_gnu-0.42.0
windows_i686_msvc-0.24.0
windows_i686_msvc-0.36.1
windows_i686_msvc-0.40.0
windows_i686_msvc-0.42.0
windows_x86_64_gnu-0.24.0
windows_x86_64_gnu-0.36.1
windows_x86_64_gnu-0.40.0
windows_x86_64_gnu-0.42.0
windows_x86_64_gnullvm-0.40.0
windows_x86_64_gnullvm-0.42.0
windows_x86_64_msvc-0.24.0
windows_x86_64_msvc-0.36.1
windows_x86_64_msvc-0.40.0
windows_x86_64_msvc-0.42.0
winreg-0.10.1
winrt-notification-0.5.1
xml-rs-0.8.4
zbus-2.3.2
zbus_macros-2.3.2
zbus_names-2.2.0
zvariant-3.6.0
zvariant_derive-3.6.0
"
inherit cargo
DESCRIPTION="Executes commands in response to file modifications"
HOMEPAGE="https://github.com/watchexec/watchexec"
SRC_URI="https://github.com/watchexec/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" ${CARGO_CRATE_URIS}"
LICENSE="Apache-2.0 || ( Artistic-2 CC0-1.0 ) BSD ISC MIT Unicode-DFS-2016 WTFPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
# Prevent portage from trying to fetch bunch of *.crate from mirror despite they are not mirrored.
RESTRICT="mirror"
DOCS=( crates/cli/README.md )
HTML_DOCS=( doc/watchexec.1.html )
# 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}"
src_compile() {
cargo_src_compile --manifest-path=crates/cli/Cargo.toml
}
src_test() {
cargo_src_test --manifest-path crates/lib/Cargo.toml --lib
cargo_src_test --manifest-path crates/cli/Cargo.toml
}
src_install() {
cargo_src_install --path "${S}"/crates/cli
einstalldocs
doman doc/watchexec.1
insinto /usr/share/zsh/site-functions
newins completions/zsh _watchexec
}

View File

@@ -1,469 +0,0 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Auto-Generated by cargo-ebuild 0.5.4
EAPI=8
CRATES="
addr2line-0.19.0
adler-1.0.2
ahash-0.7.6
ahash-0.8.3
aho-corasick-0.7.20
aho-corasick-1.0.1
android_system_properties-0.1.5
anstream-0.3.2
anstyle-1.0.0
anstyle-parse-0.2.0
anstyle-query-1.0.0
anstyle-wincon-1.0.1
anyhow-1.0.71
arc-swap-1.6.0
argfile-0.1.5
arrayvec-0.7.2
async-broadcast-0.5.1
async-channel-1.8.0
async-executor-1.5.1
async-fs-1.6.0
async-io-1.13.0
async-lock-2.7.0
async-priority-channel-0.1.0
async-recursion-1.0.4
async-task-4.4.0
async-trait-0.1.68
atomic-take-1.1.0
atomic-waker-1.1.1
autocfg-1.1.0
axum-0.6.18
axum-core-0.3.4
backtrace-0.3.67
backtrace-ext-0.2.1
base64-0.13.1
base64-0.21.0
bitflags-1.3.2
bitflags-2.2.1
block-0.1.6
block-buffer-0.10.4
blocking-1.3.1
bstr-1.4.0
btoi-0.4.3
bumpalo-3.12.2
byteorder-1.4.3
bytes-1.4.0
bytesize-1.2.0
cc-1.0.79
cfg-if-1.0.0
chrono-0.4.24
clap-4.2.7
clap_builder-4.2.7
clap_complete-4.2.3
clap_complete_nushell-0.1.10
clap_derive-4.2.0
clap_lex-0.4.1
clap_mangen-0.2.10
clearscreen-2.0.1
clru-0.6.1
colorchoice-1.0.0
command-group-2.1.0
concurrent-queue-2.2.0
console-api-0.5.0
console-subscriber-0.1.9
const_fn-0.4.9
const_format-0.2.30
const_format_proc_macros-0.2.29
core-foundation-sys-0.8.4
cpufeatures-0.2.7
crc32fast-1.3.2
crossbeam-0.8.2
crossbeam-channel-0.5.8
crossbeam-deque-0.8.3
crossbeam-epoch-0.9.14
crossbeam-queue-0.3.8
crossbeam-utils-0.8.15
crypto-common-0.1.6
derivative-2.2.0
digest-0.10.6
dirs-4.0.0
dirs-5.0.1
dirs-next-2.0.0
dirs-sys-0.3.7
dirs-sys-0.4.1
dirs-sys-next-0.1.2
dunce-1.0.4
either-1.8.1
embed-resource-2.1.1
endian-type-0.1.2
enumflags2-0.7.7
enumflags2_derive-0.7.7
errno-0.3.1
errno-dragonfly-0.1.2
event-listener-2.5.3
fastrand-1.9.0
filetime-0.2.21
flate2-1.0.26
fnv-1.0.7
form_urlencoded-1.1.0
fsevent-sys-4.1.0
futures-0.3.28
futures-channel-0.3.28
futures-core-0.3.28
futures-executor-0.3.28
futures-io-0.3.28
futures-lite-1.13.0
futures-macro-0.3.28
futures-sink-0.3.28
futures-task-0.3.28
futures-util-0.3.28
generic-array-0.14.7
getrandom-0.2.9
gimli-0.27.2
git2-0.16.1
gix-0.44.1
gix-actor-0.20.0
gix-attributes-0.12.0
gix-bitmap-0.2.3
gix-chunk-0.4.1
gix-command-0.2.4
gix-config-0.22.0
gix-config-value-0.12.0
gix-credentials-0.14.0
gix-date-0.5.0
gix-diff-0.29.0
gix-discover-0.18.1
gix-features-0.29.0
gix-fs-0.1.1
gix-glob-0.7.0
gix-hash-0.11.1
gix-hashtable-0.2.0
gix-ignore-0.2.0
gix-index-0.16.1
gix-lock-5.0.1
gix-mailmap-0.12.0
gix-object-0.29.2
gix-odb-0.45.0
gix-pack-0.35.0
gix-path-0.8.0
gix-prompt-0.5.0
gix-quote-0.4.3
gix-ref-0.29.1
gix-refspec-0.10.1
gix-revision-0.13.0
gix-sec-0.8.0
gix-tempfile-5.0.3
gix-traverse-0.25.0
gix-url-0.18.0
gix-utils-0.1.1
gix-validate-0.7.4
gix-worktree-0.17.1
globset-0.4.10
h2-0.3.19
hashbrown-0.12.3
hashbrown-0.13.2
hdrhistogram-7.5.2
heck-0.3.3
heck-0.4.1
hermit-abi-0.2.6
hermit-abi-0.3.1
hex-0.4.3
home-0.5.5
http-0.2.9
http-body-0.4.5
httparse-1.8.0
httpdate-1.0.2
human_format-1.0.3
humantime-2.1.0
hyper-0.14.26
hyper-timeout-0.4.1
iana-time-zone-0.1.56
iana-time-zone-haiku-0.1.2
idna-0.3.0
ignore-0.4.20
imara-diff-0.1.5
indexmap-1.9.3
inotify-0.9.6
inotify-sys-0.1.5
instant-0.1.12
io-close-0.3.7
io-lifetimes-1.0.10
is-terminal-0.4.7
is_ci-1.1.1
is_debug-1.0.1
itertools-0.10.5
itoa-1.0.6
jobserver-0.1.26
js-sys-0.3.62
jwalk-0.8.1
kqueue-1.0.7
kqueue-sys-1.0.3
kstring-2.0.0
lazy_static-1.4.0
libc-0.2.144
libgit2-sys-0.14.2+1.5.1
libmimalloc-sys-0.1.33
libz-sys-1.1.9
linux-raw-sys-0.3.7
lock_api-0.4.9
log-0.4.17
mac-notification-sys-0.5.6
malloc_buf-0.0.6
matchers-0.1.0
matchit-0.7.0
memchr-2.5.0
memmap2-0.5.10
memoffset-0.7.1
memoffset-0.8.0
miette-5.8.0
miette-derive-5.8.0
mimalloc-0.1.37
mime-0.3.17
minimal-lexical-0.2.1
miniz_oxide-0.6.2
miniz_oxide-0.7.1
mio-0.8.6
nibble_vec-0.1.0
nix-0.26.2
nom-7.1.3
normalize-line-endings-0.3.0
normalize-path-0.2.0
notify-5.1.0
notify-rust-4.8.0
nu-ansi-term-0.46.0
num-integer-0.1.45
num-traits-0.2.15
num_cpus-1.15.0
num_threads-0.1.6
objc-0.2.7
objc-foundation-0.1.1
objc_id-0.1.1
object-0.30.3
once_cell-1.17.1
option-ext-0.2.0
ordered-stream-0.2.0
os_str_bytes-6.5.0
overload-0.1.1
owo-colors-3.5.0
parking-2.1.0
parking_lot-0.12.1
parking_lot_core-0.9.7
percent-encoding-2.2.0
phf-0.11.1
phf_codegen-0.11.1
phf_generator-0.11.1
phf_shared-0.11.1
pin-project-1.1.0
pin-project-internal-1.1.0
pin-project-lite-0.2.9
pin-utils-0.1.0
pkg-config-0.3.27
polling-2.8.0
ppv-lite86-0.2.17
proc-macro-crate-1.3.1
proc-macro2-1.0.56
prodash-23.1.2
prost-0.11.9
prost-derive-0.11.9
prost-types-0.11.9
quick-xml-0.23.1
quote-1.0.27
radix_trie-0.2.1
rand-0.8.5
rand_chacha-0.3.1
rand_core-0.6.4
rayon-1.7.0
rayon-core-1.11.0
redox_syscall-0.2.16
redox_syscall-0.3.5
redox_users-0.4.3
regex-1.8.1
regex-automata-0.1.10
regex-syntax-0.6.29
regex-syntax-0.7.1
roff-0.2.1
rustc-demangle-0.1.23
rustc_version-0.4.0
rustix-0.37.19
rustversion-1.0.12
ryu-1.0.13
same-file-1.0.6
scopeguard-1.1.0
semver-1.0.17
serde-1.0.163
serde_derive-1.0.163
serde_json-1.0.96
serde_repr-0.1.12
serde_spanned-0.6.1
sha1-0.10.5
sha1_smol-1.0.0
shadow-rs-0.21.0
sharded-slab-0.1.4
signal-hook-0.3.15
signal-hook-registry-1.4.1
similar-2.2.1
siphasher-0.3.10
slab-0.4.8
smallvec-1.10.0
smawk-0.3.1
snapbox-0.4.11
snapbox-macros-0.3.4
socket2-0.4.9
static_assertions-1.1.0
strsim-0.10.0
strum-0.22.0
strum_macros-0.22.0
supports-color-2.0.0
supports-hyperlinks-2.1.0
supports-unicode-2.0.0
syn-1.0.109
syn-2.0.15
sync_wrapper-0.1.2
tauri-winrt-notification-0.1.0
tempfile-3.5.0
terminal_size-0.1.17
terminal_size-0.2.6
terminfo-0.8.0
textwrap-0.15.2
thiserror-1.0.40
thiserror-impl-1.0.40
thread_local-1.1.7
time-0.1.45
time-0.3.21
time-core-0.1.1
time-macros-0.2.9
tinyvec-1.6.0
tinyvec_macros-0.1.1
tokio-1.28.1
tokio-io-timeout-1.2.0
tokio-macros-2.1.0
tokio-stream-0.1.14
tokio-util-0.7.8
toml-0.7.3
toml_datetime-0.6.1
toml_edit-0.19.8
tonic-0.9.2
tower-0.4.13
tower-layer-0.3.2
tower-service-0.3.2
tracing-0.1.37
tracing-attributes-0.1.24
tracing-core-0.1.31
tracing-log-0.1.3
tracing-serde-0.1.3
tracing-subscriber-0.3.17
try-lock-0.2.4
typenum-1.16.0
tz-rs-0.6.14
tzdb-0.5.7
uds_windows-1.0.2
uluru-3.0.0
unicase-2.6.0
unicode-bidi-0.3.13
unicode-bom-2.0.2
unicode-ident-1.0.8
unicode-linebreak-0.1.4
unicode-normalization-0.1.22
unicode-segmentation-1.10.1
unicode-width-0.1.10
unicode-xid-0.2.4
url-2.3.1
utf8parse-0.2.1
valuable-0.1.0
vcpkg-0.2.15
version_check-0.9.4
vswhom-0.1.0
vswhom-sys-0.1.2
waker-fn-1.1.0
walkdir-2.3.3
want-0.3.0
wasi-0.10.0+wasi-snapshot-preview1
wasi-0.11.0+wasi-snapshot-preview1
wasm-bindgen-0.2.85
wasm-bindgen-backend-0.2.85
wasm-bindgen-macro-0.2.85
wasm-bindgen-macro-support-0.2.85
wasm-bindgen-shared-0.2.85
which-4.4.0
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-0.39.0
windows-0.48.0
windows-sys-0.42.0
windows-sys-0.45.0
windows-sys-0.48.0
windows-targets-0.42.2
windows-targets-0.48.0
windows_aarch64_gnullvm-0.42.2
windows_aarch64_gnullvm-0.48.0
windows_aarch64_msvc-0.39.0
windows_aarch64_msvc-0.42.2
windows_aarch64_msvc-0.48.0
windows_i686_gnu-0.39.0
windows_i686_gnu-0.42.2
windows_i686_gnu-0.48.0
windows_i686_msvc-0.39.0
windows_i686_msvc-0.42.2
windows_i686_msvc-0.48.0
windows_x86_64_gnu-0.39.0
windows_x86_64_gnu-0.42.2
windows_x86_64_gnu-0.48.0
windows_x86_64_gnullvm-0.42.2
windows_x86_64_gnullvm-0.48.0
windows_x86_64_msvc-0.39.0
windows_x86_64_msvc-0.42.2
windows_x86_64_msvc-0.48.0
winnow-0.4.6
winreg-0.11.0
xdg-home-1.0.0
zbus-3.12.0
zbus_macros-3.12.0
zbus_names-2.5.1
zvariant-3.13.0
zvariant_derive-3.13.0
zvariant_utils-1.0.0
"
inherit cargo shell-completion
DESCRIPTION="Executes commands in response to file modifications"
HOMEPAGE="https://github.com/watchexec/watchexec"
SRC_URI="https://github.com/watchexec/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" ${CARGO_CRATE_URIS}"
# `dunce`: CC0-1.0
# `human_format`: MIT
# `owo-colors`: MIT
LICENSE="Apache-2.0 CC0-1.0 BSD ISC MIT MPL-2.0 Unicode-DFS-2016 WTFPL-2 ZLIB"
SLOT="0"
KEYWORDS="~amd64 ~x86"
# Prevent portage from trying to fetch bunch of *.crate from mirror despite they are not mirrored.
RESTRICT="mirror"
DOCS=( crates/cli/README.md )
# 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}"
src_compile() {
cargo_src_compile --manifest-path=crates/cli/Cargo.toml
}
src_test() {
cargo_src_test --manifest-path crates/lib/Cargo.toml --lib
cargo_src_test --manifest-path crates/cli/Cargo.toml
}
src_install() {
cargo_src_install --path "${S}"/crates/cli
einstalldocs
doman doc/watchexec.1
newbashcomp completions/bash "${PN}"
newzshcomp completions/zsh "_${PN}"
newfishcomp completions/fish "${PN}.fish"
}

View File

@@ -0,0 +1,474 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Auto-Generated by cargo-ebuild 0.5.4-r1
EAPI=8
CRATES="
addr2line@0.21.0
adler@1.0.2
aho-corasick@1.1.2
android-tzdata@0.1.1
android_system_properties@0.1.5
ansi_term@0.12.1
anstream@0.6.5
anstyle@1.0.4
anstyle-parse@0.2.3
anstyle-query@1.0.2
anstyle-wincon@3.0.2
anyhow@1.0.75
arc-swap@1.6.0
argfile@0.1.6
async-broadcast@0.5.1
async-channel@2.1.1
async-executor@1.8.0
async-fs@1.6.0
async-io@1.13.0
async-io@2.2.2
async-lock@2.8.0
async-lock@3.2.0
async-priority-channel@0.1.0
async-process@1.8.1
async-recursion@1.0.5
async-signal@0.2.5
async-stream@0.3.5
async-stream-impl@0.3.5
async-task@4.6.0
async-trait@0.1.74
atomic-take@1.1.0
atomic-waker@1.1.2
autocfg@1.1.0
axum@0.6.20
axum-core@0.3.4
backtrace@0.3.69
backtrace-ext@0.2.1
base64@0.21.5
bitflags@1.3.2
bitflags@2.4.1
block@0.1.6
block-buffer@0.10.4
blocking@1.5.1
boxcar@0.2.4
bstr@1.8.0
btoi@0.4.3
bumpalo@3.14.0
byteorder@1.5.0
bytes@1.5.0
c-gull@0.15.37
c-scape@0.15.37
cc@1.0.83
cfg-if@1.0.0
chrono@0.4.31
clap@4.4.11
clap_builder@4.4.11
clap_complete@4.4.4
clap_complete_nushell@4.4.2
clap_derive@4.4.7
clap_lex@0.6.0
clap_mangen@0.2.15
clearscreen@2.0.1
clru@0.6.1
colorchoice@1.0.0
command-group@2.1.0
command-group@5.0.1
concurrent-queue@2.4.0
console-api@0.6.0
console-subscriber@0.2.0
core-foundation-sys@0.8.6
cpufeatures@0.2.11
crc32fast@1.3.2
crossbeam-channel@0.5.9
crossbeam-deque@0.8.4
crossbeam-epoch@0.9.16
crossbeam-utils@0.8.17
crypto-common@0.1.6
cstr_core@0.2.6
cty@0.2.2
deranged@0.3.10
derivative@2.2.0
digest@0.10.7
dirs@4.0.0
dirs@5.0.1
dirs-next@2.0.0
dirs-sys@0.3.7
dirs-sys@0.4.1
dirs-sys-next@0.1.2
dunce@1.0.4
either@1.9.0
embed-resource@2.4.0
endian-type@0.1.2
enumflags2@0.7.8
enumflags2_derive@0.7.8
env_logger@0.10.1
equivalent@1.0.1
errno@0.3.8
event-listener@2.5.3
event-listener@3.1.0
event-listener@4.0.1
event-listener-strategy@0.4.0
eyra@0.16.8
faster-hex@0.9.0
fastrand@1.9.0
fastrand@2.0.1
filetime@0.2.23
flate2@1.0.28
fnv@1.0.7
form_urlencoded@1.2.1
fs-err@2.11.0
fsevent-sys@4.1.0
futures@0.3.29
futures-channel@0.3.29
futures-core@0.3.29
futures-executor@0.3.29
futures-io@0.3.29
futures-lite@1.13.0
futures-lite@2.1.0
futures-macro@0.3.29
futures-sink@0.3.29
futures-task@0.3.29
futures-util@0.3.29
generic-array@0.14.7
getrandom@0.2.11
gimli@0.28.1
gix@0.55.2
gix-actor@0.28.1
gix-chunk@0.4.5
gix-commitgraph@0.22.1
gix-config@0.31.0
gix-config-value@0.14.1
gix-date@0.8.1
gix-diff@0.37.0
gix-discover@0.26.0
gix-features@0.36.1
gix-fs@0.8.1
gix-glob@0.14.1
gix-hash@0.13.3
gix-hashtable@0.4.1
gix-lock@11.0.1
gix-macros@0.1.1
gix-object@0.38.0
gix-odb@0.54.0
gix-pack@0.44.0
gix-path@0.10.1
gix-quote@0.4.8
gix-ref@0.38.0
gix-refspec@0.19.0
gix-revision@0.23.0
gix-revwalk@0.9.0
gix-sec@0.10.1
gix-tempfile@11.0.1
gix-trace@0.1.4
gix-traverse@0.34.0
gix-url@0.25.2
gix-utils@0.1.6
gix-validate@0.8.1
globset@0.4.14
h2@0.3.22
hashbrown@0.12.3
hashbrown@0.14.3
hdrhistogram@7.5.4
heck@0.4.1
hermit-abi@0.3.3
hex@0.4.3
home@0.5.9
http@0.2.11
http-body@0.4.6
httparse@1.8.0
httpdate@1.0.3
humantime@2.1.0
hyper@0.14.28
hyper-timeout@0.4.1
iana-time-zone@0.1.58
iana-time-zone-haiku@0.1.2
idna@0.5.0
ignore@0.4.21
indexmap@1.9.3
indexmap@2.1.0
inotify@0.9.6
inotify-sys@0.1.5
instant@0.1.12
io-lifetimes@1.0.11
is-terminal@0.4.9
is_ci@1.1.1
itertools@0.9.0
itertools@0.11.0
itoa@1.0.10
js-sys@0.3.66
kqueue@1.0.8
kqueue-sys@1.0.4
lazy_static@1.4.0
libc@0.2.151
libm@0.2.8
libmimalloc-sys@0.1.35
libredox@0.0.1
linux-raw-sys@0.3.8
linux-raw-sys@0.4.12
lock_api@0.4.11
log@0.4.20
mac-notification-sys@0.6.1
malloc_buf@0.0.6
matchers@0.0.1
matchers@0.1.0
matchit@0.7.3
memchr@2.6.4
memmap2@0.7.1
memmap2@0.9.3
memoffset@0.7.1
memoffset@0.9.0
miette@5.10.0
miette-derive@5.10.0
mimalloc@0.1.39
mime@0.3.17
minimal-lexical@0.2.1
miniz_oxide@0.7.1
mio@0.8.10
nibble_vec@0.1.0
nix@0.26.4
nix@0.27.1
nom@7.1.3
normalize-line-endings@0.3.0
normalize-path@0.2.1
notify@6.1.1
notify-rust@4.10.0
nu-ansi-term@0.46.0
num-complex@0.4.4
num-traits@0.2.17
num_cpus@1.16.0
num_threads@0.1.6
objc@0.2.7
objc-foundation@0.1.1
objc_id@0.1.1
object@0.32.1
once_cell@1.19.0
option-ext@0.2.0
ordered-stream@0.2.0
origin@0.16.4
os_str_bytes@6.6.1
overload@0.1.1
owo-colors@3.5.0
parking@2.2.0
parking_lot@0.12.1
parking_lot_core@0.9.9
percent-encoding@2.3.1
phf@0.11.2
phf_codegen@0.11.2
phf_generator@0.11.2
phf_shared@0.11.2
pid1@0.1.1
pin-project@1.1.3
pin-project-internal@1.1.3
pin-project-lite@0.2.13
pin-utils@0.1.0
piper@0.2.1
polling@2.8.0
polling@3.3.1
posix-regex@0.1.1
powerfmt@0.2.0
ppv-lite86@0.2.17
printf-compat@0.1.1
proc-macro-crate@1.3.1
proc-macro2@1.0.70
prodash@26.2.2
prost@0.12.3
prost-derive@0.12.3
prost-types@0.12.3
quick-xml@0.30.0
quote@1.0.33
radix_trie@0.2.1
rand@0.8.5
rand_chacha@0.3.1
rand_core@0.6.4
rand_pcg@0.3.1
realpath-ext@0.1.3
redox_syscall@0.4.1
redox_users@0.4.4
regex@1.10.2
regex-automata@0.1.10
regex-automata@0.4.3
regex-syntax@0.6.29
regex-syntax@0.8.2
roff@0.2.1
rustc-demangle@0.1.23
rustc_version@0.4.0
rustix@0.37.27
rustix@0.38.28
rustix-dlmalloc@0.1.1
rustix-futex-sync@0.2.1
rustix-openpty@0.1.1
rustversion@1.0.14
ryu@1.0.16
same-file@1.0.6
scopeguard@1.2.0
semver@1.0.20
serde@1.0.193
serde_derive@1.0.193
serde_json@1.0.108
serde_repr@0.1.17
serde_spanned@0.6.5
sha1@0.10.6
sha1_smol@1.0.0
sharded-slab@0.1.7
signal-hook@0.3.17
signal-hook-registry@1.4.1
similar@2.3.0
siphasher@0.3.11
slab@0.4.9
smallvec@1.11.2
smawk@0.3.2
snapbox@0.4.15
snapbox-macros@0.3.6
socket2@0.4.10
socket2@0.5.5
static_assertions@1.1.0
strsim@0.10.0
supports-color@2.1.0
supports-hyperlinks@2.1.0
supports-unicode@2.0.0
syn@1.0.109
syn@2.0.41
sync_wrapper@0.1.2
tauri-winrt-notification@0.1.3
tempfile@3.8.1
termcolor@1.4.0
terminal_size@0.1.17
terminal_size@0.3.0
terminfo@0.8.0
textwrap@0.15.2
thiserror@1.0.51
thiserror-impl@1.0.51
thread_local@1.1.7
time@0.3.31
time-core@0.1.2
time-macros@0.2.16
tinyvec@1.6.0
tinyvec_macros@0.1.1
tokio@1.35.1
tokio-io-timeout@1.2.0
tokio-macros@2.2.0
tokio-stream@0.1.14
tokio-util@0.7.10
toml@0.8.8
toml_datetime@0.6.5
toml_edit@0.19.15
toml_edit@0.21.0
tonic@0.10.2
tower@0.4.13
tower-layer@0.3.2
tower-service@0.3.2
tracing@0.1.40
tracing-attributes@0.1.27
tracing-core@0.1.32
tracing-log@0.1.4
tracing-log@0.2.0
tracing-serde@0.1.3
tracing-subscriber@0.2.25
tracing-subscriber@0.3.18
tracing-test@0.1.0
tracing-test-macro@0.1.0
try-lock@0.2.5
typenum@1.17.0
tz-rs@0.6.14
uds_windows@1.1.0
unicase@2.7.0
unicode-bidi@0.3.14
unicode-bom@2.0.3
unicode-ident@1.0.12
unicode-linebreak@0.1.5
unicode-normalization@0.1.22
unicode-width@0.1.11
unwinding@0.2.1
url@2.5.0
utf8parse@0.2.1
uuid@1.6.1
valuable@0.1.0
version_check@0.9.4
vswhom@0.1.0
vswhom-sys@0.1.2
waker-fn@1.1.1
walkdir@2.4.0
want@0.3.1
wasi@0.11.0+wasi-snapshot-preview1
wasm-bindgen@0.2.89
wasm-bindgen-backend@0.2.89
wasm-bindgen-macro@0.2.89
wasm-bindgen-macro-support@0.2.89
wasm-bindgen-shared@0.2.89
which@4.4.2
which@5.0.0
winapi@0.3.9
winapi-i686-pc-windows-gnu@0.4.0
winapi-util@0.1.6
winapi-x86_64-pc-windows-gnu@0.4.0
windows@0.48.0
windows@0.51.1
windows-core@0.51.1
windows-sys@0.48.0
windows-sys@0.52.0
windows-targets@0.48.5
windows-targets@0.52.0
windows_aarch64_gnullvm@0.48.5
windows_aarch64_gnullvm@0.52.0
windows_aarch64_msvc@0.48.5
windows_aarch64_msvc@0.52.0
windows_i686_gnu@0.48.5
windows_i686_gnu@0.52.0
windows_i686_msvc@0.48.5
windows_i686_msvc@0.52.0
windows_x86_64_gnu@0.48.5
windows_x86_64_gnu@0.52.0
windows_x86_64_gnullvm@0.48.5
windows_x86_64_gnullvm@0.52.0
windows_x86_64_msvc@0.48.5
windows_x86_64_msvc@0.52.0
winnow@0.5.30
winreg@0.51.0
xdg-home@1.0.0
zbus@3.14.1
zbus_macros@3.14.1
zbus_names@2.6.0
zvariant@3.15.0
zvariant_derive@3.15.0
zvariant_utils@1.0.1
"
inherit cargo shell-completion
DESCRIPTION="Executes commands in response to file modifications"
HOMEPAGE="https://watchexec.github.io/"
SRC_URI="https://github.com/watchexec/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" ${CARGO_CRATE_URIS}"
LICENSE="Apache-2.0 BSD CC0-1.0 ISC MIT MPL-2.0 Unicode-DFS-2016 WTFPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
# Prevent portage from trying to fetch bunch of *.crate from mirror despite they are not mirrored.
RESTRICT="mirror"
DOCS=( crates/cli/README.md )
# 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}"
src_compile() {
cargo_src_compile --manifest-path=crates/cli/Cargo.toml
}
src_test() {
cargo_src_test --manifest-path crates/lib/Cargo.toml --lib
cargo_src_test --manifest-path crates/cli/Cargo.toml
}
src_install() {
cargo_src_install --path "${S}"/crates/cli
einstalldocs
doman doc/watchexec.1
newbashcomp completions/bash "${PN}"
newzshcomp completions/zsh "_${PN}"
newfishcomp completions/fish "${PN}.fish"
}

View File

@@ -1,4 +1,6 @@
DIST obsidian-1.3.5.gh.deb 72916766 BLAKE2B d44e9f8db6fc55e6dc7096b2a9bbcb2d68fb3a0eca06028cd0a9bbc7470dc98a05501ca3f81d15197da389f882167ce134b824961684bc8567ea7fa95907e4af SHA512 2047450ab04179be4c95e33fa35731700dbe5961795b8f11dda5410fdbc199486161a6a7abfcc1a3f555f352d014ac3515d1eeb5da984da4f0cdd4adf0e51bbe
DIST obsidian-1.4.16-amd64.tar.gz 99705807 BLAKE2B dd3297f3e81d096f0f480dbbda6b57f3a286643c3724232c65b64ff1cf2b26aa7df9290837da5e056095bf121b87a0d6cd6195de78ff4894a5f0d1b3c7c652da SHA512 ee51369c2067cc99b8c3351fc91f05e9b9edbc35f84d5c1bdcdab6c144fe95e8b4443d0223562fae595c53c23fc30abb4bf65f2f36e5b85d190009c49452ce0c
DIST obsidian-1.4.16-arm64.tar.gz 100139135 BLAKE2B 2f49e5e6d3424c8c6bd617279da75c808744742ce5c27785b3856150023d0e514d09d9a315284b851d904886cac6499d00c8df98ab0a9eb72acc52bf5aa9b38a SHA512 140b3c26df79c95ed23d82b3b6859114f0ff74f9b92715e915b8b6b2733cb18d0233053ce4497ca0703a6cdb3df2d2f22110ca873720fb66e4e7e248efcd89dc
DIST obsidian-1.4.16.gh.deb 73362498 BLAKE2B 15a2631dc22f8833fe79166ed09f5da9013a89ba9f28acd8bb819a75b3ed2393162fab070ea810257224b6d0ef30e439b831c63d198c1a941587f8254a461b33 SHA512 3b691188a05e20e0d1792a6b135076d3dabe33106e541ae4614703fdea44bcb64fc52bbd62808325c381f28348e37cbde0e3d072e4e1b077fb2b9728c43edb05
DIST obsidian-1.5.3-amd64.tar.gz 99822395 BLAKE2B 03743ac61135f8139ce6e0e0a30335415e0af1f6402a62679ec69c832a7c2305ee998c64f584125eab99a82295e8cd16cef237f9f97370ec180069dafd3bc58e SHA512 8da9329175d7cc7947186ab839621d6043cc4a9eac11335c7f234267c1e5804c21d2241121868664ca70435d124a7c242bc46ed40585b9bdd1c55009672f3390
DIST obsidian-1.5.3-arm64.tar.gz 100258718 BLAKE2B c99c78e48db61bf89e0c6a27cc454ab1a1ceca95b71a82ab3b8933c5413dd87ec7dd5bd847ab95353978d80f4da39a955c4114ed94aa18d621a5a6083321857f SHA512 d429904af6bd46a06250cf3ace5fb9ff2ddf0d8b4765eb94a3a4ae4183fe6af79d0b76edf5fa496441d266df842a3c332a7e975b1ef6761cf4b98ad0b63942de
DIST obsidian-1.5.3.gh.deb 73415050 BLAKE2B 10a0ea6eabfd4d00bb33e2cc9a6b5f28df3ca7cea2a33cf27895b74805dd25e0eb3ac342b7d80dcb741e18a9f263ca5fc200433006c8bc4253f12ce78d235e7c SHA512 1d60cd8c1c0f1eff3f8937a4a3117b13fadbc0311a4c490510262e4335927bd4826e895cbefdaf2e1172f45a39608cf102dc1c950c384a3015c387ebe2fb26cf

View File

@@ -1,68 +0,0 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop unpacker xdg
DESCRIPTION="A second brain, for you, forever."
HOMEPAGE="https://obsidian.md/"
SRC_URI="https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${P/-/_}_amd64.deb -> ${P}.gh.deb"
LICENSE="Obsidian-EULA"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="app-accessibility/at-spi2-core:2
dev-libs/expat
dev-libs/glib:2
dev-libs/nspr
dev-libs/nss
media-libs/alsa-lib
media-libs/fontconfig
media-libs/mesa
net-print/cups
sys-apps/dbus
x11-libs/cairo
x11-libs/gtk+:3
x11-libs/libX11
x11-libs/libXcomposite
x11-libs/libXdamage
x11-libs/libXext
x11-libs/libXfixes
x11-libs/libXrandr
x11-libs/libdrm
x11-libs/libxcb
x11-libs/libxkbcommon
x11-libs/pango
"
DIR="/opt/${PN^}"
S="${WORKDIR}"
QA_PREBUILT="${DIR#/}/chrome-sandbox
${DIR#/}/chrome_crashpad_handler
${DIR#/}/libGLESv2.so
${DIR#/}/libEGL.so
${DIR#/}/libffmpeg.so
${DIR#/}/libvk_swiftshader.so
${DIR#/}/libvulkan.so.1
${DIR#/}/obsidian
${DIR#/}/resources/app.asar.unpacked/node_modules/*
"
src_install() {
insinto ${DIR}
doins -r ${DIR#/}/*
domenu usr/share/applications/obsidian.desktop
for size in 16 32 48 64 128 256 512; do
doicon --size ${size} usr/share/icons/hicolor/${size}x${size}/apps/${PN}.png
done
fperms 4755 ${DIR}/chrome-sandbox
fperms +x ${DIR}/obsidian
dosym -r ${DIR}/obsidian /usr/bin/obsidian
}

View File

@@ -31,7 +31,7 @@ LICENSE="Obsidian-EULA"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE="appindicator wayland"
IUSE="appindicator"
RDEPEND="
>=app-accessibility/at-spi2-core-2.46.0:2
@@ -97,11 +97,38 @@ src_prepare() {
pushd "${S_OBSIDIAN}/locales/" >/dev/null || die "location change for language cleanup failed"
chromium_remove_language_paks
popd >/dev/null || die "location reset for language cleanup failed"
if use wayland; then
sed -i '/Exec/s/obsidian/obsidian --ozone-platform-hint=auto --enable-features=UseOzonePlatform,WaylandWindowDecorations/' \
"usr/share/applications/obsidian.desktop" ||
die "sed failed for wayland"
fi
# Create separate .desktop file for launching Obsidian with native wayland
# support.
#
# Obsidian is an Electron app, and Electron can be instructed to run in
# native-wayland mode by turning on the Ozone platform. However, doing this
# causes Obsidian to crash on some users' systems, while it works fine for
# others. (see https://bugs.gentoo.org/915899)
#
# It appears VSCode may have encountered a similar issue, because VSCode
# installs two separate .desktop files, one for launching with wayland
# support and one for launching without. We will do the same here.
# Create a copy of upstream's .desktop
cp usr/share/applications/obsidian.desktop \
usr/share/applications/obsidian-wayland.desktop \
|| die "failed to create obsidian-wayland.desktop file"
# Edit the Exec & Name
sed -i \
'
# Add Electron ozone enable flags to obsidian execution
/Exec/s/obsidian /obsidian --ozone-platform-hint=auto --enable-features=UseOzonePlatform,WaylandWindowDecorations /
# Give this .desktop file a new name/desc of "Obsidian Wayland"
/^Name/s/$/ Wayland/
# comment field
/^Comment/s/$/ with Wayland support enabled/
' \
'usr/share/applications/obsidian-wayland.desktop' ||
die "sed failed for obsidian-wayland.desktop file"
}
src_install() {
@@ -133,8 +160,19 @@ src_install() {
fi
domenu usr/share/applications/obsidian.desktop
domenu usr/share/applications/obsidian-wayland.desktop
for size in 16 32 48 64 128 256 512; do
doicon --size ${size} usr/share/icons/hicolor/${size}x${size}/apps/${PN}.png
done
}
pkg_postinst() {
ewarn "Some users have reported that running Obsidian with native Wayland"
ewarn "support causes the software to crash. Others have it working"
ewarn "without issue. See https://bugs.gentoo.org/915899"
ewarn ""
ewarn "This package now provides application entries for both Obsidian and"
ewarn "Obsidian Wayland. If Obsidian Wayland breaks for you under Wayland,"
ewarn "try the other Obsidian entry to launch with XWayland"
}

View File

@@ -0,0 +1,178 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
CHROMIUM_VERSION="102"
CHROMIUM_LANGS="
af am ar bg bn ca cs da de el en-GB en-US es es-419 et fa fi fil fr gu he hi
hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr sv
sw ta te th tr uk ur vi zh-CN zh-TW
"
inherit chromium-2 desktop linux-info unpacker xdg
DESCRIPTION="A second brain, for you, forever."
HOMEPAGE="https://obsidian.md/"
# For some reason, the main binary tarballs don't include the .desktop file or
# icon. The .deb does. One would hope then, that we could just download the .deb
# for each arch, but they only generate a .deb for amd64. Maybe we can get them
# to fix this, but in the meantime, we download the .deb purely to get the
# .desktop file and app icon out of it.
SRC_URI="
https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${P/-/_}_amd64.deb -> ${P}.gh.deb
amd64? ( https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${P}.tar.gz -> ${P}-amd64.tar.gz )
arm64? ( https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${P}-arm64.tar.gz )
"
RESTRICT="mirror strip bindist"
LICENSE="Obsidian-EULA"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE="appindicator"
RDEPEND="
>=app-accessibility/at-spi2-core-2.46.0:2
app-crypt/libsecret[crypt]
dev-libs/expat
dev-libs/glib:2
dev-libs/nspr
dev-libs/nss
media-libs/alsa-lib
media-libs/fontconfig
media-libs/mesa[gbm(+)]
net-print/cups
sys-apps/dbus
sys-apps/util-linux
sys-libs/glibc
x11-libs/cairo
x11-libs/libdrm
x11-libs/gdk-pixbuf:2
x11-libs/gtk+:3
x11-libs/libX11
x11-libs/libXScrnSaver
x11-libs/libXcomposite
x11-libs/libXdamage
x11-libs/libXext
x11-libs/libXfixes
x11-libs/libXrandr
x11-libs/libxcb
x11-libs/libxkbcommon
x11-libs/libxshmfence
x11-libs/pango
appindicator? ( dev-libs/libayatana-appindicator )
"
DIR="/opt/${PN^}"
# deb gets extracted to WORKDIR. actual program gets extracted to its own dir
# which depends on CPU arch.
S="${WORKDIR}"
QA_PREBUILT="*"
CONFIG_CHECK="~USER_NS"
set_obsidian_src_dir() {
if use amd64; then
S_OBSIDIAN="${WORKDIR}/${P}"
elif use arm64; then
S_OBSIDIAN="${WORKDIR}/${P}-arm64"
else
die "Obsidian only supports amd64 and arm64"
fi
}
src_configure() {
default
chromium_suid_sandbox_check_kernel_config
}
src_prepare() {
default
# cleanup languages
set_obsidian_src_dir
pushd "${S_OBSIDIAN}/locales/" >/dev/null || die "location change for language cleanup failed"
chromium_remove_language_paks
popd >/dev/null || die "location reset for language cleanup failed"
# Create separate .desktop file for launching Obsidian with native wayland
# support.
#
# Obsidian is an Electron app, and Electron can be instructed to run in
# native-wayland mode by turning on the Ozone platform. However, doing this
# causes Obsidian to crash on some users' systems, while it works fine for
# others. (see https://bugs.gentoo.org/915899)
#
# It appears VSCode may have encountered a similar issue, because VSCode
# installs two separate .desktop files, one for launching with wayland
# support and one for launching without. We will do the same here.
# Create a copy of upstream's .desktop
cp usr/share/applications/obsidian.desktop \
usr/share/applications/obsidian-wayland.desktop \
|| die "failed to create obsidian-wayland.desktop file"
# Edit the Exec & Name
sed -i \
'
# Add Electron ozone enable flags to obsidian execution
/Exec/s/obsidian /obsidian --ozone-platform-hint=auto --enable-features=UseOzonePlatform,WaylandWindowDecorations /
# Give this .desktop file a new name/desc of "Obsidian Wayland"
/^Name/s/$/ Wayland/
# comment field
/^Comment/s/$/ with Wayland support enabled/
' \
'usr/share/applications/obsidian-wayland.desktop' ||
die "sed failed for obsidian-wayland.desktop file"
}
src_install() {
insinto "${DIR}"
exeinto "${DIR}"
set_obsidian_src_dir
pushd "${S_OBSIDIAN}" >/dev/null || die "location change for main install failed"
doexe obsidian chrome-sandbox libEGL.so libffmpeg.so libGLESv2.so libvk_swiftshader.so libvulkan.so.1
doins chrome_100_percent.pak chrome_200_percent.pak icudtl.dat resources.pak snapshot_blob.bin \
v8_context_snapshot.bin vk_swiftshader_icd.json
insopts -m0755
doins -r locales resources
# Chrome-sandbox requires the setuid bit to be specifically set.
# see https://github.com/electron/electron/issues/17972
fowners root "${DIR}/chrome-sandbox"
fperms 4711 "${DIR}/chrome-sandbox"
[[ -x chrome_crashpad_handler ]] && doins chrome_crashpad_handler
popd >/dev/null || die "location reset for main install failed"
dosym "${DIR}/obsidian" "/usr/bin/obsidian"
if use appindicator; then
dosym ../../usr/lib64/libayatana-appindicator3.so "${DIR}/libappindicator3.so"
fi
domenu usr/share/applications/obsidian.desktop
domenu usr/share/applications/obsidian-wayland.desktop
for size in 16 32 48 64 128 256 512; do
doicon --size ${size} usr/share/icons/hicolor/${size}x${size}/apps/${PN}.png
done
}
pkg_postinst() {
ewarn "Some users have reported that running Obsidian with native Wayland"
ewarn "support causes the software to crash. Others have it working"
ewarn "without issue. See https://bugs.gentoo.org/915899"
ewarn ""
ewarn "This package now provides application entries for both Obsidian and"
ewarn "Obsidian Wayland. If Obsidian Wayland breaks for you under Wayland,"
ewarn "try the other Obsidian entry to launch with XWayland"
}

View File

@@ -1,4 +1,4 @@
# Copyright 2022 Gentoo Authors
# Copyright 2022,2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -17,7 +17,7 @@ RDEPEND="app-shells/zsh"
DISABLE_AUTOFORMATTING="true"
DOC_CONTENTS="In order to use ${CATEGORY}/${PN} add
. /usr/share/zsh/site-functions/async.zsh
. /usr/share/zsh/site-functions/zsh-history-substring-search.zsh
at the end of your ~/.zshrc"
src_install() {

View File

@@ -1,4 +1,4 @@
# Copyright 2022 Gentoo Authors
# Copyright 2022,2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -17,7 +17,7 @@ RDEPEND="app-shells/zsh"
DISABLE_AUTOFORMATTING="true"
DOC_CONTENTS="In order to use ${CATEGORY}/${PN} add
. /usr/share/zsh/site-functions/async.zsh
. /usr/share/zsh/site-functions/zsh-history-substring-search.zsh
at the end of your ~/.zshrc"
src_install() {

View File

@@ -1,2 +1,2 @@
DIST minio-7.2.0.tar.gz 125936 BLAKE2B b50ef2394dd797d070b979fa1d133fe85ca86a0ca13ea4fcbe249d5eb98a5046d864d3455cb7f07af3ded3bfbd4884da142c8a0e82502b19931468663e42af4a SHA512 66daec47ef6adbd80ae89f54428bfa9d98a7cf40da48e847726d97c3d0e487268f19f7bd0f7e02dcb8dd1941344cabe33eede994e907cd45f230a8007cb3ae55
DIST minio-7.2.2.tar.gz 133658 BLAKE2B f015ad496dd635875506ffe9cb0f02cb5cf2e0c4767cb94b3ea7632b612f926d400a71469eb2a8a9c3631f358fc481230197388d67f687c6694c28eb8ef25634 SHA512 1b1708a3432ce36023491060d9cb51c86725cc4d1746cbc9bf907a4691f0fb97783ef297d331fe8fc7d44f1e6d290a3779431738ddb7f60eaf42c337448c5b4b
DIST minio-7.2.3.tar.gz 133932 BLAKE2B 7a4091088882582522301dd38ad02ba95dc5b4e2c147d3363c7e066578fd490647acea4e07cc0aedd4b3304dc491645298537f914d6a422ee5e004ef91be796f SHA512 2e87e77a4534f186c5e7cafcb954d35ba5aa474c8e9f0b01e1062fac62f2987cd6547de79c90382d164f887986e8ceb443bca9fee39a7f7d927c3534cd533f5f

View File

@@ -15,9 +15,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND=""
DEPEND="${RDEPEND}"
BDEPEND="
RDEPEND="
dev-python/certifi[${PYTHON_USEDEP}]
dev-python/urllib3[${PYTHON_USEDEP}]
"

View File

@@ -1 +1,2 @@
DIST open-adventure-1.16.tar.bz2 211155 BLAKE2B 2c54bf8b30fefb5b52cd69d5c315e0c628ee51d514f545d2830ca809c40f3824e20eb5c06ad94b6fbf3aaeb9c9c2bad72b9217dfbabc33ec8cd469690ddab125 SHA512 4b58937a20200a081bc44464f5132ea33a010756831f95d5be75916f01b70bc54bd9f5606823fee5fbe2de1dd2e558325f516f050bc40e48cd8d840e65c17e07
DIST open-adventure-1.17.tar.bz2 212254 BLAKE2B 0d19acae39bb58b3cb7ca240552c8f796be73ea4dde44ed60429f3e8cf51ebecbdf71d6ffca08f00ad35f8eb78f1d7f9cb50a336c73e874f8bde81c1cb88acb4 SHA512 bfd4a8f3720aaa98ffcd3d302df79d0f9b4d183797f1067f198c2deb1e11465ec40e2164aa92705de436ba767954e2c18f1d38fdba0e8ece19868fa7ec64af85

View File

@@ -0,0 +1,69 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
inherit desktop flag-o-matic python-any-r1
DESCRIPTION="Forward-port of the Crowther/Woods Adventure 2.5"
HOMEPAGE="http://www.catb.org/~esr/open-adventure/"
SRC_URI="https://gitlab.com/esr/${PN}/-/archive/${PV}/${P}.tar.bz2"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="autosave nosave test"
# autosave and nosave are mutually exclusive
# tests require that they are both disabled
REQUIRED_USE="
?? ( autosave nosave )
test? ( !autosave !nosave )
"
RESTRICT="!test? ( test )"
DEPEND="dev-libs/libedit"
RDEPEND="${DEPEND}"
BDEPEND="
$(python_gen_any_dep 'dev-python/pyyaml[${PYTHON_USEDEP}]' )
"
DOCS=( NEWS.adoc hints.adoc history.adoc README.adoc notes.adoc )
python_check_deps() {
python_has_version "dev-python/pyyaml[${PYTHON_USEDEP}]"
}
src_prepare() {
# remove uncommon flags
sed -e 's/-D_FORTIFY_SOURCE=2 -fstack-protector-all $(CFLAGS) -g/$(CFLAGS)/' \
-i Makefile || die "Makefile patching failed"
eapply_user
}
src_compile() {
if use autosave; then
append-cflags "-DADVENT_AUTOSAVE"
fi
if use nosave; then
append-cflags "-DADVENT_NOSAVE"
fi
emake advent advent.6
}
src_install() {
einstalldocs
doman advent.6
dobin advent
doicon -s scalable advent.svg
domenu advent.desktop
}
src_test() {
# parallel tests often fail
emake -j1 check
}

View File

@@ -1,4 +1,2 @@
DIST hyprland-plugins-0.31.0-split-monitor-workspaces.gh.tar.gz 7711 BLAKE2B 08d6e31fb23321058d9ae935e92b700281e6801a9f4d363c33a288730e2b5448916d2446a6ea8a3e071e052c886b4aae9df5b36abcfd42381094242a0396f4de SHA512 0de58765faa242b5e87f7ce1eec3a9265b97b7a16ce45fbb099c07f94989bed0042d65e580cf20e81e45b306d8b7d8a605300c87a84b8f69053678e6e41ec094
DIST hyprland-plugins-0.31.0.gh.tar.gz 13160 BLAKE2B fed8de62adb8521fb99541e5802ba3316fff6f5e3ba6036ac12c8f1f7186d9806163189cedb15e30ac3213af548562f007c85fe7df3e9151a062396521ca0578 SHA512 2e72038591bfd372962c2d842937bcc6011f8f5bd75b2dca11cc604fca337b8b4d4af68bc5377e6e7d3f49008ee73e6ef91f450a3c207f1c73d1a00552f29f59
DIST hyprland-plugins-0.32.3-split-monitor-workspaces.gh.tar.gz 7757 BLAKE2B 69d63bbf37c46b507a5983d6bf9bfc98f66c19c69e5543ba217c05b2c2feca88443968351bd27a2473ef7f297e866a88bc0f2047f78840dc7515c32942b803dc SHA512 8ecec6895456b5b84a8f9c887fe54da0e5b23ca7eae22eacfb353115b361260437a398823bb8e973fa45e1676dc4c2755efd18820ebfd7a265571f9b4dd2dfda
DIST hyprland-plugins-0.32.3.gh.tar.gz 21262 BLAKE2B 262336d22d150579c43dcb5c9d4bb1823ea9cf2976a94f0df84568c8155785cdcf37322f10bcb7869a9c4b9b6688085d4ab7a85f170c9e219df35c67e601136b SHA512 eac31a9e38cbfe2eaf27054be5a88cbf9adf969a58c4a7daf477040846d22882af9c4da2f5804dcb6a78ac4d5b9f2e9488ce6ce0cbe1a278f0e4a8c86701ac9c

View File

@@ -5,22 +5,24 @@ EAPI=8
inherit meson
COMMIT=fadbcdd24b6f24b169056ed6fcf43d98ef405f87
SPLITCOMMIT=9b40de35aeb8c62df3326eae7979b438f3ee0fb1
if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="https://github.com/hyprwm/${PN}.git"
inherit git-r3
S="${WORKDIR}/${PN}-${COMMIT}"
else
COMMIT=2cc193e6dc524baed841c016109b4f48fd0512a3
SRC_URI="https://github.com/hyprwm/${PN}/archive/${COMMIT}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT}"
fi
DESCRIPTION="A blazing fast wayland wallpaper utility"
HOMEPAGE="https://github.com/hyprwm/hyprland-plugins"
SRC_URI="https://github.com/hyprwm/${PN}/archive/${COMMIT}.tar.gz -> ${P}.gh.tar.gz
https://github.com/Duckonaut/split-monitor-workspaces/archive/${SPLITCOMMIT}.tar.gz \
-> ${P}-split-monitor-workspaces.gh.tar.gz
"
S="${WORKDIR}/${PN}-${COMMIT}"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+borders-plus-plus csgo-vulkan-fix +hyprbars split-monitor-workspaces"
REQUIRED_USE="|| ( borders-plus-plus csgo-vulkan-fix hyprbars split-monitor-workspaces )"
IUSE="+borders-plus-plus csgo-vulkan-fix +hyprbars"
REQUIRED_USE="|| ( borders-plus-plus csgo-vulkan-fix hyprbars )"
RDEPEND="gui-wm/hyprland"
DEPEND="${RDEPEND}"
@@ -69,10 +71,6 @@ src_compile() {
EMESON_SOURCE="${S}/hyprbars"
meson_src_compile
fi
if use split-monitor-workspaces; then
emake -C "${WORKDIR}/split-monitor-workspaces-${SPLITCOMMIT}" split-monitor-workspaces.so
fi
}
src_install() {
@@ -89,10 +87,6 @@ src_install() {
if use hyprbars; then
newins "${WORKDIR}/${P}-build/hyprbars/libhyprbars.so" "hyprbars.so"
fi
if use split-monitor-workspaces; then
doins "${WORKDIR}/split-monitor-workspaces-${SPLITCOMMIT}/split-monitor-workspaces.so"
fi
}
pkg_postinst() {

View File

@@ -5,22 +5,24 @@ EAPI=8
inherit meson
COMMIT=2cc193e6dc524baed841c016109b4f48fd0512a3
SPLITCOMMIT=2b1abdbf9e9de9ee660540167c8f51903fa3d959
if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="https://github.com/hyprwm/${PN}.git"
inherit git-r3
S="${WORKDIR}/${PN}-${COMMIT}"
else
COMMIT=2cc193e6dc524baed841c016109b4f48fd0512a3
SRC_URI="https://github.com/hyprwm/${PN}/archive/${COMMIT}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT}"
fi
DESCRIPTION="A blazing fast wayland wallpaper utility"
HOMEPAGE="https://github.com/hyprwm/hyprland-plugins"
SRC_URI="https://github.com/hyprwm/${PN}/archive/${COMMIT}.tar.gz -> ${P}.gh.tar.gz
https://github.com/Duckonaut/split-monitor-workspaces/archive/${SPLITCOMMIT}.tar.gz \
-> ${P}-split-monitor-workspaces.gh.tar.gz
"
S="${WORKDIR}/${PN}-${COMMIT}"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+borders-plus-plus csgo-vulkan-fix +hyprbars split-monitor-workspaces"
REQUIRED_USE="|| ( borders-plus-plus csgo-vulkan-fix hyprbars split-monitor-workspaces )"
IUSE="+borders-plus-plus csgo-vulkan-fix +hyprbars"
REQUIRED_USE="|| ( borders-plus-plus csgo-vulkan-fix hyprbars )"
RDEPEND="gui-wm/hyprland"
DEPEND="${RDEPEND}"
@@ -69,10 +71,6 @@ src_compile() {
EMESON_SOURCE="${S}/hyprbars"
meson_src_compile
fi
if use split-monitor-workspaces; then
emake -C "${WORKDIR}/split-monitor-workspaces-${SPLITCOMMIT}" split-monitor-workspaces.so
fi
}
src_install() {
@@ -89,10 +87,6 @@ src_install() {
if use hyprbars; then
newins "${WORKDIR}/${P}-build/hyprbars/libhyprbars.so" "hyprbars.so"
fi
if use split-monitor-workspaces; then
doins "${WORKDIR}/split-monitor-workspaces-${SPLITCOMMIT}/split-monitor-workspaces.so"
fi
}
pkg_postinst() {

View File

@@ -0,0 +1,96 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson
if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="https://github.com/hyprwm/${PN}.git"
inherit git-r3
S="${WORKDIR}/${PN}-${PV}"
else
COMMIT=2cc193e6dc524baed841c016109b4f48fd0512a3
SPLITCOMMIT=2b1abdbf9e9de9ee660540167c8f51903fa3d959
SRC_URI="https://github.com/hyprwm/${PN}/archive/${COMMIT}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT}"
fi
DESCRIPTION="A blazing fast wayland wallpaper utility"
HOMEPAGE="https://github.com/hyprwm/hyprland-plugins"
LICENSE="BSD"
SLOT="0"
IUSE="+borders-plus-plus csgo-vulkan-fix +hyprbars"
REQUIRED_USE="|| ( borders-plus-plus csgo-vulkan-fix hyprbars )"
RDEPEND="gui-wm/hyprland"
DEPEND="${RDEPEND}"
BDEPEND="
~gui-wm/hyprland-${PV}
x11-libs/libdrm
x11-libs/pixman
x11-libs/xcb-util-wm
"
src_configure() {
if use borders-plus-plus; then
BUILD_DIR="${WORKDIR}/${P}-build/borders-plus-plus"
EMESON_SOURCE="${S}/borders-plus-plus"
meson_src_configure
fi
if use csgo-vulkan-fix; then
BUILD_DIR="${WORKDIR}/${P}-build/csgo-vulkan-fix"
EMESON_SOURCE="${S}/csgo-vulkan-fix"
meson_src_configure
fi
if use hyprbars; then
BUILD_DIR="${WORKDIR}/${P}-build/hyprbars"
EMESON_SOURCE="${S}/hyprbars"
meson_src_configure
fi
}
src_compile() {
if use borders-plus-plus; then
BUILD_DIR="${WORKDIR}/${P}-build/borders-plus-plus"
EMESON_SOURCE="${S}/borders-plus-plus"
meson_src_compile
fi
if use csgo-vulkan-fix; then
BUILD_DIR="${WORKDIR}/${P}-build/csgo-vulkan-fix"
EMESON_SOURCE="${S}/csgo-vulkan-fix"
meson_src_compile
fi
if use hyprbars; then
BUILD_DIR="${WORKDIR}/${P}-build/hyprbars"
EMESON_SOURCE="${S}/hyprbars"
meson_src_compile
fi
}
src_install() {
insinto "/usr/share/hyprland/plugins"
if use borders-plus-plus; then
newins "${WORKDIR}/${P}-build/borders-plus-plus/libborders-plus-plus.so" "borders-plus-plus.so"
fi
if use csgo-vulkan-fix; then
newins "${WORKDIR}/${P}-build/csgo-vulkan-fix/libcsgo-vulkan-fix.so" "csgo-vulkan-fix.so"
fi
if use hyprbars; then
newins "${WORKDIR}/${P}-build/hyprbars/libhyprbars.so" "hyprbars.so"
fi
}
pkg_postinst() {
einfo "Plugins are installed in /usr/share/hyprland/plugins"
einfo "To load them, refer to the official documentation"
einfo "https://wiki.hyprland.org/Plugins/Using-Plugins/"
}

View File

@@ -5,6 +5,10 @@
<name>Julien Roy</name>
<email>julien@jroy.ca</email>
</maintainer>
<maintainer type="person">
<name>Gonçalo Negrier Duarte</name>
<email>gonegrier.duarte@gmail.com</email>
</maintainer>
<upstream>
<bugs-to>https://github.com/hyprwm/hyprland-plugins/issues</bugs-to>
<changelog>https://github.com/hyprwm/hyprland-plugins/releases</changelog>
@@ -15,6 +19,5 @@
<flag name="borders-plus-plus">adds one or two additional borders to windows</flag>
<flag name="csgo-vulkan-fix">fixes custom resolutions on CS:GO with -vulkan</flag>
<flag name="hyprbars">adds title bars to windows</flag>
<flag name="split-monitor-workspaces">A small plugin to provide awesome/dwm-like behavior with workspaces</flag>
</use>
</pkgmetadata>

View File

@@ -0,0 +1,2 @@
DIST hyprland-split-monitor-workspaces-0.31.0.gh.tar.gz 7757 BLAKE2B 69d63bbf37c46b507a5983d6bf9bfc98f66c19c69e5543ba217c05b2c2feca88443968351bd27a2473ef7f297e866a88bc0f2047f78840dc7515c32942b803dc SHA512 8ecec6895456b5b84a8f9c887fe54da0e5b23ca7eae22eacfb353115b361260437a398823bb8e973fa45e1676dc4c2755efd18820ebfd7a265571f9b4dd2dfda
DIST hyprland-split-monitor-workspaces-0.32.3.gh.tar.gz 7757 BLAKE2B 69d63bbf37c46b507a5983d6bf9bfc98f66c19c69e5543ba217c05b2c2feca88443968351bd27a2473ef7f297e866a88bc0f2047f78840dc7515c32942b803dc SHA512 8ecec6895456b5b84a8f9c887fe54da0e5b23ca7eae22eacfb353115b361260437a398823bb8e973fa45e1676dc4c2755efd18820ebfd7a265571f9b4dd2dfda

View File

@@ -0,0 +1,49 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
M_PN="split-monitor-workspaces"
inherit meson
if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="https://github.com/Duckonaut/${M_PN}.git"
inherit git-r3
else
COMMIT=2b1abdbf9e9de9ee660540167c8f51903fa3d959
SRC_URI="https://github.com/Duckonaut/${M_PN}/archive/${COMMIT}.tar.gz \
-> ${P}.gh.tar.gz
"
KEYWORDS="~amd64"
S="${WORKDIR}/${M_PN}-${COMMIT}"
fi
DESCRIPTION="A small plugin to provide awesome/dwm-like behavior with workspaces"
HOMEPAGE="https://github.com/Duckonaut/split-monitor-workspaces"
LICENSE="BSD"
SLOT="0"
RDEPEND="gui-wm/hyprland"
DEPEND="${RDEPEND}"
BDEPEND="
~gui-wm/hyprland-${PV}
x11-libs/libdrm
x11-libs/pixman
x11-libs/xcb-util-wm
"
src_compile() {
emake -C "${S}" split-monitor-workspaces.so
}
src_install() {
insinto "/usr/share/hyprland/plugins"
doins "${S}/split-monitor-workspaces.so"
}
pkg_postinst() {
einfo "Plugins are installed in /usr/share/hyprland/plugins"
einfo "To load them, refer to the official documentation"
einfo "https://wiki.hyprland.org/Plugins/Using-Plugins/"
}

View File

@@ -0,0 +1,49 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
M_PN="split-monitor-workspaces"
inherit meson
if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="https://github.com/Duckonaut/${M_PN}.git"
inherit git-r3
else
COMMIT=2b1abdbf9e9de9ee660540167c8f51903fa3d959
SRC_URI="https://github.com/Duckonaut/${M_PN}/archive/${COMMIT}.tar.gz \
-> ${P}.gh.tar.gz
"
KEYWORDS="~amd64"
S="${WORKDIR}/${M_PN}-${COMMIT}"
fi
DESCRIPTION="A small plugin to provide awesome/dwm-like behavior with workspaces"
HOMEPAGE="https://github.com/Duckonaut/split-monitor-workspaces"
LICENSE="BSD"
SLOT="0"
RDEPEND="gui-wm/hyprland"
DEPEND="${RDEPEND}"
BDEPEND="
~gui-wm/hyprland-${PV}
x11-libs/libdrm
x11-libs/pixman
x11-libs/xcb-util-wm
"
src_compile() {
emake -C "${S}" split-monitor-workspaces.so
}
src_install() {
insinto "/usr/share/hyprland/plugins"
doins "${S}/split-monitor-workspaces.so"
}
pkg_postinst() {
einfo "Plugins are installed in /usr/share/hyprland/plugins"
einfo "To load them, refer to the official documentation"
einfo "https://wiki.hyprland.org/Plugins/Using-Plugins/"
}

View File

@@ -0,0 +1,49 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
M_PN="split-monitor-workspaces"
inherit meson
if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="https://github.com/Duckonaut/${M_PN}.git"
inherit git-r3
else
COMMIT=2b1abdbf9e9de9ee660540167c8f51903fa3d959
SRC_URI="https://github.com/Duckonaut/${M_PN}/archive/${COMMIT}.tar.gz \
-> ${P}.gh.tar.gz
"
KEYWORDS="~amd64"
S="${WORKDIR}/${M_PN}-${COMMIT}"
fi
DESCRIPTION="A small plugin to provide awesome/dwm-like behavior with workspaces"
HOMEPAGE="https://github.com/Duckonaut/split-monitor-workspaces"
LICENSE="BSD"
SLOT="0"
RDEPEND="gui-wm/hyprland"
DEPEND="${RDEPEND}"
BDEPEND="
~gui-wm/hyprland-${PV}
x11-libs/libdrm
x11-libs/pixman
x11-libs/xcb-util-wm
"
src_compile() {
emake -C "${S}" split-monitor-workspaces.so
}
src_install() {
insinto "/usr/share/hyprland/plugins"
doins "${S}/split-monitor-workspaces.so"
}
pkg_postinst() {
einfo "Plugins are installed in /usr/share/hyprland/plugins"
einfo "To load them, refer to the official documentation"
einfo "https://wiki.hyprland.org/Plugins/Using-Plugins/"
}

View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<name>Julien Roy</name>
<email>julien@jroy.ca</email>
</maintainer>
<maintainer type="person">
<name>Gonçalo Negrier Duarte</name>
<email>gonegrier.duarte@gmail.com</email>
</maintainer>
<upstream>
<bugs-to>https://github.com/Duckonaut/split-monitor-workspaces/issues</bugs-to>
<changelog>https://github.com/hyprwm/hyprland-plugins/releases</changelog>
<remote-id type="github">Duckonaut/split-monitor-workspaces</remote-id>
<remote-id type="github">hypr/Hyprland</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1,2 +1,3 @@
DIST sfwbar-1.0_beta12.tar.gz 362373 BLAKE2B b1adda8a85c90d9459c4716c10eac501062476c4a039be7c8a8ebbcbfe63bb984a6869ed43157d24c02103e996d38e0d55e0d4b0df447f6e838a82bb7b725fc8 SHA512 b817ae0a0a77f13c6347ce50308b716ab30d7fc1e7920bf365ef34b332e07736bb4c08ec260195166b3cdc9cbafccabfd656afa7679f539a0a035d12ad519832
DIST sfwbar-1.0_beta13.tar.gz 370717 BLAKE2B 1728c823b8f077ed3ddf952138cb7a15c70628df60b9dcdc43abffd7e7b7b39ddee785063b2b144889dbd265cc4851fe953bf31aa0393297b7cf3029019f9224 SHA512 e838374bfabea6cdbb71ee2e8f0e8ea814cb874ecf617b250959aec81da3a18dd178e3257ead06bf41be55a0d1492312979eab11318cbc7da913a0881e247d67
DIST sfwbar-1.0_beta14.tar.gz 386347 BLAKE2B 1b0549f43fa06578d9fd981c1480040b22f4670c9ed82c04e2b16bdb288468febecc50a7de0688ba8b017b3073c792eea5fadbf051b63d7cf86b659bf4745d83 SHA512 e1a1c9d0a8b3c80c3ef043c6f22bb2b915cdf1f36da6ce306f66754af2a68c2077f4e473bd998d6d6282db5fc0652b7b7bbbe333a39390e7e38129163a398055

View File

@@ -7,6 +7,9 @@
</maintainer>
<use>
<flag name="mpd">Add support for Music Player Daemon</flag>
<flag name="pulse">Add support for Pulse Audio</flag>
<flag name="alsa">Add support for ALSA sound server</flag>
<flag name="X">Add support for xkb maps</flag>
</use>
<upstream>
<remote-id type="github">LBCrion/sfwbar</remote-id>

View File

@@ -0,0 +1,50 @@
# Copyright 2020-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson xdg
DESCRIPTION="S* Floating Window Bar"
HOMEPAGE="https://github.com/LBCrion/sfwbar"
SRC_URI="https://github.com/LBCrion/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
LICENSE="GPL-3"
SLOT="0"
IUSE="X mpd pulseaudio alsa"
COMMON_DEPEND="
dev-libs/glib:2
dev-libs/json-c:=
dev-libs/wayland
gui-libs/gtk-layer-shell
>=x11-libs/gtk+-3.22.0:3[introspection,wayland]
X? ( x11-libs/libxkbcommon )
mpd? ( media-libs/libmpdclient )
pulseaudio? ( media-libs/libpulse[glib] )
alsa? ( media-libs/alsa-lib )
"
RDEPEND="${COMMON_DEPEND}
virtual/freedesktop-icon-theme
"
DEPEND="${COMMON_DEPEND}
>=dev-libs/wayland-protocols-1.17
"
BDEPEND="dev-util/wayland-scanner"
src_configure() {
local emesonargs=(
$(meson_feature alsa)
$(meson_feature mpd)
$(meson_feature pulseaudio pulse)
$(meson_feature X xkb)
-Dnetwork=enabled
-Didleinhibit=enabled
-Dbluez=enabled
-Dbsdctl=disabled
-Diwd=enabled
)
meson_src_configure
}

View File

@@ -9,6 +9,10 @@
<email>mia@xenialinux.com</email>
<name>Mia Neufeld</name>
</maintainer>
<maintainer type="person">
<name>Gonçalo Negrier Duarte</name>
<email>gonegrier.duarte@gmail.com</email>
</maintainer>
<upstream>
<doc lang="en">https://wiki.hyprland.org/hyprland-wiki/pages/Useful-Utilities/Hyprland-desktop-portal/</doc>
<remote-id type="github">hyprwm/xdg-desktop-portal-hyprland</remote-id>

View File

@@ -12,9 +12,9 @@ if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland.git"
inherit git-r3
else
KEYWORDS="~amd64"
SRC_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland/archive/refs/tags/v${PV}.tar.gz \
-> xdg-desktop-hyprland-${PV}.tar.gz"
KEYWORDS="~amd64"
fi
LICENSE="MIT"

View File

@@ -8,12 +8,17 @@ inherit systemd cmake toolchain-funcs
DESCRIPTION="xdg-desktop-portal backend for hyprland"
HOMEPAGE="https://github.com/hyprwm/xdg-desktop-portal-hyprland"
KEYWORDS="~amd64"
PROTO_COMMIT="4d29e48433270a2af06b8bc711ca1fe5109746cd"
SRC_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland/archive/refs/tags/v${PV}.tar.gz \
-> xdg-desktop-hyprland-${PV}.tar.gz
https://github.com/hyprwm/hyprland-protocols/archive/${PROTO_COMMIT}.tar.gz \
-> proto-subproject-${PV}.tar.gz"
if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland.git"
inherit git-r3
else
PROTO_COMMIT="4d29e48433270a2af06b8bc711ca1fe5109746cd"
SRC_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland/archive/refs/tags/v${PV}.tar.gz \
-> xdg-desktop-hyprland-${PV}.tar.gz
https://github.com/hyprwm/hyprland-protocols/archive/${PROTO_COMMIT}.tar.gz \
-> proto-subproject-${PV}.tar.gz"
KEYWORDS="~amd64"
fi
LICENSE="MIT"
SLOT="0"
@@ -67,9 +72,13 @@ pkg_setup() {
}
src_unpack() {
default
rmdir "${S}/subprojects/hyprland-protocols" || die
mv "hyprland-protocols-${PROTO_COMMIT}" "${S}/subprojects/hyprland-protocols" || die
if [[ ${PV} == 9999 ]]; then
git-r3_src_unpack
else
default
rmdir "${S}/subprojects/hyprland-protocols" || die
mv "hyprland-protocols-${PROTO_COMMIT}" "${S}/subprojects/hyprland-protocols" || die
fi
}
src_prepare() {

View File

@@ -8,12 +8,17 @@ inherit systemd cmake toolchain-funcs
DESCRIPTION="xdg-desktop-portal backend for hyprland"
HOMEPAGE="https://github.com/hyprwm/xdg-desktop-portal-hyprland"
KEYWORDS="~amd64"
PROTO_COMMIT="4d29e48433270a2af06b8bc711ca1fe5109746cd"
SRC_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland/archive/refs/tags/v${PV}.tar.gz \
-> xdg-desktop-hyprland-${PV}.tar.gz
https://github.com/hyprwm/hyprland-protocols/archive/${PROTO_COMMIT}.tar.gz \
-> proto-subproject-${PV}.tar.gz"
if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland.git"
inherit git-r3
else
PROTO_COMMIT="4d29e48433270a2af06b8bc711ca1fe5109746cd"
SRC_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland/archive/refs/tags/v${PV}.tar.gz \
-> xdg-desktop-hyprland-${PV}.tar.gz
https://github.com/hyprwm/hyprland-protocols/archive/${PROTO_COMMIT}.tar.gz \
-> proto-subproject-${PV}.tar.gz"
KEYWORDS="~amd64"
fi
LICENSE="MIT"
SLOT="0"
@@ -67,9 +72,13 @@ pkg_setup() {
}
src_unpack() {
default
rmdir "${S}/subprojects/hyprland-protocols" || die
mv "hyprland-protocols-${PROTO_COMMIT}" "${S}/subprojects/hyprland-protocols" || die
if [[ ${PV} == 9999 ]]; then
git-r3_src_unpack
else
default
rmdir "${S}/subprojects/hyprland-protocols" || die
mv "hyprland-protocols-${PROTO_COMMIT}" "${S}/subprojects/hyprland-protocols" || die
fi
}
src_prepare() {

View File

@@ -8,12 +8,17 @@ inherit systemd cmake toolchain-funcs
DESCRIPTION="xdg-desktop-portal backend for hyprland"
HOMEPAGE="https://github.com/hyprwm/xdg-desktop-portal-hyprland"
KEYWORDS="~amd64"
PROTO_COMMIT="4d29e48433270a2af06b8bc711ca1fe5109746cd"
SRC_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland/archive/refs/tags/v${PV}.tar.gz \
-> xdg-desktop-hyprland-${PV}.tar.gz
https://github.com/hyprwm/hyprland-protocols/archive/${PROTO_COMMIT}.tar.gz \
-> proto-subproject-${PV}.tar.gz"
if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland.git"
inherit git-r3
else
PROTO_COMMIT="4d29e48433270a2af06b8bc711ca1fe5109746cd"
SRC_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland/archive/refs/tags/v${PV}.tar.gz \
-> xdg-desktop-hyprland-${PV}.tar.gz
https://github.com/hyprwm/hyprland-protocols/archive/${PROTO_COMMIT}.tar.gz \
-> proto-subproject-${PV}.tar.gz"
KEYWORDS="~amd64"
fi
LICENSE="MIT"
SLOT="0"
@@ -67,9 +72,13 @@ pkg_setup() {
}
src_unpack() {
default
rmdir "${S}/subprojects/hyprland-protocols" || die
mv "hyprland-protocols-${PROTO_COMMIT}" "${S}/subprojects/hyprland-protocols" || die
if [[ ${PV} == 9999 ]]; then
git-r3_src_unpack
else
default
rmdir "${S}/subprojects/hyprland-protocols" || die
mv "hyprland-protocols-${PROTO_COMMIT}" "${S}/subprojects/hyprland-protocols" || die
fi
}
src_prepare() {

View File

@@ -0,0 +1,117 @@
# Copyright 2022-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit systemd cmake toolchain-funcs
DESCRIPTION="xdg-desktop-portal backend for hyprland"
HOMEPAGE="https://github.com/hyprwm/xdg-desktop-portal-hyprland"
if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland.git"
inherit git-r3
else
PROTO_COMMIT="4d29e48433270a2af06b8bc711ca1fe5109746cd"
SRC_URI="https://github.com/hyprwm/xdg-desktop-portal-hyprland/archive/refs/tags/v${PV}.tar.gz \
-> xdg-desktop-hyprland-${PV}.tar.gz
https://github.com/hyprwm/hyprland-protocols/archive/${PROTO_COMMIT}.tar.gz \
-> proto-subproject-${PV}.tar.gz"
KEYWORDS="~amd64"
fi
LICENSE="MIT"
SLOT="0"
IUSE="elogind systemd"
REQUIRED_USE="?? ( elogind systemd )"
DEPEND="
>=media-video/pipewire-0.3.41:=
dev-cpp/sdbus-c++
dev-libs/inih
dev-libs/wayland
dev-qt/qtbase
dev-qt/qtcore
dev-qt/qtgui
dev-qt/qtwayland:6
dev-qt/qtwidgets
media-libs/mesa
sys-apps/util-linux
x11-libs/libdrm
|| (
systemd? ( >=sys-apps/systemd-237 )
elogind? ( >=sys-auth/elogind-237 )
sys-libs/basu
)
"
RDEPEND="
${DEPEND}
sys-apps/xdg-desktop-portal
"
BDEPEND="
>=dev-libs/wayland-protocols-1.24
dev-libs/hyprland-protocols
virtual/pkgconfig
|| ( >=sys-devel/gcc-13:* >=sys-devel/clang-17:* )
"
pkg_setup() {
[[ ${MERGE_TYPE} == binary ]] && return
if tc-is-gcc && ver_test $(gcc-version) -lt 13 ; then
eerror "XDPH needs >=gcc-13 or >=clang-17 to compile."
eerror "Please upgrade GCC: emerge -v1 sys-devel/gcc"
die "GCC version is too old to compile XDPH!"
elif tc-is-clang && ver_test $(clang-version) -lt 17 ; then
eerror "XDPH needs >=gcc-13 or >=clang-17 to compile."
eerror "Please upgrade Clang: emerge -v1 sys-devel/clang"
die "Clang version is too old to compile XDPH!"
fi
}
src_unpack() {
if [[ ${PV} == 9999 ]]; then
git-r3_src_unpack
else
default
rmdir "${S}/subprojects/hyprland-protocols" || die
mv "hyprland-protocols-${PROTO_COMMIT}" "${S}/subprojects/hyprland-protocols" || die
fi
}
src_prepare() {
eapply "${FILESDIR}/xdg-desktop-portal-hyprland-1.2.6_use_sys_sdbus-c++.patch"
sed -i "/add_compile_options(-O3)/d" "${S}/CMakeLists.txt" || die
cmake_src_prepare
}
src_compile() {
cmake_src_compile all
}
src_install() {
LIBEXEC="/usr/libexec"
SYSTEMD_SERVICE="${S}/contrib/systemd/xdg-desktop-portal-hyprland.service"
DBUS_SERVICE="${S}/org.freedesktop.impl.portal.desktop.hyprland.service"
cmake_src_install
exeinto $LIBEXEC
doexe "${BUILD_DIR}/xdg-desktop-portal-hyprland"
insinto /usr/share/xdg-desktop-portal/portals
doins "${S}/hyprland.portal"
# systemd service
sed -i "s|@libexecdir@|${LIBEXEC}|g" "${SYSTEMD_SERVICE}.in" || die
mv "${SYSTEMD_SERVICE}.in" "${SYSTEMD_SERVICE}" || die
systemd_douserunit "${SYSTEMD_SERVICE}"
# dbus service
sed -i "s|@libexecdir@|${LIBEXEC}|g" "${DBUS_SERVICE}.in" || die
mv "${DBUS_SERVICE}.in" "${DBUS_SERVICE}"
insinto /usr/share/dbus-1/services/
doins "${DBUS_SERVICE}"
}

View File

@@ -7,11 +7,17 @@ inherit optfeature
DESCRIPTION="Community-maintained extensions for hyprland"
HOMEPAGE="https://hyprland.org/"
SRC_URI="https://github.com/hyprwm/contrib/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="https://github.com/hyprwm/contrib.git"
inherit git-r3
else
SRC_URI="https://github.com/hyprwm/contrib/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/contrib-${PV}"
KEYWORDS="~amd64"
fi
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+grimblast +hyprprop +scratchpad +shellevents +swap"
RDEPEND="

View File

@@ -0,0 +1,92 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit optfeature
DESCRIPTION="Community-maintained extensions for hyprland"
HOMEPAGE="https://hyprland.org/"
if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="https://github.com/hyprwm/contrib.git"
inherit git-r3
else
SRC_URI="https://github.com/hyprwm/contrib/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/contrib-${PV}"
KEYWORDS="~amd64"
fi
LICENSE="MIT"
SLOT="0"
IUSE="+grimblast +hyprprop +hdrop +scratchpad +shellevents +swap"
RDEPEND="
app-shells/bash
gui-wm/hyprland
grimblast? (
gui-apps/wl-clipboard
gui-apps/grim
app-misc/jq
gui-apps/slurp
app-misc/jq
)
hyprprop? (
app-misc/jq
gui-apps/slurp
)
scratchpad? (
sys-apps/sed
app-misc/jq
gui-apps/slurp
app-misc/jq
)
"
BDEPEND="
grimblast? (
app-text/scdoc
)
hyprprop? (
app-text/scdoc
)
"
DEPEND="${RDEPEND}"
src_install() {
if use grimblast; then
pushd grimblast || die
PREFIX="${D}/usr" emake install
popd || die
fi
if use hyprprop; then
pushd hyprprop || die
PREFIX="${D}/usr" emake install
popd || die
fi
if use hdrop; then
pushd hdrop || die
PREFIX="${D}/usr" emake hdrop.1 #PR:80 will fix this
PREFIX="${D}/usr" emake install
popd || die
fi
if use scratchpad; then
pushd scratchpad || die
PREFIX="${D}/usr" emake install
popd || die
fi
if use shellevents; then
pushd shellevents || die
PREFIX="${D}/usr" emake install
popd || die
fi
if use swap; then
pushd try_swap_workspace || die
PREFIX="${D}/usr" emake install
popd || die
fi
}
pkg_postinst() {
if use grimblast || use hyprprop || use hdrop || use scratchpad || use swap; then
optfeature "GUI notifications during dependency checks" x11-libs/libnotify
fi
}

View File

@@ -8,6 +8,7 @@
<use>
<flag name="grimblast">Install grimblast, a hyprland version of grimshot</flag>
<flag name="hyprprop">Install hyprprop, a xprop replacement for hyprland</flag>
<flag name="hdrop">Install hdrop, a tdrop replacement for Hyprland</flag>
<flag name="scratchpad">Install scratchpad script</flag>
<flag name="shellevents">Install shellevents, invoke hell functions in response to Hyprland socket events</flag>
<flag name="swap">Install try_swap_workspace, a script to emulate monitor-workspace agnostic behavior of other window managers</flag>

View File

@@ -22,6 +22,7 @@ HOMEPAGE="https://github.com/Xaymar/obs-StreamFX"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/Xaymar/obs-StreamFX.git"
EGIT_BRANCH="${M_PV}"
else
SRC_URI="
https://github.com/Xaymar/obs-StreamFX/archive/refs/tags/${M_PV}.tar.gz -> ${PN}-${M_PV}.tar.gz

View File

@@ -1,40 +1,8 @@
DIST feather-2.4.9-r1-monero-miniupnp.tar.gz 446961 BLAKE2B 802e3a99f2e129492be547eba0f7f87c0e0c7024b4a322fbabf973dab26cd33601d99b29d422f8bb2ebae078982ef25efcdfe7ce66149360ba974abcb80b95d4 SHA512 c544148b2f110a84dbc69b0de2a6ff95ea3b8ad49354320c557b29a548de3e87ac52e37566b7f809bbcf0afa395e5150049dde15383d8180a52a38fd8738fdc5
DIST feather-2.4.9-r1-monero-randomx.tar.gz 164390 BLAKE2B 704792f22d7e3e9e789b42f77176ef4687b7d599387edfa42f854ad7b0f692d704480a6c7e43a291acac0dde2adae12923ea11e615d132baf10c7cb8f59f5801 SHA512 959a8399ae85bbb57e875e0383e448b10241badcd6682c7b6dec9d172f489ccbf3bb9b8b9b657bf977b3f2280597eb99cef2270159dc77142615dfe8d6f438ad
DIST feather-2.4.9-r1-monero-rapidjson.tar.gz 1054330 BLAKE2B 5d18961b86a27516e42441ba46317ba811e06305dc754b5765b4fbfb697d93bc31ae9457fa2c3f213396909af726f775a7b371874ef1a0dc56a8577ed077a610 SHA512 dd4f103f84c4f32683ca9ccc82c35db3a60012c35acbb79405905c8b4e382389c52422b1a514e6128ae71f90f5eedb158f2a4f72f7c0f6025c2ef0787130bbe7
DIST feather-2.4.9-r1-monero-supercop.tar.gz 346604 BLAKE2B 10e48076acb2e5de5acb2efee61b2fac40fdfec3bc4037a94199d56ee2446466126e1b9dade56ee69598f4bd3c64b45d86d0810f24f461f6e09fb84c87e1ef93 SHA512 06cca8d1def31aa11bf5aa42d861c4a027786f7cc494fa3ab53a2bc4bd9d1f55b2389020ba5fd1816ed277b6e4320ad8edbb3117dcf4981fc7fba655c4bbe648
DIST feather-2.4.9-r1-monero-trezorcommon.tar.gz 1327782 BLAKE2B 738f2833317d5b5f52c21582160c1bee331fda38615c7e2c29d68cec600e849209111aaa75cce059596e87b2711c5a5749d965c91f1cf15cbe98fc86a049b5a5 SHA512 9955aa160e9a969decee598584f788e4d36e9c65f2ee730cd8f128669e86175f2189e804ca53e405871ab698ae5e683f146e59e832d8ec58fa1cb46328665ddf
DIST feather-2.4.9-r1-monero.tar.gz 14011935 BLAKE2B b46ef62cb982f134c9c643f9bbe8fee196a42d9c7291f296c6185e598c240565c5c2714ed3f5337df34f2233cb0c54e1f70af605f7e871c0e4cc385d8820e6e1 SHA512 a9e5edf93f7d75dca47a0a9b0a06326f3e6774aa9e759492f399af18a0b0842237ad27beb7b1d0fbfd69a0e9e8adbdd2439b79ddc3e872c8a0bcb2ff546eb64e
DIST feather-2.4.9-r1-singleapplication.tar.gz 21630 BLAKE2B 403e187d0c9f5c591741ab1bdf879ae700cd255e0bcf3cc6e71aa2f6b9dcaf462aaa4e2142b5978d5e69c7660b1d094ac47cac3912c1b49a1dd003eebc641d6f SHA512 d16127412a97289edcb2bf86d2e4229d11408095ca6be6f2d7d63a6df573b31aa2e100382da3b12b93b45380fe68586c91cf3e774d1aedfeb88e151bc13bb4c4
DIST feather-2.4.9-r1.tar.gz 1241941 BLAKE2B 725c949525970fb8368fdcc3443b5fde7ffbdb12b82608c6fa590e5104bd3fe4c42a5dca299e83acbd2b74d9bd2f7bf11a885c1cbdbafaed1eac3e7a825addc6 SHA512 71637871fead4d607c4a4536be1737c8640672921da5807dc17956e11ba95d5ae71467163dc01075df8c7b7c56ffe63ffbcdab433e4882215d542fcb89dac9a0
DIST feather-2.5.1-monero-miniupnp.tar.gz 446961 BLAKE2B 802e3a99f2e129492be547eba0f7f87c0e0c7024b4a322fbabf973dab26cd33601d99b29d422f8bb2ebae078982ef25efcdfe7ce66149360ba974abcb80b95d4 SHA512 c544148b2f110a84dbc69b0de2a6ff95ea3b8ad49354320c557b29a548de3e87ac52e37566b7f809bbcf0afa395e5150049dde15383d8180a52a38fd8738fdc5
DIST feather-2.5.1-monero-randomx.tar.gz 164390 BLAKE2B 704792f22d7e3e9e789b42f77176ef4687b7d599387edfa42f854ad7b0f692d704480a6c7e43a291acac0dde2adae12923ea11e615d132baf10c7cb8f59f5801 SHA512 959a8399ae85bbb57e875e0383e448b10241badcd6682c7b6dec9d172f489ccbf3bb9b8b9b657bf977b3f2280597eb99cef2270159dc77142615dfe8d6f438ad
DIST feather-2.5.1-monero-rapidjson.tar.gz 1054330 BLAKE2B 5d18961b86a27516e42441ba46317ba811e06305dc754b5765b4fbfb697d93bc31ae9457fa2c3f213396909af726f775a7b371874ef1a0dc56a8577ed077a610 SHA512 dd4f103f84c4f32683ca9ccc82c35db3a60012c35acbb79405905c8b4e382389c52422b1a514e6128ae71f90f5eedb158f2a4f72f7c0f6025c2ef0787130bbe7
DIST feather-2.5.1-monero-supercop.tar.gz 346604 BLAKE2B 10e48076acb2e5de5acb2efee61b2fac40fdfec3bc4037a94199d56ee2446466126e1b9dade56ee69598f4bd3c64b45d86d0810f24f461f6e09fb84c87e1ef93 SHA512 06cca8d1def31aa11bf5aa42d861c4a027786f7cc494fa3ab53a2bc4bd9d1f55b2389020ba5fd1816ed277b6e4320ad8edbb3117dcf4981fc7fba655c4bbe648
DIST feather-2.5.1-monero-trezorcommon.tar.gz 1327782 BLAKE2B 738f2833317d5b5f52c21582160c1bee331fda38615c7e2c29d68cec600e849209111aaa75cce059596e87b2711c5a5749d965c91f1cf15cbe98fc86a049b5a5 SHA512 9955aa160e9a969decee598584f788e4d36e9c65f2ee730cd8f128669e86175f2189e804ca53e405871ab698ae5e683f146e59e832d8ec58fa1cb46328665ddf
DIST feather-2.5.1-monero.tar.gz 14014516 BLAKE2B 0f5f74b1e9c72e0671d010910730e21b0990be09f5fffc472e7493004c2d3583b60f4eab90ba396be359cf22771b5d21c66e6d7a46b2094d94f0b81f4375260e SHA512 ab9466d9d93632fea476d9aa9de5fb4298a8b74a340d144c061ce438e36f2bee056a30d66d37c1cc3128576539f45b135e8d336c66c6961651e1846370f205e2
DIST feather-2.5.1-singleapplication.tar.gz 21630 BLAKE2B 403e187d0c9f5c591741ab1bdf879ae700cd255e0bcf3cc6e71aa2f6b9dcaf462aaa4e2142b5978d5e69c7660b1d094ac47cac3912c1b49a1dd003eebc641d6f SHA512 d16127412a97289edcb2bf86d2e4229d11408095ca6be6f2d7d63a6df573b31aa2e100382da3b12b93b45380fe68586c91cf3e774d1aedfeb88e151bc13bb4c4
DIST feather-2.5.1.tar.gz 1318136 BLAKE2B 7950ba90b8c8c03cf336d09da1145616791a9ee00d81e45f9f38d3022286bd586f8c367b4c852c2fac7c5afaa291666b8dfd510777b4e0faec1bb5bcbe501cca SHA512 816a9375939baac42b796bb4caaf6fc273afb681c4d22946180cdcd5ffe65ff93db2a0aaa3b7dc7eb19a1cff7a22fb05b9c2a36893cf1511c5e8fbde216c768c
DIST feather-2.5.2-monero-miniupnp.tar.gz 446961 BLAKE2B 802e3a99f2e129492be547eba0f7f87c0e0c7024b4a322fbabf973dab26cd33601d99b29d422f8bb2ebae078982ef25efcdfe7ce66149360ba974abcb80b95d4 SHA512 c544148b2f110a84dbc69b0de2a6ff95ea3b8ad49354320c557b29a548de3e87ac52e37566b7f809bbcf0afa395e5150049dde15383d8180a52a38fd8738fdc5
DIST feather-2.5.2-monero-randomx.tar.gz 164390 BLAKE2B 704792f22d7e3e9e789b42f77176ef4687b7d599387edfa42f854ad7b0f692d704480a6c7e43a291acac0dde2adae12923ea11e615d132baf10c7cb8f59f5801 SHA512 959a8399ae85bbb57e875e0383e448b10241badcd6682c7b6dec9d172f489ccbf3bb9b8b9b657bf977b3f2280597eb99cef2270159dc77142615dfe8d6f438ad
DIST feather-2.5.2-monero-rapidjson.tar.gz 1054330 BLAKE2B 5d18961b86a27516e42441ba46317ba811e06305dc754b5765b4fbfb697d93bc31ae9457fa2c3f213396909af726f775a7b371874ef1a0dc56a8577ed077a610 SHA512 dd4f103f84c4f32683ca9ccc82c35db3a60012c35acbb79405905c8b4e382389c52422b1a514e6128ae71f90f5eedb158f2a4f72f7c0f6025c2ef0787130bbe7
DIST feather-2.5.2-monero-supercop.tar.gz 346604 BLAKE2B 10e48076acb2e5de5acb2efee61b2fac40fdfec3bc4037a94199d56ee2446466126e1b9dade56ee69598f4bd3c64b45d86d0810f24f461f6e09fb84c87e1ef93 SHA512 06cca8d1def31aa11bf5aa42d861c4a027786f7cc494fa3ab53a2bc4bd9d1f55b2389020ba5fd1816ed277b6e4320ad8edbb3117dcf4981fc7fba655c4bbe648
DIST feather-2.5.2-monero-trezorcommon.tar.gz 1327782 BLAKE2B 738f2833317d5b5f52c21582160c1bee331fda38615c7e2c29d68cec600e849209111aaa75cce059596e87b2711c5a5749d965c91f1cf15cbe98fc86a049b5a5 SHA512 9955aa160e9a969decee598584f788e4d36e9c65f2ee730cd8f128669e86175f2189e804ca53e405871ab698ae5e683f146e59e832d8ec58fa1cb46328665ddf
DIST feather-2.5.2-monero.tar.gz 14014516 BLAKE2B 0f5f74b1e9c72e0671d010910730e21b0990be09f5fffc472e7493004c2d3583b60f4eab90ba396be359cf22771b5d21c66e6d7a46b2094d94f0b81f4375260e SHA512 ab9466d9d93632fea476d9aa9de5fb4298a8b74a340d144c061ce438e36f2bee056a30d66d37c1cc3128576539f45b135e8d336c66c6961651e1846370f205e2
DIST feather-2.5.2-singleapplication.tar.gz 21630 BLAKE2B 403e187d0c9f5c591741ab1bdf879ae700cd255e0bcf3cc6e71aa2f6b9dcaf462aaa4e2142b5978d5e69c7660b1d094ac47cac3912c1b49a1dd003eebc641d6f SHA512 d16127412a97289edcb2bf86d2e4229d11408095ca6be6f2d7d63a6df573b31aa2e100382da3b12b93b45380fe68586c91cf3e774d1aedfeb88e151bc13bb4c4
DIST feather-2.5.2.tar.gz 1322312 BLAKE2B 8c5ad7353dc0a2e52f7fb045aea0f110c45f0eca1fbab9cbddbb4a9da6ebe8c9983fff56783a5df5864a6a8483bfd9102f09adb87974766f3d4eab340dfc8568 SHA512 5cfb4710784046d0d960f715dc9c67e2fd32a36d055a810aedead13e3d1056b7d681db1a2f64905961ac947d54385e1f9dafec5ebfc6daff6a16442e4aa49f46
DIST feather-2.6.0-monero-miniupnp.tar.gz 446961 BLAKE2B 802e3a99f2e129492be547eba0f7f87c0e0c7024b4a322fbabf973dab26cd33601d99b29d422f8bb2ebae078982ef25efcdfe7ce66149360ba974abcb80b95d4 SHA512 c544148b2f110a84dbc69b0de2a6ff95ea3b8ad49354320c557b29a548de3e87ac52e37566b7f809bbcf0afa395e5150049dde15383d8180a52a38fd8738fdc5
DIST feather-2.6.0-monero-randomx.tar.gz 164390 BLAKE2B 704792f22d7e3e9e789b42f77176ef4687b7d599387edfa42f854ad7b0f692d704480a6c7e43a291acac0dde2adae12923ea11e615d132baf10c7cb8f59f5801 SHA512 959a8399ae85bbb57e875e0383e448b10241badcd6682c7b6dec9d172f489ccbf3bb9b8b9b657bf977b3f2280597eb99cef2270159dc77142615dfe8d6f438ad
DIST feather-2.6.0-monero-rapidjson.tar.gz 1054330 BLAKE2B 5d18961b86a27516e42441ba46317ba811e06305dc754b5765b4fbfb697d93bc31ae9457fa2c3f213396909af726f775a7b371874ef1a0dc56a8577ed077a610 SHA512 dd4f103f84c4f32683ca9ccc82c35db3a60012c35acbb79405905c8b4e382389c52422b1a514e6128ae71f90f5eedb158f2a4f72f7c0f6025c2ef0787130bbe7
DIST feather-2.6.0-monero-supercop.tar.gz 346604 BLAKE2B 10e48076acb2e5de5acb2efee61b2fac40fdfec3bc4037a94199d56ee2446466126e1b9dade56ee69598f4bd3c64b45d86d0810f24f461f6e09fb84c87e1ef93 SHA512 06cca8d1def31aa11bf5aa42d861c4a027786f7cc494fa3ab53a2bc4bd9d1f55b2389020ba5fd1816ed277b6e4320ad8edbb3117dcf4981fc7fba655c4bbe648
DIST feather-2.6.0-monero-trezorcommon.tar.gz 1327782 BLAKE2B 738f2833317d5b5f52c21582160c1bee331fda38615c7e2c29d68cec600e849209111aaa75cce059596e87b2711c5a5749d965c91f1cf15cbe98fc86a049b5a5 SHA512 9955aa160e9a969decee598584f788e4d36e9c65f2ee730cd8f128669e86175f2189e804ca53e405871ab698ae5e683f146e59e832d8ec58fa1cb46328665ddf
DIST feather-2.6.0-monero.tar.gz 14007104 BLAKE2B e14c36698dfce91e430960166a3d6012139c12c6eda4bbf5cd1372054e80c7f762612a477a41bb5193cb7e01330edd138770fad03230b93ed7325ecff1a28943 SHA512 d1597e76bb51d3b56cb44c0b16b8e9e5329221e61364c4053319319736cd392ba354056fc2e911dda281d0f456b2a7da2393991b2e1d002ee23ae051351a2c58
DIST feather-2.6.0-singleapplication.tar.gz 21630 BLAKE2B 403e187d0c9f5c591741ab1bdf879ae700cd255e0bcf3cc6e71aa2f6b9dcaf462aaa4e2142b5978d5e69c7660b1d094ac47cac3912c1b49a1dd003eebc641d6f SHA512 d16127412a97289edcb2bf86d2e4229d11408095ca6be6f2d7d63a6df573b31aa2e100382da3b12b93b45380fe68586c91cf3e774d1aedfeb88e151bc13bb4c4
DIST feather-2.6.0.tar.gz 1364312 BLAKE2B 3127a8c71df76ca857a4979f7395e1d0124c938054ee3a47ce73c33b9ad018481ad209e93edd9c5f71dd501253b18fad8ce3706a1ec37cc9ef9ee1a87c1ce6d1 SHA512 16e24ccb0e7699dc197e655004eaa663059ac44f7a42683d81749aaa99a91c235dd67bfdd096d4484cbe4db3bf44045d845e167e920ae2a8d11e68fd237e7451
DIST feather-2.6.1-monero-miniupnp.tar.gz 446961 BLAKE2B 802e3a99f2e129492be547eba0f7f87c0e0c7024b4a322fbabf973dab26cd33601d99b29d422f8bb2ebae078982ef25efcdfe7ce66149360ba974abcb80b95d4 SHA512 c544148b2f110a84dbc69b0de2a6ff95ea3b8ad49354320c557b29a548de3e87ac52e37566b7f809bbcf0afa395e5150049dde15383d8180a52a38fd8738fdc5
DIST feather-2.6.1-monero-randomx.tar.gz 164390 BLAKE2B 704792f22d7e3e9e789b42f77176ef4687b7d599387edfa42f854ad7b0f692d704480a6c7e43a291acac0dde2adae12923ea11e615d132baf10c7cb8f59f5801 SHA512 959a8399ae85bbb57e875e0383e448b10241badcd6682c7b6dec9d172f489ccbf3bb9b8b9b657bf977b3f2280597eb99cef2270159dc77142615dfe8d6f438ad
DIST feather-2.6.1-monero-rapidjson.tar.gz 1054330 BLAKE2B 5d18961b86a27516e42441ba46317ba811e06305dc754b5765b4fbfb697d93bc31ae9457fa2c3f213396909af726f775a7b371874ef1a0dc56a8577ed077a610 SHA512 dd4f103f84c4f32683ca9ccc82c35db3a60012c35acbb79405905c8b4e382389c52422b1a514e6128ae71f90f5eedb158f2a4f72f7c0f6025c2ef0787130bbe7
DIST feather-2.6.1-monero-supercop.tar.gz 346604 BLAKE2B 10e48076acb2e5de5acb2efee61b2fac40fdfec3bc4037a94199d56ee2446466126e1b9dade56ee69598f4bd3c64b45d86d0810f24f461f6e09fb84c87e1ef93 SHA512 06cca8d1def31aa11bf5aa42d861c4a027786f7cc494fa3ab53a2bc4bd9d1f55b2389020ba5fd1816ed277b6e4320ad8edbb3117dcf4981fc7fba655c4bbe648
DIST feather-2.6.1-monero-trezorcommon.tar.gz 1327782 BLAKE2B 738f2833317d5b5f52c21582160c1bee331fda38615c7e2c29d68cec600e849209111aaa75cce059596e87b2711c5a5749d965c91f1cf15cbe98fc86a049b5a5 SHA512 9955aa160e9a969decee598584f788e4d36e9c65f2ee730cd8f128669e86175f2189e804ca53e405871ab698ae5e683f146e59e832d8ec58fa1cb46328665ddf
DIST feather-2.6.1-monero.tar.gz 14007104 BLAKE2B e14c36698dfce91e430960166a3d6012139c12c6eda4bbf5cd1372054e80c7f762612a477a41bb5193cb7e01330edd138770fad03230b93ed7325ecff1a28943 SHA512 d1597e76bb51d3b56cb44c0b16b8e9e5329221e61364c4053319319736cd392ba354056fc2e911dda281d0f456b2a7da2393991b2e1d002ee23ae051351a2c58
DIST feather-2.6.1-singleapplication.tar.gz 21630 BLAKE2B 403e187d0c9f5c591741ab1bdf879ae700cd255e0bcf3cc6e71aa2f6b9dcaf462aaa4e2142b5978d5e69c7660b1d094ac47cac3912c1b49a1dd003eebc641d6f SHA512 d16127412a97289edcb2bf86d2e4229d11408095ca6be6f2d7d63a6df573b31aa2e100382da3b12b93b45380fe68586c91cf3e774d1aedfeb88e151bc13bb4c4
DIST feather-2.6.1.tar.gz 1364347 BLAKE2B 12223417ccedbd48a80f86d0f12fc79455063c2e5a99c812c8cdd5d81425d47932e150b5c3aaaf4ca26c4d6cfef772f9bdc4f4f749c94cecceb2406fa69d4f30 SHA512 a77daf2eed67a231a120fd940c6453fb4976dfbfd0a37f67c6d006ae4c20379fc7667cea72298173b7d6c184c8facad471b9f5cef417ff05296b4a394633ed42
DIST feather-2.6.2-monero-miniupnp.tar.gz 446961 BLAKE2B 802e3a99f2e129492be547eba0f7f87c0e0c7024b4a322fbabf973dab26cd33601d99b29d422f8bb2ebae078982ef25efcdfe7ce66149360ba974abcb80b95d4 SHA512 c544148b2f110a84dbc69b0de2a6ff95ea3b8ad49354320c557b29a548de3e87ac52e37566b7f809bbcf0afa395e5150049dde15383d8180a52a38fd8738fdc5
DIST feather-2.6.2-monero-randomx.tar.gz 164390 BLAKE2B 704792f22d7e3e9e789b42f77176ef4687b7d599387edfa42f854ad7b0f692d704480a6c7e43a291acac0dde2adae12923ea11e615d132baf10c7cb8f59f5801 SHA512 959a8399ae85bbb57e875e0383e448b10241badcd6682c7b6dec9d172f489ccbf3bb9b8b9b657bf977b3f2280597eb99cef2270159dc77142615dfe8d6f438ad
DIST feather-2.6.2-monero-rapidjson.tar.gz 1054330 BLAKE2B 5d18961b86a27516e42441ba46317ba811e06305dc754b5765b4fbfb697d93bc31ae9457fa2c3f213396909af726f775a7b371874ef1a0dc56a8577ed077a610 SHA512 dd4f103f84c4f32683ca9ccc82c35db3a60012c35acbb79405905c8b4e382389c52422b1a514e6128ae71f90f5eedb158f2a4f72f7c0f6025c2ef0787130bbe7
DIST feather-2.6.2-monero-supercop.tar.gz 346604 BLAKE2B 10e48076acb2e5de5acb2efee61b2fac40fdfec3bc4037a94199d56ee2446466126e1b9dade56ee69598f4bd3c64b45d86d0810f24f461f6e09fb84c87e1ef93 SHA512 06cca8d1def31aa11bf5aa42d861c4a027786f7cc494fa3ab53a2bc4bd9d1f55b2389020ba5fd1816ed277b6e4320ad8edbb3117dcf4981fc7fba655c4bbe648
DIST feather-2.6.2-monero-trezorcommon.tar.gz 1327782 BLAKE2B 738f2833317d5b5f52c21582160c1bee331fda38615c7e2c29d68cec600e849209111aaa75cce059596e87b2711c5a5749d965c91f1cf15cbe98fc86a049b5a5 SHA512 9955aa160e9a969decee598584f788e4d36e9c65f2ee730cd8f128669e86175f2189e804ca53e405871ab698ae5e683f146e59e832d8ec58fa1cb46328665ddf
DIST feather-2.6.2-monero.tar.gz 14007104 BLAKE2B e14c36698dfce91e430960166a3d6012139c12c6eda4bbf5cd1372054e80c7f762612a477a41bb5193cb7e01330edd138770fad03230b93ed7325ecff1a28943 SHA512 d1597e76bb51d3b56cb44c0b16b8e9e5329221e61364c4053319319736cd392ba354056fc2e911dda281d0f456b2a7da2393991b2e1d002ee23ae051351a2c58
DIST feather-2.6.2-singleapplication.tar.gz 21630 BLAKE2B 403e187d0c9f5c591741ab1bdf879ae700cd255e0bcf3cc6e71aa2f6b9dcaf462aaa4e2142b5978d5e69c7660b1d094ac47cac3912c1b49a1dd003eebc641d6f SHA512 d16127412a97289edcb2bf86d2e4229d11408095ca6be6f2d7d63a6df573b31aa2e100382da3b12b93b45380fe68586c91cf3e774d1aedfeb88e151bc13bb4c4
DIST feather-2.6.2.tar.gz 1390990 BLAKE2B b173be0a32b9781613a22d6454ba9a2ed8d8512b210b36a1c0f99d4a7e5b344b86bcb3fc1c92652b5222c4df9b67f5adc767c06b9865390e9f265776068fd43f SHA512 4d59a79462634ac7ab2d8060457979c69a1f5ca42d92b8b565f98f8f2ccd7f8de13ea0bd698632eb0b09621ac725052629c128d77ef9389cff0ab855ef0e57d8

View File

@@ -1,145 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake desktop xdg
SINGLEAPPLICATION_DIST_COMIT="3e8e85d1a487e433751711a8a090659684d42e3b"
MONERO_DIST_COMIT="db1ac578a16e678f0778fb37001921f93704f0ed"
MINIUPNP_DIST_COMIT="544e6fcc73c5ad9af48a8985c94f0f1d742ef2e0"
RANDOMX_DIST_COMIT="261d58c77fc5547c0aa7fdfeb58421ba7e0e6e1c"
RAPIDJSON_DIST_COMIT="129d19ba7f496df5e33658527a7158c79b99c21c"
SUPERCOP_DIST_COMIT="633500ad8c8759995049ccd022107d1fa8a1bbc9"
TREZORCOMMON_DIST_COMIT="bff7fdfe436c727982cc553bdfb29a9021b423b0"
DESCRIPTION="A free, open-source Monero wallet"
HOMEPAGE="https://featherwallet.org"
SRC_URI="https://github.com/feather-wallet/feather/archive/refs/tags/${PV}.tar.gz -> \
${PF}.tar.gz
https://github.com/itay-grudev/SingleApplication/archive/${SINGLEAPPLICATION_DIST_COMIT}.tar.gz -> \
${PF}-singleapplication.tar.gz
https://github.com/feather-wallet/monero/archive/${MONERO_DIST_COMIT}.tar.gz -> \
${PF}-monero.tar.gz
https://github.com/miniupnp/miniupnp/archive/${MINIUPNP_DIST_COMIT}.tar.gz -> \
${PF}-monero-miniupnp.tar.gz
https://github.com/tevador/RandomX/archive/${RANDOMX_DIST_COMIT}.tar.gz -> \
${PF}-monero-randomx.tar.gz
https://github.com/Tencent/rapidjson/archive/${RAPIDJSON_DIST_COMIT}.tar.gz -> \
${PF}-monero-rapidjson.tar.gz
https://github.com/monero-project/supercop/archive/${SUPERCOP_DIST_COMIT}.tar.gz -> \
${PF}-monero-supercop.tar.gz
https://github.com/trezor/trezor-common/archive/${TREZORCOMMON_DIST_COMIT}.tar.gz -> \
${PF}-monero-trezorcommon.tar.gz
"
# Feather is released under the terms of the BSD license, but it vendors
# code from Monero and Tor too.
LICENSE="BSD MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="qrcode xmrig localmonero"
DEPEND="
dev-libs/libsodium:=
media-gfx/qrencode:=
media-gfx/zbar:=[v4l]
~dev-libs/polyseed-1.0.0
dev-libs/libzip:=
dev-libs/boost:=[nls]
>=dev-qt/qtcore-5.15:5
>=dev-qt/qtwidgets-5.15:5
>=dev-qt/qtgui-5.15:5
>=dev-qt/qtnetwork-5.15:5
>=dev-qt/qtsvg-5.15:5
>=dev-qt/qtxml-5.15:5
>=dev-qt/qtwebsockets-5.15:5
>=dev-qt/qtmultimedia-5.15:5[widgets]
>=dev-qt/qtconcurrent-5.15:5
dev-libs/libgcrypt:=
sys-libs/zlib
dev-libs/openssl:=
net-dns/unbound:=[threads]
net-libs/czmq:=
"
RDEPEND="
${DEPEND}
net-vpn/tor
xmrig? ( net-misc/xmrig )
"
BDEPEND="virtual/pkgconfig"
src_unpack() {
unpack ${PF}.tar.gz \
${PF}-singleapplication.tar.gz \
${PF}-monero.tar.gz \
${PF}-monero-miniupnp.tar.gz \
${PF}-monero-randomx.tar.gz \
${PF}-monero-rapidjson.tar.gz \
${PF}-monero-supercop.tar.gz \
${PF}-monero-trezorcommon.tar.gz
mv -T "${WORKDIR}"/SingleApplication-${SINGLEAPPLICATION_DIST_COMIT} \
"${WORKDIR}"/${P}/src/third-party/singleapplication || die
mv -T "${WORKDIR}"/monero-${MONERO_DIST_COMIT} \
"${WORKDIR}"/${P}/monero || die
mv -T "${WORKDIR}"/miniupnp-${MINIUPNP_DIST_COMIT} \
"${WORKDIR}"/${P}/monero/external/miniupnp || die
mv -T "${WORKDIR}"/RandomX-${RANDOMX_DIST_COMIT} \
"${WORKDIR}"/${P}/monero/external/randomx || die
mv -T "${WORKDIR}"/rapidjson-${RAPIDJSON_DIST_COMIT} \
"${WORKDIR}"/${P}/monero/external/rapidjson || die
mv -T "${WORKDIR}"/supercop-${SUPERCOP_DIST_COMIT} \
"${WORKDIR}"/${P}/monero/external/supercop || die
mv -T "${WORKDIR}"/trezor-common-${TREZORCOMMON_DIST_COMIT} \
"${WORKDIR}"/${P}/monero/external/trezor-common || die
}
src_prepare() {
default
echo "#define FEATHER_VERSION \"${PV}\"" > "${WORKDIR}"/${P}/src/config-feather.h || die
echo "#define TOR_VERSION \"NOT_EMBEDDED\"" >> "${WORKDIR}"/${P}/src/config-feather.h || die
cmake_src_prepare
}
src_configure() {
local mycmakeargs=(
-DCMAKE_BUILD_TYPE=Release
-DBUILD_SHARED_LIBS=OFF
-DARCH=x86-64
-DBUILD_TAG="linux-x64"
-DBUILD_64=ON
-DSELF_CONTAINED=OFF
-DLOCALMONERO=$(usex localmonero)
-DXMRIG=$(usex xmrig)
-DCHECK_UPDATES=OFF
-DPLATFORM_INSTALLER=OFF
-DUSE_DEVICE_TREZOR=OFF
-DDONATE_BEG=OFF
-DWITH_SCANNER=$(usex qrcode)
)
cmake_src_configure
}
src_compile() {
cmake_build feather
}
src_install() {
dobin "${BUILD_DIR}/bin/feather"
newicon -s 256 "${WORKDIR}"/${P}/src/assets/images/appicons/256x256.png feather.png
newicon -s 128 "${WORKDIR}"/${P}/src/assets/images/appicons/128x128.png feather.png
newicon -s 96 "${WORKDIR}"/${P}/src/assets/images/appicons/96x96.png feather.png
newicon -s 64 "${WORKDIR}"/${P}/src/assets/images/appicons/64x64.png feather.png
newicon -s 48 "${WORKDIR}"/${P}/src/assets/images/appicons/48x48.png feather.png
newicon -s 32 "${WORKDIR}"/${P}/src/assets/images/appicons/32x32.png feather.png
domenu "${WORKDIR}"/${P}/src/assets/feather.desktop
}
pkg_postinst() {
xdg_pkg_postinst
einfo "Ensure that Tor is running with 'rc-service tor start' before"
einfo "using Feather."
}

View File

@@ -1,141 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake desktop xdg
#Verify feather-${PV}.tar.gz with https://github.com/feather-wallet/feather-sigs
SINGLEAPPLICATION_DIST_COMIT="3e8e85d1a487e433751711a8a090659684d42e3b"
MONERO_DIST_COMIT="1f068d1ee84849b3b1758b0a46844834019de1bc"
MINIUPNP_DIST_COMIT="544e6fcc73c5ad9af48a8985c94f0f1d742ef2e0"
RANDOMX_DIST_COMIT="261d58c77fc5547c0aa7fdfeb58421ba7e0e6e1c"
RAPIDJSON_DIST_COMIT="129d19ba7f496df5e33658527a7158c79b99c21c"
SUPERCOP_DIST_COMIT="633500ad8c8759995049ccd022107d1fa8a1bbc9"
TREZORCOMMON_DIST_COMIT="bff7fdfe436c727982cc553bdfb29a9021b423b0"
DESCRIPTION="A free, open-source Monero wallet"
HOMEPAGE="https://featherwallet.org"
SRC_URI="https://github.com/feather-wallet/feather/archive/refs/tags/${PV}.tar.gz -> \
${PF}.tar.gz
https://github.com/itay-grudev/SingleApplication/archive/${SINGLEAPPLICATION_DIST_COMIT}.tar.gz -> \
${PF}-singleapplication.tar.gz
https://github.com/feather-wallet/monero/archive/${MONERO_DIST_COMIT}.tar.gz -> \
${PF}-monero.tar.gz
https://github.com/miniupnp/miniupnp/archive/${MINIUPNP_DIST_COMIT}.tar.gz -> \
${PF}-monero-miniupnp.tar.gz
https://github.com/tevador/RandomX/archive/${RANDOMX_DIST_COMIT}.tar.gz -> \
${PF}-monero-randomx.tar.gz
https://github.com/Tencent/rapidjson/archive/${RAPIDJSON_DIST_COMIT}.tar.gz -> \
${PF}-monero-rapidjson.tar.gz
https://github.com/monero-project/supercop/archive/${SUPERCOP_DIST_COMIT}.tar.gz -> \
${PF}-monero-supercop.tar.gz
https://github.com/trezor/trezor-common/archive/${TREZORCOMMON_DIST_COMIT}.tar.gz -> \
${PF}-monero-trezorcommon.tar.gz
"
# Feather is released under the terms of the BSD license, but it vendors
# code from Monero and Tor too.
LICENSE="BSD MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="qrcode xmrig localmonero"
DEPEND="
dev-libs/libsodium:=
media-gfx/qrencode:=
media-gfx/zbar:=[v4l]
~dev-libs/polyseed-1.0.0
dev-libs/libzip:=
dev-libs/boost:=[nls]
>=dev-qt/qtbase-6.5.2:6
>=dev-qt/qtsvg-6.5.2:6
>=dev-qt/qtmultimedia-6.5.2:6
>=dev-qt/qtwebsockets-6.5.2:6
dev-libs/libgcrypt:=
sys-libs/zlib
dev-libs/openssl:=
net-dns/unbound:=[threads]
net-libs/czmq:=
"
RDEPEND="
${DEPEND}
net-vpn/tor
xmrig? ( net-misc/xmrig )
"
BDEPEND="virtual/pkgconfig"
src_unpack() {
unpack ${PF}.tar.gz \
${PF}-singleapplication.tar.gz \
${PF}-monero.tar.gz \
${PF}-monero-miniupnp.tar.gz \
${PF}-monero-randomx.tar.gz \
${PF}-monero-rapidjson.tar.gz \
${PF}-monero-supercop.tar.gz \
${PF}-monero-trezorcommon.tar.gz
mv -T "${WORKDIR}"/SingleApplication-${SINGLEAPPLICATION_DIST_COMIT} \
"${WORKDIR}"/${P}/src/third-party/singleapplication || die
mv -T "${WORKDIR}"/monero-${MONERO_DIST_COMIT} \
"${WORKDIR}"/${P}/monero || die
mv -T "${WORKDIR}"/miniupnp-${MINIUPNP_DIST_COMIT} \
"${WORKDIR}"/${P}/monero/external/miniupnp || die
mv -T "${WORKDIR}"/RandomX-${RANDOMX_DIST_COMIT} \
"${WORKDIR}"/${P}/monero/external/randomx || die
mv -T "${WORKDIR}"/rapidjson-${RAPIDJSON_DIST_COMIT} \
"${WORKDIR}"/${P}/monero/external/rapidjson || die
mv -T "${WORKDIR}"/supercop-${SUPERCOP_DIST_COMIT} \
"${WORKDIR}"/${P}/monero/external/supercop || die
mv -T "${WORKDIR}"/trezor-common-${TREZORCOMMON_DIST_COMIT} \
"${WORKDIR}"/${P}/monero/external/trezor-common || die
}
src_prepare() {
default
echo "#define FEATHER_VERSION \"${PV}\"" > "${WORKDIR}"/${P}/src/config-feather.h || die
echo "#define TOR_VERSION \"NOT_EMBEDDED\"" >> "${WORKDIR}"/${P}/src/config-feather.h || die
cmake_src_prepare
}
src_configure() {
local mycmakeargs=(
-DCMAKE_BUILD_TYPE=Release
-DBUILD_SHARED_LIBS=OFF
-DARCH=x86-64
-DBUILD_TAG="linux-x64"
-DBUILD_64=ON
-DSELF_CONTAINED=OFF
-DLOCALMONERO=$(usex localmonero)
-DXMRIG=$(usex xmrig)
-DCHECK_UPDATES=OFF
-DPLATFORM_INSTALLER=OFF
-DUSE_DEVICE_TREZOR=OFF
-DDONATE_BEG=OFF
-DWITH_SCANNER=$(usex qrcode)
)
cmake_src_configure
}
src_compile() {
cmake_build feather
}
src_install() {
dobin "${BUILD_DIR}/bin/feather"
newicon -s 256 "${WORKDIR}"/${P}/src/assets/images/appicons/256x256.png feather.png
newicon -s 128 "${WORKDIR}"/${P}/src/assets/images/appicons/128x128.png feather.png
newicon -s 96 "${WORKDIR}"/${P}/src/assets/images/appicons/96x96.png feather.png
newicon -s 64 "${WORKDIR}"/${P}/src/assets/images/appicons/64x64.png feather.png
newicon -s 48 "${WORKDIR}"/${P}/src/assets/images/appicons/48x48.png feather.png
newicon -s 32 "${WORKDIR}"/${P}/src/assets/images/appicons/32x32.png feather.png
domenu "${WORKDIR}"/${P}/src/assets/feather.desktop
}
pkg_postinst() {
xdg_pkg_postinst
einfo "Ensure that Tor is running with 'rc-service tor start' before"
einfo "using Feather."
}

View File

@@ -1,141 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake desktop xdg
#Verify feather-${PV}.tar.gz with https://github.com/feather-wallet/feather-sigs
SINGLEAPPLICATION_DIST_COMIT="3e8e85d1a487e433751711a8a090659684d42e3b"
MONERO_DIST_COMIT="1f068d1ee84849b3b1758b0a46844834019de1bc"
MINIUPNP_DIST_COMIT="544e6fcc73c5ad9af48a8985c94f0f1d742ef2e0"
RANDOMX_DIST_COMIT="261d58c77fc5547c0aa7fdfeb58421ba7e0e6e1c"
RAPIDJSON_DIST_COMIT="129d19ba7f496df5e33658527a7158c79b99c21c"
SUPERCOP_DIST_COMIT="633500ad8c8759995049ccd022107d1fa8a1bbc9"
TREZORCOMMON_DIST_COMIT="bff7fdfe436c727982cc553bdfb29a9021b423b0"
DESCRIPTION="A free, open-source Monero wallet"
HOMEPAGE="https://featherwallet.org"
SRC_URI="https://github.com/feather-wallet/feather/archive/refs/tags/${PV}.tar.gz -> \
${PF}.tar.gz
https://github.com/itay-grudev/SingleApplication/archive/${SINGLEAPPLICATION_DIST_COMIT}.tar.gz -> \
${PF}-singleapplication.tar.gz
https://github.com/feather-wallet/monero/archive/${MONERO_DIST_COMIT}.tar.gz -> \
${PF}-monero.tar.gz
https://github.com/miniupnp/miniupnp/archive/${MINIUPNP_DIST_COMIT}.tar.gz -> \
${PF}-monero-miniupnp.tar.gz
https://github.com/tevador/RandomX/archive/${RANDOMX_DIST_COMIT}.tar.gz -> \
${PF}-monero-randomx.tar.gz
https://github.com/Tencent/rapidjson/archive/${RAPIDJSON_DIST_COMIT}.tar.gz -> \
${PF}-monero-rapidjson.tar.gz
https://github.com/monero-project/supercop/archive/${SUPERCOP_DIST_COMIT}.tar.gz -> \
${PF}-monero-supercop.tar.gz
https://github.com/trezor/trezor-common/archive/${TREZORCOMMON_DIST_COMIT}.tar.gz -> \
${PF}-monero-trezorcommon.tar.gz
"
# Feather is released under the terms of the BSD license, but it vendors
# code from Monero and Tor too.
LICENSE="BSD MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="qrcode xmrig localmonero"
DEPEND="
dev-libs/libsodium:=
media-gfx/qrencode:=
media-gfx/zbar:=[v4l]
~dev-libs/polyseed-1.0.0
dev-libs/libzip:=
dev-libs/boost:=[nls]
>=dev-qt/qtbase-6.5.2:6
>=dev-qt/qtsvg-6.5.2:6
>=dev-qt/qtmultimedia-6.5.2:6
>=dev-qt/qtwebsockets-6.5.2:6
dev-libs/libgcrypt:=
sys-libs/zlib
dev-libs/openssl:=
net-dns/unbound:=[threads]
net-libs/czmq:=
"
RDEPEND="
${DEPEND}
net-vpn/tor
xmrig? ( net-misc/xmrig )
"
BDEPEND="virtual/pkgconfig"
src_unpack() {
unpack ${PF}.tar.gz \
${PF}-singleapplication.tar.gz \
${PF}-monero.tar.gz \
${PF}-monero-miniupnp.tar.gz \
${PF}-monero-randomx.tar.gz \
${PF}-monero-rapidjson.tar.gz \
${PF}-monero-supercop.tar.gz \
${PF}-monero-trezorcommon.tar.gz
mv -T "${WORKDIR}"/SingleApplication-${SINGLEAPPLICATION_DIST_COMIT} \
"${WORKDIR}"/${P}/src/third-party/singleapplication || die
mv -T "${WORKDIR}"/monero-${MONERO_DIST_COMIT} \
"${WORKDIR}"/${P}/monero || die
mv -T "${WORKDIR}"/miniupnp-${MINIUPNP_DIST_COMIT} \
"${WORKDIR}"/${P}/monero/external/miniupnp || die
mv -T "${WORKDIR}"/RandomX-${RANDOMX_DIST_COMIT} \
"${WORKDIR}"/${P}/monero/external/randomx || die
mv -T "${WORKDIR}"/rapidjson-${RAPIDJSON_DIST_COMIT} \
"${WORKDIR}"/${P}/monero/external/rapidjson || die
mv -T "${WORKDIR}"/supercop-${SUPERCOP_DIST_COMIT} \
"${WORKDIR}"/${P}/monero/external/supercop || die
mv -T "${WORKDIR}"/trezor-common-${TREZORCOMMON_DIST_COMIT} \
"${WORKDIR}"/${P}/monero/external/trezor-common || die
}
src_prepare() {
default
echo "#define FEATHER_VERSION \"${PV}\"" > "${WORKDIR}"/${P}/src/config-feather.h || die
echo "#define TOR_VERSION \"NOT_EMBEDDED\"" >> "${WORKDIR}"/${P}/src/config-feather.h || die
cmake_src_prepare
}
src_configure() {
local mycmakeargs=(
-DCMAKE_BUILD_TYPE=Release
-DBUILD_SHARED_LIBS=OFF
-DARCH=x86-64
-DBUILD_TAG="linux-x64"
-DBUILD_64=ON
-DSELF_CONTAINED=OFF
-DLOCALMONERO=$(usex localmonero)
-DXMRIG=$(usex xmrig)
-DCHECK_UPDATES=OFF
-DPLATFORM_INSTALLER=OFF
-DUSE_DEVICE_TREZOR=OFF
-DDONATE_BEG=OFF
-DWITH_SCANNER=$(usex qrcode)
)
cmake_src_configure
}
src_compile() {
cmake_build feather
}
src_install() {
dobin "${BUILD_DIR}/bin/feather"
newicon -s 256 "${WORKDIR}"/${P}/src/assets/images/appicons/256x256.png feather.png
newicon -s 128 "${WORKDIR}"/${P}/src/assets/images/appicons/128x128.png feather.png
newicon -s 96 "${WORKDIR}"/${P}/src/assets/images/appicons/96x96.png feather.png
newicon -s 64 "${WORKDIR}"/${P}/src/assets/images/appicons/64x64.png feather.png
newicon -s 48 "${WORKDIR}"/${P}/src/assets/images/appicons/48x48.png feather.png
newicon -s 32 "${WORKDIR}"/${P}/src/assets/images/appicons/32x32.png feather.png
domenu "${WORKDIR}"/${P}/src/assets/feather.desktop
}
pkg_postinst() {
xdg_pkg_postinst
einfo "Ensure that Tor is running with 'rc-service tor start' before"
einfo "using Feather."
}

View File

@@ -1,142 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake desktop xdg
#Verify feather-${PV}.tar.gz with https://github.com/feather-wallet/feather-sigs
SINGLEAPPLICATION_DIST_COMIT="3e8e85d1a487e433751711a8a090659684d42e3b"
MONERO_DIST_COMIT="34aacb1b49553f17b9bb7ca1ee6dfb6524aada55"
MINIUPNP_DIST_COMIT="544e6fcc73c5ad9af48a8985c94f0f1d742ef2e0"
RANDOMX_DIST_COMIT="261d58c77fc5547c0aa7fdfeb58421ba7e0e6e1c"
RAPIDJSON_DIST_COMIT="129d19ba7f496df5e33658527a7158c79b99c21c"
SUPERCOP_DIST_COMIT="633500ad8c8759995049ccd022107d1fa8a1bbc9"
TREZORCOMMON_DIST_COMIT="bff7fdfe436c727982cc553bdfb29a9021b423b0"
DESCRIPTION="A free, open-source Monero wallet"
HOMEPAGE="https://featherwallet.org"
SRC_URI="https://github.com/feather-wallet/feather/archive/refs/tags/${PV}.tar.gz -> \
${PF}.tar.gz
https://github.com/itay-grudev/SingleApplication/archive/${SINGLEAPPLICATION_DIST_COMIT}.tar.gz -> \
${PF}-singleapplication.tar.gz
https://github.com/feather-wallet/monero/archive/${MONERO_DIST_COMIT}.tar.gz -> \
${PF}-monero.tar.gz
https://github.com/miniupnp/miniupnp/archive/${MINIUPNP_DIST_COMIT}.tar.gz -> \
${PF}-monero-miniupnp.tar.gz
https://github.com/tevador/RandomX/archive/${RANDOMX_DIST_COMIT}.tar.gz -> \
${PF}-monero-randomx.tar.gz
https://github.com/Tencent/rapidjson/archive/${RAPIDJSON_DIST_COMIT}.tar.gz -> \
${PF}-monero-rapidjson.tar.gz
https://github.com/monero-project/supercop/archive/${SUPERCOP_DIST_COMIT}.tar.gz -> \
${PF}-monero-supercop.tar.gz
https://github.com/trezor/trezor-common/archive/${TREZORCOMMON_DIST_COMIT}.tar.gz -> \
${PF}-monero-trezorcommon.tar.gz
"
# Feather is released under the terms of the BSD license, but it vendors
# code from Monero and Tor too.
LICENSE="BSD MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="qrcode xmrig localmonero"
DEPEND="
dev-libs/libsodium:=
media-gfx/qrencode:=
media-gfx/zbar:=[v4l]
~dev-libs/polyseed-1.0.0
dev-libs/libzip:=
dev-libs/boost:=[nls]
>=dev-qt/qtbase-6.5.2:6
>=dev-qt/qtsvg-6.5.2:6
>=dev-qt/qtmultimedia-6.5.2:6
>=dev-qt/qtwebsockets-6.5.2:6
dev-libs/libgcrypt:=
sys-libs/zlib
dev-libs/openssl:=
net-dns/unbound:=[threads]
net-libs/czmq:=
dev-util/bc-ur:=
"
RDEPEND="
${DEPEND}
net-vpn/tor
xmrig? ( net-misc/xmrig )
"
BDEPEND="virtual/pkgconfig"
src_unpack() {
unpack ${PF}.tar.gz \
${PF}-singleapplication.tar.gz \
${PF}-monero.tar.gz \
${PF}-monero-miniupnp.tar.gz \
${PF}-monero-randomx.tar.gz \
${PF}-monero-rapidjson.tar.gz \
${PF}-monero-supercop.tar.gz \
${PF}-monero-trezorcommon.tar.gz
mv -T "${WORKDIR}"/SingleApplication-${SINGLEAPPLICATION_DIST_COMIT} \
"${WORKDIR}"/${P}/src/third-party/singleapplication || die
mv -T "${WORKDIR}"/monero-${MONERO_DIST_COMIT} \
"${WORKDIR}"/${P}/monero || die
mv -T "${WORKDIR}"/miniupnp-${MINIUPNP_DIST_COMIT} \
"${WORKDIR}"/${P}/monero/external/miniupnp || die
mv -T "${WORKDIR}"/RandomX-${RANDOMX_DIST_COMIT} \
"${WORKDIR}"/${P}/monero/external/randomx || die
mv -T "${WORKDIR}"/rapidjson-${RAPIDJSON_DIST_COMIT} \
"${WORKDIR}"/${P}/monero/external/rapidjson || die
mv -T "${WORKDIR}"/supercop-${SUPERCOP_DIST_COMIT} \
"${WORKDIR}"/${P}/monero/external/supercop || die
mv -T "${WORKDIR}"/trezor-common-${TREZORCOMMON_DIST_COMIT} \
"${WORKDIR}"/${P}/monero/external/trezor-common || die
}
src_prepare() {
default
echo "#define FEATHER_VERSION \"${PV}\"" > "${WORKDIR}"/${P}/src/config-feather.h || die
echo "#define TOR_VERSION \"NOT_EMBEDDED\"" >> "${WORKDIR}"/${P}/src/config-feather.h || die
cmake_src_prepare
}
src_configure() {
local mycmakeargs=(
-DCMAKE_BUILD_TYPE=Release
-DBUILD_SHARED_LIBS=OFF
-DARCH=x86-64
-DBUILD_TAG="linux-x64"
-DBUILD_64=ON
-DSELF_CONTAINED=OFF
#-DLOCALMONERO=$(usex localmonero)
#-DXMRIG=$(usex xmrig)
-DCHECK_UPDATES=OFF
-DPLATFORM_INSTALLER=OFF
-DUSE_DEVICE_TREZOR=OFF
-DDONATE_BEG=OFF
-DWITH_SCANNER=$(usex qrcode)
)
cmake_src_configure
}
src_compile() {
cmake_build feather
}
src_install() {
dobin "${BUILD_DIR}/bin/feather"
newicon -s 256 "${WORKDIR}"/${P}/src/assets/images/appicons/256x256.png feather.png
newicon -s 128 "${WORKDIR}"/${P}/src/assets/images/appicons/128x128.png feather.png
newicon -s 96 "${WORKDIR}"/${P}/src/assets/images/appicons/96x96.png feather.png
newicon -s 64 "${WORKDIR}"/${P}/src/assets/images/appicons/64x64.png feather.png
newicon -s 48 "${WORKDIR}"/${P}/src/assets/images/appicons/48x48.png feather.png
newicon -s 32 "${WORKDIR}"/${P}/src/assets/images/appicons/32x32.png feather.png
domenu "${WORKDIR}"/${P}/src/assets/feather.desktop
}
pkg_postinst() {
xdg_pkg_postinst
einfo "Ensure that Tor is running with 'rc-service tor start' before"
einfo "using Feather."
}

View File

@@ -5,7 +5,7 @@ EAPI=8
inherit cmake desktop xdg
#Verify feather-${PV}.tar.gz with https://github.com/feather-wallet/feather-sigs
#TODO: Verify feather-${PV}.tar.gz with https://github.com/feather-wallet/feather-sigs
SINGLEAPPLICATION_DIST_COMIT="3e8e85d1a487e433751711a8a090659684d42e3b"
MONERO_DIST_COMIT="34aacb1b49553f17b9bb7ca1ee6dfb6524aada55"
MINIUPNP_DIST_COMIT="544e6fcc73c5ad9af48a8985c94f0f1d742ef2e0"
@@ -40,8 +40,6 @@ LICENSE="BSD MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="qrcode home tickers crowdfunding bounties reddit revuo calc exchange xmrig localmonero"
#2.6.1 bug
REQUIRED_USE="qrcode"
DEPEND="
dev-libs/libsodium:=
media-gfx/qrencode:=
@@ -58,7 +56,7 @@ DEPEND="
dev-libs/openssl:=
net-dns/unbound:=[threads]
net-libs/czmq:=
qrcode? ( media-libs/zxing-cpp )
"
RDEPEND="
${DEPEND}
@@ -67,7 +65,6 @@ RDEPEND="
"
BDEPEND="
virtual/pkgconfig
~dev-util/bc-ur-0.3.0
"
src_unpack() {

View File

@@ -13,7 +13,7 @@ EGIT_REPO_URI="https://github.com/feather-wallet/feather.git"
# code from Monero and Tor too.
LICENSE="BSD MIT"
SLOT="0"
IUSE="qrcode xmrig localmonero"
IUSE="qrcode home tickers crowdfunding bounties reddit revuo calc exchange xmrig localmonero"
DEPEND="
dev-libs/libsodium:=
@@ -31,13 +31,16 @@ DEPEND="
dev-libs/openssl:=
net-dns/unbound:=[threads]
net-libs/czmq:=
qrcode? ( media-libs/zxing-cpp )
"
RDEPEND="
${DEPEND}
net-vpn/tor
xmrig? ( net-misc/xmrig )
"
BDEPEND="virtual/pkgconfig"
BDEPEND="
virtual/pkgconfig
"
src_configure() {
local mycmakeargs=(
@@ -47,8 +50,16 @@ src_configure() {
-DBUILD_TAG="linux-x64"
-DBUILD_64=ON
-DSELF_CONTAINED=OFF
-DLOCALMONERO=$(usex localmonero)
-DXMRIG=$(usex xmrig)
-DWITH_PLUGIN_HOME=$(usex home)
-DWITH_PLUGIN_TICKERS=$(usex tickers)
-DWITH_PLUGIN_CROWDFUNDING=$(usex crowdfunding)
-DWITH_PLUGIN_BOUNTIES=$(usex bounties)
-DWITH_PLUGIN_REDDIT=$(usex reddit)
-DWITH_PLUGIN_REVUO=$(usex revuo)
-DWITH_PLUGIN_CALC=$(usex calc)
-DWITH_PLUGIN_EXCHANGE=$(usex exchange)
-DWITH_PLUGIN_LOCALMONERO=$(usex localmonero)
-DWITH_PLUGIN_XMRIG=$(usex xmrig)
-DCHECK_UPDATES=OFF
-DPLATFORM_INSTALLER=OFF
-DUSE_DEVICE_TREZOR=OFF
@@ -66,8 +77,13 @@ src_compile() {
src_install() {
dobin "${BUILD_DIR}/bin/feather"
doicon "${WORKDIR}"/${PF}/src/assets/images/feather.png
domenu "${WORKDIR}"/${PF}/src/assets/feather.desktop
newicon -s 256 "${WORKDIR}"/${P}/src/assets/images/appicons/256x256.png feather.png
newicon -s 128 "${WORKDIR}"/${P}/src/assets/images/appicons/128x128.png feather.png
newicon -s 96 "${WORKDIR}"/${P}/src/assets/images/appicons/96x96.png feather.png
newicon -s 64 "${WORKDIR}"/${P}/src/assets/images/appicons/64x64.png feather.png
newicon -s 48 "${WORKDIR}"/${P}/src/assets/images/appicons/48x48.png feather.png
newicon -s 32 "${WORKDIR}"/${P}/src/assets/images/appicons/32x32.png feather.png
domenu "${WORKDIR}"/${P}/src/assets/feather.desktop
}
pkg_postinst() {

View File

@@ -12,7 +12,6 @@ DIST autocfg-1.1.0.crate 13272 BLAKE2B 7724055c337d562103f191f4e36cab469e578f0c5
DIST bitflags-1.0.4.crate 15282 BLAKE2B 63f5feb47460c344983cef8822804b1c4ac2f3adfffcf206df2b05fafb9c7bfd73986721cde46705a3e4a0dc72a40683e4d369f2339adfc1b55208bad1766875 SHA512 81850d2be62eabb8486024ab263da67e6eb8ebfa732cac3a5d46a9186c564b2065cba15fa3da468bbd26eaf2b67038680e5de19d5dd99d78f60dae8a1776c8de
DIST bstr-1.8.0.crate 380176 BLAKE2B 017ba2818bd636297cfb16fa975b34aa83367aef6df2cc321443754e5fbf4a9afa8ec9e99328e0cb0e5929268d6a4c2301e55aa2a6516e43e87280789c8d159f SHA512 9b8828790f3e342e69bb92cb9231c7134188c168a9b67a8705dc2e3370b86885f99e4d47f21ff68afc9147968b0fbf5a293307b09f132dddc550d8cd576f1048
DIST ci_info-0.10.2.crate 806783 BLAKE2B 354feb6f3f446575c34ed90e06a255522c4e6fc470da2d819a06d8b67b2ea40fd66df6b936cc44c558885af9f621ab1883f18b11acd8f533cfca009e098bdcc0 SHA512 9968e3fa7feb0b6abe3924502a854e08072da5e0e74fb8dbbe6f2e1331fe312e94ef440e2c99ce7111daa304ae4f117271cf085bac9b05f1bdc2372db77c8f8a
DIST clap-2.32.0.crate 196073 BLAKE2B c262241a3ad1d0f944467f4ea9884ca3dc05b5e05656fd7b73700e0daeec035c07a5d06316cc1273e37f74f2c00429b0ee99da298804dc4deff9a252ca56ce07 SHA512 ee2a66cec0d867d73fce35c055bcac77cc3ea9537b355be04be3ee17ddabefebfe3649cbdfc30ea356c54cf9f066369540eac4f5dc67e60cdadc9c66be014ef0
DIST clap-2.33.3.crate 201925 BLAKE2B bec9c866481c5b3fddeb314f68af9bce38fc421e42816182de3209e8ea3447b72cf033e6251eea27fe974eff8085b7d98cdd2911b5cc0ec6b4bf4c750deb8a25 SHA512 3eb0fd648e2e3f9e5ff69a5e6cf0d867304fe18523accd036f28a86de368e4774088a6936c108ccc045092c539fe7f7494ea96420ebf6b4bec16880cea84bedf
DIST clap-4.4.8.crate 54609 BLAKE2B a975094e91d9aa9ccde5e79d6b46fad451dd80a1765a116a3c94e3523bc0383e51a5ce7383021b10776654e1252eb08302d9a5761bca903b154e1a0a1f5164e5 SHA512 579cee9b0b582d23c3b78fffcbef4c33ce47a67f511276922daee838aa5ad26134ba81a454bfdfb72d7e23df69b78227f0b60e57d2ca7455402d37dbbf099dbc
DIST clap_builder-4.4.8.crate 163164 BLAKE2B 1d7ea3e3bedbe44f8bfb80014bc8de1057749b3e94506a83c3da6e475a67e44911bcdc6f08c3af02fb908059a745dcc2268d03fbb58d010841a2bf41645356d4 SHA512 83a3a4c81bcfd769a787b4f91b29488e65cb3d4e9e5160ab7b7289e5860a7d4058aa08077b62b9e8d10e4c1cc7c949439b677444d94c8ae00a7bebb2e0e8af8b
@@ -26,9 +25,9 @@ DIST envmnt-0.8.4.crate 848106 BLAKE2B 566a5176c5bee172db185a07d20c027d84df60063
DIST fsio-0.1.3.crate 810965 BLAKE2B 95ad38078516240efc8cbf536c36ce563697247e1e729f601b63189b06f598fac8673376c84afa6079992eabd6d562742c43440543a847e1d930e465dc2ec522 SHA512 bb662a2ff5e9f474880842bb07b3a582c9a443344144530473dfcabe0195636e6665d2c4ffb676d92846bceede5454cd1aa4fda37ccb7c98bbd2e37e175cf48e
DIST getopts-0.2.21.crate 18457 BLAKE2B 10651e947e49acc768d99ae56ca5a7f37c1f61bbd1674e2ca58e3ae563fd64f3563d53ccdd0ae7a878710a39e13a99ac8c274974157db2c691f8c222de14992d SHA512 5515ae6ccb0f03efb783683f46cfd1755342c4e83bb673ff8914c7f9dea0dae333f8d9703865e992659a359067df0e8b0e2253de0d4b0c7707cbe7d73401bb1f
DIST hashbrown-0.12.3.crate 102968 BLAKE2B 492072f27eaec45abd2c5d7405c614c0c6a8221425e901bb6174bfa1688ee524408a618650126d6c683b7285b9bf0a21dcdbff7347e4d8f97bf7111defa1b7e5 SHA512 b3700fcd659a21a6b9b3777c18b37a83bf25542b4e8f2b963779a122f5d22e1742c064cfc03e649583e7dd5c6e90ca8407f8c51a0e8755f6a108682853022f76
DIST hex-0.3.2.tar.gz 164118 BLAKE2B dbc6427ae744f856acf6aeb8b204aa31e91e22c412a909cc58a32bc9035be98257d16917fbcb0a56a3c478486f54ac9dfd700c7a8d8c3a878e62d7e6bed4b603 SHA512 3a071296f84b1cea792f9ab3cd65bd91f0af4ab8b5b7834b2890f4692eaf6b32dddddaaec9c9d2c4357f9f3ecc708f6b214acebe3e7efd9b9e3887d70beacf14
DIST hex-0.4.2.tar.gz 164579 BLAKE2B 9d39995a8e0433e22d1ae883238deb1aacdce0f8cd3061ed41f958564b550b60e847b2c49b060c8ffd5069a3aa3402a29c6f1a6b86dd2bbc537872f3f39b178a SHA512 5b5706d931c4f6a9a21de5e883b264c9a2831a8be463a5283ac4cd3552eb44c480f45779fa6364dd97390a2d38f252b44313e4567186ec42c594451f295e648f
DIST hex-0.5.0.tar.gz 169407 BLAKE2B c58ef687ee9e5c8510c59328e42f84b5876fbc5d931e6cd02c5e4a2a87d76a497b9c67d2131159b760984592d03b594d31c629e2a317a7530e76574aa4e48a14 SHA512 f69f55a911a7417ac80b7e6a3d53efba5af9f086045547a7f8308692624a4757b9171f7cd8b815b15fe4461c9318df17185e0d423b9b8dde571088947fa8f8fd
DIST hex-0.6.0.tar.gz 170123 BLAKE2B 870f750379211ca250285a13d372ea97efc15002d20836dfb241e8e9d3a2a63b0d674391d9f1edde49e9d656ddc4828ba7e3d3064c93cdb1c4d904613c6bd9da SHA512 d5d787a34f1602c9ee1543844b59da83f81d70c1da16397b09ea96205e96f29fffd44a38d5a7f5655cf38626f3d3c73539afcde23d81e8f550758746f9dfc444
DIST indexmap-1.9.3.crate 54653 BLAKE2B 7bc1768589e74020dc15d3dd064009edaaef39b7aeb682d0ca8e49944e3f020b9c04d64feb102e88b22feb40863479dfaf4722d6a77b5d19e7ca553f4bf64c1b SHA512 2aa8069eb07a814c8fa3e11296c9f032ef60963520d7786ad20cca5cb7e73b8f76d97722a994d65295bb713020aadce5008cd3df5e99d8bd968ef1979f910a37
DIST itertools-0.11.0.crate 125074 BLAKE2B 8e686f176764e92e4da3697eb781e1bc30d6c57ac61d97343b4fc3a48e4febf669d5771fa8620005c620cce52c236760ee2e1bc344cf602e878bc168a2e69cab SHA512 8ece00ba0a7cf481ad4586da24385a6f0b1719b9c3f0c25b9b5b373dd1a0ca7b9687a77cd179853392890b7bf4d31e0356a4e5fd540465b4ac62bd74ef717fd8
DIST libc-0.2.47.crate 351491 BLAKE2B 10ff90405b911c40478793cadc9a1962e14eb4d7b4ff758554a225bb87340989bbd6089441eaa2638db93782de7d0faba20f77a7e3569a52cec40ba55eb56c06 SHA512 f0eddcbe456b1ee2da22963585ff689ad44f0f8d70af33d9bec41a1ec5a1b3dee26fbeaa29786792cd44d020fc56461b44bbb2da962662377552fa562b2694f6
@@ -50,12 +49,10 @@ DIST rusty-hook-0.11.2.crate 12637 BLAKE2B f531ce50a7eee3e7a6fe2bc1700438e1dfd52
DIST serde-1.0.192.crate 76866 BLAKE2B 4920089921e23bbc9180d413cff34277683db1881d7e65c5fd9dc8bad2beae954d2429c9c2049b3e98bc04314ef059e59562c936d6c767681e75b84aa0a2a468 SHA512 b34cea6034a14a6785b3023d0a1c2cb5b1c2756c28f02ea20ba62a657ba54e9d04096a54c4fdde3ff4094913dba46c99713828de4287186bf9dd3f7d89dda0c3
DIST serde_derive-1.0.192.crate 55690 BLAKE2B 1e9706fdf38880989cf907c36d1f72b5b211fc6f263a4ee35d5f7106aea0a792fd79a3361d09f831e06ce0a43680647952a8478bd1001f617d2571be428b5516 SHA512 67ad208291c8d7063adce4bface5d963488c43a326e77a89970f86f65e8f77856e173d134718f64eb80dce67283df1951022c12300dea0b4d9570fb7f637643a
DIST strsim-0.10.0.crate 11355 BLAKE2B bcb25ad0a7284e24e4f17ebe0ccb621bdc4118e499b50b094d98aa7e8fcc0b96716c9953c3516ce7ea78309d41d424892ded595259696a5bbffdcb07802b5c2f SHA512 78b318532addfcf5c1ccc1e14539e258aab9d3cd893cc45d82342549bde838c177d90f13c560671f8f32929af47d0b467db35e6876bd7697d8b3f9e055aeeac1
DIST strsim-0.7.0.crate 8435 BLAKE2B 6869075bc3949fbdec1b74548b816560d1bf3759ba4c3e972a84f885e6732edd25596d75a4b6f6b85d93821f559757d096cb5f0b0eb04dabd8bb974d214f3188 SHA512 3f92df0f444129b16fbb15c533b7bc1d6f18970b487b57345f74747fb7f41e3dc0cb61255712e94d419a5777b8f6a9cdf1a716718698c479eb98dfb6464d1983
DIST strsim-0.8.0.crate 9309 BLAKE2B 40a8be506c43ee1ffe006ddc7dee98c3d418bdd205d57b78f5d1e4c9312feb57e1eaf952e02d92d4e0932db240c6fba45beb06ea8c4fc6de1cf1faa8b6a3a939 SHA512 1d55a8d946cd55f5f37d06aea536549ded95739fa58c0f2da285a0041154c181f663682bdcac643aa198b3e762d694a04f058db985c62ebe22b5c16327ba6d34
DIST syn-2.0.39.crate 244129 BLAKE2B 2cff6626624d03f70f1662af45a8644c28a9f92e2dfe38999bef3ba4a4c1ce825ae598277e9cb7abd5585eebfb17b239effc8d0bbf1c6ac196499f0d288e5e01 SHA512 96cc347cfdb0f9ca0b6c7289279a1cad8fc401625783742292564f7ceca8237ced8d9a3f62069696f6132ed06092dff2baaf4be09ef53b21260d93785b0e27c3
DIST termion-1.5.1.crate 20659 BLAKE2B 5b4291c2c26a074c16eac2e7bcb40467380181bac69c941e5c958059dc239cbbfd74872d9bd3da65245d010f9fc39804c43dc96f4caab2499b021cf35977a6b0 SHA512 1d1536f08600c7c1f414b4579a1a6e7eff91f4c105504125118d3cadf71c7886a352d1c5f7e07f3d7c28aa8b4752f07b51eddb4d9adc6a9286f7b6bade2bec76
DIST termtree-0.4.1.crate 4557 BLAKE2B d4300b0e6e908c519a0a76f5e08167f4467f428b2926e7739614cef5d3e294dfac15ae8576f7011a852745713c16da93346660ff96520a2bb90a4dd4c23d889c SHA512 ddbe0d3ddd79b182732359f47958ca32aa351d10b1e7d5f6456700b851aa2b5314ce005e1fd120a248b676f219fbd68039cefc071d92c5b5477d053bb6e29062
DIST textwrap-0.10.0.crate 15986 BLAKE2B bcbd40fe4c8322e459c505e0f175b5b088322c33ba56d8c4b294788950681c2407ba08fae2c15711f8f0d5e1f0afed38f82deaffe1c2b16a4f4ab14723b71bb4 SHA512 cb50cc73f3f5ab704ef9e6d526b751f7e66de213fa534206e5b4e9da829f19aedda9f23f262f865fdb3247c703aeaa87f38099f6c575d1961ec923d62a9b2293
DIST textwrap-0.11.0.crate 17322 BLAKE2B 257428908342774593bbd3528fcdae710712ff54e8a711393a24356d8ba0e16e466a4b20c05f942c48ca76b3b5b5aaa90ec202f782cad892caa8b71ccf124da6 SHA512 f5c0fe4f28ff1a3a0931e8e235b5157a45f67967985bcc752418c5ec3481fca44a8ae4800088889b37e8cd0533f53d3c456d5ffd19b767b3f83a87b49a2e209a
DIST toml-0.5.11.crate 54910 BLAKE2B 9ecd5103b33ab47d4be23c897c7095ca381cb79bedcaac4918cddc36fc7cf5d34ab664da52c2273d935f04486e9325241d6b66785d50aac78453c219aab49e1e SHA512 eddb82aeb8fdeb5436579292c6f7a64a90a2c7bb54070beb437bc7890b99795d0505faa8d6451a99e8bcf440f78db8a1b273a697c8ad44275cc4163a9ee49317
DIST treeline-0.1.0.crate 3855 BLAKE2B 3347bee24c686a6b6890f85b60429d36b14f2738e6a5e5adcd493d099b097a8087f7c61f4c155fd8b3af3982a97da31740353b4d036ae451ed8944a9b0feaf75 SHA512 37a7c7e95855fdf0fafe5b529eed6c6cfc641da799bc6738a5649a9a0c3db2ef3e63d692862a987bc19263f33b6df2e8ae71b49fe30160d6d470cbb804511824

View File

@@ -1,56 +0,0 @@
# Copyright 2017-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Auto-Generated by cargo-ebuild 0.3.1
EAPI=7
CRATES="
ansi_term-0.11.0
assert_cmd-1.0.1
atty-0.2.11
bitflags-1.0.4
clap-2.32.0
difference-2.0.0
doc-comment-0.3.3
libc-0.2.47
predicates-1.0.5
predicates-core-1.0.0
predicates-tree-1.0.0
redox_syscall-0.1.50
redox_termios-0.1.1
strsim-0.7.0
termion-1.5.1
textwrap-0.10.0
treeline-0.1.0
unicode-width-0.1.5
vec_map-0.8.1
wait-timeout-0.2.0
winapi-0.3.6
winapi-i686-pc-windows-gnu-0.4.0
winapi-x86_64-pc-windows-gnu-0.4.0
"
inherit cargo
DESCRIPTION="Futuristic take on hexdump"
HOMEPAGE="https://github.com/sitkevij/hex"
SRC_URI="https://github.com/sitkevij/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
$(cargo_crate_uris ${CRATES})"
# Prevent portage from trying to fetch bunch of *.crate from mirror despite they are not mirrored.
RESTRICT="mirror"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND=""
QA_FLAGS_IGNORED="usr/bin/hx"
src_install() {
cargo_src_install
dodoc README.md
}

View File

@@ -0,0 +1,89 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Auto-Generated by cargo-ebuild 0.5.4-r1
EAPI=8
CRATES="
ansi_term@0.12.1
anstream@0.6.4
anstyle@1.0.4
anstyle-parse@0.2.2
anstyle-query@1.0.0
anstyle-wincon@3.0.1
assert_cmd@2.0.12
autocfg@1.1.0
bstr@1.8.0
ci_info@0.10.2
clap@4.4.8
clap_builder@4.4.8
clap_lex@0.6.0
colorchoice@1.0.0
difflib@0.4.0
doc-comment@0.3.3
either@1.9.0
envmnt@0.8.4
fsio@0.1.3
getopts@0.2.21
hashbrown@0.12.3
indexmap@1.9.3
itertools@0.11.0
libc@0.2.47
memchr@2.6.4
nias@0.5.0
no_color@0.1.0
predicates@3.0.4
predicates-core@1.0.6
predicates-tree@1.0.9
proc-macro2@1.0.69
quote@1.0.33
regex-automata@0.4.3
rusty-hook@0.11.2
serde@1.0.192
serde_derive@1.0.192
strsim@0.10.0
syn@2.0.39
termtree@0.4.1
toml@0.5.11
unicode-ident@1.0.12
unicode-width@0.1.5
utf8parse@0.2.1
wait-timeout@0.2.0
winapi@0.3.6
winapi-i686-pc-windows-gnu@0.4.0
winapi-x86_64-pc-windows-gnu@0.4.0
windows-sys@0.48.0
windows-targets@0.48.5
windows_aarch64_gnullvm@0.48.5
windows_aarch64_msvc@0.48.5
windows_i686_gnu@0.48.5
windows_i686_msvc@0.48.5
windows_x86_64_gnu@0.48.5
windows_x86_64_gnullvm@0.48.5
windows_x86_64_msvc@0.48.5
"
inherit cargo
DESCRIPTION="Futuristic take on hexdump"
HOMEPAGE="https://github.com/sitkevij/hex"
SRC_URI="https://github.com/sitkevij/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" ${CARGO_CRATE_URIS}"
# Prevent portage from trying to fetch bunch of *.crate from mirror despite they are not mirrored.
RESTRICT="mirror"
LICENSE="Apache-2.0 MIT Unicode-DFS-2016"
SLOT="0"
KEYWORDS="~amd64 ~x86"
# 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/hx"
src_install() {
cargo_src_install
dodoc README.md
doman hx.1
}

View File

@@ -1 +1,2 @@
DIST dwarfs-0.7.2.tar.xz 15108504 BLAKE2B 85cb90ea7d20c3c067c126dc7f7a65145041f6ef2853f96a89ca425a8a1dab9d49a0a21daa9590037aa0a9fcfc4f11fbb91d4417213318a699472532400017bb SHA512 5f455b4e15ac3ef5fba8cf26295c4bce19b613d5bc09781ed0a0fd77c2ae73b197e50dce411a21b856aababb59a1800e767c40d55f0f86d88badf021042c1fd6
DIST dwarfs-0.7.4.tar.xz 15112544 BLAKE2B 904c5f089589630ac10441ec86feb3a4df30ad901a809e93942970fbc32f05499d6996f73769d3ada10e7aa224ec71a50144d9d605d5df852c86116efc82c090 SHA512 b78e0544ea04200089efd970250417ace6a354ba3090f7f8cbe4b901c5575f752968d1720cdd6e35109920f1e363cf3b70d777a46addd2214c2f5fdf83f90e19

View File

@@ -0,0 +1,121 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
inherit check-reqs cmake flag-o-matic python-single-r1
DESCRIPTION="A fast very high compression read-only FUSE file system"
HOMEPAGE="https://github.com/mhx/dwarfs"
SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${PV}/${P}.tar.xz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE="python +jemalloc test man"
S="${WORKDIR}/dwarfs-${PV}"
PATCHES=()
RDEPEND="
${PYTHON_DEPS}
app-arch/libarchive
app-arch/lz4
app-arch/snappy
app-arch/xz-utils
app-arch/zstd
dev-cpp/gflags
dev-cpp/glog[gflags]
dev-cpp/parallel-hashmap:=
dev-libs/boost[context,python?]
dev-libs/double-conversion
dev-libs/libevent
dev-libs/libfmt
dev-libs/utfcpp
dev-libs/xxhash
sys-fs/fuse:3
dev-libs/fsst
sys-libs/binutils-libs
sys-libs/libunwind
sys-libs/zlib
!dev-cpp/fbthrift
!dev-cpp/fizz
!dev-cpp/folly
!dev-cpp/wangle
jemalloc? ( >=dev-libs/jemalloc-5.3.0-r1 )
"
DEPEND="${RDEPEND}"
BDEPEND="
dev-util/patchelf
sys-devel/bison
sys-devel/flex
virtual/pkgconfig
man? ( app-text/ronn-ng )
test? ( dev-cpp/gtest )
"
DOCS=( "README.md" "CHANGES.md" "TODO" )
RESTRICT="!test? ( test )"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
CHECKREQS_DISK_BUILD="1300M"
CMAKE_IN_SOURCE_BUILD=1
CMAKE_WARN_UNUSED_CLI=0
#These files supposed to have no symlink
QA_SONAME=(
"/usr/sbin/dwarfs"
"/usr/bin/dwarfsbench"
"/usr/bin/dwarfsck"
"/usr/bin/dwarfsextract"
"/usr/bin/mkdwarfs"
)
src_prepare(){
rm -r zstd xxHash parallel-hashmap || die
cmake_src_prepare
sed "s/DESTINATION lib/DESTINATION $(get_libdir)/" -i CMakeLists.txt || die
}
src_configure(){
append-cxxflags "-I/usr/include"
mycmakeargs=(
-DUSE_JEMALLOC=$(usex jemalloc ON OFF)
-DWITH_PYTHON=$(usex python ON OFF)
-DWITH_TESTS=$(usex test ON OFF)
-DWITH_MAN_PAGES=$(usex man ON OFF)
-DPREFER_SYSTEM_ZSTD=ON
-DPREFER_SYSTEM_XXHASH=ON
-DPREFER_SYSTEM_GTEST=ON
-DPREFER_SYSTEM_LIBFMT=ON
-DWITH_LEGACY_FUSE=OFF
)
use python && mycmakeargs+=( "-DWITH_PYTHON_VERSION=${EPYTHON#python}" )
cmake_src_configure
}
src_compile(){
cmake_src_compile
# Remove insecure RPATH from bundled lib
patchelf --remove-rpath libdwarfs.so || die
patchelf --remove-rpath libdwarfs_tool.so || die
patchelf --remove-rpath libmetadata_thrift.so || die
patchelf --remove-rpath libdwarfs_compression.so || die
patchelf --remove-rpath libthrift_light.so || die
patchelf --remove-rpath libdwarfs_main.so || die
# TODO: make it proper
}
src_install(){
# Perform install
cmake_src_install
dolib.so libdwarfs.so libdwarfs_main.so libdwarfs_tool.so libdwarfs_compression.so libthrift_light.so libmetadata_thrift.so || die "Install failed"
dolib.so folly/libfolly.so folly/libfolly.so.0.58.0-dev libmkdwarfs_main.so libdwarfsbench_main.so libdwarfsck_main.so libdwarfsextract_main.so || die "Install failed"
}
pkg_postinst(){
elog "You may find more information in the"
elog "${HOMEPAGE}"
elog "About creating: ${HOMEPAGE}/blob/main/doc/mkdwarfs.md"
elog "About mounting: ${HOMEPAGE}/blob/main/doc/dwarfs.md"
}

View File

@@ -0,0 +1,9 @@
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
VERSION := 0.2.0
-TARGET := $(shell uname -r)
+TARGET ?= $(shell uname -r)
DKMS_ROOT_PATH := /usr/src/zenpower-$(VERSION)
KERNEL_MODULES := /lib/modules/$(TARGET)

View File

@@ -5,6 +5,10 @@
<email>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
<maintainer type="person">
<name>Gonçalo Negrier Duarte</name>
<email>gonegrier.duarte@gmail.com</email>
</maintainer>
<upstream>
<remote-id type="github">Ta180m/zenpower3</remote-id>
</upstream>

View File

@@ -15,8 +15,10 @@ KEYWORDS="~amd64"
CONFIG_CHECK="HWMON PCI AMD_NB"
PATCHES="${FILESDIR}/${P}-use-symlink-to-detect-kernel-version.patch"
src_compile() {
export KERNELVERSION=${KV_FULL}
export TARGET=${KV_FULL}
local modlist=(
zenpower=misc:::all
)

View File

@@ -4,7 +4,6 @@
EAPI=8
PYTHON_COMPAT=( python3_{10..11} )
DISTUTILS_USE_PEP517=setuptools
DISTUTILS_SINGLE_IMPL=1
inherit distutils-r1 xdg
@@ -35,13 +34,7 @@ BDEPEND="
')
"
python_configure_all() {
if use xfce; then
DISTUTILS_ARGS=( --xfce-integration )
fi
}
src_install() {
distutils-r1_src_install
python_install() {
distutils-r1_python_install $(usex xfce '--xfce-integration' '')
rm -r "${ED}/usr/share/doc/${PN}" || die
}