diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-01-01 21:06:00 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-01-01 21:06:00 +0000 |
commit | 129160ec854dca4c3fedb5bcfbcb56930371da0f (patch) | |
tree | 53bf797418ac5e9b99c41ca0382c87b82421e5de /net-misc/dhcpcd-ui/dhcpcd-ui-0.7.8.ebuild | |
parent | 441d1370330332b7d78f238d2f5e13f7aed5e4e0 (diff) |
gentoo new year resync : 01.01.2021
Diffstat (limited to 'net-misc/dhcpcd-ui/dhcpcd-ui-0.7.8.ebuild')
-rw-r--r-- | net-misc/dhcpcd-ui/dhcpcd-ui-0.7.8.ebuild | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/net-misc/dhcpcd-ui/dhcpcd-ui-0.7.8.ebuild b/net-misc/dhcpcd-ui/dhcpcd-ui-0.7.8.ebuild new file mode 100644 index 000000000000..6878e53ae1ac --- /dev/null +++ b/net-misc/dhcpcd-ui/dhcpcd-ui-0.7.8.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit systemd xdg + +DESCRIPTION="Desktop notification and configuration for dhcpcd" +HOMEPAGE="https://roy.marples.name/projects/dhcpcd-ui/" +SRC_URI="https://roy.marples.name/downloads/${PN%-ui}/${P}.tar.xz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug gtk gtk2 libnotify ncurses qt5" + +REQUIRED_USE="libnotify? ( gtk ) + qt5? ( !libnotify )" + +BDEPEND=" + virtual/libintl +" +DEPEND=" + gtk? ( + dev-libs/glib:2 + x11-libs/gdk-pixbuf:2 + gtk2? ( + x11-libs/gtk+:2 + ) + !gtk2? ( + x11-libs/gtk+:3 + ) + ) + libnotify? ( x11-libs/libnotify ) + ncurses? ( sys-libs/ncurses:0= ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + media-libs/mesa + ) +" + +RDEPEND="${DEPEND} + >=net-misc/dhcpcd-6.4.4" + +src_configure() { + local myeconfargs=( + --without-qt + $(use_enable debug) + $(use_enable libnotify notification) + $(use_with gtk gtk $(usex gtk2 'gtk+-2.0' 'gtk+-3.0')) + $(use_with ncurses curses) + $(use_with qt5 qt) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + emake DESTDIR="${D}" INSTALL_ROOT="${D}" install + systemd_dounit src/dhcpcd-online/dhcpcd-wait-online.service +} + +pkg_postinst() { + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_icon_cache_update +} |