From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0A627158041 for ; Tue, 26 Mar 2024 16:32:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 473C7E2A1F; Tue, 26 Mar 2024 16:32:13 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1F29AE2A1F for ; Tue, 26 Mar 2024 16:32:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 06CEF340DE6 for ; Tue, 26 Mar 2024 16:32:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 540A215EF for ; Tue, 26 Mar 2024 16:32:10 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1711470721.5016ac44d7fb63c224eda3784f01e6dea4066bc3.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libproxy/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/libproxy/libproxy-0.5.4-r1.ebuild X-VCS-Directories: net-libs/libproxy/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 5016ac44d7fb63c224eda3784f01e6dea4066bc3 X-VCS-Branch: master Date: Tue, 26 Mar 2024 16:32:10 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e5165a03-287d-48d8-9d1e-a8669293f0d8 X-Archives-Hash: b6b3a0fc031470dd653ddfbf9431cb47 commit: 5016ac44d7fb63c224eda3784f01e6dea4066bc3 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Mar 24 20:23:59 2024 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Tue Mar 26 16:32:01 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5016ac44 net-libs/libproxy: Drop unused IUSE kde and dependency RDEPEND on kde-frameworks/kconfig:5 was only needed in <0.5, now this seems to be done without KDE Frameworks facilities, for better or worse. With the dependency gone I see no reason to expose this option to the user any longer. Closes: https://bugs.gentoo.org/927234 Signed-off-by: Andreas Sturmlechner gentoo.org> net-libs/libproxy/libproxy-0.5.4-r1.ebuild | 68 ++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) diff --git a/net-libs/libproxy/libproxy-0.5.4-r1.ebuild b/net-libs/libproxy/libproxy-0.5.4-r1.ebuild new file mode 100644 index 000000000000..b0c3841f68a2 --- /dev/null +++ b/net-libs/libproxy/libproxy-0.5.4-r1.ebuild @@ -0,0 +1,68 @@ +# 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 ~ia64 ~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 + $(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 +}