Merge updates from master

This commit is contained in:
Repository mirror & CI
2025-06-02 08:54:24 +00:00
97 changed files with 385 additions and 1602 deletions

View File

@@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>me@rahil.rocks</email>
<name>Rahil Bhimjiani</name>
</maintainer>
</pkgmetadata>

View File

@@ -1,10 +0,0 @@
# Copyright 2019-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit acct-group
DESCRIPTION="A group for app-admin/vaultwarden"
ACCT_GROUP_ID=-1

View File

@@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>me@rahil.rocks</email>
<name>Rahil Bhimjiani</name>
</maintainer>
</pkgmetadata>

View File

@@ -1,13 +0,0 @@
# Copyright 2019-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit acct-user
DESCRIPTION="A user for app-admin/vaultwarden"
ACCT_USER_ID=-1
ACCT_USER_GROUPS=( ${PN} )
acct-user_add_deps

View File

@@ -1,2 +1,2 @@
DIST agru-0.1.10-deps.tar.xz 175756 BLAKE2B da07ad7d294e473ff772929b2d3d1d128f4d95bf5cfdcecba0e57a40c47cc410282f00aba8b6a8963302ce273c7846c7125c0bb4ea89fbff3fe0b86b5958adff SHA512 cb2be81f4d64c67072e3856da23f9be29e14febc4e6f09daae550b8c0aee4153b56d62bbb473d354658099da4bb8fa2f19742c7649cb3be672f9653b7e68f771
DIST agru-0.1.10.tar.bz2 71878 BLAKE2B 21985b9b9deab5915eaf17843d64243b18206d95321717c7118d8c59d0c6df577bf0da9a12f63e2a60579a3a6772e8f9addcab07b200087757a0f41bd1501be2 SHA512 0ff1f1bf99a183d7a9727951758d454143eab6111a6890e4e0617b58a58ef348d42283780a7a04a1d3a53747db0888f86fc95cecbaff3dae03af0d5c5142b135
DIST agru-0.1.15-deps.tar.xz 209564 BLAKE2B bba14fb2b9cbf61f45a2833e4887042901052f9586ab96a3f2df31de159eb5d593fd3a324e5203b9cbfb2656c66178f4e84f0899f9b7869e692e75eb7c5d39e2 SHA512 1a1b088f62cacf3f39339147c680d69ed2b5f5665e0f4a70688d392a15475dc4dbb547e18b8d678e54e7c8a3e4570ff9f36e0a7dc1ef4de56123c5690bf124e2
DIST agru-0.1.15.tar.gz 93705 BLAKE2B 273b9e1bceddfc4947f48ae6f2d7e1ecbfa7de5f12dfbf61cafe89b06f13c3f367975d3656b5ec35c05835a207745b4ed1a3cb3ea39142ec1e6b0dfd58320a5b SHA512 2fd672c14ac9a128a7ac98205b876b1582aaf8ab70a362946fadf30e3e0898035fcbd237e102705f8115475d570fd0bccb4987167df9453c640af8b2a02bcf6f

View File

@@ -1,16 +1,16 @@
# Copyright 2024 Gentoo Authors
# Copyright 2024-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
DESCRIPTION="A tool for managing GitLab groups and projects"
HOMEPAGE="https://gitlab.com/etke.cc/tools/agru"
HOMEPAGE="https://github.com/etkecc/agru"
SRC_URI="https://gitlab.com/etke.cc/tools/agru/-/archive/v${PV}/v${PV}.tar.bz2 -> ${P}.tar.bz2
https://xwaretech.info/agru-${PV}-deps.tar.xz"
S="${WORKDIR}/${PN}-v${PV}-d6a2bd6d8a4fca3dbb0201c020e4f70ce9a90c39"
SRC_URI="
https://github.com/etkecc/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
https://xwaretech.info/agru-${PV}-deps.tar.xz
"
LICENSE="AGPL-3"
SLOT="0"

View File

@@ -6,7 +6,7 @@
<name>Joe Kappus</name>
</maintainer>
<upstream>
<bugs-to>https://gitlab.com/etke.cc/tools/agru/-/issues</bugs-to>
<remote-id type="gitlab">etke.cc/tools/agru</remote-id>
<bugs-to>https://github.com/etkecc/agru/issues</bugs-to>
<remote-id type="github">etkecc/agru</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1,3 +0,0 @@
DIST bw-linux-2024.6.0.zip 35438206 BLAKE2B 59a464240a0940a28d5bb57d087efc68f1b714ca7c7711a4a42bb40ccd3b682255537d053f8d573c57ef50a5b547d5c05946e3e262e0b01c6a25fbc98543fe17 SHA512 6ffb7ab7bd405f49cd620c4110136d656362f1b57d6051da4066f60c3e3d562baa0aebc2d0d9e47967da4cbbba2e06cbfab2d3aefc48fd3620551caf8e4c05a7
DIST bw-oss-linux-2025.2.0.zip 37343883 BLAKE2B 9bf6fa0282d7351bb4396d9096b410853c507fb824cb01984f9ab7fe22621c762d1520e235ef3e5d2aa3d3e870057b36d6f1777c98c0dd370c87cdbda8e48fef SHA512 df536facc03f33a9286b95512b3c84bc148834cc82b63ef5d4b88391b3c8f5d6a4a9f77ca20be6d6ab9a05f90ecc2710cc36c67dc8ed6d14f8c7b33386d1d887
DIST bw-oss-linux-2025.3.0.zip 37333013 BLAKE2B 44e606d846986a09b814d501c752ea7512346aa4e0f643daab8c3cd9e8ede58039dd86c8985753a0573dd2f5ea4cb39e0c6b672e5e0d32137fa453698ce36bc5 SHA512 50f45689ee7641471ba5ad95ca4106240de60341dd7c39d8cb86e6508819fbbfb39cb3a8b403379c455f25d236de1e13e5b4355674a032ea4ac9669def9048c6

View File

@@ -1,35 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit shell-completion
DESCRIPTION="Precompiled CLI frontend which connects to Bitwarden comapatible servers"
HOMEPAGE="https://github.com/bitwarden/clients/tree/main/apps/cli"
SRC_URI="
https://github.com/bitwarden/clients/releases/download/cli-v${PV}/bw-linux-${PV}.zip
"
S="${WORKDIR}"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
# non-stripped binary is of 99M but works
# stripped bianry is of 44M but doesnt work
RESTRICT='strip'
RDEPEND="!app-admin/bitwarden-cli"
BDEPEND="app-arch/unzip"
QA_PREBUILT="usr/bin/bw"
src_compile() {
./bw completion --shell zsh > bw.zsh 2> /dev/null || die
}
src_install() {
dobin bw
newzshcomp bw.zsh _bw
}

View File

@@ -1,35 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit shell-completion
DESCRIPTION="Precompiled CLI frontend which connects to Bitwarden comapatible servers"
HOMEPAGE="https://github.com/bitwarden/clients/tree/main/apps/cli"
SRC_URI="
https://github.com/bitwarden/clients/releases/download/cli-v${PV}/bw-oss-linux-${PV}.zip
"
S="${WORKDIR}"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
# non-stripped binary is of 99M but works
# stripped bianry is of 44M but doesnt work
RESTRICT='strip'
RDEPEND="!app-admin/bitwarden-cli"
BDEPEND="app-arch/unzip"
QA_PREBUILT="usr/bin/bw"
src_compile() {
./bw completion --shell zsh > bw.zsh 2> /dev/null || die
}
src_install() {
dobin bw
newzshcomp bw.zsh _bw
}

View File

@@ -1,35 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit shell-completion
DESCRIPTION="Precompiled CLI frontend which connects to Bitwarden comapatible servers"
HOMEPAGE="https://github.com/bitwarden/clients/tree/main/apps/cli"
SRC_URI="
https://github.com/bitwarden/clients/releases/download/cli-v${PV}/bw-oss-linux-${PV}.zip
"
S="${WORKDIR}"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
# non-stripped binary is of 99M but works
# stripped bianry is of 44M but doesnt work
RESTRICT='strip'
RDEPEND="!app-admin/bitwarden-cli"
BDEPEND="app-arch/unzip"
QA_PREBUILT="usr/bin/bw"
src_compile() {
./bw completion --shell zsh > bw.zsh 2> /dev/null || die
}
src_install() {
dobin bw
newzshcomp bw.zsh _bw
}

View File

@@ -1,13 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>me@rahil.rocks</email>
<name>Rahil Bhimjiani</name>
</maintainer>
<upstream>
<remote-id type="github">bitwarden/clients</remote-id>
<bugs-to>https://github.com/bitwarden/clients/issues</bugs-to>
<doc>https://github.com/bitwarden/clients/tree/main/apps/cli</doc>
</upstream>
</pkgmetadata>

View File

@@ -1,3 +0,0 @@
DIST vaultwarden-1.33.2-deps.tar.xz 55221392 BLAKE2B e3fc484ef3c1608332130498721240e968b83b9c80e10a139623780dbe6b46d4fa3f75ce926175f5d708e831ab6c211a10e55b5cf4b7cbeae496818a1de1a226 SHA512 2f15d3c4d404efc23afa602b00eb003d067c380d0a84e7bfc03345054340dade54005064b80a9e04e63965751d6be9f631142547ccbb16952bb204d6cd206f8b
DIST vaultwarden-1.33.2-docs.tar.xz 75976 BLAKE2B 398487cb7c9b50f5bd60a43e4e2324da0cc4d7757ba0b341142aa18531887267324659a9b874309ef09149bb8f5f0758942ea2a619a6995a5dc663873f3d626f SHA512 e7d7c1c7a0171e714b237eddb0a0c52f941e281e330f984557bd01dd04b4e0fb01f60ced4fec385cb736c415946c09170706d86422706ab2776db45f08500199
DIST vaultwarden-1.33.2.tar.gz 638237 BLAKE2B 515c8c6ec4ca6d6347f421057bbc8b1509ae789fb8ac88189dffe0380a2034bee8d87660de8b8cab94c710fa1de0ff5d897da48d0077f82d1c0463f977b4afe2 SHA512 51f1d431794f2b4bf1f3b70a66f3fc9329cf74732201faaa0948ac0025f1384a486d0a5c757506068ea822f13c6c5bf10429cfe1a291e4bb154bc2332aba778d

View File

@@ -1,20 +0,0 @@
#!/sbin/openrc-run
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
set -a && . ../"${RC_SVCNAME}".env && set +a
name="Vaultwarden"
description="Unofficial Bitwarden compatible password manager server in Rust"
command="/usr/bin/${RC_SVCNAME}"
command_user="${RC_SVCNAME}:${RC_SVCNAME}"
command_background="true"
pidfile="/run/${RC_SVCNAME}.pid"
output_log="/var/log/${RC_SVCNAME}.log"
error_log="/var/log/${RC_SVCNAME}.log"
directory="${DATA_FOLDER:-/var/lib/${RC_SVCNAME}}"
umask=0027
depend() {
after net
}

View File

@@ -1,53 +0,0 @@
[Unit]
Description=Vaultwarden, password manager server writen in Rust
Documentation=https://github.com/dani-garcia/vaultwarden
After=network.target
Wants=network.target
After=mariadb.service
Wants=mariadb.service
After=mysqld.service
Wants=mysqld.service
After=postgresql-12.service postgresql-13.service postgresql-14.service postgresql-15.service postgresql-16.service
Wants=postgresql-12.service postgresql-13.service postgresql-14.service postgresql-15.service postgresql-16.service
[Service]
EnvironmentFile=/etc/%N.env
ExecStart=/usr/bin/%N
WorkingDirectory=/var/lib/%N
User=%N
Group=%N
UMask=0027
# Sandboxing and hardening systemd.exec(5)
PrivateUsers=yes
ProtectClock=yes
ProtectHostname=yes
ProtectKernelTunables=yes
ProtectKernelModules=yes
ProtectKernelLogs=yes
ProtectControlGroups=yes
RestrictNamespaces=yes
LockPersonality=yes
MemoryDenyWriteExecute=yes
RestrictSUIDSGID=yes
RemoveIPC=yes
RestrictRealtime=yes
PrivateTmp=true
PrivateDevices=true
ProtectHome=true
# set entire file system to read only except following ReadWritePaths
ProtectSystem=strict
ReadWritePaths=/var/lib/%N /var/log/%N.log
# Set reasonable connection and process limits
LimitNOFILE=1048576
LimitNPROC=64
[Install]
WantedBy=multi-user.target

View File

@@ -1,54 +0,0 @@
--- a/.env.template
+++ b/.env.template
@@ -15,24 +15,24 @@
####################
## Main data folder
-# DATA_FOLDER=data
+DATA_FOLDER=/var/lib/vaultwarden
## Individual folders, these override %DATA_FOLDER%
-# RSA_KEY_FILENAME=data/rsa_key
-# ICON_CACHE_FOLDER=data/icon_cache
-# ATTACHMENTS_FOLDER=data/attachments
-# SENDS_FOLDER=data/sends
-# TMP_FOLDER=data/tmp
+# RSA_KEY_FILENAME=/var/lib/vaultwarden/rsa_key
+# ICON_CACHE_FOLDER=/var/lib/vaultwarden/icon_cache
+# ATTACHMENTS_FOLDER=/var/lib/vaultwarden/attachments
+# SENDS_FOLDER=/var/lib/vaultwarden/sends
+# TMP_FOLDER=/var/lib/vaultwarden/tmp
## Templates data folder, by default uses embedded templates
## Check source code to see the format
-# TEMPLATES_FOLDER=data/templates
+# TEMPLATES_FOLDER=/var/lib/vaultwarden/templates
## Automatically reload the templates for every request, slow, use only for development
# RELOAD_TEMPLATES=false
## Web vault settings
-# WEB_VAULT_FOLDER=web-vault/
-# WEB_VAULT_ENABLED=true
+WEB_VAULT_FOLDER=/usr/share/webapps/vaultwarden-web
+WEB_VAULT_ENABLED=false
#########################
### Database settings ###
@@ -40,7 +40,7 @@
## Database URL
## When using SQLite, this is the path to the DB file, default to %DATA_FOLDER%/db.sqlite3
-# DATABASE_URL=data/db.sqlite3
+# DATABASE_URL=/var/lib/vaultwarden/db.sqlite3
## When using MySQL, specify an appropriate connection URI.
## Details: https://docs.diesel.rs/2.1.x/diesel/mysql/struct.MysqlConnection.html
# DATABASE_URL=mysql://user:password@host[:port]/database_name
@@ -361,7 +361,7 @@
# USE_SYSLOG=false
## Logging to file
-# LOG_FILE=/path/to/log
+# LOG_FILE=/var/log/vaultwarden.log
## Log level
## Change the verbosity of the log output

