diff options
Diffstat (limited to 'net-libs/libsignon-glib')
4 files changed, 143 insertions, 6 deletions
diff --git a/net-libs/libsignon-glib/Manifest b/net-libs/libsignon-glib/Manifest index b63f7a3b8016..87b1fcf8e3f6 100644 --- a/net-libs/libsignon-glib/Manifest +++ b/net-libs/libsignon-glib/Manifest @@ -1,5 +1,8 @@ AUX libsignon-glib-1.12-doc-disable.patch 844 SHA256 b1e018828b83454a752d197d5c9db6332584bc94a8eb5f20f55e9ce9b0729299 SHA512 690ee30d4e1d6277c0b02720212654d482173a75657da7f72c30f258921cbe790ea2d47d3de9a598be04e4ef55b995118ab5a537ed728c2735445915810f561d WHIRLPOOL 262f38233ffd5a9834d4513fa5f43d555245a8148e2b4b6f923cbf0b4c5a30e79e2fffa43eb1001effb32b1e3b88d9ae55c9489959e87f96e64776272a3e496c +AUX libsignon-glib-1.14-default-opts.patch 1714 SHA256 7390b1ee3502fd80b2e7865ace1d2f9288990bbb3ea108019c7d477c924dc87c SHA512 bb27417ff1dc03510fdd1f019b7b8d044a8c281243467dfa7d2fdd8123ef3290a325a7c9a96bd246f37891bd7ac9ce2702b40396ed067dbac4b9e995a89d2430 WHIRLPOOL 3ab8ce2320b33495ab630b6f8c3285c5dd62426d687e60804abb313973e9db9edcf30f0e5700b2b4865b2f110345e28dbc184cf52ecf80eb0a2279ca5eb4a4cd DIST libsignon-glib-1.13.tar.gz 51601 SHA256 8e0e450e719c16f79d3c3aadb98656ed5967a2f2cd24c1d9cd5747e670a087bc SHA512 aaae6a37a113685eb36ddccd497e387617cf0900506638cbafbac282c4d63ade41f4c915ad6f04214c58af580b70d9062ecf3e1618b6f5fe07dad50c5dc125a6 WHIRLPOOL 8f0d1d51588e42c9fac51883a9ecb08b6ad4949fc8f335c2259f967ea8f3555b04b3ca46f323b20591a2bc85dc1b5bba3968fec1be3e4dfd7a9464e2c5d6880e -EBUILD libsignon-glib-1.13-r1.ebuild 1684 SHA256 9481a91440927a361f0960bb7358c7651de3d9a69f5a8730636f3459bbc6edf6 SHA512 4f43d6b4061b0d2198266b8859b3b495d348ec9f918563eac22f486862c812767019bbeada1125937af3f39781501732b16e0aa2f20b0199895210da7caa4d37 WHIRLPOOL af5e0769bbc28d2a14be6de100ad63282ef4487ca4b1c6a9b13de64550241c2e2254a09fd174f40f9e0358c2990f397f5db4d63e1864228de6e2183e3eaa19ee +DIST libsignon-glib-1.14.tar.gz 54019 SHA256 99db552f250d0853c468a3f03872123bb7102dbdc91e15a7a4855f7a47dd2fca SHA512 c2277933d6ec2c3288ce510c853da7719116dac15d60c7114fcdcb87d04e7f70390d066938dea6aa0f819fbd70158fb875c5be5684c47fd27c0b6c55e9467a1d WHIRLPOOL 17ba0ab1a2cb64d0021aadc1a516d3ac85b86439ffb4d11e6c0ee87c6b39df84b82a89c29ff66e7547ad63137861479b86c91ad960ee4ee40d3f494a56621c78 +EBUILD libsignon-glib-1.13-r1.ebuild 1697 SHA256 00d9251ff29ed866539e7c9d916370d41adde35d43ef71c4a446cec36238b5e6 SHA512 c19bd7185b8aede936c4cf1b0fa6ff237538b7a3b9943670529defb637f116adda61bc7beee5b6acc750f420763afb5eb3d8836cf0c4adbc7b49931ba62b4fa2 WHIRLPOOL cf9561f48a7a1b3e2a84367de81c5632e85c4ce87f98597278975f2528a5d6546f741c31b4d7a1966a29ec3f354e3f8ebc2128c9692f63337b7f2cd92dba7178 +EBUILD libsignon-glib-1.14.ebuild 1754 SHA256 867853043cc92ba99ef70041e12949bea2ed75f9c55a7181cabb976a930aa379 SHA512 8e2dc163b9c68ad2ffd36f5763bb476dd3b43b71979bb601664e2c430416687515c09b01ec27171a09a93dc3dbb4483bb44c287bcae43147c31e04624f3fa907 WHIRLPOOL f9381bc1f712a03c02aa53e9c3b90330aa89954e76542a2cf0716099829f51cb8842fee5662fe4bb4e738e29b6a15dbe8aef08f39de9d05a06bc9251ae2c9b70 MISC ChangeLog 2717 SHA256 4cc25f89a1e21f313f5ab4b8f2d155b08a414a52e6a01ab0819c5a7153e1d3d4 SHA512 7ad69f6734bd5c6814a7b31f991b04b30c241968c137142dd26eefa775afc683aa3f18a1a838e1cc1ee43fccff7edc05ad75e45671becbb86684822aef213ae7 WHIRLPOOL b060bc259883b87b137cc532d9f9686b4f4303983411a1126ba0c5e52002c7b200bb7ba71e918de6b0ad2022f0d02861579051b8a4779afcf424ddd26149ba83 MISC metadata.xml 249 SHA256 584f1dcf51866dc24a9abf7a89bfba0fad11dde81ae1c1b715da41770d233c99 SHA512 76a5a340b13f0053ca3c5e94ed24380ea8d29b45ac8655419e22eaadb1e4a827c04d2e7e36b65145c4964e6526f656618fc6ac144e277ef53cb7373e6239e3c3 WHIRLPOOL 200c07a8bf7c55b11b7936d5cd30e991a511684913334e72f59def66c0ced5fed0b4a8754e2d98bffbab631cb90d4e17fcccc59d5dcc5a8e988f69e47c85518c diff --git a/net-libs/libsignon-glib/files/libsignon-glib-1.14-default-opts.patch b/net-libs/libsignon-glib/files/libsignon-glib-1.14-default-opts.patch new file mode 100644 index 000000000000..5dcf8cc45695 --- /dev/null +++ b/net-libs/libsignon-glib/files/libsignon-glib-1.14-default-opts.patch @@ -0,0 +1,45 @@ +From 4982923fdc7be9978d3b089fb443bcb0e20243eb Mon Sep 17 00:00:00 2001 +From: Alberto Mardegan <alberto.mardegan@canonical.com> +Date: Tue, 21 Jun 2016 13:35:03 +0300 +Subject: [PATCH] Build: fix value of default options in configure.ac + +GLib assertions where always disabled, even if the --disable-* +parameters where not passed to configure.ac. + +Quick reference: +http://www.robster.org.uk/2011/02/07/autofoo-ac_arg_enable/ +--- + configure.ac | 9 ++++++--- + 1 file changed, 6 insertions(+), 3 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 364f9f2..3cde223 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -63,17 +63,20 @@ AM_CONDITIONAL([ENABLE_TESTS], [test "x$have_check" = "xyes"]) + GTK_DOC_CHECK([1.14], [--flavour no-tmpl]) + + AC_ARG_ENABLE([cast-checks], +- [AS_HELP_STRING([--disable-cast-checks], [compile with GLib cast checks disabled])]) ++ [AS_HELP_STRING([--disable-cast-checks], [compile with GLib cast checks disabled])], ++ [], [enable_cast_checks=yes]) + AS_IF([test "x$enable_cast_checks" = "xno"], + [CFLAGS="$CFLAGS -DG_DISABLE_CAST_CHECKS"]) + + AC_ARG_ENABLE([asserts], +- [AS_HELP_STRING([--disable-asserts], [compile with GLib assertions disabled])]) ++ [AS_HELP_STRING([--disable-asserts], [compile with GLib assertions disabled])], ++ [], [enable_asserts=yes]) + AS_IF([test "x$enable_asserts" = "xno"], + [CFLAGS="$CFLAGS -DG_DISABLE_ASSERTS"]) + + AC_ARG_ENABLE([checks], +- [AS_HELP_STRING([--disable-checks], [compile with GLib checks disabled])]) ++ [AS_HELP_STRING([--disable-checks], [compile with GLib checks disabled])], ++ [], [enable_checks=yes]) + AS_IF([test "x$checks" = "xno"], + [CFLAGS="$CFLAGS -DG_DISABLE_CHECKS"]) + +-- +libgit2 0.26.0 + diff --git a/net-libs/libsignon-glib/libsignon-glib-1.13-r1.ebuild b/net-libs/libsignon-glib/libsignon-glib-1.13-r1.ebuild index 83bffcb79c46..7a39014192a5 100644 --- a/net-libs/libsignon-glib/libsignon-glib-1.13-r1.ebuild +++ b/net-libs/libsignon-glib/libsignon-glib-1.13-r1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 PYTHON_COMPAT=( python{2_7,3_4,3_5} ) -inherit autotools eutils python-r1 vcs-snapshot xdg-utils +inherit autotools python-r1 vcs-snapshot xdg-utils DESCRIPTION="GLib binding for the D-Bus API provided by signond" HOMEPAGE="https://01.org/gsso/" @@ -15,7 +15,7 @@ LICENSE="LGPL-2.1" KEYWORDS="amd64 x86" IUSE="debug doc +introspection python test" -REQUIRED_USE="${PYTHON_REQUIRED_USE} python? ( introspection )" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} introspection )" RDEPEND=" dev-libs/glib:2 @@ -40,7 +40,7 @@ src_prepare() { default if ! use doc; then - epatch "${FILESDIR}/${PN}-1.12-doc-disable.patch" + eapply "${FILESDIR}/${PN}-1.12-doc-disable.patch" fi eautoreconf @@ -83,5 +83,5 @@ src_install() { if use python; then python_foreach_impl run_in_build_dir default fi - prune_libtool_files + find "${D}" -name '*.la' -delete || die } diff --git a/net-libs/libsignon-glib/libsignon-glib-1.14.ebuild b/net-libs/libsignon-glib/libsignon-glib-1.14.ebuild new file mode 100644 index 000000000000..fe543c511282 --- /dev/null +++ b/net-libs/libsignon-glib/libsignon-glib-1.14.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) +inherit autotools python-r1 vcs-snapshot xdg-utils + +DESCRIPTION="GLib binding for the D-Bus API provided by signond" +HOMEPAGE="https://01.org/gsso/" +SRC_URI="https://gitlab.com/accounts-sso/libsignon-glib/repository/archive.tar.gz?ref=VERSION_${PV} -> ${P}.tar.gz" + +SLOT="0" +LICENSE="LGPL-2.1" +KEYWORDS="~amd64 ~x86" +IUSE="debug doc +introspection python test" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} introspection )" + +RDEPEND=" + dev-libs/glib:2 + net-libs/signond + introspection? ( dev-libs/gobject-introspection:= ) + python? ( + ${PYTHON_DEPS} + dev-python/pygobject:3[${PYTHON_USEDEP}] + ) +" +DEPEND="${RDEPEND} + dev-util/gdbus-codegen + doc? ( dev-util/gtk-doc ) +" + +DOCS=( AUTHORS NEWS README.md ) + +# needs more love +RESTRICT="test" + +PATCHES=( "${FILESDIR}/${P}-default-opts.patch" ) + +src_prepare() { + default + + if ! use doc; then + eapply "${FILESDIR}/${PN}-1.12-doc-disable.patch" + fi + + eautoreconf +} + +src_configure() { + xdg_environment_reset + + myconfigure() { + local myeconfargs=( + $(use_enable debug) + $(use_enable doc gtk-doc) + $(use_enable introspection) + $(use_enable python) + $(use_enable test tests) + ) + + econf "${myeconfargs[@]}" + } + + if use python; then + python_copy_sources + python_foreach_impl run_in_build_dir myconfigure + else + myconfigure + fi +} + +src_compile() { + # fails to compile with more than one thread + MAKEOPTS="${MAKEOPTS} -j1" + default + if use python; then + python_foreach_impl run_in_build_dir default + fi +} + +src_install() { + default + if use python; then + python_foreach_impl run_in_build_dir default + fi + find "${D}" -name '*.la' -delete || die +} |