Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/dhcpcd-ui/
Date: Mon, 28 Dec 2020 19:44:57
Message-Id: 1609184691.f4c9b12f0e1a55518a0e9a23279f67068724339e.polynomial-c@gentoo
1 commit: f4c9b12f0e1a55518a0e9a23279f67068724339e
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Mon Dec 28 19:44:42 2020 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 28 19:44:51 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4c9b12f
7
8 net-misc/dhcpcd-ui: Bump to version 0.7.8
9
10 Package-Manager: Portage-3.0.12, Repoman-3.0.2
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 net-misc/dhcpcd-ui/Manifest | 1 +
14 net-misc/dhcpcd-ui/dhcpcd-ui-0.7.8.ebuild | 70 +++++++++++++++++++++++++++++++
15 2 files changed, 71 insertions(+)
16
17 diff --git a/net-misc/dhcpcd-ui/Manifest b/net-misc/dhcpcd-ui/Manifest
18 index 5c934d20908..4c40350edfc 100644
19 --- a/net-misc/dhcpcd-ui/Manifest
20 +++ b/net-misc/dhcpcd-ui/Manifest
21 @@ -1 +1,2 @@
22 DIST dhcpcd-ui-0.7.7.tar.xz 195648 BLAKE2B f382e331326e66d81674579ba018e6f9a6662df9d10fa0cca92808290e5d7621e7861afaa3d9a2c4d05fcc24b619922f8740faeaf4a531701f5d14505636fdf7 SHA512 46f66c16986c248740b2dc8ce0edb663fbd35809d2d21f701588c3736cdafb32b04c57ffbc6f8974841499ab46f6a1084d0a761b290e9d02ea3a9fae36a0ff3d
23 +DIST dhcpcd-ui-0.7.8.tar.xz 135028 BLAKE2B f3e79bb00708e2ce2ebb93d917506bb0fb015071b415768c47979d7f2b5e35d6f22bf71a58c43989dedc6561f0a8be738824f06627d2fa0995e335d7ef1925cd SHA512 5f0d2c32c32fc141feca0ab43a531d9b4f45e071a8a1e3ee1923d6394a3e5d6322e6f7e607b91154af4cfee93d649164c7ed3b805731dfc242c3ac367ec156c4
24
25 diff --git a/net-misc/dhcpcd-ui/dhcpcd-ui-0.7.8.ebuild b/net-misc/dhcpcd-ui/dhcpcd-ui-0.7.8.ebuild
26 new file mode 100644
27 index 00000000000..6878e53ae1a
28 --- /dev/null
29 +++ b/net-misc/dhcpcd-ui/dhcpcd-ui-0.7.8.ebuild
30 @@ -0,0 +1,70 @@
31 +# Copyright 1999-2020 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +inherit systemd xdg
37 +
38 +DESCRIPTION="Desktop notification and configuration for dhcpcd"
39 +HOMEPAGE="https://roy.marples.name/projects/dhcpcd-ui/"
40 +SRC_URI="https://roy.marples.name/downloads/${PN%-ui}/${P}.tar.xz"
41 +
42 +LICENSE="BSD-2"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~x86"
45 +IUSE="debug gtk gtk2 libnotify ncurses qt5"
46 +
47 +REQUIRED_USE="libnotify? ( gtk )
48 + qt5? ( !libnotify )"
49 +
50 +BDEPEND="
51 + virtual/libintl
52 +"
53 +DEPEND="
54 + gtk? (
55 + dev-libs/glib:2
56 + x11-libs/gdk-pixbuf:2
57 + gtk2? (
58 + x11-libs/gtk+:2
59 + )
60 + !gtk2? (
61 + x11-libs/gtk+:3
62 + )
63 + )
64 + libnotify? ( x11-libs/libnotify )
65 + ncurses? ( sys-libs/ncurses:0= )
66 + qt5? (
67 + dev-qt/qtcore:5
68 + dev-qt/qtgui:5
69 + dev-qt/qtwidgets:5
70 + media-libs/mesa
71 + )
72 +"
73 +
74 +RDEPEND="${DEPEND}
75 + >=net-misc/dhcpcd-6.4.4"
76 +
77 +src_configure() {
78 + local myeconfargs=(
79 + --without-qt
80 + $(use_enable debug)
81 + $(use_enable libnotify notification)
82 + $(use_with gtk gtk $(usex gtk2 'gtk+-2.0' 'gtk+-3.0'))
83 + $(use_with ncurses curses)
84 + $(use_with qt5 qt)
85 + )
86 + econf "${myeconfargs[@]}"
87 +}
88 +
89 +src_install() {
90 + emake DESTDIR="${D}" INSTALL_ROOT="${D}" install
91 + systemd_dounit src/dhcpcd-online/dhcpcd-wait-online.service
92 +}
93 +
94 +pkg_postinst() {
95 + xdg_icon_cache_update
96 +}
97 +
98 +pkg_postrm() {
99 + xdg_icon_cache_update
100 +}