View File

@@ -1,5 +0,0 @@
# Fields: type; path; mode; uid; gid; age; argument
# tmpfiled.d(5)
d /var/lib/vaultwarden 0750 vaultwarden vaultwarden
d /var/lib/vaultwarden/tmp 0750 vaultwarden vaultwarden 1d
f /var/log/vaultwarden.log 0640 vaultwarden vaultwarden

View File

@@ -1,25 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>me@rahil.rocks</email>
<name>Rahil Bhimjiani</name>
</maintainer>
<maintainer type="person">
<email>julien@jroy.ca</email>
<name>Julien Roy</name>
</maintainer>
<use>
<flag name="cli">
Install client with the Command-Line Interface
</flag>
<flag name="web">
Install client with Web UI
</flag>
</use>
<upstream>
<remote-id type="github">dani-garcia/vaultwarden</remote-id>
<bugs-to>https://github.com/dani-garcia/vaultwarden/issues</bugs-to>
<doc>https://github.com/dani-garcia/vaultwarden/blob/main/README.md</doc>
</upstream>
</pkgmetadata>

View File

@@ -1,133 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cargo check-reqs readme.gentoo-r1 systemd tmpfiles
DESCRIPTION="Unofficial Bitwarden compatible password manager server written in Rust"
HOMEPAGE="https://github.com/dani-garcia/vaultwarden"
if [[ ${PV} == 9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/dani-garcia/vaultwarden.git"
else
SRC_URI="
https://github.com/dani-garcia/vaultwarden/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/deps.tar.xz -> ${P}-deps.tar.xz
https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/wiki.tar.xz -> ${P}-docs.tar.xz
"
KEYWORDS="~amd64"
fi
LICENSE="AGPL-3"
# Dependent crate licenses
LICENSE+=" 0BSD Apache-2.0 BSD ISC MIT MPL-2.0 Unicode-3.0"
SLOT="0"
IUSE="cli mysql postgres +sqlite web"
REQUIRED_USE="|| ( mysql postgres sqlite )"
RDEPEND="
acct-user/vaultwarden
acct-group/vaultwarden
dev-libs/openssl:=
cli? ( app-admin/bitwarden-cli-bin )
mysql? ( dev-db/mysql-connector-c:= )
postgres? ( dev-db/postgresql:* )
sqlite? ( dev-db/sqlite:3 )
web? ( www-apps/vaultwarden-web-bin )
"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
QA_FLAGS_IGNORED="usr/bin/${PN}"
QA_PRESTRIPPED="usr/bin/${PN}"
ECARGO_VENDOR="${WORKDIR}/vendor"
PATCHES=(
"${FILESDIR}"/vaultwarden-envfile-1.30.3.patch
)
CHECKREQS_MEMORY=3G
CHECKREQS_DISK_BUILD=2G
DOC_CONTENTS="\n
Configuration file: /etc/${PN}.env\n
Data directory: /var/lib/${PN}\n
\n
MySQL & PostgreSQL users must set DATABASE_URL in config\n
\n
Default server: http://0.0.0.0:8000\n
Admin interface: http://0.0.0.0:8000/admin
"
pkg_setup() {
check-reqs_pkg_setup
rust_pkg_setup
}
src_unpack() {
if [[ ${PV} == 9999* ]]; then
# clone vaultwarden
git-r3_src_unpack
# clone vaultwarden.wiki
EGIT_REPO_URI="https://github.com/dani-garcia/vaultwarden.wiki.git"
EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}.wiki"
git-r3_src_unpack
cargo_live_src_unpack
else
cargo_src_unpack
fi
}
src_prepare() {
default
if [[ ${PV} != 9999* ]]; then
cat <<-'EOF' >> "${ECARGO_HOME}"/config.toml || die
[source."git+https://github.com/BlackDex/yubico-rs?rev=00df14811f58155c0f02e3ab10f1570ed3e115c6"]
git = "https://github.com/BlackDex/yubico-rs"
rev = "00df14811f58155c0f02e3ab10f1570ed3e115c6"
replace-with = "gentoo"
EOF
fi
use web && { sed -i -e 's|^WEB_VAULT_ENABLED=false|WEB_VAULT_ENABLED=true|g;' .env.template || die; }
}
src_configure() {
local myfeatures=(
$(usev sqlite)
$(usev mysql)
$(usev postgres postgresql )
)
cargo_src_configure
}
src_compile() {
# https://github.com/dani-garcia/vaultwarden/blob/main/build.rs
[[ ${PV} != 9999* ]] && export VW_VERSION="${PV}"
cargo_src_compile
}
src_install() {
dobin "$(cargo_target_dir)/${PN}"
systemd_newunit "${FILESDIR}"/vaultwarden-1.30.3.service "${PN}".service
newinitd "${FILESDIR}"/vaultwarden-1.30.3.initd "${PN}"
newtmpfiles "${FILESDIR}"/vaultwarden-tmpfiles-1.30.3.conf "${PN}".conf
insinto /etc
newins .env.template "${PN}".env
dosym -r /etc/"${PN}".env /etc/conf.d/"${PN}"
keepdir /var/lib/"${PN}"
readme.gentoo_create_doc
einstalldocs
dodoc -r ../"${PN}".wiki/*
}
pkg_postinst() {
tmpfiles_process "${PN}".conf
readme.gentoo_print_elog
}

View File

@@ -1,133 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cargo check-reqs readme.gentoo-r1 systemd tmpfiles
DESCRIPTION="Unofficial Bitwarden compatible password manager server written in Rust"
HOMEPAGE="https://github.com/dani-garcia/vaultwarden"
if [[ ${PV} == 9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/dani-garcia/vaultwarden.git"
else
SRC_URI="
https://github.com/dani-garcia/vaultwarden/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/deps.tar.xz -> ${P}-deps.tar.xz
https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/wiki.tar.xz -> ${P}-docs.tar.xz
"
KEYWORDS="~amd64"
fi
LICENSE="AGPL-3"
# Dependent crate licenses
LICENSE+=" 0BSD Apache-2.0 BSD ISC MIT MPL-2.0 Unicode-3.0"
SLOT="0"
IUSE="cli mysql postgres +sqlite web"
REQUIRED_USE="|| ( mysql postgres sqlite )"
RDEPEND="
acct-user/vaultwarden
acct-group/vaultwarden
dev-libs/openssl:=
cli? ( app-admin/bitwarden-cli-bin )
mysql? ( dev-db/mysql-connector-c:= )
postgres? ( dev-db/postgresql:* )
sqlite? ( dev-db/sqlite:3 )
web? ( www-apps/vaultwarden-web-bin )
"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
QA_FLAGS_IGNORED="usr/bin/${PN}"
QA_PRESTRIPPED="usr/bin/${PN}"
ECARGO_VENDOR="${WORKDIR}/vendor"
PATCHES=(
"${FILESDIR}"/vaultwarden-envfile-1.30.3.patch
)
CHECKREQS_MEMORY=3G
CHECKREQS_DISK_BUILD=2G
DOC_CONTENTS="\n
Configuration file: /etc/${PN}.env\n
Data directory: /var/lib/${PN}\n
\n
MySQL & PostgreSQL users must set DATABASE_URL in config\n
\n
Default server: http://0.0.0.0:8000\n
Admin interface: http://0.0.0.0:8000/admin
"
pkg_setup() {
check-reqs_pkg_setup
rust_pkg_setup
}
src_unpack() {
if [[ ${PV} == 9999* ]]; then
# clone vaultwarden
git-r3_src_unpack
# clone vaultwarden.wiki
EGIT_REPO_URI="https://github.com/dani-garcia/vaultwarden.wiki.git"
EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}.wiki"
git-r3_src_unpack
cargo_live_src_unpack
else
cargo_src_unpack
fi
}
src_prepare() {
default
if [[ ${PV} != 9999* ]]; then
cat <<-'EOF' >> "${ECARGO_HOME}"/config.toml || die
[source."git+https://github.com/BlackDex/yubico-rs?rev=00df14811f58155c0f02e3ab10f1570ed3e115c6"]
git = "https://github.com/BlackDex/yubico-rs"
rev = "00df14811f58155c0f02e3ab10f1570ed3e115c6"
replace-with = "gentoo"
EOF
fi
use web && { sed -i -e 's|^WEB_VAULT_ENABLED=false|WEB_VAULT_ENABLED=true|g;' .env.template || die; }
}
src_configure() {
local myfeatures=(
$(usev sqlite)
$(usev mysql)
$(usev postgres postgresql )
)
cargo_src_configure
}
src_compile() {
# https://github.com/dani-garcia/vaultwarden/blob/main/build.rs
[[ ${PV} != 9999* ]] && export VW_VERSION="${PV}"
cargo_src_compile
}
src_install() {
dobin "$(cargo_target_dir)/${PN}"
systemd_newunit "${FILESDIR}"/vaultwarden-1.30.3.service "${PN}".service
newinitd "${FILESDIR}"/vaultwarden-1.30.3.initd "${PN}"
newtmpfiles "${FILESDIR}"/vaultwarden-tmpfiles-1.30.3.conf "${PN}".conf
insinto /etc
newins .env.template "${PN}".env
dosym -r /etc/"${PN}".env /etc/conf.d/"${PN}"
keepdir /var/lib/"${PN}"
readme.gentoo_create_doc
einstalldocs
dodoc -r ../"${PN}".wiki/*
}
pkg_postinst() {
tmpfiles_process "${PN}".conf
readme.gentoo_print_elog
}

View File

@@ -1,11 +1,29 @@
From 04a2240bd8f465bcae6b595d912af3e2965856de Mon Sep 17 00:00:00 2001
From: millert <millert@openbsd.org>
Date: Thu, 9 Jul 2020 19:17:19 +0000
Subject: [PATCH] Fix a warning false positive from clang 10. blf_enc() takes a
number of 64-bit blocks to encrypt, but using sizeof(uint64_t) in the
calculation triggers a warning from clang 10 because the actual data type is
uint32_t. Pass BCRYPT_WORDS / 2 for the number of blocks like libc bcrypt(3)
does. OK kettenis@
---
Haelwenn (lanodan) Monnier: Substituted BCRYPT_WORDS for 8, removed $OpenBSD$ hunk
sys/lib/libsa/bcrypt_pbkdf.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sys/lib/libsa/bcrypt_pbkdf.c b/sys/lib/libsa/bcrypt_pbkdf.c
index 4020ada74a43..df0e34c4e46d 100644
--- a/other/other.c
+++ b/other/other.c
@@ -659,7 +659,7 @@ bcrypt_hash(u_int8_t *sha2pass, u_int8_t *sha2salt, u_int8_t *out)
@@ -76,7 +76,7 @@ bcrypt_hash(uint8_t *sha2pass, uint8_t *sha2salt, uint8_t *out)
cdata[i] = Blowfish_stream2word(ciphertext, sizeof(ciphertext),
&j);
for (i = 0; i < 64; i++)
- blf_enc(&state, cdata, sizeof(cdata) / sizeof(uint64_t));
+ blf_enc(&state, cdata, sizeof(cdata) / sizeof(uint32_t));
+ blf_enc(&state, cdata, 8 / 2);
/* copy out */
for (i = 0; i < BCRYPT_BLOCKS; i++) {
for (i = 0; i < BCRYPT_WORDS; i++) {

View File

@@ -1,2 +1,2 @@
DIST doublecmd-1.1.23-src.tar.gz 9447436 BLAKE2B 81b846334a765a95c17b7a6ec116e7a7ab79605238e6a06f01784e60480740f48305691d8d56868343657eecc16bb51af16af6dd36dc8bcd0c8f6cfa52115cd7 SHA512 92fee7988e91c88d03a3dd3cdfbfc80e36f809c91141eb2b99ea11c216a7f80ed434d6cc27d902c9c325ab1f95c04bac56c4e045ce163f894c8632f21fd28f4f
DIST doublecmd-1.1.24-src.tar.gz 9496369 BLAKE2B 0a671dd568d3af97124da19198a709886753e6bd3ce8ea20a5a32a5e2bc5b002bb84c73d678a8d265c93212fe2600064bfd52c32395e65a8d55b69a476ca5cfb SHA512 85e4437adaba4731d91c0b32cebc8210d759ab64709a4109758ec0b04018db0ae4efd818c5b1df31c6efdd80421065ea85a1139089fbaab94a9577e9d404087c
DIST doublecmd-1.1.25-src.tar.gz 9532745 BLAKE2B 89900455711b19c3d2b0df527b3ee0e56fd25c9fec17a96450e9ef0e548763fef3c3681c13ba29a87b58b9f304f6c9458efa61d8e7065367e9e22ed76f903e53 SHA512 a2a299ea4b7db7928744b86ee9d3c30a18c6847f9a0322ba88a3edc7ece0ffab3daa1f3e2c5139af58b0271234dbc3406604f5d410e856dcce5d1d0f7c86b0c1

View File

@@ -25,5 +25,5 @@ DOCS=( {CHANGELOG,README}.md )
src_install() {
einstalldocs
emake DESTDIR="${D}" PREFIX="/usr" install
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
}

View File

@@ -21,5 +21,5 @@ DOCS=( {CHANGELOG,README}.md )
src_install() {
einstalldocs
emake DESTDIR="${D}" PREFIX="/usr" install
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
}

View File

@@ -2,7 +2,7 @@
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<name>demize</name>
<name>Vivian Heisz (vhz)</name>
<email>demize@unstable.systems</email>
</maintainer>
<longdescription lang="en">

View File

@@ -1,4 +1,4 @@
DIST gmobile-0.2.2.tar.xz 55576 BLAKE2B 733cb0e3b53556b1653b37cd49e8201f3cfa7266d0dbf6fbdf415896425dd370a23e6a75a76a86cfe3b1fb6c81958fd469aaf1480c734c15d201c25db0810b7d SHA512 59b63790b59f1ea81f0c49b35d049485645a288a99dbe32706494f5f394e6da8a4bf7ee3aa864fa10140b8297b03f3d0aca7dcd09b796bc3e3c95d0542db313f
DIST gmobile-0.2.2.tar.xz.asc 833 BLAKE2B ac99116ab57a00a78fd8ef132569548eb8ea28c20fe2ab83b078fbc8fbc7859b5fe489d77752ac0c8a190aeffe2bf6b066f1ade4d429e8a53667f2803e857824 SHA512 6a470885fe06727a5792e695746cb8c8444cc4d1703a9a70093533ea4797085c3b3b3b3292e66925950db37a16432cc06045a680e469669c1cc7eee6c0642b3c
DIST gmobile-0.3.0.tar.xz 58036 BLAKE2B c54c558f744b6014809076e4f27f9db9062311318387f57c7aacf88b4706a1c5b49168354939134d1b3d1a21cc6f319856cddf4381424ce095f2a9848ce0c369 SHA512 2cdd3504d4a15ad982ce8f2aa9f159113ea1fe6f095c93caed04e6c7f0da5edea5909fa8615fd91a4dddad0759fdb4780d7ff82ce5c006851a75a091041959b6
DIST gmobile-0.3.0.tar.xz.asc 833 BLAKE2B ed1eacad177d262eac73fe5e8827234709d30bdb3e408888775522832a26fb989430e561881a032c4e9f0b4e56f3efd10fddbb3995640861c8cade351b3fdade SHA512 7bf251ae2bd4dbbfb409fef6a4be2150c69e4cdc2b2ecd9141bbfca3046c9001f1aff3555fdee485b162ac3ba4f478d5a59eca55509250ee86dd3d9231a6b203
DIST gmobile-0.3.1.tar.xz 58212 BLAKE2B 0e080762088466af6ef2551872de4b954045330c959b3e21bded30a3a1a8f33ecc4ea614c04f8764916fa79483f11d0775c0e95f4c043c1bc3fef0ae791f23bf SHA512 2a3e79fcfba7dd81fcb639c66b7ac5162aa3eba75d948f4006f65edb829c084f7dbd443167fabd7d7c19b235a51b23ce9d94802e783837dfa232f73f340e703d
DIST gmobile-0.3.1.tar.xz.asc 833 BLAKE2B 31f95ce724c105a23a9108d061087c715c9af35be15dd5e578382698e48c9e160d69aad9b36bb3abd10ff1df34ec86b9155d0b179274969ee3ede5d0d360ce16 SHA512 845a757f764fe222853ef932f7f3e7e8f36f995ef8754a8a3196fe72a1ac8360bf358b492bf0a24aa3e39b1ea17c875d26281bc0f4cd1ca88201b9753d2e9d02

View File

@@ -4,7 +4,7 @@
EAPI=8
VALA_USE_DEPEND="vapigen"
inherit meson udev verify-sig
inherit meson udev vala verify-sig
DESCRIPTION="Mobile related helpers for glib based projects"
HOMEPAGE="https://gitlab.gnome.org/World/Phosh/gmobile/"
@@ -14,7 +14,11 @@ SRC_URI="https://sources.phosh.mobi/releases/${PN}/${P}.tar.xz
LICENSE="GPL-3+ LGPL-2.1+"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
IUSE="gtk-doc +introspection man test udev"
IUSE="gtk-doc +introspection man test udev vala"
REQUIRED_USE="
gtk-doc? ( introspection )
vala? ( introspection )
"
RESTRICT="!test? ( test )"
DEPEND="
@@ -26,12 +30,18 @@ RDEPEND="${DEPEND}"
BDEPEND="
gtk-doc? ( >=dev-util/gi-docgen-2021.1 )
man? ( dev-python/docutils )
vala? ( $(vala_depend) )
verify-sig? ( sec-keys/openpgp-keys-phosh )
"
IDEPEND="udev? ( virtual/udev )"
VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/phosh.asc"
src_prepare() {
default
vala_setup
}
src_configure() {
local emesonargs=(
-Dexamples=false
@@ -40,6 +50,7 @@ src_configure() {
$(meson_use man)
$(meson_use test tests)
$(meson_use udev hwdb)
$(meson_use vala vapi)
)
meson_src_configure
}

View File

@@ -1,2 +1,2 @@
DIST cligen-1.8.3.tar.gz 703657 BLAKE2B eebd16098d8532cf21a28d8475c1a98bd450da1db2bf1eeb203ef4479ea646cac3c478d2a168f1c7e45f4d6670b99f8ec6c0f32369075fbd1d3dd15259dea9f3 SHA512 b774925e6a992d4be38ee3e3973e86f52607864bb53b8c7dbbfbffb5c1d5880775709975f8f97fe391e9dddcc4a344218e32d3ff13a791ea3b048f07130f31ab
DIST cligen-1.8.4.tar.gz 704658 BLAKE2B 29c2212db24134669f804163a9166b97519823abe087cd6c358539829099b3039f6d6fc46f460a4a99128deab7de08e1b0d25cf62cca4bce2ba15e362c5a5cae SHA512 7818d6f52c9339396876194433c0d0416b5fe7ae752040a63176ecea1695d697dd2cd97e0ec5904b26ed246de38717f559a0983095a33b9a44851ec95dd324e8
DIST cligen-1.8.5.tar.gz 704725 BLAKE2B 1aa3c1c0f0b47ab6ca92ba08ffbf4ce3f300e192ca1256c7074b699171d55b253bd005f8c49feab19bda0679b799a447cd31fe0bcd6fb0cc476d59e7ff6b2fe3 SHA512 3c3dd5c25130a7a9f3670cd0610620f8b30088aa479b6c71dc6623d12d1936282d41f306cca63f21db076cfd20636fdd0670820135ce273940b02c01ac2d4b6d

View File

@@ -1,4 +1,4 @@
# Copyright 2022-2024 Gentoo Authors
# Copyright 2022-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8

View File

@@ -1 +0,0 @@
DIST aiopg-1.4.0.gh.tar.gz 202204 BLAKE2B 9f4dda868c919aef05e58608b353d51f0526ef1f847e8da8f4f11e75264a47b9eb4d948a87d591e66baf7052c00706b8f4cb6befd6bf33668987cfbfad451afc SHA512 cbb28b0b15eb89fa3162e59e3e88dac18bddbad3d95458b5c3eb487d15767c26810e941f83c3478cac8a8a085b23723690c8d294bf6aac433a14c3defcef1138

View File

@@ -1,48 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{11..12} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 optfeature
MY_PV=${PV/_beta/b}
DESCRIPTION="Postgres integration with asyncio"
HOMEPAGE="
https://aiopg.readthedocs.io
https://github.com/aio-libs/aiopg
"
SRC_URI="https://github.com/aio-libs/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/${PN}-${MY_PV}"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
# tests use docker containers -- that's wild!
RESTRICT="test"
RDEPEND="
dev-python/async-timeout[${PYTHON_USEDEP}]
dev-python/psycopg:2[${PYTHON_USEDEP}]
"
DEPEND="test? (
dev-python/docker[${PYTHON_USEDEP}]
dev-python/pytest-timeout[${PYTHON_USEDEP}]
dev-python/sqlalchemy[${PYTHON_USEDEP}]
)"
DOCS=( CHANGES.txt README.rst )
distutils_enable_tests pytest
#distutils_enable_sphinx docs dev-python/sphinxcontrib-asyncio
python_test() {
epytest --no-pull
}
pkg_postinst() {
optfeature "sqlalchemy support" dev-python/sqlalchemy
}

View File

@@ -1,24 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
<upstream>
<remote-id type="github">aio-libs/aiopg</remote-id>
<maintainer>
<name>Andrew Svetlov</name>
<email>andrew.svetlov@gmail.com</email>
</maintainer>
<maintainer>
<name>Alexey Firsov</name>
<email>virmir49@gmail.com</email>
</maintainer>
<maintainer>
<name>Alexey Popravka</name>
<email>alexey.popravka@horsedevel.com</email>
</maintainer>
<maintainer>
<name>Yury Pliner</name>
<email>yury.pliner@gmail.com</email>
</maintainer>
</upstream>
</pkgmetadata>

View File

@@ -1 +0,0 @@
DIST codecov-2.1.12.gh.tar.gz 27160 BLAKE2B 93886b117bd0281f72f1bc14d1798ed526edec850ce3d900e505da1469e9bef59caccd449aef557dab7e9ea34c9990d4624d7ebfb9350f27990981223c7c9930 SHA512 fac34179ace4d4813ed71a5745e6ef8120d052fd7d7bef5548f80f7009f7b3242ec3aeb948f2125980ea932f130a2e81f742f47a3bd4f984726eaba16e1a7133

View File

@@ -1,39 +0,0 @@
# Copyright 2023-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..12} )
inherit distutils-r1
DESCRIPTION="Hosted coverage reports for GitHub, Bitbucket and Gitlab"
HOMEPAGE="https://github.com/codecov/codecov-python https://pypi.org/project/codecov"
SRC_URI="https://github.com/codecov/codecov-python/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/codecov-python-${PV}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND=">=dev-python/requests-2.7.9[${PYTHON_USEDEP}]
dev-python/coverage[${PYTHON_USEDEP}]"
python_prepare_all() {
# The tests does not follow the naming convention
rm -r "${S}/tests"
distutils-r1_python_prepare_all
}
# BDEPEND="
# test? (
# dev-python/pytest[${PYTHON_USEDEP}]
# dev-python/ddt[${PYTHON_USEDEP}]
# dev-python/mock[${PYTHON_USEDEP}]
# dev-python/pytest-cov[${PYTHON_USEDEP}]
# dev-python/funcsigs[${PYTHON_USEDEP}]
# dev-python/requests[${PYTHON_USEDEP}]
# dev-python/black[${PYTHON_USEDEP}]
# )"
# distutils_enable_tests pytest

View File

@@ -1,16 +0,0 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<upstream>
<remote-id type="pypi">codecov</remote-id>
<remote-id type="github">codecov/codecov-python</remote-id>
<maintainer status="unknown">
<email>support@codecov.io</email>
<name>Codecov</name>
</maintainer>
</upstream>
</pkgmetadata>

View File

@@ -1,2 +0,0 @@
DIST graphene-3.2.2.gh.tar.gz 126807 BLAKE2B 6079c75b0dc571698126fb60ee944647fd1e4d5a03462c6d97466a4a1b3aa1ef0ae03061ff0ee3c1fdf5a5ca636d3ed2ab6eaacedcbecbb1954ffef80e9749d7 SHA512 c1a88a148403d89deea7bfd3db4ce29e1a8898b8cabbbe1f8535bea30d5f37642b7a0e7e66662a9f5f2c164b1eb3a729b4552acde2c7194e52615d282e38a8ba
DIST sphinx-graphene-3.2.2.zip 22270 BLAKE2B 7cc467f12e7857cedb0336c7d0708f9429b9ccaa7f65077e6453a3e4ce0af92cbdb6d4dd3bec5801bd3e5fb233b4994dbce52fabe690da196ee25b5eec7fb63f SHA512 00cdaee50a7c16729d9d820de7d6c0f61215e3b906777b0705f2de0d2029f2ffb1f86134b1d673d00675d77729be47765999537fc42aeefafb026248b9b0b3b0

View File

@@ -1,67 +0,0 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_11 )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1
DESCRIPTION="GraphQL Framework for Python"
HOMEPAGE="
https://graphene-python.org
https://pypi.org/project/graphene/
https://github.com/graphql-python/graphene
"
SRC_URI="https://github.com/graphql-python/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz
doc? ( https://graphene-python.org/sphinx_graphene_theme.zip -> sphinx-${P}.zip )
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
>=dev-python/aniso8601-8[${PYTHON_USEDEP}]
>=dev-python/graphql-core-3.1[${PYTHON_USEDEP}]
>=dev-python/graphql-relay-3.1[${PYTHON_USEDEP}]
"
BDEPEND="
doc? ( app-arch/unzip )
test? (
dev-python/iso8601[${PYTHON_USEDEP}]
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
dev-python/pytest-mock[${PYTHON_USEDEP}]
dev-python/pytz[${PYTHON_USEDEP}]
dev-python/snapshottest[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
distutils_enable_sphinx docs
EPYTEST_DESELECT=(
# need pytest-benchmark
graphene/types/tests/test_objecttype.py::test_objecttype_container_benchmark
graphene/types/tests/test_query.py::test_big_list_query_benchmark
graphene/types/tests/test_query.py::test_big_list_query_compiled_query_benchmark
graphene/types/tests/test_query.py::test_big_list_of_containers_query_benchmark
graphene/types/tests/test_query.py::test_big_list_of_containers_multiple_fields_query_benchmark
graphene/types/tests/test_query.py::test_big_list_of_containers_multiple_fields_custom_resolvers_query_benchmark
)
src_unpack() {
unpack ${P}.gh.tar.gz
if use doc; then
cd "${S}"/docs || die
unpack sphinx-${P}.zip
fi
}
python_compile_all() {
local -x PYTHONPATH="${S}/docs:${PYTHONPATH}"
sphinx_compile_all
}

View File

@@ -1,9 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
<upstream>
<remote-id type="pypi">graphene</remote-id>
<remote-id type="github">graphql-python/graphene</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1 +0,0 @@
DIST playsound-1.3.0.tar.gz 7650 BLAKE2B 27a601e2df63149e41707f1004ee301800d2e75abf81ce21d3e32c0ddce04f1fa3a9bd463637e1e0438f7ffe13bf0090bb120835f6f3a4eeca1c5bf41f0bbe5c SHA512 d64203542347938bb92616203423eae622c4a9a9b0dc78c8e000786eb6393cabfc092db3f3d799a40a290e762fd41cd068df8f83f7cb291c0ceaf8bc4fbc4184

View File

@@ -1,125 +0,0 @@
https://bugs.gentoo.org/921854
https://github.com/TaylorSMarks/playsound/pull/149
From 92385c78ec05c2fc3afad1afc5edc9d1282aa1e5 Mon Sep 17 00:00:00 2001
From: taconi <igor.taconi@protonmail.com>
Date: Fri, 10 Nov 2023 22:59:23 -0300
Subject: [PATCH 1/2] Update setuptools configuration file for pyproject.toml
---
pyproject.toml | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++
setup.py | 43 -------------------------------------
2 files changed, 57 insertions(+), 43 deletions(-)
create mode 100644 pyproject.toml
delete mode 100644 setup.py
diff --git a/pyproject.toml b/pyproject.toml
new file mode 100644
index 0000000..d2b77e3
--- /dev/null
+++ b/pyproject.toml
@@ -0,0 +1,56 @@
+[project]
+name = "playsound"
+version = "1.3.0"
+description = "Pure Python, cross platform, single function module with no dependencies for playing sounds."
+readme = "README.rst"
+license = "MIT"
+authors = [{ name = "Taylor Marks", email = "taylor@marksfam.com" }]
+keywords = [
+ "sound",
+ "playsound",
+ "music",
+ "wave",
+ "wav",
+ "mp3",
+ "media",
+ "song",
+ "play",
+ "audio",
+]
+classifiers = [
+ "Development Status :: 5 - Production/Stable",
+ "Intended Audience :: Developers",
+ "Operating System :: OS Independent",
+ "Programming Language :: Python :: 2",
+ "Programming Language :: Python :: 2.3",
+ "Programming Language :: Python :: 2.4",
+ "Programming Language :: Python :: 2.5",
+ "Programming Language :: Python :: 2.6",
+ "Programming Language :: Python :: 2.7",
+ "Programming Language :: Python :: 3",
+ "Programming Language :: Python :: 3.1",
+ "Programming Language :: Python :: 3.2",
+ "Programming Language :: Python :: 3.3",
+ "Programming Language :: Python :: 3.4",
+ "Programming Language :: Python :: 3.5",
+ "Programming Language :: Python :: 3.6",
+ "Programming Language :: Python :: 3.7",
+ "Programming Language :: Python :: 3.8",
+ "Programming Language :: Python :: 3.9",
+ "Topic :: Multimedia :: Sound/Audio :: MIDI",
+ "Topic :: Multimedia :: Sound/Audio :: Players",
+ "Topic :: Multimedia :: Sound/Audio :: Players :: MP3",
+]
+
+[project.urls]
+Homepage = "https://github.com/TaylorSMarks/playsound"
+Documentation = "https://github.com/TaylorSMarks/playsound/blob/master/README.rst"
+Repository = "https://github.com/TaylorSMarks/playsound"
+"Issue tracker" = "https://github.com/TaylorSMarks/playsound/issues"
+
+[tool.setuptools]
+py-modules = ["playsound"]
+
+[build-system]
+requires = ["setuptools", "setuptools-scm"]
+build-backend = "setuptools.build_meta"
diff --git a/setup.py b/setup.py
deleted file mode 100644
index 909a3ff..0000000
--- a/setup.py
+++ /dev/null
@@ -1,43 +0,0 @@
-from codecs import open
-from inspect import getsource
-from os.path import abspath, dirname, join
-from setuptools import setup
-
-here = abspath(dirname(getsource(lambda:0)))
-
-with open(join(here, 'README.rst'), encoding='utf-8') as f:
- long_description = f.read()
-
-setup(name = 'playsound',
- version = '1.3.0',
- description = long_description.splitlines()[2][1:-1],
- long_description = long_description,
- url = 'https://github.com/TaylorSMarks/playsound',
- author = 'Taylor Marks',
- author_email = 'taylor@marksfam.com',
- license = 'MIT',
- classifiers = ['Development Status :: 5 - Production/Stable',
- 'Intended Audience :: Developers',
- 'License :: OSI Approved :: MIT License',
- 'Operating System :: OS Independent',
- 'Programming Language :: Python :: 2',
- 'Programming Language :: Python :: 2.3',
- 'Programming Language :: Python :: 2.4',
- 'Programming Language :: Python :: 2.5',
- 'Programming Language :: Python :: 2.6',
- 'Programming Language :: Python :: 2.7',
- 'Programming Language :: Python :: 3',
- 'Programming Language :: Python :: 3.1',
- 'Programming Language :: Python :: 3.2',
- 'Programming Language :: Python :: 3.3',
- 'Programming Language :: Python :: 3.4',
- 'Programming Language :: Python :: 3.5',
- 'Programming Language :: Python :: 3.6',
- 'Programming Language :: Python :: 3.7',
- 'Programming Language :: Python :: 3.8',
- 'Programming Language :: Python :: 3.9',
- 'Topic :: Multimedia :: Sound/Audio :: MIDI',
- 'Topic :: Multimedia :: Sound/Audio :: Players',
- 'Topic :: Multimedia :: Sound/Audio :: Players :: MP3'],
- keywords = 'sound playsound music wave wav mp3 media song play audio',
- py_modules = ['playsound'])

View File

@@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
<pkgmetadata>
<maintainer type="person">
<email>dev@notyourcomputer.net</email>
<name>Shaoyu Tseng</name>
</maintainer>
<upstream>
<remote-id type="pypi">playsound</remote-id>
<remote-id type="github">TaylorSMarks/playsound</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1,25 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1 pypi
DESCRIPTION="Single function module with no dependencies for playing sounds"
HOMEPAGE="
https://pypi.org/project/playsound/
https://github.com/TaylorSMarks/playsound
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
RDEPEND="dev-python/gst-python[${PYTHON_USEDEP}]"
PATCHES=(
"${FILESDIR}/${P}-pep517.patch"
)

View File

@@ -1 +0,0 @@
DIST pyagentx-0.4.tar.gz 11353 BLAKE2B 1ae8197431a60651de61577d384ff3168ee2beb4bf6ce5cb2ccb4fbd9482f808c875301225e2d871e3fde94828e3291604f61e358570074b64af2271005e3f7f SHA512 2c13dc04b926fa0d6d7df24d577fc37d08440145adbc5e9ec45f99157da40d92afd7bd7e875e3d980b83330ee66ccde8649698cd967c150056db19cbbc4f7f6b

View File

@@ -1,255 +0,0 @@
commit dd1f0e84f8e321789264aec5ada0f1cb4d9ac8af
Author: Ondrej Mular <omular@redhat.com>
Date: Tue Nov 21 08:40:55 2017 +0100
Port to python3
diff --git a/pyagentx/__init__.py b/pyagentx/__init__.py
index efeef10..d4fd627 100644
--- a/pyagentx/__init__.py
+++ b/pyagentx/__init__.py
@@ -1,5 +1,10 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
+from __future__ import (
+ absolute_import,
+ division,
+ print_function,
+)
import logging
diff --git a/pyagentx/agent.py b/pyagentx/agent.py
index b6c0e2a..2db39db 100644
--- a/pyagentx/agent.py
+++ b/pyagentx/agent.py
@@ -1,5 +1,10 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
+from __future__ import (
+ absolute_import,
+ division,
+ print_function,
+)
# --------------------------------------------
import logging
@@ -11,8 +16,11 @@ logger.addHandler(NullHandler())
# --------------------------------------------
import time
-import Queue
import inspect
+try:
+ import queue
+except ImportError:
+ import Queue as queue
import pyagentx
from pyagentx.updater import Updater
@@ -57,18 +65,18 @@ class Agent(object):
pass
def start(self):
- queue = Queue.Queue(maxsize=20)
+ update_queue = queue.Queue(maxsize=20)
self.setup()
# Start Updaters
for u in self._updater_list:
logger.debug('Starting updater [%s]' % u['oid'])
t = u['class']()
- t.agent_setup(queue, u['oid'], u['freq'])
+ t.agent_setup(update_queue, u['oid'], u['freq'])
t.start()
self._threads.append(t)
# Start Network
oid_list = [u['oid'] for u in self._updater_list]
- t = Network(queue, oid_list, self._sethandlers)
+ t = Network(update_queue, oid_list, self._sethandlers)
t.start()
self._threads.append(t)
# Do nothing ... just wait for someone to stop you
diff --git a/pyagentx/network.py b/pyagentx/network.py
index 9711398..f30edad 100644
--- a/pyagentx/network.py
+++ b/pyagentx/network.py
@@ -1,5 +1,10 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
+from __future__ import (
+ absolute_import,
+ division,
+ print_function,
+)
# --------------------------------------------
import logging
@@ -13,7 +18,10 @@ logger.addHandler(NullHandler())
import socket
import time
import threading
-import Queue
+try:
+ import queue
+except ImportError:
+ import Queue as queue
import pyagentx
from pyagentx.pdu import PDU
@@ -21,10 +29,10 @@ from pyagentx.pdu import PDU
class Network(threading.Thread):
- def __init__(self, queue, oid_list, sethandlers):
+ def __init__(self, update_queue, oid_list, sethandlers):
threading.Thread.__init__(self)
self.stop = threading.Event()
- self._queue = queue
+ self._queue = update_queue
self._oid_list = oid_list
self._sethandlers = sethandlers
@@ -84,7 +92,7 @@ class Network(threading.Thread):
update_oid = item['oid']
update_data = item['data']
# clear values with prefix oid
- for oid in self.data.keys():
+ for oid in list(self.data.keys()):
if oid.startswith(update_oid):
del(self.data[oid])
# insert updated value
@@ -94,7 +102,7 @@ class Network(threading.Thread):
'value':row['value']}
# recalculate reverse index if data changed
self.data_idx = sorted(self.data.keys(), key=lambda k: tuple(int(part) for part in k.split('.')))
- except Queue.Empty:
+ except queue.Empty:
break
diff --git a/pyagentx/pdu.py b/pyagentx/pdu.py
index 0af8e82..ac02a77 100644
--- a/pyagentx/pdu.py
+++ b/pyagentx/pdu.py
@@ -1,5 +1,10 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
+from __future__ import (
+ absolute_import,
+ division,
+ print_function,
+)
# --------------------------------------------
import logging
@@ -68,10 +73,11 @@ class PDU(object):
def encode_octet(self, octet):
+ octet = octet.encode("utf-8")
buf = struct.pack('!L', len(octet))
- buf += str(octet)
+ buf += octet
padding = ( 4 - ( len(octet) % 4 ) ) % 4
- buf += chr(0)* padding
+ buf += chr(0).encode() * padding
return buf
@@ -107,7 +113,7 @@ class PDU(object):
def encode(self):
- buf = ''
+ buf = b''
if self.type == pyagentx.AGENTX_OPEN_PDU:
# timeout
buf += struct.pack('!BBBB', 5, 0, 0, 0)
@@ -169,7 +175,7 @@ class PDU(object):
sub_ids.append(t[0])
oid = '.'.join(str(i) for i in sub_ids)
return oid, ret['include']
- except Exception, e:
+ except Exception as e:
logger.exception('Invalid packing OID header')
logger.debug('%s' % pprint.pformat(self.decode_buf))
@@ -196,7 +202,7 @@ class PDU(object):
buf = self.decode_buf[:l]
self.decode_buf = self.decode_buf[l+padding:]
return buf
- except Exception, e:
+ except Exception as e:
logger.exception('Invalid packing octet header')
@@ -204,7 +210,7 @@ class PDU(object):
try:
vtype,_ = struct.unpack('!HH', self.decode_buf[:4])
self.decode_buf = self.decode_buf[4:]
- except Exception, e:
+ except Exception as e:
logger.exception('Invalid packing value header')
oid,_ = self.decode_oid()
if vtype in [pyagentx.TYPE_INTEGER, pyagentx.TYPE_COUNTER32, pyagentx.TYPE_GAUGE32, pyagentx.TYPE_TIMETICKS]:
@@ -252,7 +258,7 @@ class PDU(object):
context = self.decode_octet()
logger.debug('Context: %s' % context)
return ret
- except Exception, e:
+ except Exception as e:
logger.exception('Invalid packing: %d' % len(self.decode_buf))
logger.debug('%s' % pprint.pformat(self.decode_buf))
diff --git a/pyagentx/sethandler.py b/pyagentx/sethandler.py
index 30a2db5..97839b2 100644
--- a/pyagentx/sethandler.py
+++ b/pyagentx/sethandler.py
@@ -1,5 +1,10 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
+from __future__ import (
+ absolute_import,
+ division,
+ print_function,
+)
# --------------------------------------------
import logging
diff --git a/pyagentx/updater.py b/pyagentx/updater.py
index 5fb06d4..711f87e 100644
--- a/pyagentx/updater.py
+++ b/pyagentx/updater.py
@@ -1,5 +1,10 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
+from __future__ import (
+ absolute_import,
+ division,
+ print_function,
+)
# --------------------------------------------
import logging
@@ -12,7 +17,11 @@ logger.addHandler(NullHandler())
import time
import threading
-import Queue
+try:
+ import queue
+except ImportError:
+ import Queue as queue
+
import pyagentx
@@ -39,7 +48,7 @@ class Updater(threading.Thread):
self.update()
self._queue.put_nowait({'oid': self._oid,
'data':self._data})
- except Queue.Full:
+ except queue.Full:
logger.error('Queue full')
except:
logger.exception('Unhandled update exception')

View File

@@ -1,27 +0,0 @@
commit 1f0337b2d481d16936a4921498fe67614687bd38
Author: Mohammed Alshohayeb <moshohayeb@gmail.com>
Date: Tue Jun 30 14:40:00 2015 +0300
permit remote descendants of Updater to be useable
diff --git a/pyagentx/agent.py b/pyagentx/agent.py
index 173a966..b6c0e2a 100644
--- a/pyagentx/agent.py
+++ b/pyagentx/agent.py
@@ -12,6 +12,7 @@ logger.addHandler(NullHandler())
import time
import Queue
+import inspect
import pyagentx
from pyagentx.updater import Updater
@@ -30,7 +31,7 @@ class Agent(object):
self._threads = []
def register(self, oid, class_, freq=10):
- if Updater not in class_.__bases__:
+ if Updater not in inspect.getmro(class_):
raise AgentError('Class given isn\'t an updater')
# cleanup and test oid
try:

View File

@@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>andrea.postiglione@gmail.com</email>
<name>Andrea Postiglione</name>
</maintainer>
<upstream>
<remote-id type="github">hosthvo/pyagentx</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1,20 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{11..12} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1
DESCRIPTION="Python AgentX Implementation"
HOMEPAGE="https://github.com/hosthvo/pyagentx"
SRC_URI="https://github.com/hosthvo/pyagentx/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64"
PATCHES="${FILESDIR}/updater.patch
${FILESDIR}/python3.patch"

View File

@@ -1 +1 @@
DIST sentry-python-2.29.0.gh.tar.gz 688277 BLAKE2B 3387e15bdf1df3d4bd19c2c874b8d931fd9deae1dd1c5fc4c57b06709b0b3af2682ef8f8ecc5b0358eb418eae0dfbc2401dc998a726517cb9b02696042ece7be SHA512 85a716a4eef61bdccedd94d68c63e177a7d37bbe91df7ac52661910fe19af63fb58329b848fd655d82df1e337b9fd5bf2dad50cb2e684b819614a8d42c9fc4ff
DIST sentry-python-2.29.1.gh.tar.gz 688287 BLAKE2B 2678c4c581a9a82425494fdf57abf6416c1745ff8edd81d1721bb7f13708ce28dcde06b7a3069e0de77b3469f1e03fedad6d78f0c5d91ddce32c17893f2626ac SHA512 be4621d9b1c7caa32ea04288d4e6f42a88584e978a0412a9a327ede34b2b2cf4a4fcbd9908fdb2fa096bb13e5d83f5cc02213137ff2870de9b4642304faffffb

View File

@@ -1 +0,0 @@
DIST sse-starlette-1.1.6.tar.gz 513764 BLAKE2B 2852eed53c71a5af8f690aba76ebe1a47228319e14be643e1d88f6a6afdb376a1d4354d28c65090458b7d75f55f0b64ab08e66ee2abcc8740a5250086b17e223 SHA512 047856c672417a44e380d1e31110882f4d536469cfe3bddac185c9996e1ec0e792075bc5ce521640c5fe2a0294c9ca9ee4a423d3edf08d898acfec65495cf280

View File

@@ -1,9 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
<upstream>
<remote-id type="github">sysid/sse-starlette</remote-id>
<remote-id type="pypi">sse-starlette</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1,35 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_11 )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1
DESCRIPTION="Server Sent Events for Starlette"
HOMEPAGE="
https://pypi.org/project/sse-starlette/
https://github.com/sysid/sse-starlette
"
SRC_URI="https://github.com/sysid/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
dev-python/anyio[${PYTHON_USEDEP}]
dev-python/starlette[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/asgi-lifespan[${PYTHON_USEDEP}]
dev-python/httpx[${PYTHON_USEDEP}]
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/uvicorn[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest

View File

@@ -1 +0,0 @@
DIST stringcase-1.2.0.tar.gz 2958 BLAKE2B a649604d079ae0ff00032b7c5efb9941b511ad32937de7f75b5946539641c3ece7d3bec61806f9457e716514bb272c92723bedd107412936c9376273df273240 SHA512 c987f9aa42d22bcfaa6559791bf9292e4300af00d2cf2165838cacd6203b913da197852d49285c30188ca529fd529513cce73a1984f5555cfb81e704977786d3

View File

@@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
<pkgmetadata>
<maintainer type="person">
<email>dev@notyourcomputer.net</email>
<name>Shaoyu Tseng</name>
</maintainer>
<upstream>
<remote-id type="pypi">stringcase</remote-id>
<remote-id type="github">okunishinishi/python-stringcase</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1,16 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1 pypi
DESCRIPTION="Convert string cases between camel case, pascal case, snake case etc."
HOMEPAGE="https://github.com/okunishinishi/python-stringcase"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~x86"

View File

@@ -1,8 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>contact@hacktivis.me</email>
<name>Haelwenn (lanodan) Monnier</name>
</maintainer>
<!-- maintainer-needed -->
</pkgmetadata>

View File

@@ -1 +1 @@
DIST mock-core-configs-42.2-1.tar.gz 409446 BLAKE2B 4f273730a3a3b3d7ff533c15607e48735ea24833b99bbb18eb1019708ef88ada9df7c14327d04d02a8851a1454995d7971aaa4eba7dfea92c92cd4d8023367d6 SHA512 fc00c8cf3e7fa24089de4273b0cd09328b2ac3dec468c8b97507452ee078ba6eeb083d8baf64f8835204d7f6d1d2c21ee062092ca7e5aec5aa1cf7ca7ef657cb
DIST mock-core-configs-42.3-1.tar.gz 413652 BLAKE2B 3620813d362c60e0a4066d8182ca626d466dfa1cd4f48b8a07f0d108771d3a144aeead44362086b4bdd599d9ed347f1f1558ccc5db3a01b19c753dbf384e64d2 SHA512 af170ee3984f7f768dd9e0140ead8ed22f1adb3dee8278548e081c27a9aabc8500ca6899b69ccc06f1562b7bb22703900a26c3793ba8cc2fda412f9b7021dced

View File

@@ -1 +1 @@
DIST mock-6.1.tar.gz 197798 BLAKE2B c6a056ae845e5c6392c0362eaf54a169a57c5c69047a518f38a1728e62a633a290f06aa01ac487599f35b9fdd77f70da368602f6838fcca4308e3452e355b79d SHA512 86c013464f0d24c263591ac39d8e426126b1a03c3d0e902e005abb372a3f154aaf94e5448ffa1c14035980dcc9c4faec4a899be822208cfada20b680ed34c503
DIST mock-6.2.tar.gz 198222 BLAKE2B 2b20e84e994e80e907a8e13752ad4813017e3f025486287cd69de261e4af689561968e5b5031fcfa3f138e83d35150f3418685a1e4bd64ebab3ea657e2890444 SHA512 9d272d22d87ab37973f85d8e1d4bb090144171b695569b0bebabb60df1a7b6a8191dc434727dd7a4bb0ca78095c9c43d79373ad58eea3b15996227e4c608cb0a

View File

@@ -3,7 +3,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{11..12} )
PYTHON_COMPAT=( python3_{11..13} )
inherit bash-completion-r1 optfeature python-single-r1

View File

@@ -3,7 +3,7 @@
<pkgmetadata>
<maintainer type="person">
<name>Edgar Luque</name>
<email>edgar@edgarluque.com</email>
<email>edgar@edgl.dev</email>
</maintainer>
<maintainer type="person">
<name>Zhang Zheng</name>

View File

@@ -6,7 +6,7 @@
<name>Anna Figueiredo Gomes</name>
</maintainer>
<maintainer type="person">
<email>edgar@edgarluque.com</email>
<email>edgar@edgl.dev</email>
<name>Edgar Luque</name>
</maintainer>
<use>

View File

@@ -1 +1,2 @@
DIST extension-manager-0.6.1.tar.gz 2445709 BLAKE2B a36db9d0721f090ce8030f3898dd3fa8cfdc00d61bee73fc840482b05304bd1a99fda893740a704007cd8e5e9a14b40ac4b0a12764e4cb731d8a48c3f078c98c SHA512 384b8e6241bc8a5d2731a80a3603a995fd279d4df42af2510cb1e718b8b28c955afeed324a36be665f81bcce1c4e62cc18ae093334bfcb08989fdb3271a2ae42
DIST extension-manager-0.6.3.tar.gz 1901186 BLAKE2B 3c29c45979915fc9cd76a890a8a2f8e42e4d8ae9249ba17f23acbe2207b9905aa56e424e33dd6379e4fe0eac7a4b54b25db73822557043e960a5ff8511b08966 SHA512 727c824b16b178a5e4de749e7c03098404fb0e57feecc6f0693f0fac3b657f6496e906da911ad5e136376d15191323a1d730d3237d14e578a76d0a44bd0a92cf

View File

@@ -0,0 +1,83 @@
# Copyright 2022-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit gnome2-utils meson xdg
if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/mjakeman/extension-manager.git"
else
SRC_URI="https://github.com/mjakeman/extension-manager/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
DESCRIPTION="A native tool for browsing, installing, and managing GNOME Shell Extensions"
HOMEPAGE="https://mattjakeman.com/apps/extension-manager"
LICENSE="GPL-3+"
SLOT="0"
BDEPEND="
dev-libs/glib:2
dev-util/blueprint-compiler
sys-devel/gettext
virtual/pkgconfig
"
RDEPEND="
dev-libs/glib:2
dev-libs/json-glib
dev-libs/libxml2
gui-libs/gtk:4[introspection]
>=gui-libs/libadwaita-1.7.0:1[introspection]
net-libs/libsoup:3.0
"
DEPEND="
${RDEPEND}
"
src_configure() {
local emesonargs=(
-Dpackage="ebuild"
-Ddistributor="Gentoo GURU <guru-bugs@gentoo.org>"
# sys-libs/libbacktrace has been last-rited in ::gentoo
# and is thus unavailable
-Dbacktrace=false
)
if has live ${PROPERTIES}; then
# Produce a development build for live ebuild
emesonargs+=( -Ddevelopment=true )
fi
meson_src_configure
}
# Tests are skipped because as of version 0.3.0, the tests only validate
# resource files and do not verify any functionality of the program. Those
# validations are either already handled by QA checks or not relevant on
# Gentoo. For more information about the rationale, please refer to:
# https://github.com/gentoo/guru/commit/f896bee213fbb62c70e818c1bf503fee2a41919a#comments
#
# If tests are to be executed in the future because the upstream adds
# functionality tests or for other reasons, and should there be no convenient
# way to skip the validations, the following variable values need to be set:
#
# IUSE="test"
# RESTRICT="!test? ( test )"
# BDEPEND="test? ( dev-libs/appstream-glib dev-util/desktop-file-utils )"
src_test() {
:
}
pkg_postinst() {
xdg_pkg_postinst
gnome2_schemas_update
}
pkg_postrm() {
xdg_pkg_postrm
gnome2_schemas_update
}

View File

@@ -31,7 +31,7 @@ RDEPEND="
dev-libs/json-glib
dev-libs/libxml2
gui-libs/gtk:4[introspection]
>=gui-libs/libadwaita-1.6.0:1[introspection]
>=gui-libs/libadwaita-1.7.0:1[introspection]
net-libs/libsoup:3.0
"

View File

@@ -1,2 +1,2 @@
DIST openrefine-commons-0.1.1.zip 2602139 BLAKE2B b9caba8d047a352ba47473012c9115dc348fd44aa33bac40ad95f2506fc43349a39f3699ec95ecdeb950f8ff0e23adad8bc3ec0aa8edade32cf8a9319516083d SHA512 d6ea62e6e9770317bfe217be0e96dabd8172f8956a32cf85da149220dfbe242494822378d885d01eb4814ee9cfc3e8dbe5fd6057630fff9692c22727ebbdf4bd
DIST openrefine-linux-3.7.9.tar.gz 148721150 BLAKE2B c464b5038a754155a6e30c08a1c5fd626cc116706bc643e9802089fd87014ac2af0d03d0e3752004a2c0d27e5efa5e641ae8ec4ac546d0030f64e9ce82a75a22 SHA512 7786bef57d4b8341353e00ecfcf2dcbb6ce5161c4f65cab34e9555506711169f4020beed012e9388b3ff3c6ab666595acc1856d717dcaa3811a6765ded76ea59
DIST openrefine-linux-3.9.3.tar.gz 151239998 BLAKE2B d0633350d433b6c43d34e842069ce6b659bedba1d58feb721d30f5629452859b74af7b5da0ec32868dbf483a5f4d5b737f92afedd311a104827d7537eb87b3fe SHA512 641f07d6bf096c0851959e5dca2db3f31dedbca987a1cd7c027e482eff0e07837f4859f8d4859234677f28328a374aabed98895ab7119bb59bfd779139ff1d85

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8

View File

@@ -1,2 +1,2 @@
DIST swayimg-3.9.tar.gz 756909 BLAKE2B 09dccc87a07ef154db792a441d5e8265b0d04432f70c2510eb64df8d0f971aa2b012915e2520c52336eb111ef60d333b7fdf24b8b578ea54e93de4ba27e74c2d SHA512 66d97c6695eb030d1013f28bc4fdbb210d26fe602f178fe32e20084f84d8b8e1934012d93e6239234dadbcb2715e61762eadb2350fb6725788b8e70acbea0b11
DIST swayimg-4.0.tar.gz 768532 BLAKE2B c7121452f02af4b599679f2040233142978184cb1919d1af5d90540f0e1331542ec56c7d96e68f33aacb117083ae20ae3f2aa81833846c37c7868f9551f2d63c SHA512 e13eadab3188b25266caefabe493da95fecc41b7e78c29e836e895d3d68f71405296e330963a44e88a8adbc9ba6c881f952d30033d63fffd14ccf909ec742613
DIST swayimg-4.1.tar.gz 772139 BLAKE2B f20aca21800510f348f0cff3ee9d2c1a176f746b0e75f3b39147d1cee23ef54454ee618120c87d9649fde0bb0565ed2462bdc148b107c6eaf026d94cd8d7f3ad SHA512 0cce9c60bba1daa85776d155a656f7d3988a4e8fd5fa8f461c1bec00c800fdf6a51f6a18212042f61e324d45936434988d60e80bf03f237172d9a159e3e52153

View File

@@ -12,11 +12,10 @@ SRC_URI="https://github.com/artemsen/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="avif bash-completion exif exr gif heif jpeg jpegxl png raw sixel svg test tiff webp X"
IUSE="avif bash-completion exif exr gif heif jpeg jpegxl png raw sixel svg +sway test tiff webp X"
RESTRICT="!test? ( test )"
RDEPEND="
dev-libs/json-c:=
dev-libs/wayland
media-libs/fontconfig
media-libs/freetype
@@ -37,8 +36,10 @@ RDEPEND="
gnome-base/librsvg:2
x11-libs/cairo[X=]
)
sway? ( dev-libs/json-c:= )
tiff? ( media-libs/tiff:= )
webp? ( media-libs/libwebp:= )"
webp? ( media-libs/libwebp:= )
"
DEPEND="${RDEPEND}
dev-libs/wayland-protocols
svg? ( X? ( x11-base/xorg-proto ) )
@@ -61,6 +62,7 @@ src_configure() {
$(meson_feature raw)
$(meson_feature sixel)
$(meson_feature svg)
$(meson_feature sway)
$(meson_feature test tests)
$(meson_feature tiff)
$(meson_feature webp)

View File

@@ -21,7 +21,7 @@ SLOT="0"
RDEPEND="
app-text/cmark:=
dev-libs/gumbo
dev-libs/gumbo:=
dev-libs/openssl:=
dev-qt/qtcore:5
dev-qt/qtgui:5

View File

@@ -1,2 +1,2 @@
DIST Beeper-4.0.693.AppImage 197761272 BLAKE2B b35d1e58b3f02a9c446df7d18baac72ca3186583b88d56975df98766502da9cd917e46b3dcd8ba93d1f66ee3c4fbd39716d44ad765dda4b5d7af40b8f485e9ab SHA512 6c070b4d124811e91412b901f50db5cf3cc26347f14e8a0b65ea8e48cde80aaec928087c4c5e334e0e3a3189ee0a498ba718dfcef887f2f0a3e96e99e7a678cc
DIST Beeper-4.0.710.AppImage 203783523 BLAKE2B 58280bff48b9ea4de3d6d0edec4d155aa96627cc56b7b2724cac35b90a62e726baf240f18fb0c4b055eba10d5104b4ae47e90f11c030535fb45d66c38995273b SHA512 43f72b3ec4e2683f3f0241e3367da0406316f99b501a3437859b6fa4e6e252f4f46c6696a44d80359388ec68008a8de7383be9c0df8f5604749f68cd9babc178
DIST Beeper-4.0.732.AppImage 203881546 BLAKE2B 68245059dd1f2c9a6b489c49d151574d20083d8c55e046b6228906972aca3c0106b7a99dc9dbcc77cf17e780a433f543dc73d3244be05e2e1576724382ea8e3c SHA512 edd2d173c357fc5f810fecfa75ae2170d1cb9b5a4cd6bd399da4e22cf531ffe7a7d93a10e1c061bbdc21edfcc6d671f957ec68a72a1e0b5e9b050b287f8cf95b

View File

@@ -11,7 +11,7 @@ CHROMIUM_LANGS="
sw ta te th tr uk ur vi zh-CN zh-TW
"
inherit chromium-2 desktop xdg
inherit chromium-2 desktop optfeature pax-utils xdg
# To check the latest version, run:
#
@@ -24,39 +24,37 @@ SRC_URI="https://beeper-desktop.download.beeper.com/builds/${APPIMAGE}"
S="${WORKDIR}"
LICENSE="all-rights-reserved"
# node_modules licenses
LICENSE+=" Apache-2.0 BSD ISC MIT"
SLOT="4"
KEYWORDS="-* ~amd64"
IUSE="appindicator"
RESTRICT="bindist mirror strip"
RDEPEND="
app-accessibility/at-spi2-core:2
app-crypt/libsecret
>=app-accessibility/at-spi2-core-2.46.0:2
app-crypt/libsecret[crypt]
app-misc/ca-certificates
dev-libs/expat
dev-libs/glib:2
dev-libs/libayatana-appindicator
dev-libs/nspr
dev-libs/nss
media-libs/alsa-lib
media-libs/mesa
media-libs/vips:0/42
net-print/cups
sys-apps/dbus
sys-libs/glibc
>=sys-libs/glibc-2.26
virtual/udev
x11-libs/cairo
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/libXtst
x11-libs/libdrm
x11-libs/libnotify
x11-libs/libxcb
x11-libs/libxkbcommon
x11-libs/pango
@@ -65,10 +63,6 @@ RDEPEND="
QA_PREBUILT="*"
pkg_pretend() {
chromium_suid_sandbox_check_kernel_config
}
src_unpack() {
mkdir -p "${S}" || die
cp "${DISTDIR}/${APPIMAGE}" "${S}" || die
@@ -81,37 +75,59 @@ src_unpack() {
src_prepare() {
default
# Fix permissions.
# Fix permissions
find "${S}" -type d -exec chmod a+rx {} + || die
find "${S}" -type f -exec chmod a+r {} + || die
cd squashfs-root/locales || die
# Fix desktop menu item
pushd squashfs-root || die
sed "/^Exec=/c Exec=beepertexts %U" -i beepertexts.desktop || die
popd || die
# Handle Chromium language packs
pushd squashfs-root/locales || die
chromium_remove_language_paks
popd || die
}
src_configure() {
default
chromium_suid_sandbox_check_kernel_config
}
src_install() {
cd "${S}/squashfs-root" || die
# Install icons
insinto /usr/share
doins -r ./usr/share/icons
local apphome="/opt/BeeperTexts"
# Cleanup
local -a toremove=(
.DirIcon
AppRun
LICENSE.electron.txt
LICENSES.chromium.html
beepertexts.desktop
beepertexts.png
resources/app/node_modules/@img/sharp-libvips-linux-x64/lib/libvips-cpp.so.42
resources/app/node_modules/classic-level/prebuilds/linux-x64/classic-level.musl.node
usr
)
rm -f -r "${toremove[@]}" || die
mkdir -p "${ED}/${apphome}" || die
cp -r . "${ED}/${apphome}" || die
# Install
local apphome="/opt/BeeperTexts"
pax-mark m beepertexts
mkdir -p "${ED}${apphome}" || die
cp -r . "${ED}${apphome}" || die
fperms 4711 "${apphome}"/chrome-sandbox
dosym -r "${apphome}"/beepertexts /usr/bin/beepertexts
make_desktop_entry "beepertexts" Beeper beepertexts "Network;" \
"StartupWMClass=Beeper\nMimeType=x-scheme-handler/beeper;"
domenu beepertexts.desktop
}
pkg_postinst() {
xdg_pkg_postinst
optfeature "desktop notifications" x11-libs/libnotify
}

View File

@@ -1,4 +1,4 @@
DIST megasync-5.11.0.3.tar.gz 25258752 BLAKE2B d715fbca0893432e1713fc94d1cac3264b11533564df54161c1687a9424d8d67529a3b631d7f0172e445e08a3bec7a4c822e16906289f9e6b5de517efe761c0e SHA512 7b4ebed75ad6a460e5d665451170d85a92a2aa972807ebdea03139318b96f63e3d168bb46601f761bb97f2f6607d231fce9ee12ad2e5ac49b907fbba46552024
DIST megasync-5.11.1.0.tar.gz 25259241 BLAKE2B 3b18078e324c65926101794e06e360bb4122ff5b48a71993e30b4313e5d23afc2fd15ba9c73ef5c2b0828c2e12f7aef84cf8acb51cf658a0574bad5a451c9063 SHA512 c4313be7dd56892c9437b59ad3272c29d1eb36318b14943031b466248d65d6b30b634bb32ebd2db7fca6cf09e91be1163e7f7d65e1b6ceaa9fe00cfc78a1bf2b
DIST megasync-sdk-5.11.0.3.tar.gz 4173555 BLAKE2B 7e7e14f60d4f085da9a61e177ab771bc7546679b6c37d1eb9e60e8307f9b02b0f3532a7139968cd55f6a51146c25283440de3bea5e98500327d39c2b50da968d SHA512 4559f7d18247e19496319ace4370a0b0e117a9917dfe1800a5626ecf5b9f678412851bd17738f4792ad530bb9b7cd18dc23eca23ecdb4108c52f96598cb7f453
DIST megasync-5.12.0.1.tar.gz 23855519 BLAKE2B 1f82949f1baa03272b253bfc730d61e74fa129db37fc0b91ff2695fccb26ca6904f44eb8035a00d89fb79da38bf97d5b93ded71347eb729864bfeb8088ad9bff SHA512 04e3d05f5d7de1bd419f60a22a531ae175e1083cf9fc87ca7197c3b9a0bbbfbf34d79dac68cca3f88adf06a83ea627ea495c1a5a53ed94ddfb538ffcffb8d770
DIST megasync-sdk-5.11.1.0.tar.gz 4173555 BLAKE2B 7e7e14f60d4f085da9a61e177ab771bc7546679b6c37d1eb9e60e8307f9b02b0f3532a7139968cd55f6a51146c25283440de3bea5e98500327d39c2b50da968d SHA512 4559f7d18247e19496319ace4370a0b0e117a9917dfe1800a5626ecf5b9f678412851bd17738f4792ad530bb9b7cd18dc23eca23ecdb4108c52f96598cb7f453
DIST megasync-sdk-5.12.0.1.tar.gz 4173591 BLAKE2B 00978259d794112ccdadc73e49d4df350ba6f6a8d809be9e50c481e685dbcea5424f9d2d06d3ff983f931bb49b8c9256fa4d7d4433881ae871c4ca326065c13a SHA512 627a815db1085ce71dbb98f3a579e83692b7953aa9ef8e8d7240df7fa7c905bb70d5d5d49b2b823568361df91facbc40cd9b3f32fa55b1f3624852f12624564b

View File

@@ -11,8 +11,8 @@ HOMEPAGE="
https://github.com/meganz/MEGAsync
"
MEGA_SDK_REV="f60237a8d46cec993137065d39138fd42c043271" # commit of src/MEGASync/mega submodule
MEGA_TAG_SUFFIX="Win"
MEGA_SDK_REV="e77b97393b57450c7bfe7227b79f2405468077c7" # commit of src/MEGASync/mega submodule
MEGA_TAG_SUFFIX="Linux"
SRC_URI="
https://github.com/meganz/MEGAsync/archive/v${PV}_${MEGA_TAG_SUFFIX}.tar.gz -> ${P}.tar.gz
https://github.com/meganz/sdk/archive/${MEGA_SDK_REV}.tar.gz -> ${PN}-sdk-${PV}.tar.gz
@@ -84,7 +84,6 @@ BDEPEND="
"
PATCHES=(
"${FILESDIR}/${PN}-4.10.0.0_ffmpeg6.patch"
"${FILESDIR}/${PN}-5.6.0.0-remove-clang-format.patch"
"${FILESDIR}/${PN}-5.7.0.0-disable-forced-options.patch"
"${FILESDIR}/${PN}-5.7.0.0-fix-install-dir.patch"
@@ -134,6 +133,7 @@ src_configure() {
-DENABLE_DESKTOP_APP_WERROR=OFF
-DENABLE_DESKTOP_UPDATE_GEN=OFF
-DENABLE_DESIGN_TOKENS_IMPORTER=OFF
-DUSE_BREAKPAD=OFF
-DENABLE_ISOLATED_GFX=$(usex thumbnail)
-DENABLE_LINUX_EXT=$(usex nautilus)
-DUSE_FFMPEG=$(usex thumbnail)

View File

@@ -1 +1,2 @@
DIST wsdd-0.8.tar.gz 40455 BLAKE2B e4b8e29073b6ea23b73d2f740f6dbabd8c90b615de32d9972c59e5a822daf6232fcdeafb180492a37c4a29ec266c733b160376abedce3b6a90feded2aed25aa2 SHA512 e3e5164f9ebe39c979456169bf1b0c6c4cd974792f08fa4dfab9c313fba88ae1208a8112db09c3655719b4e26bfc2616f844f17d2a245132c2f5b22e978e3c20
DIST wsdd-0.9.tar.gz 42670 BLAKE2B 8f3b20b8ddc5424fd33ec37c7f9314145ff9a91a0b49f9edd47e1691b3e775e17015bc4b2c115dd05994824140434a67c5a51637254e001922f9e1e927de8124 SHA512 245845c8d0f52a18e47411c8adfc5f9ef63a65f2caa04dd76ac033852b3d517000d88202b50be781ff0a4c7da344589dd79cdc1e0a88dbbd1f149d0dfe8db47f

View File

@@ -0,0 +1,44 @@
# Copyright 2020-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{11..13} )
PYTHON_REQ_USE="xml(+)"
inherit python-r1 systemd
DESCRIPTION="A Web Service Discovery host daemon."
HOMEPAGE="https://github.com/christgau/wsdd"
SRC_URI="https://github.com/christgau/wsdd/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="samba"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
# Samba is technically not a requirement of wsdd, but depend on it if the use flags is set.
RDEPEND="${PYTHON_DEPS} acct-group/${PN} acct-user/${PN} samba? ( net-fs/samba )"
src_install() {
python_foreach_impl python_newscript src/wsdd.py wsdd
# remove dependency on samba from init.d script if samba is not in use flags
if ! use samba ; then
sed -i -e '/need samba/d' etc/openrc/init.d/wsdd || die
fi
sed -i -e "s/daemon:daemon/${PN}:${PN}/" etc/openrc/init.d/wsdd || die
doinitd etc/openrc/init.d/wsdd
doconfd etc/openrc/conf.d/wsdd
# install systemd unit file with dependency on samba service if use flag is set
if use samba; then
sed -i -e 's/;Wants=smb.service/Wants=samba.service/' etc/systemd/wsdd.service || die
fi
systemd_dounit etc/systemd/wsdd.service
dodoc README.md
doman man/wsdd.8
}

View File

@@ -1,4 +1,4 @@
DIST wstunnel-10.2.0-crates.tar.xz 34103388 BLAKE2B 03618ee3cf554e6df5e1ea320d4afeb31927baa8115e9bd203d97ceb8b64c00c47c7c34561571a710e0be22c07c77b7a0c818ad7b77f16d51740879aeb342710 SHA512 e6f07c00693e2ceea7befc25192813b2c27115eecdedcfc85f459fe715c63bf13e07a7d91557433572af005ac44af2f71eaba2ee61eabbeff1f654e42a5156c5
DIST wstunnel-10.2.0.tar.gz 291521 BLAKE2B e8b02f18b3e924113a9e0b0e92493bda8632266550ebb81f428b23e0f6d40763011003c2870970a972db6c21e61a68ba706f41d3fd839a20e23744ccdc9f4082 SHA512 662d363c76831ad73dc3355541a39de890473c5802e99aa9b94164771d3ffd66b49d30abca7f520e11f07fd95282fd311494f0be0c88e158434c4375fd8ccc03
DIST wstunnel-10.3.0-crates.tar.xz 35231292 BLAKE2B a860070352142df33ef806d67b6ff11401de44691748de740b54f755edde39cca3ecb0c464b70f6d68214146f50df034b83759128e6bf2b5bf9573aebacabacd SHA512 917562a78210d7136ccaf357c6af8d5d30b394a029227b6be1f7be01e97cf0ff0b1c0b2e9a6adf9bbef68cc3b40431d2e9c4d77fabe684fd5ef9d7a26ac3d9f0
DIST wstunnel-10.3.0.tar.gz 291982 BLAKE2B ac157241c9d1b1758cee5937e90a20f4a116e9dd157d3341de50af29f217cc13bde2ac82aedec705fc6d38b97becca57e9d2f14b722aeb8918e2c2270d45ebe6 SHA512 3e3c4f36ae309a34bb15f2cccb2d857c31c6236ad2614a7262b879351d108b8e14b9f884e2f6bf37df986c9b348cc628f7c51ceeffd09787045616934ab21f68
DIST wstunnel-10.4.0-crates.tar.xz 35470060 BLAKE2B bc8efa3b930bd79d3cf59a7d8ebfd8c72371930eef6b580bb26a078fea9cb90fd229e6c137243d8390cace8f076fd1f1cd056d8e882d05150966d05373586412 SHA512 dc4fc2e397132dcb20fb7266378153a6f6ef96836efae181e93991b8141547d3366293b802123b9de4bcfcaef800158f4ea91eba4739322ef9f5c6d9e3f13b6f
DIST wstunnel-10.4.0.tar.gz 1713437 BLAKE2B 7b251f869e177b59e0a5f8aa6df3cec05db670ac4d474d6846912d864db44b2647fe9ceab039316d73c32b82ff379a9c776738e73d1febf381d85b7353133e69 SHA512 1ee1065e9e859b1532af037720a824dd027ec03abdc5bb92e09d6c7269bc2d068f196d4eb56cfe2f5b46e4b553374f7b4c5c09502ac4b0b08078805e770c34ac

View File

@@ -1,2 +1,2 @@
DIST newsraft-0.27.tar.gz 155854 BLAKE2B 8f7c5bb1cf5907e863f5ad82fc3024534dd15e10c2ca206025c4882da20f2e489a1211bd0247df551181ca69d6ad1de9636a0e75435cae9790dba4efdf8e2927 SHA512 06d8a9fc147ea54f03adb4dda01163a51938014c48045fe3a5fe0275b3505148cf04af784229fc8b17ef8278bc5ce7b918e0b930610aa25caa4b4094fbc6ab2b
DIST newsraft-0.28.tar.gz 159573 BLAKE2B b7f9d406eaad469698678539a7aa7d7715c0f7e1de182b765fe52e2f066ba1675278b981704f1d3fd6d42cc715d7b8e23e765a42c7ad214759e8971dd31c0700 SHA512 08d6bc816af4505bd266aa5be5c7403fa706642e8df763aa7c613c8186b4799e12ac48c5c3266731c2e650d80d51a966466d32264d7c5d1c42f0e1d40c66ae50
DIST newsraft-0.30.tar.gz 196870 BLAKE2B 5193c6713f85a77e4f8148a6fc67ea14b102143c48aa96ea41d561ef6d72ff04ab5b3a47a5b080d6f735c511cf00038f41a802801829475b455af1fe4def1e33 SHA512 b2f9b52d7169f7c51252e9b6f05d65620b1235a811aa0232b254be8e4f1d43b581189615d04c4d4c5b8ccd0e284d98850a8a85015c1f0dd69abe76c9d8644fb6

View File

@@ -3,7 +3,7 @@
EAPI=8
inherit toolchain-funcs
inherit toolchain-funcs xdg-utils
DESCRIPTION="A lightweight feed reader with ncurses user interface inspired by Newsboat."
HOMEPAGE="https://codeberg.org/newsraft/newsraft"
@@ -24,7 +24,6 @@ DEPEND="
dev-db/sqlite:3
dev-libs/expat
dev-libs/gumbo:=
dev-libs/yajl:=
net-misc/curl
sys-libs/ncurses:=
"
@@ -42,3 +41,11 @@ src_install() {
emake PREFIX="/usr" DESTDIR="${D}" install
einstalldocs
}
pkg_postinst() {
xdg_icon_cache_update
}
pkg_postrm() {
xdg_icon_cache_update
}

View File

@@ -1,3 +1,4 @@
DIST calls-48.1.tar.xz 602908 BLAKE2B 36b4e27678b9b39deef0488b8ac3f4a85f84cfef053e0b4587104c032b99519a38a4337f0c380595e3631e4271a849027189a23d962bc537744560296cb81b5b SHA512 290d6ecc698c534ee441b23bbc6846b54f27f12a8ba9c57875b909bb1f253e252b0bae5f3ee380c336f7eadc435ee87e5ecf91e54142a360b4257719e649128b
DIST calls-48.2.tar.xz 603092 BLAKE2B 3c250906c153a225795455b9eb23caad5e2df7a64bcd7ad04d5327c3798905306a37cf3d86eac0bb3f3a19a67e4055c446570f270e353562637514c412e798e3 SHA512 706c0247dcadaf44d42fefa655494b89b99e6a1c1dd993a55cc6349fefb71723406e0767798af6a188fdb1d5a4ddb1a8f6e2649a064fc6f874fa6c421bdb9d0f
DIST calls-v47.0.tar.bz2 478275 BLAKE2B d0c842ea8b3ea2ca0fde33ccb06bc99d4d6c8f82b470f535f11f4e1cd540f2d1a9369e52744937ac259d9b45ace32b5a827796254001bb67d9d1348dc3c57156 SHA512 1a137e4afbd71bd7ba80b9a3054f5f2032ba14b5cd451752c8ac58955c7ee32ed1c23cf24bce53653a93c091ac90071630fdce8838dfbf9d45d3f9f51c64c9b4
DIST libcall-ui-v0.2.1.tar.bz2 167969 BLAKE2B 7298c3a54430321a046c8b72543c96455e08923dde43fb056abacea1a39d2284bea97c526c594569dc41c203bbdab454a6ef8d4056c60594162ec20939c20031 SHA512 36ef67337eeb9a60fd212777947e09a7705587f18fb7fecd427bf7d4d4d7ddcdf3c43abedc6c65ffa36d55516818178b7b87d19fa0316c871bb8409f03588a14

View File

@@ -0,0 +1,117 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
GNOME_ORG_MODULE="calls"
inherit vala meson gnome.org gnome2-utils optfeature systemd virtualx xdg
DESCRIPTION="Phone dialer and call handler"
HOMEPAGE="https://gitlab.gnome.org/GNOME/calls"
GITLAB="https://gitlab.gnome.org"
LICENSE="CC0-1.0 CC-BY-SA-4.0 GPL-3+ LGPL-2+ LGPL-2.1+"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE="gtk-doc man"
COMMON_DEPEND="
app-crypt/libsecret
dev-libs/feedbackd
dev-libs/folks:=
>=dev-libs/glib-2.74:2
dev-libs/gom
dev-libs/libgee:0.8=
dev-libs/libpeas:2
gnome-extra/evolution-data-server:=[vala]
>=gui-libs/gtk-4.12:4
>=gui-libs/libadwaita-1.6:1
media-libs/gstreamer:1.0
media-sound/callaudiod
net-libs/sofia-sip[glib]
net-misc/modemmanager:=
"
RDEPEND="${COMMON_DEPEND}
gnome-base/librsvg:2
"
DEPEND="${COMMON_DEPEND}
test? (
media-libs/gst-plugins-base:1.0
media-libs/gst-plugins-good:1.0
media-plugins/gst-plugins-srtp:1.0
)
"
BDEPEND="
$(vala_depend)
dev-libs/glib:2
dev-libs/libxml2
dev-util/gdbus-codegen
dev-util/glib-utils
sys-devel/gettext
gtk-doc? ( dev-util/gtk-doc )
man? ( dev-python/docutils )
"
src_prepare() {
default
vala_setup
}
src_configure() {
local emesonargs=(
$(meson_use gtk-doc gtk_doc)
$(meson_use man manpages)
$(meson_use test tests)
-Dsystemd_user_unit_dir="$(systemd_get_userunitdir)"
)
meson_src_configure
}
src_test() {
local tests=(
calls:application
calls:call
calls:contacts
calls:emergency-call-types
calls:dbus
calls:manager
calls:media
calls:origin
calls:plugins
calls:provider
calls:sdp-crypto
calls:settings
calls:srtp
calls:ui-call
calls:util
# TODO:
# not ok /Calls/Ringer/accept_call
# GLib-GObject-FATAL-CRITICAL: cannot register existing type 'LfbEvent'
# https://gitlab.gnome.org/GNOME/calls/-/issues/622
#calls:ringer
# TODO:
# hangs at /Calls/SIP/calls_direct_call
# https://gitlab.gnome.org/GNOME/calls/-/issues/695
#calls:sip
)
virtx meson_src_test "${tests[@]}"
}
pkg_postinst() {
xdg_pkg_postinst
gnome2_schemas_update
optfeature "SIP support" "\
media-libs/gst-plugins-base:1.0 \
media-libs/gst-plugins-good:1.0 \
media-plugins/gst-plugins-srtp:1.0 \
"
}
pkg_postrm() {
xdg_pkg_postrm
gnome2_schemas_update
}

View File

@@ -1,3 +1 @@
DIST cloudflare-warp_2024.11.309.0_amd64.deb 37185558 BLAKE2B d6cb32c118b81539e3c746cc7e361c74b696e02546c1f7cc3c5dfbed53530e440e80ed9a03ff840ee2214749afa815ea88a4ef506218924b9e8b9b438281cc39 SHA512 5180dcfe8344b02657961a4568a205873fd0ac3dcf9b3595267e5ea260afe98215251403f33188ac63507113d896aef70ffeb9dfa6129de9bae8e23734ae1387
DIST cloudflare-warp_2024.2.62-1_amd64.deb 86268064 BLAKE2B 663aae6d60bd7fe3eb10806463470f7623128e4eb942607909002bfa895eade8c76e00f987bf9603cd9f0ecbb661dde116c930734b1bfe087ee09018506415c0 SHA512 d68410374baffae76637df277d002891d5a4c0d28abb8ac3b44e0db8a07e1be07acdfdd79a01d6220c1cd0696dfbb77d71e8b7b3a30003a269063d6870f012a8
DIST cloudflare-warp_2024.4.133-1_amd64.deb 87344416 BLAKE2B dd8fc0a72b0d68f64277d251a315d23dcbc9789507caa123423b78547d579121d88ecb391a1a5744e1882e616afa3f6126dd4199157571ff1b632870b5c33ce9 SHA512 494a2aab2c23bab5f5e60ce12a3faee9d7ab41f074ee65e7bc423347b1ac5222b7147f745987c86f966e9c09b4eff03d3bc2dfb362e8a4c10acfb31db1bbd720
DIST cloudflare-warp_2025.4.943.0_amd64.deb 45672332 BLAKE2B 91725777343417947319243287bc8e5339fa4fdce63fd53f9cc8d34bd65f21dc01469338a11fc8336f71af627cb15cb3648839ba78218f1542290a18d0f16505 SHA512 af17a3ca8aaf509cf12291e7e86604c5d0b0aa9995b91dd11948ca32168c0f562d88876f75230fe93bb59eedbf82230f91db68923f5752d3aafc4d5dbb73e680

View File

@@ -1,65 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit unpacker systemd xdg desktop
DESCRIPTION="Cloudflare Warp Client"
HOMEPAGE="https://one.one.one.one"
SRC_URI="https://pkg.cloudflareclient.com/pool/jammy/main/c/cloudflare-warp/cloudflare-warp_${PV}.0_amd64.deb"
S="${WORKDIR}"
LICENSE="all-rights-reserved"
SLOT="0"
KEYWORDS="~amd64"
IUSE="systemd +systray dex"
RESTRICT="bindist mirror"
RDEPEND="net-firewall/nftables
dex? ( net-libs/libpcap )
systray? (
x11-libs/gdk-pixbuf:2
x11-libs/gtk+:3
x11-libs/pango
)
"
QA_PREBUILT="/bin/warp-cli /bin/warp-dex /bin/warp-diag /bin/warp-svc /bin/warp-taskbar"
src_unpack() {
unpack_deb ${A}
}
src_install() {
into /
dobin bin/warp-cli
dobin bin/warp-diag
dobin bin/warp-svc
doinitd "${FILESDIR}/warp-svc"
systemd_dounit lib/systemd/system/warp-svc.service
# warp-dex relies on "libpcap.so.0.8" which is not in tree.
if use dex; then
dobin bin/warp-dex
fi
if use systray; then
dobin bin/warp-taskbar
systemd_douserunit usr/lib/systemd/user/warp-taskbar.service
doicon -s scalable $(ls usr/share/icons/hicolor/scalable/apps/*.svg)
insinto /usr/share/warp/images
doins $(ls usr/share/warp/images/*.png)
desktopfile=$( \
usex systemd \
usr/share/applications/com.cloudflare.WarpTaskbar.desktop \
"${FILESDIR}/com.cloudflare.WarpTaskbar.desktop" \
)
domenu $desktopfile
insinto /etc/xdg/autostart
doins $desktopfile
fi
}

View File

@@ -1,65 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit unpacker systemd xdg desktop
DESCRIPTION="Cloudflare Warp Client"
HOMEPAGE="https://1.1.1.1"
SRC_URI="https://pkg.cloudflareclient.com/pool/jammy/main/c/cloudflare-warp/cloudflare-warp_${PV}-1_amd64.deb"
S="${WORKDIR}"
LICENSE="all-rights-reserved"
SLOT="0"
KEYWORDS="~amd64"
IUSE="systemd +systray dex"
RESTRICT="bindist mirror"
RDEPEND="net-firewall/nftables
dex? ( net-libs/libpcap )
systray? (
x11-libs/gdk-pixbuf:2
x11-libs/gtk+:3
x11-libs/pango
)
"
QA_PREBUILT="/bin/warp-cli /bin/warp-dex /bin/warp-diag /bin/warp-svc /bin/warp-taskbar"
src_unpack() {
unpack_deb ${A}
}
src_install() {
into /
dobin bin/warp-cli
dobin bin/warp-diag
dobin bin/warp-svc
doinitd "${FILESDIR}/warp-svc"
systemd_dounit lib/systemd/system/warp-svc.service
# warp-dex relies on "libpcap.so.0.8" which is not in tree.
if use dex; then
dobin bin/warp-dex
fi
if use systray; then
dobin bin/warp-taskbar
systemd_douserunit usr/lib/systemd/user/warp-taskbar.service
doicon -s scalable $(ls usr/share/icons/hicolor/scalable/apps/*.svg)
insinto /usr/share/warp/images
doins $(ls usr/share/warp/images/*.png)
desktopfile=$( \
usex systemd \
usr/share/applications/com.cloudflare.WarpTaskbar.desktop \
"${FILESDIR}/com.cloudflare.WarpTaskbar.desktop" \
)
domenu $desktopfile
insinto /etc/xdg/autostart
doins $desktopfile
fi
}

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -7,7 +7,7 @@ inherit unpacker systemd xdg desktop
DESCRIPTION="Cloudflare Warp Client"
HOMEPAGE="https://1.1.1.1"
SRC_URI="https://pkg.cloudflareclient.com/pool/jammy/main/c/cloudflare-warp/cloudflare-warp_${PV}-1_amd64.deb"
SRC_URI="https://pkg.cloudflareclient.com/pool/jammy/main/c/cloudflare-warp/cloudflare-warp_${PV}_amd64.deb"
S="${WORKDIR}"
@@ -16,7 +16,10 @@ SLOT="0"
KEYWORDS="~amd64"
IUSE="systemd +systray dex"
RESTRICT="bindist mirror"
RDEPEND="net-firewall/nftables
RDEPEND="dev-libs/glib
net-firewall/nftables
sys-apps/dbus
x11-libs/cairo
dex? ( net-libs/libpcap )
systray? (
x11-libs/gdk-pixbuf:2

View File

@@ -18,11 +18,6 @@
# New entries go on top.
# David (stkw0) Roman <davidroman96@gmail.com> (2025-05-29)
# Depends on removed ffmpeg-chromium slot
www-client/yandex-browser
# Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in> (2025-05-24)
# Depends on masked net-libs/stem.
# Masked until upstream supports running without stem.
@@ -41,43 +36,6 @@ x11-themes/nulloy-theme-night
# Removal on 2025-06-05. Bug #955253.
x11-misc/pywal
# Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in> (2025-05-01)
# Archived repo on GitHub, no revdeps left.
# Removal on 2025-06-01.
dev-python/codecov
# Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in> (2025-05-01)
# No activity upstream, no revdeps left.
# There is a compatible fork named stringcase-new on PyPI.
# Removal on 2025-06-01.
dev-python/stringcase
# Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in> (2025-05-01)
# No activity upstream, no revdeps left.
# There is a fork named playsound3 on PyPI.
# Removal on 2025-06-01.
dev-python/playsound
# Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in> (2025-05-01)
# No activity upstream, no revdeps left. Open bugs: #901147.
# Removal on 2025-06-01.
dev-python/aiopg
# Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in> (2025-05-01)
# Dead upstream, no revdeps left.
# Removal on 2025-06-01.
dev-python/pyagentx
# Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in> (2025-05-01)
# Unmaintained in GURU, no revdeps left. Open bugs: #856874.
# Removal on 2025-06-01.
dev-python/sse-starlette
# Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in> (2025-05-01)
# Unmaintained in GURU, no revdeps left. Open bugs: #928254.
# Removal on 2025-06-01.
dev-python/graphene
# David (stkw0) Roman <davidroman96@gmail.com> (2025-04-30)
# Depends on removed dev-qt/qtwebengine:5, they should be moved to qtwebengine:6
# Removal on 2025-06-30

View File

@@ -1 +1 @@
DIST save-backlight-1.1.2.tar.gz 13516 BLAKE2B fb8511a6c7e8941cd2eaaa46eb1899ad9e32cd79d9472e60bcc4cc00c2b39fff1569202030077e9fd649c79710b926b4534953d4a945007741d79da4fd4b671f SHA512 a739796560c02e80b9b1a12b12b9ee9f9e2c93ef81ac2c1f07b8b49aa77481843e58379d39f28e644b2be4ec76a36a9578139a617ffa0b536e76133cede1c382
DIST save-backlight-1.1.4.tar.gz 13520 BLAKE2B 5ef1427ecf039f6b290cf3403b1aa43587b9fe3623913e08ff7e10bf3fff90d653931a4d3d16ed597c3b7a7f80977d3c2a395e215422db1f74cac6fe9db0a95d SHA512 9b7cfa0d16ba40fed58e34162df9dffa88ae6caf82b61a15a73208a8777ce7a6439175a75158fe1d5ced284af7896fc3a62662215bcbd94708377913ee4c1103

View File

@@ -1,2 +1,2 @@
DIST dwarfs-bin-0.12.3-amd64.tar.xz 3600544 BLAKE2B f82556c19e205a0e73afb92b5e5c1f3a4003d4835f6e7581fd420edb4d656b5a1769af6e89413e36c0c1156b9f1dde9f1b94aa1c0fdde51fdd6599f832bd7045 SHA512 4098fbc466b5dee5797526c901dc2172c3d2288ebbe06fbf8e691852b5c40f788fb4eb38e0f75b5d17a2b61ec1812b432a99a551b7225488ffeeef40c878203a
DIST dwarfs-bin-0.12.3-arm64.tar.gz 3258856 BLAKE2B 3db882eabd4122782db125d6a103876b715f9932bcba049c10e6b277334ab0ca0ee16d908117afa610993478aefd7c3bae6d91fe0ccfa73c1e22d485f341543b SHA512 accda196038ef3a032546a9e145980b28e63c493569e4a316be5616ad70684a0787338cb2c9ccc53f6ed2383165ba7cddfc0c2ca73686eb722fb4d9b14368adb
DIST dwarfs-bin-0.12.4-amd64.tar.xz 3616968 BLAKE2B 962fbfc659dfab44d49c1b05bd03723381fce111250aed9717a80325cdfc9206522467306066804b272bad7f5f224ca3cded681592c47c9d45475c6752d85795 SHA512 ac8a7e24272c9a0a6a7ac4192e533da2d6860672b7c6d93ea7b58719e708d37699b707041f390d64552355ddaac234820fe8d848cdeef4a745fb786501f4bca2
DIST dwarfs-bin-0.12.4-arm64.tar.gz 3258580 BLAKE2B f11b6946cad48f25f68ef6fd21b82b43fc6f3d964f7ded8928f103f65fcf11306eb760a7d0a0271b10073d0e9112957694840319d535685734b0e09f2c068b00 SHA512 bc127cded2b13cf7babeccd4d9d72b5b55030d3f2adc2cf43e1b53b55535004d0f436025a4599322a9bf805c432616e96623a0941099fa30eebaea3a8ed4d5c2

View File

@@ -1 +1 @@
DIST dwarfs-0.12.3.tar.xz 12150952 BLAKE2B d8e078adebf840d76fd3b0d92d4a2454e73f03fd2d3fe6253f99a914e858a7aabe9f7908445475f50320237a92114cf67468149ac3752cb9eb13c9503d5d9472 SHA512 303a213eceb526462babc84e55d44d69cb50fde72723ff7f020a230fa57c9e4272e5af73cc0866a215dea76ccba1a4d05874c6a327e5d44ba30cf71fa2af1e3f
DIST dwarfs-0.12.4.tar.xz 12271700 BLAKE2B 1aad8f84cd2b79445f952b9e2ce55ff534c77d48a9ae5f15c73359b368eca032d1a85d023595e6f99cb1c83a949405387eb5d8a4b2b8b1336798fa5ae6069905 SHA512 d20006d7df485b2884bc20a5ec521b79846a1b1f72791f7151691b90e38e8e2b3230f164b36bd68aed31cbdf428d316bbe5938394cc565c7d832060337773212

View File

@@ -1 +1 @@
DIST yandex-browser-25.2.6.724_p1.deb 211638876 BLAKE2B a37fb1f4a64c736152f316efaecb739863f8c780c50273858a93d269b9518111f74b708fc55cceaa62ccb9a32b3f6087f7596a4ccc1d642bb90cb100cb651495 SHA512 f75301f73a92cf98680382ce42dcd0941fed309cc96e9007f2367ebabf70acf6c9b319ea39ebbbff81611fae91483f4d75121c2b795acbe00adfd719703c7b7e
DIST yandex-browser-25.4.1.1062_p1.deb 198215848 BLAKE2B 2e7c2fa6591cad7a6c8b31f87912e685064545ae1206d8069ddac701884db0d100186800aac4b01e18c874862e7ed58c5204708e98871734e2773e486521716e SHA512 7dc270e4deefdee88887a87ac64365a240228351861d1e93be7bc99fe0c7f570e119d9748a555ccd4b93fea869737e370a2ce87e37fbbcba1311c3afbea9df99

View File

@@ -12,7 +12,7 @@ else
MY_PN=${PN}
fi
FFMPEG="133"
FFMPEG="138"
DESCRIPTION="The web browser from Yandex"
HOMEPAGE="https://browser.yandex.ru/"
@@ -111,7 +111,7 @@ src_install() {
dodir /usr/$(get_libdir)/${MY_PN}/lib
mv "${D}"/usr/share/appdata "${D}"/usr/share/metainfo || die
make_wrapper "${PN}" "./${PN}" "/${YANDEX_HOME}" "/usr/$(get_libdir)/${MY_PN}/lib" || die "Failed to mae wrapper"
make_wrapper "${PN}" "./${PN}" "/${YANDEX_HOME}" "/usr/$(get_libdir)/${MY_PN}/lib" || die "Failed to make wrapper"
dosym "../../../usr/$(get_libdir)/chromium/libffmpeg.so.${FFMPEG}" "${YANDEX_HOME}/libffmpeg.so"