summaryrefslogtreecommitdiff
path: root/net-libs/libnm-glib
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/libnm-glib')
-rw-r--r--net-libs/libnm-glib/libnm-glib-1.18.10-r1.ebuild105
-rw-r--r--net-libs/libnm-glib/libnm-glib-1.18.10-r2.ebuild92
2 files changed, 92 insertions, 105 deletions
diff --git a/net-libs/libnm-glib/libnm-glib-1.18.10-r1.ebuild b/net-libs/libnm-glib/libnm-glib-1.18.10-r1.ebuild
deleted file mode 100644
index fcb61704..00000000
--- a/net-libs/libnm-glib/libnm-glib-1.18.10-r1.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-GNOME_ORG_MODULE="NetworkManager"
-
-inherit gnome.org meson multilib-minimal
-
-DESCRIPTION="Legacy NetworkManager glib and util libraries"
-HOMEPAGE="https://wiki.gnome.org/Projects/NetworkManager"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="gnutls +nss"
-REQUIRED_USE="|| ( nss gnutls )"
-RESTRICT="test"
-
-DEPEND="
- >=sys-apps/dbus-1.2[${MULTILIB_USEDEP}]
- >=dev-libs/dbus-glib-0.100[${MULTILIB_USEDEP}]
- >=dev-libs/glib-2.40:2[${MULTILIB_USEDEP}]
- net-libs/libndp[${MULTILIB_USEDEP}]
- sys-apps/util-linux[${MULTILIB_USEDEP}]
- >=virtual/libudev-175:=[${MULTILIB_USEDEP}]
- nss? ( >=dev-libs/nss-3.11:=[${MULTILIB_USEDEP}] )
- !nss? ( gnutls? (
- dev-libs/libgcrypt:0=[${MULTILIB_USEDEP}]
- >=net-libs/gnutls-2.12:=[${MULTILIB_USEDEP}] ) )
-"
-
-RDEPEND="
- ${DEPEND}
- !<net-misc/networkmanager-1.19
-"
-
-BDEPEND="
- >=dev-util/intltool-0.40
- virtual/pkgconfig
-"
-
-multilib_src_configure() {
- local emesonargs=(
- -Dsystemdsystemunitdir=no
- -Dudev_dir=no
- -Ddbus_conf_dir="/etc/dbus-1/system.d"
-
- -Dsession_tracking_consolekit=false
- -Dsession_tracking=no
- -Dsuspend_resume=upower
- -Dpolkit=false
- -Dpolkit_agent=false
- -Dselinux=false
- -Dsystemd_journal=false
- -Dlibaudit=no
-
- -Dwext=false
- -Dwifi=false
- -Diwd=false
- -Dppp=false
- -Dmodem_manager=false
- -Dofono=false
- -Dconcheck=false
- -Dteamdctl=false
- -Dovs=false
- -Dlibnm_glib=true
- -Dnmcli=false
- -Dnmtui=false
- -Dbluez5_dun=false
- -Debpf=true
-
- -Dresolvconf=no
- -Dnetconfig=no
-
- -Ddhclient=no
- -Ddhcpcanon=no
- -Ddhcpcd=no
-
- -Dintrospection=false
- -Dvapi=false
- -Dtests=no
- -Dmore_asserts=no
- -Dmore_logging=false
- -Dvalgrind=no
- -Dlibpsl=false
- -Djson_validation=false
- -Dcrypto=$(usex nss nss gnutls)
- -Dqt=false
- )
-
- meson_src_configure
-}
-
-multilib_src_compile() {
- meson_src_compile
-}
-
-multilib_src_install() {
- dolib.so libnm-{glib,util}/libnm-*.so*[0-9]
-}
-
-multilib_src_install_all() {
- :
-}
diff --git a/net-libs/libnm-glib/libnm-glib-1.18.10-r2.ebuild b/net-libs/libnm-glib/libnm-glib-1.18.10-r2.ebuild
new file mode 100644
index 00000000..e2ad6d75
--- /dev/null
+++ b/net-libs/libnm-glib/libnm-glib-1.18.10-r2.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit eutils multilib-minimal
+
+DESCRIPTION="Legacy NetworkManager glib and util libraries"
+HOMEPAGE="https://wiki.gnome.org/Projects/NetworkManager"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="gnutls +nss"
+REQUIRED_USE="|| ( nss gnutls )"
+RESTRICT="test"
+SRC_URI="https://download.gnome.org/sources/NetworkManager/1.18/NetworkManager-${PV}.tar.xz"
+
+DEPEND="
+ >=sys-apps/dbus-1.2[${MULTILIB_USEDEP}]
+ >=dev-libs/dbus-glib-0.100[${MULTILIB_USEDEP}]
+ >=dev-libs/glib-2.40:2[${MULTILIB_USEDEP}]
+ net-libs/libndp[${MULTILIB_USEDEP}]
+ sys-apps/util-linux[${MULTILIB_USEDEP}]
+ >=virtual/libudev-175:=[${MULTILIB_USEDEP}]
+ nss? ( >=dev-libs/nss-3.11:=[${MULTILIB_USEDEP}] )
+ !nss? ( gnutls? (
+ dev-libs/libgcrypt:0=[${MULTILIB_USEDEP}]
+ >=net-libs/gnutls-2.12:=[${MULTILIB_USEDEP}] ) )
+"
+
+RDEPEND="
+ ${DEPEND}
+ !<net-misc/networkmanager-1.19
+"
+
+BDEPEND="
+ >=dev-util/intltool-0.40
+ virtual/pkgconfig
+"
+
+S="${WORKDIR}/NetworkManager-${PV}"
+
+multilib_src_configure() {
+ local myconf=(
+ --disable-bluez5-dun
+ --disable-concheck
+ --disable-json-validation
+ --disable-more-asserts
+ --disable-more-logging
+ --disable-ovs
+ --disable-polkit
+ --disable-polkit-agent
+ --disable-ppp
+ --disable-qt
+ --disable-rpath
+ --disable-teamdctl
+ --disable-wifi
+ --enable-introspection=no
+ --enable-more-warnings=no
+ --enable-vala=no
+ --with-consolekit=no
+ --with-crypto=$(usex nss gnutls)
+ --with-dbus-sys-dir=/etc/dbus-1/system.d
+ --with-dhclient=no
+ --with-dhcpcanon=no
+ --with-dhcpcd=no
+ --with-ebpf=no
+ --with-libnm-glib
+ --with-libpsl=no
+ --with-netconfig=no
+ --with-nmcli=no
+ --with-nmtui=no
+ --without-iwd
+ --without-libaudit
+ --without-modem-manager-1
+ --without-ofono
+ --without-resolvconf
+ --without-wext
+ --with-selinux=no
+ --with-session-tracking=no
+ --with-suspend-resume=upower
+ --with-systemd-journal=no
+ --with-systemd-logind=no
+ --with-valgrind=no
+ )
+ ECONF_SOURCE="${S}" econf "${myconf[@]}"
+}
+
+multilib_src_install() {
+ dolib.so libnm-{glib,util}/.libs/libnm-*.so*[0-9]
+}