summaryrefslogtreecommitdiff
path: root/x11-misc/revelation
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-05-12 16:42:50 +0300
committerV3n3RiX <venerix@koprulu.sector>2022-05-12 16:42:50 +0300
commit752d6256e5204b958b0ef7905675a940b5e9172f (patch)
tree330d16e6362a49cbed8875a777fe641a43376cd3 /x11-misc/revelation
parent0c100b7dd2b30e75b799d806df4ef899fd98e1ea (diff)
gentoo resync : 12.05.2022
Diffstat (limited to 'x11-misc/revelation')
-rw-r--r--x11-misc/revelation/Manifest5
-rw-r--r--x11-misc/revelation/files/revelation-0.5.4-issue87-fix-meson-0.60.patch11
-rw-r--r--x11-misc/revelation/revelation-0.5.4-r1.ebuild4
-rw-r--r--x11-misc/revelation/revelation-0.5.5.ebuild57
4 files changed, 75 insertions, 2 deletions
diff --git a/x11-misc/revelation/Manifest b/x11-misc/revelation/Manifest
index cb3beba56498..e2361be89cc6 100644
--- a/x11-misc/revelation/Manifest
+++ b/x11-misc/revelation/Manifest
@@ -1,3 +1,6 @@
+AUX revelation-0.5.4-issue87-fix-meson-0.60.patch 352 BLAKE2B ea661c84f2c125de9a5bffbd0f947c8b90f18016033501396ff22b0d51ae5d3d10de7bdadac20c2f8ecd5e418a0694908b240ba6058ceb3ed4843f958b54e5a7 SHA512 3bc54de1c96e57f4e0ccf68f06f051cd57668ddd282061db8a5c9ccac6d8ca9657a9879308b7a4a72aefbeb0784b4826bdb7342feb19e19373d33d0e52602bf3
DIST revelation-0.5.4.tar.xz 282600 BLAKE2B 519b01252b82acf0e927a9d19783792f83822cc1f1a4c3be4af3678d5446f8012d993e12397f44aae616aca88257970de7391a1269e24cc1ebc08275d0c962ed SHA512 bd536f6c03e443d91a20606765b661dc54f3e4c1f45d060d3829a894a31e553a61785bb31d7508267abd66e057fc1d93f1716ed1b553566d92a2580ad696606f
-EBUILD revelation-0.5.4-r1.ebuild 1171 BLAKE2B b8ded17b2056a1108636bc83b14385864b906b249e9e50c22c6aaa4eba989fb95a50cf9589a97fad68a004ed9932b415227197e2ac25ff3602eb6cbacd52bb2c SHA512 7fc74966a8a8b6aa84c849f158ade16daaf44a566a63ae49c556d011e34caab4c32a273b08cc3c5861e1fb53b42a90e223fe80b8c190e8cb56240de21626f89f
+DIST revelation-0.5.5.tar.xz 282252 BLAKE2B 7c4c430d24d79b820139dd2b4989dc2d78c967b16c864149d2aafa9e91ddc26a3351f42b5782812202f77a36529c46d9515cc1aea73346c7e8e017079b810a7d SHA512 17bfeda87e27c00f12bc068446d053cee394282e5eabea6d075ac262b5f400f31520d2f9b29f99097d1d6ad72bbcf5d2d9d4da2a0eba2806ff0adbf1bb47bb0f
+EBUILD revelation-0.5.4-r1.ebuild 1244 BLAKE2B ee2d71fa0ed1b0409860e2d5150f607ee3fb0f2be9a10c185fbcb084f7894c94d77d91afa7ddf0c12e3f381998b2c98ff748a78c298cff0c60db6369ffab88c5 SHA512 d0f8ac5d51cae80bdd4b7ca19f1404c535b32ec222003c4eaf3d5e11dbbf05cc16847d09d72d077b4345a955b9a824021d236c64e64ef589137b9b4ad163f6e1
+EBUILD revelation-0.5.5.ebuild 1206 BLAKE2B 56c6ba3f746b71b47abedf7ba79231414c80558febd4b9ffefc342c8c298d74a0c3394e1bd9de5c62b39d11fb61344daffe29575a896e144920e2e72f384d216 SHA512 801031efeed92a30c23072cfb5a57cff70bd313f4f5900cd5bd872b892647339c4fdf03d1e82949d6a96edeb86b2ba8a4868cd4d604663e4806ae98f93e67090
MISC metadata.xml 413 BLAKE2B cf3df69453155e356f6f30026a06610f4cd5639d8de0ae4842b82442234c235b3c8933bf6943193674b0f7ca894f00b8aebceb2de65f11186ea0c66c42e6bab9 SHA512 e00344899c210aa59b4ac218773745d418730c934784cf4cef0a71511bd7ca4888a9591ef0fcf4603579b189cb78ef2f8b7654c53c8839f75ce6d400bfc3d408
diff --git a/x11-misc/revelation/files/revelation-0.5.4-issue87-fix-meson-0.60.patch b/x11-misc/revelation/files/revelation-0.5.4-issue87-fix-meson-0.60.patch
new file mode 100644
index 000000000000..4a224fc529d1
--- /dev/null
+++ b/x11-misc/revelation/files/revelation-0.5.4-issue87-fix-meson-0.60.patch
@@ -0,0 +1,11 @@
+https://github.com/mikelolasagasti/revelation/issues/87
+--- a/data/meson.build
++++ b/data/meson.build
+@@ -59,7 +59,6 @@ rvl_appstreamdir = join_paths(rvl_datadir, 'metainfo')
+
+ # Merge the translations with the appdata file
+ i18n.merge_file(
+- appdata,
+ input: appdata + '.in',
+ output: appdata,
+ po_dir: join_paths(meson.source_root(), 'po'),
diff --git a/x11-misc/revelation/revelation-0.5.4-r1.ebuild b/x11-misc/revelation/revelation-0.5.4-r1.ebuild
index 61972b294f01..ef1516172cbe 100644
--- a/x11-misc/revelation/revelation-0.5.4-r1.ebuild
+++ b/x11-misc/revelation/revelation-0.5.4-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -33,6 +33,8 @@ RDEPEND="${PYTHON_DEPS}
DEPEND="${RDEPEND}"
+PATCHES=( "${FILESDIR}"/revelation-0.5.4-issue87-fix-meson-0.60.patch )
+
src_prepare() {
find -name '*.py' -exec \
sed -i -e 's:Cryptodome:Crypto:' meson.build {} + || die
diff --git a/x11-misc/revelation/revelation-0.5.5.ebuild b/x11-misc/revelation/revelation-0.5.5.ebuild
new file mode 100644
index 000000000000..f66d489a5da5
--- /dev/null
+++ b/x11-misc/revelation/revelation-0.5.5.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit gnome2-utils python-single-r1 meson xdg
+
+DESCRIPTION="A password manager for GNOME"
+HOMEPAGE="https://revelation.olasagasti.info/ https://github.com/mikelolasagasti/revelation"
+SRC_URI="https://github.com/mikelolasagasti/revelation/releases/download/${P}/${P}.tar.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# Upstream does not provide any test suite.
+RESTRICT="test"
+
+RDEPEND="${PYTHON_DEPS}
+ $(python_gen_cond_dep '
+ dev-python/defusedxml[${PYTHON_USEDEP}]
+ dev-python/pycryptodome[${PYTHON_USEDEP}]
+ dev-python/pygobject[${PYTHON_USEDEP}]
+ dev-libs/libpwquality[python,${PYTHON_USEDEP}]
+ ')
+ x11-libs/gtk+:3
+ dev-libs/glib
+ dev-libs/gobject-introspection
+"
+
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ find -name '*.py' -exec \
+ sed -i -e 's:Cryptodome:Crypto:' meson.build {} + || die
+ default
+}
+
+src_install() {
+ meson_src_install
+ python_fix_shebang "${ED}"
+ python_optimize
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ gnome2_schemas_update
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ gnome2_schemas_update
+}