From d6d8e3e2c7100c10c6f92a17def0dd8d7570ad28 Mon Sep 17 00:00:00 2001 From: Arthur Zamarin Date: Fri, 6 Feb 2026 19:58:05 +0200 Subject: [PATCH] gui-libs/xdg-desktop-portal-wlr: enable verify-sig Signed-off-by: Arthur Zamarin --- gui-libs/xdg-desktop-portal-wlr/Manifest | 3 ++- .../xdg-desktop-portal-wlr-0.7.1-r1.ebuild | 11 +++++++++-- .../xdg-desktop-portal-wlr-0.7.1-r2.ebuild | 11 +++++++++-- .../xdg-desktop-portal-wlr-9999.ebuild | 11 +++++++++-- 4 files changed, 29 insertions(+), 7 deletions(-) diff --git a/gui-libs/xdg-desktop-portal-wlr/Manifest b/gui-libs/xdg-desktop-portal-wlr/Manifest index 52e50584d29e7..0a0250701bbd4 100644 --- a/gui-libs/xdg-desktop-portal-wlr/Manifest +++ b/gui-libs/xdg-desktop-portal-wlr/Manifest @@ -1 +1,2 @@ -DIST xdg-desktop-portal-wlr-0.7.1.tar.gz 38849 BLAKE2B 41bbb177dc4df65f9ca5bc8a6c18775357e71948026864b3ca157d3d0834b41cfd4188bd1d4d2417973cac434b1b7f2a2e6b4a2fec45cd2d8b36b8a8f55a498a SHA512 87aa5255d3de3203c2bfa6986c2acbffbfd414d12fb72aeca25249d3b528ffb948858a787c9c4206b18faaddd6ce09c95c257e969cc3cfeee8e376c3846f2b9d +DIST xdg-desktop-portal-wlr-0.7.1.gh.tar.gz 38849 BLAKE2B 41bbb177dc4df65f9ca5bc8a6c18775357e71948026864b3ca157d3d0834b41cfd4188bd1d4d2417973cac434b1b7f2a2e6b4a2fec45cd2d8b36b8a8f55a498a SHA512 87aa5255d3de3203c2bfa6986c2acbffbfd414d12fb72aeca25249d3b528ffb948858a787c9c4206b18faaddd6ce09c95c257e969cc3cfeee8e376c3846f2b9d +DIST xdg-desktop-portal-wlr-0.7.1.gh.tar.gz.sig 566 BLAKE2B 719ac0f700baf5bc337daf6b15a2cf03ec3f1dd3658af939682c55b704667007bd63bc81644bfa9f4e2f62d0c7725e59620cc9691fb0d2675e7f380cd9a203dc SHA512 bae40903a23c514f7b310f7a26c2dd878e8b12a0375d7f29e5d261b995f653cfc54522bde01b0a94aa327260b009cc951db992e59837a3099dbf5158088bdd56 diff --git a/gui-libs/xdg-desktop-portal-wlr/xdg-desktop-portal-wlr-0.7.1-r1.ebuild b/gui-libs/xdg-desktop-portal-wlr/xdg-desktop-portal-wlr-0.7.1-r1.ebuild index 477bfe0002ac7..a277f917ccdba 100644 --- a/gui-libs/xdg-desktop-portal-wlr/xdg-desktop-portal-wlr-0.7.1-r1.ebuild +++ b/gui-libs/xdg-desktop-portal-wlr/xdg-desktop-portal-wlr-0.7.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -12,7 +12,9 @@ if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="https://github.com/emersion/${PN}.git" inherit git-r3 else - SRC_URI="https://github.com/emersion/${PN}/releases/download/v${PV}/${P}.tar.gz" + inherit verify-sig + SRC_URI="https://github.com/emersion/${PN}/releases/download/v${PV}/${P}.tar.gz -> ${P}.gh.tar.gz + https://github.com/emersion/${PN}/releases/download/v${PV}/${P}.tar.gz.sig -> ${P}.gh.tar.gz.sig" KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv x86" fi @@ -43,6 +45,11 @@ BDEPEND=" virtual/pkgconfig " +if [[ ${PV} != 9999 ]]; then + BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-emersion )" + VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/emersion.asc" +fi + src_configure() { local emesonargs=() diff --git a/gui-libs/xdg-desktop-portal-wlr/xdg-desktop-portal-wlr-0.7.1-r2.ebuild b/gui-libs/xdg-desktop-portal-wlr/xdg-desktop-portal-wlr-0.7.1-r2.ebuild index 66ba3bf81dd9c..81fcc8230d1a7 100644 --- a/gui-libs/xdg-desktop-portal-wlr/xdg-desktop-portal-wlr-0.7.1-r2.ebuild +++ b/gui-libs/xdg-desktop-portal-wlr/xdg-desktop-portal-wlr-0.7.1-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -12,7 +12,9 @@ if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="https://github.com/emersion/${PN}.git" inherit git-r3 else - SRC_URI="https://github.com/emersion/${PN}/releases/download/v${PV}/${P}.tar.gz" + inherit verify-sig + SRC_URI="https://github.com/emersion/${PN}/releases/download/v${PV}/${P}.tar.gz -> ${P}.gh.tar.gz + https://github.com/emersion/${PN}/releases/download/v${PV}/${P}.tar.gz.sig -> ${P}.gh.tar.gz.sig" KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv x86" fi @@ -43,6 +45,11 @@ BDEPEND=" virtual/pkgconfig " +if [[ ${PV} != 9999 ]]; then + BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-emersion )" + VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/emersion.asc" +fi + src_configure() { local emesonargs=() diff --git a/gui-libs/xdg-desktop-portal-wlr/xdg-desktop-portal-wlr-9999.ebuild b/gui-libs/xdg-desktop-portal-wlr/xdg-desktop-portal-wlr-9999.ebuild index a974ee84c315e..6516ec3b6cba7 100644 --- a/gui-libs/xdg-desktop-portal-wlr/xdg-desktop-portal-wlr-9999.ebuild +++ b/gui-libs/xdg-desktop-portal-wlr/xdg-desktop-portal-wlr-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -12,7 +12,9 @@ if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="https://github.com/emersion/${PN}.git" inherit git-r3 else - SRC_URI="https://github.com/emersion/${PN}/releases/download/v${PV}/${P}.tar.gz" + inherit verify-sig + SRC_URI="https://github.com/emersion/${PN}/releases/download/v${PV}/${P}.tar.gz + https://github.com/emersion/${PN}/releases/download/v${PV}/${P}.tar.gz.sig" KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" fi @@ -43,6 +45,11 @@ BDEPEND=" virtual/pkgconfig " +if [[ ${PV} != 9999 ]]; then + BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-emersion )" + VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/emersion.asc" +fi + src_configure() { local emesonargs=()