diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-04-07 00:30:44 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-04-07 00:30:44 +0100 |
commit | d749d42b2ef572969f0b7fb5016888f25cc28a8d (patch) | |
tree | 7bda27a6c2d0ccc2dd2aa94c6e603ef6d00f57a2 /net-libs/libaccounts-glib | |
parent | 68a32bc9fda17e8a546c0bba9d113c4c4659f6bb (diff) |
gentoo auto-resync : 07:04:2024 - 00:30:43
Diffstat (limited to 'net-libs/libaccounts-glib')
-rw-r--r-- | net-libs/libaccounts-glib/Manifest | 4 | ||||
-rw-r--r-- | net-libs/libaccounts-glib/libaccounts-glib-1.27.ebuild | 77 | ||||
-rw-r--r-- | net-libs/libaccounts-glib/metadata.xml | 3 |
3 files changed, 83 insertions, 1 deletions
diff --git a/net-libs/libaccounts-glib/Manifest b/net-libs/libaccounts-glib/Manifest index 318b3f511cb8..e86c4eca0664 100644 --- a/net-libs/libaccounts-glib/Manifest +++ b/net-libs/libaccounts-glib/Manifest @@ -2,5 +2,7 @@ AUX libaccounts-glib-1.25-assert-failure.patch 743 BLAKE2B 5f0ebe2754f4d0b03bfab AUX libaccounts-glib-1.26-fix-incorrect-cleanup-in-ag_account_finalize.patch 1150 BLAKE2B c41449bddae028fb6a444a2d49884c7c53170494ed4fd699b589990a462f67112dc1f3c4359d26b39613456f6e9b5650db97fea39a90e87c007074c791d53b74 SHA512 76f99833910ce5095a3ccb09404ce371e95e40dc4e712a4cc3bdc0046c5a32693ff093956c73dcab9636f35fc83db8c361126ad1623c927cd525f94ffcaf941f AUX libaccounts-glib-1.26-project-version.patch 350 BLAKE2B 6a2115cd408e425e94b637e029f22ab9ada2739bcf29b7e20e80dfc89e571666f5ad909f5f89e7476d4456c9b2e4ad67287df1aacff86ffe8817a66360717871 SHA512 7755e629309017f69c4c9daf71b3df578739970c06d0193009d0bddaa659b5cbe3531b75d95e36cfbe957134aa9eee3707e8d6f9a5a23676f538c49fedfce429 DIST libaccounts-glib-1.26.tar.gz 117365 BLAKE2B a3c7bf4058372001079c9c153b30f947882521f1f9680a63db2883307e998335a1e646112dc8a51640824f238d871d96da2c18b4ef175c837cebfe056ded2cbb SHA512 c08a11087745ba771e539b61de57693390960ad6b4e8217c159be49d31bd7f8856fffa835e7a230f352049bbf7cec9184ff225e74bbc195964221d3d9d49743b +DIST libaccounts-glib-1.27.tar.bz2 88050 BLAKE2B 12d4ded072584150d9011e7c684301cf407d822e42ef131cf5b2d1c370cb5f59f00991a52c27d444dfe654f743984a9b5e9983f204a1a4172e8730f8020a7662 SHA512 3a4ccc9193e69dcab1b6618da0dc628f5a2a7c57174f99adf690bef71bbcec0bde3957077411d0528e85447e9f0d037e3ee93c2a3d3b2e6404b257de34a6493c EBUILD libaccounts-glib-1.26-r1.ebuild 1488 BLAKE2B 4966dd9ee9a1edb22952e893f7aec7abb58ff450874eb7bfb38420927828011ba565bf8eba34a4741e1549ca8b5a073daeacaa06c75d245fa95134b4bd0a6010 SHA512 eb0227ae2fd1a6d411e7369c689f874ccd4da329f7fa4f1b108ca4999acf5dd29bbc187fb21cc28827fe9c16a0eb7db6c337470f759860f3ab28d475af6b2aeb -MISC metadata.xml 250 BLAKE2B f3e9395137ebb9adf46cd35c1b6156f82c04cfa94f964f6da24fe71eb560cf51b4f70ebfa10daaa4884400ec22782d819ab794dfd29e7a47559f07208397195d SHA512 78c4ff15eed76ba883b457be95dabd41e928a0e64a42b758b5eab4d8a95afca27d5ea6a7cfe0948de578b169153a05f08aadfce1ddd41a88732212a1e76e565f +EBUILD libaccounts-glib-1.27.ebuild 1766 BLAKE2B 77d186932226a4622f26c8b7927cafbf3afb2ecde7bf8e177639834c0611bf755e6e4a693fbc6148fa9d67ef0929000bd373ff9a6aeca9c787accb0e7dd8a2aa SHA512 fac3bc03b64b68c64b78379767254f23ee6212c7807f4d236d6abbabdac45fca3db2a971abc474250af076da80cbdbecc2814f92629ff34a77ceff06b6572b71 +MISC metadata.xml 344 BLAKE2B 2fed6fc22aedf54e56f9018264c721e64931d763ea26b8dcd3f0f237a883f85f1f66666423c4e75f09131780dd735385da99181bb3d9fa07edb77589137a92f8 SHA512 26fc1d0cef718001dbe653baa5000546d93694236db429944d66918a00225ba50ebff35959f2344cc06665c65a012853105e61450ad3dc8b1ef6f0d14d5b9547 diff --git a/net-libs/libaccounts-glib/libaccounts-glib-1.27.ebuild b/net-libs/libaccounts-glib/libaccounts-glib-1.27.ebuild new file mode 100644 index 000000000000..64657ad3f041 --- /dev/null +++ b/net-libs/libaccounts-glib/libaccounts-glib-1.27.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +inherit meson python-r1 vala + +DESCRIPTION="Accounts SSO (Single Sign-On) management library for GLib applications" +HOMEPAGE="https://gitlab.com/accounts-sso/libaccounts-glib" +SRC_URI="https://gitlab.com/accounts-sso/${PN}/-/archive/VERSION_${PV}/${PN}-VERSION_${PV}.tar.bz2 -> ${P}.tar.bz2" +S="${WORKDIR}/${PN}-VERSION_${PV}" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" +IUSE="doc test" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RESTRICT="!test? ( test )" + +RDEPEND="${PYTHON_DEPS} + dev-db/sqlite:3 + dev-libs/glib:2 + dev-libs/gobject-introspection:= + dev-libs/libxml2 + dev-python/pygobject:3[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}" +BDEPEND=" + $(vala_depend) + dev-util/gdbus-codegen + dev-util/glib-utils + virtual/pkgconfig + doc? ( dev-util/gtk-doc ) + test? ( + dev-libs/check + dev-util/dbus-test-runner + ) +" + +src_prepare() { + default + vala_setup --ignore-use + + use doc || sed -e "/^subdir('docs')$/d" -i meson.build || die + use test || sed -e "/^subdir('tests')$/d" -i meson.build || die + + # /tmp isn't accessible from sandbox + sed -i -e "s|/tmp/\(.*\)|${T}/\1|" tests/check_ag.c || die + sed -i -e "s|/tmp|${T}|" tests/meson.build || die +} + +src_configure() { + my_configure() { + local emesonargs=( + -Dinstall-py-overrides=true + ) + meson_src_configure + } + python_foreach_impl run_in_build_dir my_configure +} + +src_compile() { + python_foreach_impl run_in_build_dir meson_src_compile +} + +src_test() { + python_foreach_impl run_in_build_dir meson_src_test +} + +src_install() { + einstalldocs + python_foreach_impl run_in_build_dir meson_src_install + python_foreach_impl python_optimize +} diff --git a/net-libs/libaccounts-glib/metadata.xml b/net-libs/libaccounts-glib/metadata.xml index 8641e5bdd399..19b6674bc803 100644 --- a/net-libs/libaccounts-glib/metadata.xml +++ b/net-libs/libaccounts-glib/metadata.xml @@ -5,4 +5,7 @@ <email>kde@gentoo.org</email> <name>Gentoo KDE Project</name> </maintainer> + <upstream> + <remote-id type="gitlab">accounts-sso/libaccounts-glib</remote-id> + </upstream> </pkgmetadata> |