connman-gtk-1.0.ebuild 687 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. # Copyright 1999-2016 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. inherit autotools
  5. DESCRIPTION="GTK GUI for Connman"
  6. HOMEPAGE="https://github.com/jgke/connman-gtk"
  7. SRC_URI="https://github.com/jgke/connman-gtk/archive/v${PV}.tar.gz -> ${P}.tar.gz"
  8. LICENSE="GPL-2"
  9. SLOT="0"
  10. KEYWORDS="~amd64 ~x86"
  11. IUSE="openconnect"
  12. CDEPEND="
  13. >=dev-libs/glib-2.0:2
  14. >=x11-libs/gtk+-3.10:3
  15. openconnect? ( >=net-vpn/openconnect-5.99 )
  16. "
  17. RDEPEND="${CDEPEND}
  18. net-misc/connman
  19. "
  20. DEPEND="${CDEOEND}
  21. >=dev-util/intltool-0.35.0
  22. sys-devel/gettext
  23. virtual/pkgconfig
  24. "
  25. src_prepare() {
  26. eautoreconf
  27. }
  28. src_configure() {
  29. econf \
  30. $(use_with openconnect)
  31. }