commit: 054d120501c171693d1df66611e93a8e3237a98f Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> AuthorDate: Wed Oct 30 15:17:33 2024 +0000 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> CommitDate: Wed Oct 30 15:28:02 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=054d1205
net-libs/libproxy: Version bump to 0.5.9 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> net-libs/libproxy/Manifest | 1 + net-libs/libproxy/libproxy-0.5.9.ebuild | 69 +++++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+) diff --git a/net-libs/libproxy/Manifest b/net-libs/libproxy/Manifest index 054fe4705196..588c90bd83d2 100644 --- a/net-libs/libproxy/Manifest +++ b/net-libs/libproxy/Manifest @@ -1 +1,2 @@ DIST libproxy-0.5.5.tar.gz 60880 BLAKE2B fedf06db2e39ca1cacf489542597ab002a8c943234fda2f9e5482d43d3b3b0a5af2c4d270eb678e24bb3c4c9ac8e37e65d609af84d02be9541555e953be6a0f5 SHA512 101139fe6972c9b8b46a8bc5f5cea807649ad21e201a9cd7d532d2145c34eadc861d8039fc8a2bf129f364ddc99ffb1324ab8f19bb0b4b9e52eb0f6bd703c8a8 +DIST libproxy-0.5.9.tar.gz 58165 BLAKE2B 5ac24fa025d170eeaed94b6322bf60e6c81669cc2199f4c6a75e3810c62e2e126a0f9a69e48dda7e6773814a0252fa8f6350282488f442eb88975bfabf8238aa SHA512 781fdd51ea8467f603a46dcab8d0e7a97eb4834acfbe57d00b103e2a075dd32eeb16aece88d4e018192eb58fe54f42aefd954873e6d8364836866d0167e063d5 diff --git a/net-libs/libproxy/libproxy-0.5.9.ebuild b/net-libs/libproxy/libproxy-0.5.9.ebuild new file mode 100644 index 000000000000..f5fdb043dd2f --- /dev/null +++ b/net-libs/libproxy/libproxy-0.5.9.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson-multilib vala + +DESCRIPTION="Library for automatic proxy configuration management" +HOMEPAGE="https://github.com/libproxy/libproxy" +SRC_URI="https://github.com/libproxy/libproxy/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="duktape gnome gtk-doc +introspection test vala" +REQUIRED_USE=" + gtk-doc? ( introspection ) + vala? ( introspection ) +" +RESTRICT="!test? ( test )" + +DEPEND=" + >=dev-libs/glib-2.71.3:2[${MULTILIB_USEDEP}] + gnome? ( gnome-base/gsettings-desktop-schemas ) + duktape? ( + dev-lang/duktape:= + net-misc/curl + ) + introspection? ( dev-libs/gobject-introspection ) +" +RDEPEND="${DEPEND}" +BDEPEND=" + virtual/pkgconfig + gtk-doc? ( dev-util/gi-docgen ) + vala? ( $(vala_depend) ) +" + +src_prepare() { + use vala && vala_setup + default +} + +multilib_src_configure() { + local emesonargs=( + $(meson_native_use_bool gtk-doc docs) + $(meson_use test tests) + -Dconfig-env=true + $(meson_use gnome config-gnome) + -Dconfig-windows=false + -Dconfig-sysconfig=true + -Dconfig-osx=false + -Dconfig-kde=true + -Dconfig-xdp=true + $(meson_native_use_bool duktape pacrunner-duktape) + $(meson_native_use_bool vala vapi) + $(meson_use duktape curl) + $(meson_native_use_bool introspection) + ) + meson_src_configure +} + +multilib_src_install_all() { + einstalldocs + + if use gtk-doc; then + mkdir -p "${ED}"/usr/share/gtk-doc/html/ || die + mv "${ED}"/usr/share/doc/${PN}-1.0 "${ED}"/usr/share/gtk-doc/html/ || die + fi +}