summaryrefslogtreecommitdiff
path: root/net-libs/libproxy
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-02-24 23:40:38 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-02-24 23:40:38 +0000
commitfa49bc1447d334c70e45ded349d3c37319dab7b4 (patch)
tree2bc8bf967b11b890a79ff52dd10544bfe66f4494 /net-libs/libproxy
parent24ee8c58752f0dc4376961a28f7364e6d7c7a7aa (diff)
gentoo auto-resync : 24:02:2024 - 23:40:37
Diffstat (limited to 'net-libs/libproxy')
-rw-r--r--net-libs/libproxy/Manifest2
-rw-r--r--net-libs/libproxy/libproxy-0.5.4.ebuild71
2 files changed, 73 insertions, 0 deletions
diff --git a/net-libs/libproxy/Manifest b/net-libs/libproxy/Manifest
index 65421481241f..1d73c073103e 100644
--- a/net-libs/libproxy/Manifest
+++ b/net-libs/libproxy/Manifest
@@ -1,3 +1,5 @@
DIST libproxy-0.5.3.tar.gz 60069 BLAKE2B adfa982344470251667b113f12f77722f6793ceeec902ccf82e32e80e15836384fbe1ccbec8865fc877fa04b25e6985847eef75b4ce437dbf0410d16e2bd5f36 SHA512 0fa4c677372afa76a9f143abb1472af1df85e1190425ec4168b98e575a9b9c9fe3dcc56062609da8ef266d56dfb153e7f7a1c15aed2d385003d9f3f421d08590
+DIST libproxy-0.5.4.tar.gz 60605 BLAKE2B b603781d454ae9d177522d85027f763275e6f243579e8dd808fc5f740438105ac9f782bd35c39cb0007f42279d8d4f724a81dd06fc79709af227064a477cd70e SHA512 4372570322682369f65317cbeb4e9b9dbcff3d8e5089a3bb3b8efa6cd461468a313793435fd5815fe18360984c44e6895c3c2a62e5e0b07eb0c3bf3532dbb1b2
EBUILD libproxy-0.5.3.ebuild 1747 BLAKE2B fb208199f0e0acf660047a309e05faf97237639b79ec63167826bb847fcf63c23cb91aba150a9ebf1dc6f5ca7e45e1450162db027ba283cc60c78b7e2c72263d SHA512 11af945ec2be8fddf52c7e22ae4fc93872ad62271b0e1a4c0444ab7c2145b67d14f904b3dea7ca91fcc80cd672140eee5be8585c395c85019f9162bb5fb77df5
+EBUILD libproxy-0.5.4.ebuild 1754 BLAKE2B 7a18cf3512679a1659021cad5c052899b17bd174196706a313c231d460887cad2c07c0ea466def05be513f94d2cfe63950b88c525ef25bf4ff90a76572778c4d SHA512 67a9d16b24e88a5bea757f691803f23128ba873661386facffcd8bd7481e7003d46edea64852489988a3c0468b0b3cc9def0e2909f8b96f1bac151af8e796e1d
MISC metadata.xml 562 BLAKE2B f321783bdce5b6c339ce2f951ba9810e9ab51fed25f329ee5325cdb2058da9585b4e8861e15108c21060b437fd7f8f30694fb104da7ec4036f21a5bdf06e62d1 SHA512 15345178ac4edc952e6dd6f1ab6c5f060fbe86acb3435122584986893a079bdcee2da65776d096ee694d0fcf4431d68ba737c2557c03c8ea902e7e3cac3b3fde
diff --git a/net-libs/libproxy/libproxy-0.5.4.ebuild b/net-libs/libproxy/libproxy-0.5.4.ebuild
new file mode 100644
index 000000000000..9c74d75f82d7
--- /dev/null
+++ b/net-libs/libproxy/libproxy-0.5.4.ebuild
@@ -0,0 +1,71 @@
+# 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 kde test vala"
+REQUIRED_USE="
+ gtk-doc? ( introspection )
+ vala? ( introspection )
+"
+RESTRICT="!test? ( test )"
+
+COMMON_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 )
+"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}
+ kde? ( kde-frameworks/kconfig:5 )
+"
+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
+ $(meson_use kde config-kde)
+ $(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
+}