logo

overlay

My (experimental) gentoo overlay
commit: 26e3d134751b14641b67bc15b4f62c03c4339f89
parent: 4a62133cf1642021159bfc4b948998b0b06dfe9b
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sat, 23 Mar 2019 22:37:17 +0100

net-libs/glib-networking: New package (slightly based on ::gentoo)

Diffstat:

Anet-libs/glib-networking/Manifest1+
Anet-libs/glib-networking/glib-networking-2.60.0.1.ebuild48++++++++++++++++++++++++++++++++++++++++++++++++
Anet-libs/glib-networking/metadata.xml13+++++++++++++
3 files changed, 62 insertions(+), 0 deletions(-)

diff --git a/net-libs/glib-networking/Manifest b/net-libs/glib-networking/Manifest @@ -0,0 +1 @@ +DIST glib-networking-2.60.0.1.tar.xz 184368 BLAKE2B 8c1ee12a58148181844395701232d17baf1c7570209d3404dcac352486449443fe708582c98b1decbb37b5ae412acdc84d27139ea775036ea510a671dced06bf SHA512 98a34a14cdbbcb4a9496bce807e7720dd9e103adbacd5dc44439d5fcaf02eef12c0385df95767d7603587331b84c7ad4a677f47b00583a46f15a022572a3690f diff --git a/net-libs/glib-networking/glib-networking-2.60.0.1.ebuild b/net-libs/glib-networking/glib-networking-2.60.0.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 2018-2019 Haelwenn (lanodan) Monnier <contact@hacktivis.me> +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit gnome2-utils meson xdg + +DESCRIPTION="Network-related giomodules for glib" +HOMEPAGE="https://git.gnome.org/browse/${PN}/" +SRC_URI="https://ftp.gnome.org/pub/GNOME/sources/${PN}/$(ver_cut 1-2)/${P}.tar.xz" + +LICENSE="LGPL-2.1+" +SLOT="0" +IUSE="gnome gnutls +libproxy libressl +openssl test" +KEYWORDS="~amd64" + +DEPEND=" + >=dev-libs/glib-2.55.1:2 + libproxy? ( >=net-libs/libproxy-0.3.1:= ) + gnutls? ( >=net-libs/gnutls-3.4.6:= ) + openssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:= ) + ) +" + +src_configure() { + local emesonargs=( + $(meson_feature gnutls) + $(meson_feature openssl) + $(meson_feature libproxy) + $(meson_feature gnome gnome_proxy) + -Dinstalled_tests=false + -Dstatic_modules=false + ) + + meson_src_configure +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_giomodule_cache_update +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_giomodule_cache_update +} diff --git a/net-libs/glib-networking/metadata.xml b/net-libs/glib-networking/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>contact@hacktivis.me</email> + <name>Haelwenn (lanodan) Monnier</name> + </maintainer> + <use> + <flag name="libproxy">Use <pkg>net-libs/libproxy</pkg> for getting the HTTP/HTTPS/SOCKS proxy configuration</flag> + <flag name="gnome">Extract HTTP/HTTPS/SOCKS proxy configuration stored using GSettings</flag> + <flag name="openssl">support for OpenSSL networking configration</flag> + </use> +</pkgmetadata>