aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfgang Müller2024-03-30 13:30:33 +0100
committerWolfgang Müller2024-03-30 13:30:33 +0100
commitdd63b20242120c510a351732ce8fc96e22f48068 (patch)
treed56f01b7f23ccf356c48bcc837fe899584473e3a
parent8d986210d87e5a9a345974940f821267e0ceebcd (diff)
downloadpramantha-dd63b20242120c510a351732ce8fc96e22f48068.tar.gz
x11-terms/weltschmerz: add 1.6.0-r1
Migrate to EAPI 8 and support the verify-sig USE flag.
-rw-r--r--x11-terms/weltschmerz/Manifest3
-rw-r--r--x11-terms/weltschmerz/weltschmerz-1.6.0-r1.ebuild49
-rw-r--r--x11-terms/weltschmerz/weltschmerz-1.6.0.ebuild29
3 files changed, 51 insertions, 30 deletions
diff --git a/x11-terms/weltschmerz/Manifest b/x11-terms/weltschmerz/Manifest
index 20b8e2f..536cb38 100644
--- a/x11-terms/weltschmerz/Manifest
+++ b/x11-terms/weltschmerz/Manifest
@@ -1,3 +1,4 @@
+DIST weltschmerz-1.6.0.sha.sig 245 BLAKE2B 317ec5ab71ba2be7052617b2ecfeae8303628c0c8590aad891c93c75b35e91fb3ec3ecfce7ad08fd815eb13c746fab183fe88a93b6b216128f4c083be97eb557 SHA512 c0ec2707f2089ab029931cdb1a0edb5cb75f185218659bf44224a3ccb84290433216c635189e0437c50ef29967a78ab643d528739f89a641ae0f32f108f13f45
DIST weltschmerz-1.6.0.tar.gz 26689 BLAKE2B 4a95eb103d1cf9ba9d6cd57e6b3ba6ecdc3372b769d8b41c9639c209eecf8dc4b836d24ae7fe48d56eefae516d366ad4a236501cfa8d6916adf670a345dd1685 SHA512 13b73436585720969dc50fc90f452bb2a05e5d7b805b39d1f09e1f8f4770c0c231c7cd79685fdbe6cab34368bbe3827556a1f394bd0d67842d3bca36d63887fd
-EBUILD weltschmerz-1.6.0.ebuild 534 BLAKE2B 0d0141c54cced60f4c885b6390218f6c2c5c8febf5718bb9911ef9b191a4c6c59d0ab4b53e6a58204ea2bc60c73749e3725d1ba045670a293203e522041fb2a8 SHA512 2e3892bfa299667a6f90c962ae7609b3370ec5d2ce0adb7d05a47a3481018aabd1b28ff171c8b81464cadf75c6b6e03b116d32d6de44e21e9dced86aa7c82f99
+EBUILD weltschmerz-1.6.0-r1.ebuild 1001 BLAKE2B 01aad20f81bde6aee0fb7ceb221cc7b974a20f12184f2b89e58e8bff8f0540251571209325508d776f027f60e672f5c9cb4f358a2c736a8a8ffa8767c6883ea7 SHA512 5e2b8ba09401e130bcc28fcf462e9304f0f394bf420c0283f370b2bbeb891434179d812a10d16560df1d8a8581802bfaa7fffc41d0f4dde0123169b4136849d2
MISC metadata.xml 219 BLAKE2B 4017e2b1f6b36f72c186cfeb0955be57076a02d087acfd6caf9b9ec56509b5299be8d40dddaffd04433bb290f6dd35c94c59ac02a4f1ad7e63b13648e465e594 SHA512 555d3bce3f8cd9b4d78f59f494c326d7893f12c1907c1eb92107595886fc4a5e89b8b9fda7f434e021a9eede5dfd6d0c1dfee721c268ccad3d6a1865a92204e0
diff --git a/x11-terms/weltschmerz/weltschmerz-1.6.0-r1.ebuild b/x11-terms/weltschmerz/weltschmerz-1.6.0-r1.ebuild
new file mode 100644
index 0000000..d7d7c26
--- /dev/null
+++ b/x11-terms/weltschmerz/weltschmerz-1.6.0-r1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+VALA_MIN_API_VERSION="0.44"
+
+VERIFY_SIG_METHOD="signify"
+inherit meson vala verify-sig
+
+DESCRIPTION="A terminal emulator in Vala"
+HOMEPAGE="https://oriole.systems/posts/weltschmerz"
+SRC_URI="
+ https://git.oriole.systems/${PN}/snapshot/${P}.tar.gz
+ verify-sig? (
+ https://git.oriole.systems/weltschmerz/snapshot/${P}.tar.gz.asc
+ -> ${P}.sha.sig
+ )
+"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+RESTRICT="mirror"
+
+BDEPEND="$(vala_depend)
+ sys-devel/gettext
+ verify-sig? ( sec-keys/signify-keys-oriole-systems )"
+
+DEPEND="
+ >=x11-libs/vte-0.56.4:2.91[vala]"
+RDEPEND="${DEPEND}"
+
+VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/signify-keys/oriole-systems-20240330.pub"
+
+src_unpack() {
+ if use verify-sig; then
+ cp "${DISTDIR}"/${P}.{sha.sig,tar.gz} "${WORKDIR}" || die
+ verify-sig_verify_signed_checksums \
+ ${P}.sha.sig sha256 ${P}.tar.gz
+ fi
+ default
+}
+
+src_prepare() {
+ default
+
+ vala_setup
+}
diff --git a/x11-terms/weltschmerz/weltschmerz-1.6.0.ebuild b/x11-terms/weltschmerz/weltschmerz-1.6.0.ebuild
deleted file mode 100644
index 3c747dc..0000000
--- a/x11-terms/weltschmerz/weltschmerz-1.6.0.ebuild
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright 2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-VALA_MIN_API_VERSION="0.44"
-
-inherit meson vala
-
-DESCRIPTION="A terminal emulator in Vala"
-HOMEPAGE="https://oriole.systems/posts/weltschmerz"
-SRC_URI="https://git.oriole.systems/${PN}/snapshot/${P}.tar.gz"
-
-LICENSE="ISC"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-RESTRICT="mirror"
-
-BDEPEND="$(vala_depend)
- sys-devel/gettext"
-
-DEPEND="
- >=x11-libs/vte-0.56.4:2.91[vala]"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
- default
- vala_src_prepare
-}