diff options
author | Marek Szuba <marecki@gentoo.org> | 2019-06-07 12:44:16 +0100 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2019-06-07 12:45:33 +0100 |
commit | 5b6d3fbdaf850ab465e97a9fe5b0f03fbd7d63fe (patch) | |
tree | 0fab7d4bb943bc3e9a7b3483a5921b5b046c76e5 /net-misc | |
parent | dev-lang/mono: fix minimal libgdiplus version (diff) | |
download | gentoo-5b6d3fbdaf850ab465e97a9fe5b0f03fbd7d63fe.tar.gz gentoo-5b6d3fbdaf850ab465e97a9fe5b0f03fbd7d63fe.tar.bz2 gentoo-5b6d3fbdaf850ab465e97a9fe5b0f03fbd7d63fe.zip |
net-misc/connman-gtk: do not call econf twice
Also, bump to EAPI-7.
Closes: https://bugs.gentoo.org/687550
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/connman-gtk/connman-gtk-1.1.1-r1.ebuild | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/net-misc/connman-gtk/connman-gtk-1.1.1-r1.ebuild b/net-misc/connman-gtk/connman-gtk-1.1.1-r1.ebuild new file mode 100644 index 000000000000..3888b84171b9 --- /dev/null +++ b/net-misc/connman-gtk/connman-gtk-1.1.1-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools gnome2-utils + +DESCRIPTION="GTK GUI for Connman" +HOMEPAGE="https://github.com/jgke/connman-gtk" +SRC_URI="https://github.com/jgke/connman-gtk/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="openconnect" + +CDEPEND=" + >=dev-libs/glib-2.0:2 + >=x11-libs/gtk+-3.10:3 + openconnect? ( >=net-vpn/openconnect-5.99 ) +" +RDEPEND="${CDEPEND} + net-misc/connman +" +DEPEND="${CDEOEND} + >=dev-util/intltool-0.35.0 + sys-devel/gettext + virtual/pkgconfig +" + +src_prepare() { + default + sed -i -e '/^Categories/ s/$/;/' connman-gtk.desktop.in || die + eautoreconf +} + +src_configure() { + econf \ + --disable-schemas-compile \ + $(use_with openconnect) +} + +pkg_preinst() { + gnome2_schemas_savelist +} + +pkg_postinst() { + gnome2_schemas_update +} + +pkg_postrm() { + gnome2_schemas_update +} |