summaryrefslogtreecommitdiff
path: root/app-crypt/gcr
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-03-30 09:57:51 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-03-30 09:57:51 +0100
commit93c735f5f1ff867aadcc947348d984ff2c5a29cb (patch)
treeab90ba1ebca896a4465b594ac61538dbf7437bcd /app-crypt/gcr
parentde9b2d9850ea1cb41c216274646d749ccec8c311 (diff)
gentoo auto-resync : 30:03:2023 - 09:57:51
Diffstat (limited to 'app-crypt/gcr')
-rw-r--r--app-crypt/gcr/Manifest2
-rw-r--r--app-crypt/gcr/gcr-4.1.0.ebuild93
2 files changed, 95 insertions, 0 deletions
diff --git a/app-crypt/gcr/Manifest b/app-crypt/gcr/Manifest
index da939f479027..b92f5bfeac17 100644
--- a/app-crypt/gcr/Manifest
+++ b/app-crypt/gcr/Manifest
@@ -2,6 +2,8 @@ AUX 3.38.0-optional-vapi.patch 2278 BLAKE2B 7011aec6831b9488ba19efd41b6f3772af10
AUX 3.41.1-implicit-func-decl.patch 1132 BLAKE2B 90cd16d7821667d3f5790cce9503b9202f07499a5ebf65b3c4144d103602b2e163b6f1200276c54d13ed9dc14882cc0b695f119aba7eecba5792be17384c4ef5 SHA512 6bdde9de3816c8c182e47802f4ed13fcb21c50dc9b402cb969086285a6c33a0314e68197965eb49de27bc5fd877dc151d9d3132fddb1f970bbcc1990a7dc0b54
DIST gcr-3.41.1.tar.xz 1030368 BLAKE2B 9d254b7f2ad864c45200e58b685db97c1ffbc83d29ba8cbda94d30ec565aa3dc5a2535305dc63b3264131b68ec9e48f37ac30d5ba08d0ce156f3b6091cd62dc1 SHA512 dd70d41636ede863d05824b26823a8f572902f7a9b6f09b0c70586ef0d4c046864e6956130b9231850a515a9fbfcd56faf20354c1cf8f697f005827c048a2325
DIST gcr-4.0.0.tar.xz 715600 BLAKE2B 8f656cea44bc9c2ab710d33db61f26b7c7f1df73a59430945aa3c9e4acad503d7d93f916f90e2c4efb0e1379eabd9616e974a76c3d3564657b16cd46dd5954c6 SHA512 5d036710c9ae58016467e63b60ab18e461ec1db1740880dccf555dd8c555b382b1ceac3e3ee6fda22dce395e93ba8ecf0578d6c815d08c2790e618f7ca5bfd50
+DIST gcr-4.1.0.tar.xz 722776 BLAKE2B 910cef50301a5988979f368501a8c62cf264b8af54c909309c335b06117e0504c39afd5f1c92613f13ce09db154ae5036af1ade50bd7f1482c48efd7abf02d22 SHA512 a91a5b0a7b62f7756dec2e7e19a59a4087a1423ccf24c5dd6d4a18de0a58fd91c5d5c131233360a3334c236b28ee94ec6889fcec1de85771a4b6a5daa5b9e203
EBUILD gcr-3.41.1-r2.ebuild 2385 BLAKE2B 37e94ba8892b569ee0850a3a7f61c633708216122964b533969172a2b3e9a1942163216d10412bea9f9eee677125edc71af564c1a8a1783ed2f11108ec432032 SHA512 3a225646344563bc1af82cb09aea7c6755c5c93b4bddade3dde981b0c91f15f97a3dabaaa52fea9b426371e5f97bf4018129acbd448dea12b4b6ca93c36e6d7c
EBUILD gcr-4.0.0.ebuild 2076 BLAKE2B fbdadaff52ace8a6c5329998a9eeeec90c61d9301802258166a35f269f4339988ea483241fdcce131e2e7390e117ebc53a268b588a9e8474377e3e866fda7c97 SHA512 6b4c41db6e16c5a5662a4186ba8034aa803298fee167878791b86f00879f44fde5d2bcb902e8ac24f8f437428a063ebe1173d5ae8dadea1adacafa080113baac
+EBUILD gcr-4.1.0.ebuild 2085 BLAKE2B ea6d7ace5112e9a84cdc99afb919be20c1e4c61755421e9745523df4ffc4b77f36b355354d653db34ca62ceecd16577a5a135fe3baea48b5d06129922554870d SHA512 047966ee7cd44471f6acabe4f343c77dcd0b7d48f323a3d1f729861966751da76dff72f49aa4fcbbb739d54ae457b641852cce9250f358fecc9db748d274fd3a
MISC metadata.xml 344 BLAKE2B a5b129a4c722cc7b8b0e40ba087dab0449ed91ffeaec73b433fc2fcaa1d1c67a1f1db3ab639676880f526bb9ea55d71c7e876a947116c279cbc186d14090b10c SHA512 502308ab38854c2b61212f4b049bd20534147b9a7c565f5a5246a129fbcd12dc4a7cf1d39b560dd991a3211628afaf964a6c8f020c4e446ef0b8cb8688df0028
diff --git a/app-crypt/gcr/gcr-4.1.0.ebuild b/app-crypt/gcr/gcr-4.1.0.ebuild
new file mode 100644
index 000000000000..774dcf5d8166
--- /dev/null
+++ b/app-crypt/gcr/gcr-4.1.0.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit gnome.org gnome2-utils meson python-any-r1 vala xdg
+
+DESCRIPTION="Libraries for cryptographic UIs and accessing PKCS#11 modules"
+HOMEPAGE="https://gitlab.gnome.org/GNOME/gcr"
+
+LICENSE="GPL-2+ LGPL-2+"
+SLOT="4/gcr-4.4-gck-2.2" # subslot = soname and soversion of libgcr and libgck
+
+IUSE="gtk gtk-doc +introspection systemd test +vala"
+REQUIRED_USE="
+ gtk-doc? ( introspection )
+ vala? ( introspection )
+"
+RESTRICT="!test? ( test )"
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
+
+DEPEND="
+ >=dev-libs/glib-2.68.0:2
+ >=dev-libs/libgcrypt-1.2.2:0=
+ >=app-crypt/p11-kit-0.19.0
+ >=app-crypt/libsecret-0.20
+ systemd? ( sys-apps/systemd:= )
+ gtk? ( gui-libs/gtk:4[introspection?] )
+ >=sys-apps/dbus-1
+ introspection? ( >=dev-libs/gobject-introspection-1.58:= )
+ !<app-crypt/gcr-3.41.1-r1
+"
+RDEPEND="${DEPEND}"
+PDEPEND="app-crypt/gnupg"
+BDEPEND="
+ ${PYTHON_DEPS}
+ gtk? ( dev-libs/libxml2:2 )
+ dev-util/gdbus-codegen
+ dev-util/glib-utils
+ gtk-doc? ( dev-util/gi-docgen )
+ >=sys-devel/gettext-0.19.8
+ test? ( app-crypt/gnupg )
+ virtual/pkgconfig
+ vala? ( $(vala_depend) )
+"
+
+pkg_setup() {
+ python-any-r1_pkg_setup
+}
+
+src_prepare() {
+ default
+ use vala && vala_setup
+ xdg_environment_reset
+}
+
+src_configure() {
+ local emesonargs=(
+ $(meson_use introspection)
+ $(meson_use gtk gtk4)
+ $(meson_use gtk-doc gtk_doc)
+ -Dgpg_path="${EPREFIX}"/usr/bin/gpg
+ -Dssh_agent=true
+ $(meson_feature systemd)
+ $(meson_use vala vapi)
+ )
+ meson_src_configure
+}
+
+src_test() {
+ dbus-run-session meson test -C "${BUILD_DIR}" || die 'tests failed'
+}
+
+src_install() {
+ meson_src_install
+
+ if use gtk-doc; then
+ mkdir -p "${ED}"/usr/share/gtk-doc/html/ || die
+ mv "${ED}"/usr/share/doc/{gck-2,gcr-4} "${ED}"/usr/share/gtk-doc/html/ || die
+ fi
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ gnome2_schemas_update
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ gnome2_schemas_update
+}